gRPC Reference
The xAI Enterprise gRPC API is a robust, high-performance gRPC interface designed for seamless integration into existing systems.
The base url for all services is at api.x.ai. For all services, you have to authenticate with the header Authorization: Bearer <your xAI API key>.
Visit xAI API Protobuf Definitions to view and download our protobuf definitions.
Raw Sampling of a Language Model
xai_api.Sample
Methods of xai_api.Sample
No methods found for this service.