evals

Cancel a running run.

Model-based routing (for multi-account support):

  • Pass model via header: x-litellm-model: gpt-4-account-1
  • Pass model via query: ?model=gpt-4-account-1

Example usage:

curl -X POST "http://localhost:4000/v1/evals/eval_123/runs/run_456/cancel"       -H "Authorization: Bearer your-key"

Returns: CancelRunResponse with cancellation confirmation

post/v1/evals/{eval_id}/runs/{run_id}

Request

  • Base URL: https://api.sea-lion.ai (the document declares no server; this is the origin it was published from)
  • URL: https://api.sea-lion.ai/v1/evals/{eval_id}/runs/{run_id}
  • Auth: API key in header x-litellm-api-key

Path parameters

eval_idstring required
run_idstring required

Query parameters

custom_llm_providerstring nullable

Response

Successful Response

idstring required
objectstring
status'cancelled' required

Changes

    • info

      api tag evals added

    • info

      api tag OpenAI Evals API - Runs removed

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status