Skip to main content
DELETE
/
agents
/
{id}
/
v1
/
contexts
/
{contextId}
Delete Context by ID
curl --request DELETE \
  --url https://api.example.com/agents/{id}/v1/contexts/{contextId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Tenant-Name: <tenant-name>'
{
  "code": "<string>",
  "description": "<string>",
  "howToFix": "<string>",
  "details": {},
  "cause": {}
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Tenant-Name
string
required

Identifies a distinct entity within Corti's multi-tenant system. Ensures correct routing and authentication of the request.

Example:

"base"

Path Parameters

id
string
required

The identifier of the agent associated with the context.

Example:

"12345678-90ab-cdef-gh12-34567890abc"

contextId
string
required

The identifier of the context (thread) to delete.

Response

Context deleted successfully.