# SpaceXAI API Documentation > Official SpaceXAI (xAI) developer documentation at https://docs.x.ai — Grok models, REST API reference, SDKs, guides, pricing, and app docs. The API is served at https://api.x.ai. Every documentation page is available as markdown: append `.md` to its URL, or request the page URL with an `Accept: text/markdown` header. Add the programming language you want code examples in to the `Accept-Language` header (for example `Accept-Language: en, python`) to receive only that language’s examples. Pin an SDK with a subtag: `python-xai`, `python-openai`, `javascript-ai-sdk`, `javascript-openai`. ## API - [Get Started](https://docs.x.ai/developers/quickstart.md) - [Get Started — Overview](https://docs.x.ai/overview.md) - [Get Started — Grok 4.7](https://docs.x.ai/developers/grok-4-7.md) - [Get Started — Models](https://docs.x.ai/developers/models.md) - [Get Started — Pricing](https://docs.x.ai/developers/pricing.md) - [Get Started — Release Notes](https://docs.x.ai/developers/release-notes.md) - [Text](https://docs.x.ai/developers/model-capabilities/text/generate-text.md) - [Text — Streaming](https://docs.x.ai/developers/model-capabilities/text/streaming.md) - [Text — Reasoning](https://docs.x.ai/developers/model-capabilities/text/reasoning.md) - [Text — Structured Outputs](https://docs.x.ai/developers/model-capabilities/text/structured-outputs.md) - [Text — Image Understanding](https://docs.x.ai/developers/model-capabilities/images/understanding.md) - [Text — Multi Agent](https://docs.x.ai/developers/model-capabilities/text/multi-agent.md) - [Imagine](https://docs.x.ai/developers/model-capabilities/imagine.md) - [Imagine — Image Generation](https://docs.x.ai/developers/model-capabilities/images/generation.md) - [Imagine — Image Editing](https://docs.x.ai/developers/model-capabilities/images/editing.md) - [Imagine — Multi-Image Editing](https://docs.x.ai/developers/model-capabilities/images/multi-image-editing.md) - [Imagine — Video Generation](https://docs.x.ai/developers/model-capabilities/video/generation.md) - [Imagine — Image-to-Video](https://docs.x.ai/developers/model-capabilities/video/image-to-video.md) - [Imagine — Reference-to-Video](https://docs.x.ai/developers/model-capabilities/video/reference-to-video.md) - [Imagine — Video Editing](https://docs.x.ai/developers/model-capabilities/video/editing.md) - [Imagine — Video Extension](https://docs.x.ai/developers/model-capabilities/video/extension.md) - [Voice](https://docs.x.ai/developers/model-capabilities/audio/voice.md) - [Voice — Speech to Speech](https://docs.x.ai/developers/model-capabilities/audio/speech-to-speech.md) - [Voice — Speech to Speech — SIP Phone Calls](https://docs.x.ai/developers/model-capabilities/audio/speech-to-speech/sip.md) - [Voice — Speech to Speech — Prompting Guide](https://docs.x.ai/developers/model-capabilities/audio/speech-to-speech/prompting-guide.md) - [Voice — Text to Speech](https://docs.x.ai/developers/model-capabilities/audio/text-to-speech.md) - [Voice — Speech to Text](https://docs.x.ai/developers/model-capabilities/audio/speech-to-text.md) - [Voice — Custom Voices](https://docs.x.ai/developers/model-capabilities/audio/custom-voices.md) - [Voice — Ephemeral Tokens](https://docs.x.ai/developers/model-capabilities/audio/ephemeral-tokens.md) - [Files & Collections](https://docs.x.ai/developers/files.md) - [Files & Collections — Managing Files](https://docs.x.ai/developers/files/managing-files.md) - [Files & Collections — Public URLs](https://docs.x.ai/developers/files/public-urls.md) - [Files & Collections — Chat with Files](https://docs.x.ai/developers/model-capabilities/files/chat-with-files.md) - [Files & Collections — Collections](https://docs.x.ai/developers/files/collections.md) - [Files & Collections — Collections via API](https://docs.x.ai/developers/files/collections/api.md) - [Files & Collections — Collection Metadata](https://docs.x.ai/developers/files/collections/metadata.md) - [Files & Collections — Generated Media](https://docs.x.ai/developers/model-capabilities/imagine/files.md) - [Files & Collections — Generated Media — Referencing Files as Input](https://docs.x.ai/developers/model-capabilities/imagine/files/inputs.md) - [Files & Collections — Generated Media — Persisting Generated Output](https://docs.x.ai/developers/model-capabilities/imagine/files/outputs.md) - [Tools](https://docs.x.ai/developers/tools/overview.md) - [Tools — Function Calling](https://docs.x.ai/developers/tools/function-calling.md) - [Tools — Web Search](https://docs.x.ai/developers/tools/web-search.md) - [Tools — X Search](https://docs.x.ai/developers/tools/x-search.md) - [Tools — Code Execution](https://docs.x.ai/developers/tools/code-execution.md) - [Tools — Image Generation](https://docs.x.ai/developers/tools/image-generation.md) - [Tools — Collections Search (RAG)](https://docs.x.ai/developers/tools/collections-search.md) - [Tools — Remote MCP Tools](https://docs.x.ai/developers/tools/remote-mcp.md) - [Tools — In Depth](https://docs.x.ai/developers/tools/citations.md) - [Tools — In Depth — Streaming & Sync](https://docs.x.ai/developers/tools/streaming-and-sync.md) - [Tools — In Depth — Tool Usage Details](https://docs.x.ai/developers/tools/tool-usage-details.md) - [Tools — In Depth — Advanced Usage](https://docs.x.ai/developers/tools/advanced-usage.md) - [Advanced API Usage](https://docs.x.ai/developers/rate-limits.md) - [Advanced API Usage — Prompt Caching](https://docs.x.ai/developers/advanced-api-usage/prompt-caching.md) - [Advanced API Usage — Prompt Caching — How It Works](https://docs.x.ai/developers/advanced-api-usage/prompt-caching/how-it-works.md) - [Advanced API Usage — Prompt Caching — Maximizing Cache Hits](https://docs.x.ai/developers/advanced-api-usage/prompt-caching/maximizing-cache-hits.md) - [Advanced API Usage — Prompt Caching — What Breaks Caching](https://docs.x.ai/developers/advanced-api-usage/prompt-caching/multi-turn.md) - [Advanced API Usage — Prompt Caching — Usage & Pricing](https://docs.x.ai/developers/advanced-api-usage/prompt-caching/usage-and-pricing.md) - [Advanced API Usage — Prompt Caching — Best Practices & FAQ](https://docs.x.ai/developers/advanced-api-usage/prompt-caching/best-practices.md) - [Advanced API Usage — Context Compaction](https://docs.x.ai/developers/advanced-api-usage/context-compaction.md) - [Advanced API Usage — Priority Processing](https://docs.x.ai/developers/advanced-api-usage/priority-processing.md) - [Advanced API Usage — Batch API](https://docs.x.ai/developers/advanced-api-usage/batch-api.md) - [Advanced API Usage — Deferred Completions](https://docs.x.ai/developers/advanced-api-usage/deferred-chat-completions.md) - [Advanced API Usage — Async Requests](https://docs.x.ai/developers/advanced-api-usage/async.md) - [Advanced API Usage — WebSocket Mode](https://docs.x.ai/developers/advanced-api-usage/websocket-mode.md) - [Advanced API Usage — mTLS Authentication](https://docs.x.ai/developers/advanced-api-usage/mtls.md) - [Advanced API Usage — Regional Endpoints](https://docs.x.ai/developers/advanced-api-usage/regions.md) - [Advanced API Usage — Cost Tracking](https://docs.x.ai/developers/cost-tracking.md) - [Advanced API Usage — Debugging Errors](https://docs.x.ai/developers/debugging.md) - [Platforms](https://docs.x.ai/developers/community.md) - [Platforms — Google Cloud Vertex AI](https://docs.x.ai/developers/community/google-cloud-vertex-ai.md) - [Platforms — Microsoft Foundry](https://docs.x.ai/developers/community/microsoft-foundry.md) - [Platforms — Docs MCP](https://docs.x.ai/developers/docs-mcp.md) - [Migration Guides](https://docs.x.ai/developers/migration/imagine-image-quality-nov-2.md) - [Migration Guides — Model Retirement (May 15, 2026)](https://docs.x.ai/developers/migration/may-15-retirement.md) - [Migration Guides — Migrating to Responses API](https://docs.x.ai/developers/model-capabilities/text/comparison.md) - [Migration Guides — Chat Completions (Legacy)](https://docs.x.ai/developers/model-capabilities/legacy/chat-completions.md) - [FAQ](https://docs.x.ai/developers/faq/security.md) - [FAQ — General](https://docs.x.ai/developers/faq/general.md) ## API Reference - [Inference API](https://docs.x.ai/developers/rest-api-reference/inference.md) - [Inference API — Responses](https://docs.x.ai/developers/rest-api-reference/inference/responses.md) - [Inference API — Chat Completions](https://docs.x.ai/developers/rest-api-reference/inference/chat-completions.md) - [Inference API — Images](https://docs.x.ai/developers/rest-api-reference/inference/images.md) - [Inference API — Videos](https://docs.x.ai/developers/rest-api-reference/inference/videos.md) - [Inference API — Voice](https://docs.x.ai/developers/rest-api-reference/inference/voice.md) - [Inference API — Files](https://docs.x.ai/developers/rest-api-reference/files.md) - [Inference API — Files — Upload a file](https://docs.x.ai/developers/rest-api-reference/files/upload.md) - [Inference API — Files — List files](https://docs.x.ai/developers/rest-api-reference/files/manage.md) - [Inference API — Files — Get file content](https://docs.x.ai/developers/rest-api-reference/files/download.md) - [Inference API — Batches](https://docs.x.ai/developers/rest-api-reference/inference/batches.md) - [Inference API — Models](https://docs.x.ai/developers/rest-api-reference/inference/models.md) - [Inference API — Account](https://docs.x.ai/developers/rest-api-reference/inference/other.md) - [Inference API — Legacy & Deprecated](https://docs.x.ai/developers/rest-api-reference/inference/legacy.md) - [Collections API](https://docs.x.ai/developers/rest-api-reference/collections.md) - [Collections API — Collection Management](https://docs.x.ai/developers/rest-api-reference/collections/collection.md) - [Collections API — Search in Collections](https://docs.x.ai/developers/rest-api-reference/collections/search.md) - [Management API](https://docs.x.ai/developers/rest-api-reference/management.md) - [Management API — Using Management API](https://docs.x.ai/developers/management-api-guide.md) - [Management API — Accounts and Authorization](https://docs.x.ai/developers/rest-api-reference/management/auth.md) - [Management API — Billing Management](https://docs.x.ai/developers/rest-api-reference/management/billing.md) - [Management API — Audit Logs](https://docs.x.ai/developers/rest-api-reference/management/audit.md) - [gRPC API](https://docs.x.ai/developers/grpc-api-reference.md) - [gRPC API — Chat](https://docs.x.ai/developers/grpc-api-reference/chat.md) - [gRPC API — Image](https://docs.x.ai/developers/grpc-api-reference/image.md) - [gRPC API — Video](https://docs.x.ai/developers/grpc-api-reference/video.md) - [gRPC API — Batch Management](https://docs.x.ai/developers/grpc-api-reference/batches.md) - [gRPC API — Models](https://docs.x.ai/developers/grpc-api-reference/models.md) - [gRPC API — Auth](https://docs.x.ai/developers/grpc-api-reference/auth.md) - [gRPC API — Tokenize](https://docs.x.ai/developers/grpc-api-reference/tokenize.md) - [gRPC API — Raw Sampling](https://docs.x.ai/developers/grpc-api-reference/sample.md) ## Grok Build - [Get Started](https://docs.x.ai/build/overview.md) - [Get Started — Modes and Commands](https://docs.x.ai/build/modes-and-commands.md) - [Get Started — Keyboard Shortcuts](https://docs.x.ai/build/keyboard-shortcuts.md) - [Features](https://docs.x.ai/build/features/skills-plugins-marketplaces.md) - [Features — AGENTS.md](https://docs.x.ai/build/features/project-rules.md) - [Features — MCP Servers](https://docs.x.ai/build/features/mcp-servers.md) - [Features — Hooks](https://docs.x.ai/build/features/hooks.md) - [Features — Sessions](https://docs.x.ai/build/features/sessions.md) - [Features — Plan Mode](https://docs.x.ai/build/features/plan-mode.md) - [Features — Permissions](https://docs.x.ai/build/features/permissions.md) - [Features — Sandbox](https://docs.x.ai/build/features/sandbox.md) - [Features — Subagents](https://docs.x.ai/build/features/subagents.md) - [Features — Worktrees](https://docs.x.ai/build/features/worktrees.md) - [Features — Background Tasks](https://docs.x.ai/build/features/background-tasks.md) - [Features — Agent Dashboard](https://docs.x.ai/build/features/dashboard.md) - [Features — Status Line](https://docs.x.ai/build/features/status-line.md) - [Features — Theming](https://docs.x.ai/build/features/theming.md) - [Settings](https://docs.x.ai/build/settings.md) - [Settings — Reference](https://docs.x.ai/build/settings/reference.md) - [Settings — ZDR Video Storage](https://docs.x.ai/build/settings/zdr-video-storage.md) - [CLI](https://docs.x.ai/build/cli/headless-scripting.md) - [CLI — Reference](https://docs.x.ai/build/cli/reference.md) - [CLI — Terminal Support](https://docs.x.ai/build/cli/terminal-support.md) - [Enterprise](https://docs.x.ai/build/enterprise.md) ## Grok Bot - [Get Started](https://docs.x.ai/grok-bot/overview.md) - [Get Started — Get started](https://docs.x.ai/grok-bot/get-started.md) - [Get Started — Use cases](https://docs.x.ai/grok-bot/use-cases.md) - [Get Started — Grok Bot for Mobile](https://docs.x.ai/grok-bot/mobile.md) - [Work with Grok Bot](https://docs.x.ai/grok-bot/bots.md) - [Work with Grok Bot — Team Bots](https://docs.x.ai/grok-bot/team-bots.md) - [Work with Grok Bot — Message and collaborate](https://docs.x.ai/grok-bot/chat-and-collaboration.md) - [Work with Grok Bot — Files and results](https://docs.x.ai/grok-bot/files-and-results.md) - [Work with Grok Bot — Use the computer and apps](https://docs.x.ai/grok-bot/computer-and-apps.md) - [Work with Grok Bot — Skills and routines](https://docs.x.ai/grok-bot/skills-routines-and-automations.md) - [Manage and protect](https://docs.x.ai/grok-bot/settings-and-notifications.md) - [Manage and protect — Approvals, security, and privacy](https://docs.x.ai/grok-bot/approvals-security-and-privacy.md) - [Manage and protect — Teams and enterprises](https://docs.x.ai/grok-bot/teams-and-enterprises.md) - [Manage and protect — Teams and enterprises — Identity and access](https://docs.x.ai/grok-bot/identity-and-access.md) - [Manage and protect — Teams and enterprises — Private networks](https://docs.x.ai/grok-bot/private-networks.md) - [Manage and protect — Teams and enterprises — TLS-inspecting proxies](https://docs.x.ai/grok-bot/proxies.md) - [Manage and protect — Teams and enterprises — Manage computers](https://docs.x.ai/grok-bot/computers.md) - [Manage and protect — Teams and enterprises — Grok Bot security](https://docs.x.ai/grok-bot/security.md) - [Manage and protect — Teams and enterprises — Grok Bot security FAQ](https://docs.x.ai/grok-bot/security-faq.md) - [Help](https://docs.x.ai/grok-bot/troubleshooting.md) - [Help — FAQ](https://docs.x.ai/grok-bot/faq.md) ## Grok - [Get Started](https://docs.x.ai/grok/overview.md) - [Help & FAQ](https://docs.x.ai/grok/faq.md) - [Connectors](https://docs.x.ai/grok/connectors.md) - [Connectors — Google Drive](https://docs.x.ai/grok/connectors/google-drive.md) - [Connectors — Gmail & Google Calendar](https://docs.x.ai/grok/connectors/gmail-google-calendar.md) - [Connectors — Outlook Mail & Calendar](https://docs.x.ai/grok/connectors/outlook.md) - [Connectors — SharePoint](https://docs.x.ai/grok/connectors/sharepoint.md) - [Connectors — OneDrive](https://docs.x.ai/grok/connectors/onedrive.md) - [Connectors — Microsoft Teams](https://docs.x.ai/grok/connectors/microsoft-teams.md) - [Connectors — Salesforce](https://docs.x.ai/grok/connectors/salesforce.md) - [Connectors — Custom MCP Tunneling](https://docs.x.ai/grok/connectors/custom-mcp-tunneling.md) - [Business & Enterprise](https://docs.x.ai/grok/user-guide.md) - [Business & Enterprise — License & User Management](https://docs.x.ai/grok/management.md) - [Business & Enterprise — Connector Management](https://docs.x.ai/grok/connector-management.md) - [Business & Enterprise — Organization Management](https://docs.x.ai/grok/organization.md) ## Machine-readable resources - [OpenAPI specification](https://docs.x.ai/openapi.json): OpenAPI schema for the xAI REST API (https://api.x.ai) - [API catalog](https://docs.x.ai/.well-known/api-catalog): RFC 9727 linkset for the xAI API - [MCP server](https://docs.x.ai/api/mcp): Model Context Protocol server with docs search and retrieval tools - [MCP server card](https://docs.x.ai/.well-known/mcp/server-card.json): connection metadata for the MCP server - [Sitemap](https://docs.x.ai/sitemap.xml): all documentation page URLs - [Authentication reference](https://docs.x.ai/developers/rest-api-reference/management/auth.md): API keys and short-lived management-API tokens ## Optional - [llms-full.txt](https://docs.x.ai/llms-full.txt): every documentation page concatenated into one markdown file (large)