Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

chore(api): update api reference and postman collection (#5842)

Marc Klingen3c8b26aa79f8
diff --git a/web/public/generated/api/openapi.yml b/web/public/generated/api/openapi.yml
index deb5e46f5e..159add2d64 100644
--- a/web/public/generated/api/openapi.yml
+++ b/web/public/generated/api/openapi.yml
@@ -658,6 +658,56 @@ paths:
schema: {}
security:
- BasicAuth: []
+ delete:
+ description: Delete a dataset run and all its run items. This action is irreversible.
+ operationId: datasets_deleteRun
+ tags:
+ - Datasets
+ parameters:
+ - name: datasetName
+ in: path
+ required: true
+ schema:
+ type: string
+ - name: runName
+ in: path
+ required: true
+ schema:
+ type: string
+ responses:
+ '200':
+ description: ''
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/DeleteDatasetRunResponse'
+ '400':
+ description: ''
+ content:
+ application/json:
+ schema: {}
+ '401':
+ description: ''
+ content:
+ application/json:
+ schema: {}
+ '403':
+ description: ''
+ content:
+ application/json:
+ schema: {}
+ '404':
+ description: ''
+ content:
+ application/json:
+ schema: {}
+ '405':
+ description: ''
+ content:
+ application/json:
+ schema: {}
+ security:
+ - BasicAuth: []
/api/public/datasets/{datasetName}/runs:
get:
description: Get dataset runs
@@ -3687,6 +3737,14 @@ components:
required:
- data
- meta
+ DeleteDatasetRunResponse:
+ title: DeleteDatasetRunResponse
+ type: object
+ properties:
+ message:
+ type: string
+ required:
+ - message
HealthResponse:
title: HealthResponse
type: object
diff --git a/web/public/generated/postman/collection.json b/web/public/generated/postman/collection.json
index 6b59cc1124..8e2f030060 100644
--- a/web/public/generated/postman/collection.json
+++ b/web/public/generated/postman/collection.json
@@ -503,6 +503,45 @@
},
"response": []
},
+ {
+ "_type": "endpoint",
+ "name": "Delete Run",
+ "request": {
+ "description": "Delete a dataset run and all its run items. This action is irreversible.",
+ "url": {
+ "raw": "{{baseUrl}}/api/public/datasets/:datasetName/runs/:runName",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "public",
+ "datasets",
+ ":datasetName",
+ "runs",
+ ":runName"
+ ],
+ "query": [],
+ "variable": [
+ {
+ "key": "datasetName",
+ "value": "",
+ "description": null
+ },
+ {
+ "key": "runName",
+ "value": "",
+ "description": null
+ }
+ ]
+ },
+ "header": [],
+ "method": "DELETE",
+ "auth": null,
+ "body": null
+ },
+ "response": []
+ },
{
"_type": "endpoint",
"name": "Get Runs",