v1

latestOpenAPI 3.1.02026-07-26157321426.3 KB
Non-Regional

Asynchronously call the production environment of a model.

Enqueues an asynchronous predict request for the deployment promoted to the production environment. Returns a request ID that can be used to poll for status or cancel the request.

post/production/async_predict

Request body

model_inputobject required

JSON-serializable model input.

webhook_endpointstring uri

HTTPS URL to receive the prediction result via webhook. Both HTTP/2 and HTTP/1.1 are supported. If omitted, the model must save outputs so they can be accessed later.

priorityinteger

Priority of the request. Lower values are higher priority.

max_time_in_queue_secondsinteger

Maximum time in seconds a request will spend in the queue before expiring. Must be between 10 seconds and 72 hours.

Response

Async predict request enqueued.

request_idstring required

The ID of the async request.