Skip to main content
POST
Cancel Agent Response

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Response id (resp_<...>)

Response

The cancel request was accepted; the run is being cancelled.

response_id
string
required

The response id (resp_<...>).

status
enum<string>
required

Always cancelling - the cancel was accepted and the run stops asynchronously. An already-terminal run returns 400 instead, so no terminal status appears here.

Available options:
cancelling