Thanks to visit codestin.com
Credit goes to docs.x.ai

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.


Chat

xai_api.Chat

Methods of xai_api.Chat

No methods found for this service.

Image

xai_api.Image

Methods of xai_api.Image

No methods found for this service.

Models

xai_api.Models

Methods of xai_api.Models

No methods found for this service.

Auth Service

xai_api.Auth

Methods of xai_api.Auth

No methods found for this service.

Raw Sampling of a Language Model

xai_api.Sample

Methods of xai_api.Sample

No methods found for this service.