OptionalbackgroundWhether to process the response asynchronously in the background. Note: Unsupported.
The Unix timestamp (in seconds) for the response creation time.
Optionaldebug_Debug output information (when available).
Unique ID of the response.
Optionalincomplete_Details about why the response is incomplete (if status is "incomplete").
Optionalmax_Max number of tokens that can be generated. Includes both output and reasoning tokens.
OptionalmetadataOnly included for compatibility.
Model name used to generate the response.
The object type of this resource. Always set to response.
The response generated by the model.
Optionalparallel_Whether to allow the model to run parallel tool calls.
Optionalprevious_The ID of the previous response from the model.
OptionalreasoningReasoning configuration used for the response.
Status of the response.
OptionalstoreWhether to store the input message(s) and response.
OptionaltemperatureSampling temperature used (between 0 and 2).
OptionaltextSettings for customizing a text response.
Optionaltool_Controls which tool is called by the model.
OptionaltoolsA list of tools the model may call. Maximum of 128 tools.
Optionaltop_Nucleus sampling probability mass used.
OptionalusageToken usage information.
OptionaluserUnique identifier representing your end-user. Used for monitoring and abuse detection.
xAI Responses API response body.