Cancels a response that is currently being processed. Only responses with status processing can be cancelled. Once cancelled, the response status will change to cancelled and no further processing will occur.
response_id string required
The unique identifier of the response to cancel. Must be a response that is currently in processing status.
organizationId string required
The unique identifier of the organization that owns the response.
id string
The unique identifier of the cancelled response.
status string
The new status of the response. Will be cancelled after successful cancellation.
cancelledAt integer
Unix timestamp when the response was cancelled.
message string
Confirmation message indicating the response was cancelled.
A cancellation confirmation response.
- Bash
- Python
- JavaScript
curl -X DELETE "https://api.freddy.aitronos.com/v1/model/response/resp_abc123?organizationId=org_abc123" \
-H "Authorization: Bearer $FREDDY_API_KEY"- Status Requirement: Only responses with status
processingcan be cancelled - Immediate Effect: Cancellation takes effect immediately and stops all processing
- No Refund: Cancelled responses may still incur charges for processing that occurred before cancellation
- Status Check: Use Get Response Status to verify the cancellation was successful