Skip to main content
POST
Cancel an active request

Authorizations

Authorization
string
header
required

Project API key (ask_live_... or ask_test_...) passed in the Authorization header.

Path Parameters

request_id
string
required

Body

application/json
reason
string | null
Maximum string length: 500

Response

Successful Response

request_id
string
required
status
enum<string>
required
Available options:
processing,
needs_input,
in_progress,
completed,
failed,
cancelled
cancelled_at
string<date-time>
required