Get async request status
Use this endpoint to get the status of an async request.
Parameters
The ID of the model that executed the request.
The ID of the async request.
Headers
Your Baseten API key, formatted with prefix Api-Key
(e.g. {"Authorization": "Api-Key abcd1234.abcd1234"}
).
Response
The ID of the async request.
The ID of the model that executed the request.
The ID of the deployment that executed the request.
An enum representing the status of the request.
Available options: QUEUED
, IN_PROGRESS
, SUCCEEDED
, FAILED
, EXPIRED
, CANCELED
, WEBHOOK_FAILED
An enum representing the status of sending the predict result to the provided webhook.
Available options: PENDING
, SUCCEEDED
, FAILED
, CANCELED
, NO_WEBHOOK_PROVIDED
The time in UTC at which the async request was created.
The time in UTC at which the async requestβs status was updated.
Any errors that occurred in processing the async request. Empty if no errors occurred.
Rate limits
Calls to the get async request status endpoint are limited to 20 requests per second. If this limit is exceeded, subsequent requests will receive a 429 status code.
To avoid hitting this rate limit, we recommend configuring a webhook endpoint to receive async predict results instead of frequently polling this endpoint for async request statuses.