Skip to main content
POST
/
v1
/
evals
/
runs
/
{run_id}
/
cancellations
Cancel Eval Run
curl --request POST \
  --url https://api.bland.ai/v1/evals/runs/{run_id}/cancellations \
  --header 'authorization: <authorization>'
{
  "data": {
    "id": "e5f6a7b8-c9d0-1234-efab-345678901234",
    "org_id": "f6a7b8c9-d0e1-2345-fabc-456789012345",
    "status": "CANCELLED",
    "triggered_by": "manual",
    "run_mode": "text",
    "submitted_call_ids": [
      "a1b2c3d4-0000-0000-0000-000000000001",
      "a1b2c3d4-0000-0000-0000-000000000002",
      "a1b2c3d4-0000-0000-0000-000000000003"
    ],
    "submitted_attached_agents": [
      {
        "eval_agent_id": "11111111-aaaa-bbbb-cccc-dddddddddddd",
        "eval_agent_version_id": "22222222-aaaa-bbbb-cccc-dddddddddddd",
        "weight": 100,
        "target_level_keys": ["pass"]
      }
    ],
    "workbench_setup_id": null,
    "workbench_setup_version_id": null,
    "resolved_call_count": 3,
    "resolved_agent_count": 1,
    "resolved_atom_count": 3,
    "completed_atom_count": 1,
    "summary": null,
    "billable_cost_usd": 0.01,
    "error_code": null,
    "error_message": null,
    "workflow_id": null,
    "metadata": {},
    "created_at": "2026-05-27T10:00:00.000Z",
    "started_at": "2026-05-27T10:00:05.000Z",
    "completed_at": "2026-05-27T10:00:38.000Z"
  },
  "errors": null
}

Documentation Index

Fetch the complete documentation index at: https://docs.bland.ai/llms.txt

Use this file to discover all available pages before exploring further.

Headers

authorization
string
required
Your API key for authentication.

Path Parameters

run_id
string
required
The ID of the eval run to cancel.

Response

id
string
Unique identifier for the eval run.
org_id
string
The organization that owns this run.
status
string
Updated status of the run. Will be CANCELLED.
triggered_by
string
How the run was triggered. One of manual, auto, backfill.
run_mode
string
The scoring modality. One of text, audio, full.
submitted_call_ids
array of string
The call IDs that were submitted for scoring.
submitted_attached_agents
array of objects
The agent attachments submitted with the run.
workbench_setup_id
string or null
The associated workbench setup, if any.
workbench_setup_version_id
string or null
The pinned workbench setup version, if any.
resolved_call_count
integer
Number of calls resolved for the run.
resolved_agent_count
integer
Number of eval agents resolved for the run.
resolved_atom_count
integer
Total call-by-agent evaluations in the run.
completed_atom_count
integer
Number of evaluations completed before cancellation.
summary
object or null
Partial scoring summary if any atoms completed before cancellation, otherwise null.
billable_cost_usd
number or null
Billable cost for evaluations completed before cancellation, or null if not yet finalized.
error_code
string or null
Error code if applicable, otherwise null.
error_message
string or null
Human-readable error message if applicable, otherwise null.
workflow_id
string or null
Internal workflow identifier, if applicable.
metadata
object
Key-value metadata attached to the run.
created_at
string
ISO 8601 timestamp when the run was created.
started_at
string or null
ISO 8601 timestamp when the run started, or null if it never started.
completed_at
string or null
ISO 8601 timestamp when the run was cancelled.
{
  "data": {
    "id": "e5f6a7b8-c9d0-1234-efab-345678901234",
    "org_id": "f6a7b8c9-d0e1-2345-fabc-456789012345",
    "status": "CANCELLED",
    "triggered_by": "manual",
    "run_mode": "text",
    "submitted_call_ids": [
      "a1b2c3d4-0000-0000-0000-000000000001",
      "a1b2c3d4-0000-0000-0000-000000000002",
      "a1b2c3d4-0000-0000-0000-000000000003"
    ],
    "submitted_attached_agents": [
      {
        "eval_agent_id": "11111111-aaaa-bbbb-cccc-dddddddddddd",
        "eval_agent_version_id": "22222222-aaaa-bbbb-cccc-dddddddddddd",
        "weight": 100,
        "target_level_keys": ["pass"]
      }
    ],
    "workbench_setup_id": null,
    "workbench_setup_version_id": null,
    "resolved_call_count": 3,
    "resolved_agent_count": 1,
    "resolved_atom_count": 3,
    "completed_atom_count": 1,
    "summary": null,
    "billable_cost_usd": 0.01,
    "error_code": null,
    "error_message": null,
    "workflow_id": null,
    "metadata": {},
    "created_at": "2026-05-27T10:00:00.000Z",
    "started_at": "2026-05-27T10:00:05.000Z",
    "completed_at": "2026-05-27T10:00:38.000Z"
  },
  "errors": null
}