Async Inference API
Cancel async request
Use this endpoint to cancel a queued async request.
This is a beta feature and subject to breaking changes.
QUEUED
requests may be canceled.
Parameters
model_id
string
requiredThe ID of the model that executed the request.
request_id
string
requiredThe ID of the async request.
Headers
Authorization
string
requiredYour Baseten API key, formatted with prefix Api-Key
(e.g. {"Authorization": "Api-Key abcd1234.abcd1234"}
).
Response
request_id
string
requiredThe ID of the async request.
canceled
boolean
requiredWhether the request was canceled.
message
string
requiredAdditional details about whether the request was canceled.