API / JOIN

TOPIC

Responses, streaming and reasoning

  1. APIAnalyze an image with the Grok APIanalyze-an-image-with-grok-api
  2. APIChain Responses with previous_response_idchain-responses-with-previous-id
  3. APICompact a chat in place with the xAI SDKcompact-chat-in-place-with-xai-sdk
  4. APICreate embeddings with the Grok APIcreate-embeddings-with-grok-api
  5. APIDelete a stored responsedelete-a-stored-response
  6. APIDisable store on Responses requestsdisable-store-on-responses
  7. APIDrive Responses API over WebSocketuse-responses-api-over-websocket
  8. APIMigrate Chat Completions calls to Responsesmigrate-chat-completions-to-responses
  9. APIRetrieve a stored responseretrieve-a-stored-response
  10. APIReturn structured JSON from the Grok APIreturn-structured-json-from-grok-api
  11. APISet max_output_tokens on Responses APIset-max-output-tokens-on-responses
  12. APISet reasoning effort on grok-4.6set-reasoning-effort
  13. APIStream reasoning summaries on grok-4.6stream-reasoning-summaries
  14. APIStream structured outputs from the Grok APIstream-structured-outputs-from-grok-api
  15. APIStream text from the Grok APIstream-text-from-grok-api
  16. APIUnderstand an image with the Grok APIunderstand-an-image-with-grok-api
  17. APIUse context compactionuse-context-compaction
  18. APIUse encrypted reasoning contentuse-encrypted-reasoning-content