Cancel a response
Response
Cancel Response
Cancel a background response that is in progress. If the response is already completed, failed, or cancelled, this returns the response as-is.
POST
Cancel a response
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The ID of the response to cancel
Response
Response cancelled or current status returned
Unique identifier for the response
Object type identifier
Available options:
response Current status of the response
Available options:
in_progress, completed, failed, cancelled Unix timestamp of when the response was created
The model used for the response
The system instructions used
The generated output messages
Token usage statistics for the response
Error details when the response status is 'failed'