
TOPIC
Responses, streaming and reasoning
- APIAnalyze an image with the Grok APIanalyze-an-image-with-grok-api
- APIChain Responses with previous_response_idchain-responses-with-previous-id
- APICompact a chat in place with the xAI SDKcompact-chat-in-place-with-xai-sdk
- APICreate embeddings with the Grok APIcreate-embeddings-with-grok-api
- APIDelete a stored responsedelete-a-stored-response
- APIDisable store on Responses requestsdisable-store-on-responses
- APIDrive Responses API over WebSocketuse-responses-api-over-websocket
- APIMigrate Chat Completions calls to Responsesmigrate-chat-completions-to-responses
- APIRetrieve a stored responseretrieve-a-stored-response
- APIReturn structured JSON from the Grok APIreturn-structured-json-from-grok-api
- APISet max_output_tokens on Responses APIset-max-output-tokens-on-responses
- APISet reasoning effort on grok-4.6set-reasoning-effort
- APIStream reasoning summaries on grok-4.6stream-reasoning-summaries
- APIStream structured outputs from the Grok APIstream-structured-outputs-from-grok-api
- APIStream text from the Grok APIstream-text-from-grok-api
- APIUnderstand an image with the Grok APIunderstand-an-image-with-grok-api
- APIUse context compactionuse-context-compaction
- APIUse encrypted reasoning contentuse-encrypted-reasoning-content