Nirmos
Evaluations

Delete Dataset Cases

Delete Dataset Cases — Nirmos Control Plane REST API.

POST
/v1/evaluations/datasets/{id}/cases/delete

Authorization

better-auth.session_token<token>

Production cookie uses __Secure- prefix.

In: cookie

Path Parameters

id*string
Length1 <= length <= 128

Request Body

application/json

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/evaluations/datasets/string/cases/delete" \  -H "Content-Type: application/json" \  -d '{    "ids": [      "string"    ]  }'
{  "data": {    "id": "string",    "promptId": "string",    "branchId": "string",    "branchSlug": "string",    "versionId": "string",    "mergedVersionId": "string",    "version": 0,    "count": 0,    "imported": 0,    "completed": true,    "deleted": true,    "status": "string",    "existing": true,    "valid": true,    "error": "string",    "scoreFinalized": true,    "result": "string"  },  "requestId": "string"}
{  "error": {    "code": "string",    "message": "string",    "details": null,    "requestId": "string"  }}
{  "error": {    "code": "string",    "message": "string",    "details": null,    "requestId": "string"  }}
{  "error": {    "code": "string",    "message": "string",    "details": null,    "requestId": "string"  }}
{  "error": {    "code": "string",    "message": "string",    "details": null,    "requestId": "string"  }}
{  "error": {    "code": "string",    "message": "string",    "details": null,    "requestId": "string"  }}
{  "error": {    "code": "string",    "message": "string",    "details": null,    "requestId": "string"  }}
{  "error": {    "code": "string",    "message": "string",    "details": null,    "requestId": "string"  }}
{  "error": {    "code": "string",    "message": "string",    "details": null,    "requestId": "string"  }}
{  "error": {    "code": "string",    "message": "string",    "details": null,    "requestId": "string"  }}