Skip to main content
POST
Cancel a response

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string<uuid>
required

The ID of the response to cancel

Response

Response cancelled or current status returned

id
string<uuid>

Unique identifier for the response

object
enum<string>

Object type identifier

Available options:
response
status
enum<string>

Current status of the response

Available options:
in_progress,
completed,
failed,
cancelled
created_at
integer

Unix timestamp of when the response was created

model
string

The model used for the response

instructions
string | null

The system instructions used

output
object[] | null

The generated output messages

usage
object | null

Token usage statistics for the response

error
object | null

Error details when the response status is 'failed'