Maxim Logo
Test Runs

Delete test runs

Delete test runs from a workspace

DELETE
/v1/test-runs

Authorization

x-maxim-api-key<token>

API key for authentication

In: header

Request Body

application/jsonOptional
workspaceIdRequiredstring

Unique identifier for the workspace

idsRequiredarray<string>

Array of test run IDs to delete example: ["run_123", "run_456"]

curl -X DELETE "https://api.getmaxim.ai/v1/test-runs" \
  -H "x-maxim-api-key: <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "workspaceId": "string",
    "ids": [
      "string"
    ]
  }'

Successfully deleted test runs

{
  "message": "string"
}