X
xAI Inference REST API
Details
- URL
-
https://api.x.ai - Docs
- https://docs.x.ai/developers/rest-api-reference/inference
Authentication
Authorization: Bearer <credential> Sign in to the xAI Console, then open API Keys and create an API key. Use it as a bearer token in the Authorization header: Bearer <your xAI API key>.