#### Management API

# Management REST API Overview

The Management API allows you to perform operations on your team programmatically. You
need a [management key](https://console.x.ai/team/default/management-keys?utm_source=docs\&utm_medium=referral\&utm_campaign=developers-rest-api-reference-management\&utm_content=management-keys) in
order to use this API. The base URL for all endpoints is `https://management-api.x.ai`.

The Management API serves as a dedicated interface to the SpaceXAI platform, empowering developers and teams to
programmatically manage their xAI API teams.

For example, users can provision their API key, handle access controls,
and perform team-level operations like creating, listing, updating, or deleting keys and associated access control lists
(ACLs). This API also facilitates oversight of billing aspects, including monitoring prepaid credit balances and usage
deductions, ensuring seamless scalability and cost transparency for Grok model integrations.

To get started, go to [xAI Console](https://console.x.ai?utm_source=docs\&utm_medium=referral\&utm_campaign=developers-rest-api-reference-management\&utm_content=console-home). On users page, make sure your xAI account has
`Management Keys` Read + Write permission, and obtain your Management API key on the settings page. If you don't see
any of these options, please ask your team administrator to enable the appropriate permissions.

* [Accounts and Authorization](/developers/rest-api-reference/management/auth)
* [Billing Management](/developers/rest-api-reference/management/billing)
* [Audit Logs](/developers/rest-api-reference/management/audit)
