xAI has introduced a Management API designed for enterprise users who prefer programmatic control over their account details. This API allows for the management of team details and API keys, offering an alternative to manual configuration through the xAI Console.
Key Points
- The Management API facilitates programmatic management of team details and API keys.
- A separate management key, obtainable from xAI Console > Settings > Management Keys, is required to use the Management API.
- The base URL for the Management API is
https://management-api.x.ai, distinct from the inference API. - Users can create, list, update, and delete API keys, as well as manage associated access control lists (ACLs) via the Management API.
- API keys can be configured with specific rate limits, including queries per second (QPS), queries per minute (QPM), and tokens per minute (TPM).
- The Management API also allows for listing all models available to a team and checking the propagation status of API keys across clusters.
- xAI does not train on customer API inputs or outputs without explicit permission, and API requests are temporarily stored for 30 days for audit purposes.
Context
According to xAI, teams are the organizational level at which API usage is tracked, billing is processed, and invoices are issued. Each team has roles, with Admins able to modify team names, billing details, and manage members. The company also states that it is SOC 2 Type 2 compliant and offers an audit log for user interactions within the xAI Console.
Why It Matters
The introduction of a Management API provides builders with enhanced automation capabilities for managing their xAI resources. This programmatic control can streamline operations for enterprise users, particularly those with complex or large-scale deployments, by integrating key management directly into their existing systems.
What To Do
- Obtain a management key from the xAI Console to begin using the Management API.
- Review the Management API Reference for endpoint specifications and descriptions.
- Test creating API keys with specific ACLs and rate limits using the provided
curlexamples. - Explore the Management API to list available models for your team and manage access controls programmatically.
Keep Exploring
/atlas/**grok**-family /techniques/output-schema /techniques/system-user-separation /studio?pack=foundation
