v4

latestOpenAPI 3.1.02026-08-0143190206.8 KB
v1

Tries to fetch a result for a previously-started deferred completion. Returns `200 Success` with the response body, if the request has been completed. Returns `202 Accepted` when the request is pending processing.

get/v1/chat/deferred-completion/{request_id}

Path parameters

request_idstring required

The deferred request id returned by a previous deferred chat request.

Response

Success

citationsstring[] nullable

List of all the external pages used by the model to answer.

createdinteger required

The chat completion creation time in Unix timestamp.

idstring required

A unique ID for the chat response.

modelstring required

Model ID used to create chat completion.

objectstring required

The object type, which is always "chat.completion".

service_tier'default' | 'priority' required

Processing tier for a request. Determines scheduling priority and billing.

system_fingerprintstring nullable

System fingerprint, used to indicate xAI system configuration changes.

Example response

{
  "model": "latest"
}