Skip to content

Cancel a running turn

POST
/sandboxes/{id}/agent/v1/responses/{response_id}/cancel
curl --request POST \
--url https://api.global.stillbox.example/v1/sandboxes/ws-7k2m9q4x8w3z5r6t/agent/v1/responses/example/cancel \
--header 'Authorization: Bearer <token>'
id
required
string
response_id
required
string

The cancelled response

Media typeapplication/json
object

Example generated

{}

No such sandbox in your organization (or no such file)

Media typeapplication/json
object
code
required
string
message
required
string

Example

{
"code": "not_found"
}