Skip to main content
POST
/
agent
/
v1
/
chat
/
{id}
/
cancel
Cancel active chat generation
curl --request POST \
  --url https://api.case.dev/agent/v1/chat/{id}/cancel \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "ok": true
}

Authorizations

Authorization
string
header
required

API key starting with sk_case_

Path Parameters

id
string
required

Chat session ID

Response

Generation aborted (or no active runtime)

id
string
ok
boolean