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}

Request

  • Base URL: https://docs.x.ai (the document declares no server; this is the origin it was published from)
  • URL: https://docs.x.ai/v1/chat/deferred-completion/{request_id}
  • Auth: HTTP bearer

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' | 'fast' required

Processing tier for a request. Fast and Priority are interchangeable: the model's fast deployment and its rates where configured, else higher scheduling priority at a higher price.

system_fingerprintstring nullable

System fingerprint, used to indicate xAI system configuration changes.

Example response

{
  "model": "latest"
}

Changes

No recorded changes to this operation across all 1 revision of this API.