← AI PulseSep 7, 2026

Wire · news · Multi-source brief

xAI Introduces Chat Completions API and Collection Management Endpoints

xAI has released a Chat Completions API for chat and image understanding models, alongside a Collections API for managing data collections and documents.

By Illumora Editorial

Source · Sep 7, 2026, 10:28 PM · On Illumora · Sep 7, 2026, 10:38 PM

Media from the primary source — shown here so you can stay on Illumora.

Synthesized from multiple allowlisted primaries on the same event. Lanes →

Brief drafted by Illumora’s editorial model from the linked primary source. Ops desk reviews flagged pieces. How we write →

Read the source →xAI Docs — Chat Completions | Inference API - REST API Reference | SpaceXAI Docs
Save

xAI has introduced a new Chat Completions API, designed for generating chat responses from text and image prompts. This API supports requests to both chat and image understanding models. Concurrently, xAI has also launched a Collections API, which provides endpoints for managing data collections and the documents within them.

The Chat Completions API is described as a stateless, OpenAI-compatible predecessor to the Responses API, with xAI recommending new integrations utilize the Responses API and providing guidance for migration. The Collections API, on the other hand, shares its base URL with the Management API at https://management-api.x.ai/ and requires authentication using an xAI Management API Key.

Key Points

  • The Chat Completions API is designed for generating chat responses from text and image prompts.
  • It is the endpoint for making requests to chat and image understanding models.
  • The Chat Completions API is a stateless, OpenAI-compatible predecessor to the Responses API.
  • New integrations should use the Responses API instead of Chat Completions.
  • The Collections API provides endpoints for managing collections and documents.
  • The Collections API base URL is https://management-api.x.ai/.
  • Authentication for the Collections API requires an xAI Management API Key.

Context

According to xAI, the Chat Completions API includes functionality for deferred completions, allowing users to fetch results for previously started requests. The API returns a 200 Success status when a request is completed and a 202 Accepted status if processing is pending. The Collections API, as detailed by xAI, supports operations such as listing collections, adding documents, and retrieving document metadata. It allows for filtering and sorting of collections and documents based on various parameters like collection_id, collection_name, created_at, and document name or status.

Why It Matters

The introduction of these APIs by xAI provides developers with tools for integrating chat and image understanding capabilities into their applications, as well as managing structured data collections. The availability of both real-time and deferred completion options in the Chat Completions API offers flexibility for different application needs, while the Collections API enables programmatic control over data organization and retrieval.

What To Do

  • Review the xAI documentation for the Chat Completions API to understand its capabilities for chat and image understanding models.
  • Investigate the Responses API documentation for new integrations, as it is the recommended path over Chat Completions.
  • Examine the Collections API documentation to learn about managing data collections and documents.
  • Note the authentication requirements for the Collections API, which involve an xAI Management API Key.

Keep Exploring

/atlas/**grok**-family /atlas/image-models /techniques/multimodal-grounding