Skip to main content
DELETE
/
agent
/
runs
/
{id}
cURL
curl -s -X DELETE "https://api.exa.ai/agent/runs/agent_run_01j..." \
  -H "x-api-key: $EXA_API_KEY" \
  -H "Exa-Beta: agent-2026-05-07"
{
  "id": "agent_run_01j7x9v0m2n4p6q8r0s2t4v6w8",
  "object": "<string>",
  "deleted": true
}

Documentation Index

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

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

Exa Agent is in beta. It requires Exa-Beta: agent-2026-05-07 on every request.
Deleting a run removes the stored run from your team’s Agent run history.

Get your Exa API key

Authorizations

x-api-key
string
header
required

Your Exa API key.

Headers

Exa-Beta
enum<string>
required

Required beta token for the Agent.

Available options:
agent-2026-05-07

Path Parameters

id
string
required

Agent run ID. Agent run ID. New run IDs are returned with the agent_run_ prefix.

Required string length: 1 - 200
Pattern: ^[A-Za-z0-9_.:-]+$
Example:

"agent_run_01j7x9v0m2n4p6q8r0s2t4v6w8"

Response

Agent run deleted

id
string
required

Agent run ID. New run IDs are returned with the agent_run_ prefix.

Required string length: 1 - 200
Pattern: ^[A-Za-z0-9_.:-]+$
Example:

"agent_run_01j7x9v0m2n4p6q8r0s2t4v6w8"

object
string
required
Allowed value: "agent_run.deleted"
deleted
boolean
required