Interface: XAIHeaders
@providerprotocol/ai / xai / XAIHeaders
Interface: XAIHeaders
Section titled “Interface: XAIHeaders”Defined in: src/providers/xai/types.ts:1599
xAI-specific HTTP headers for API requests.
Example
Section titled “Example”const headers: XAIHeaders = { 'X-Client-Request-Id': 'trace-123',};Indexable
Section titled “Indexable”[key: string]: string | undefined
Properties
Section titled “Properties”X-Client-Request-Id?
Section titled “X-Client-Request-Id?”
optionalX-Client-Request-Id:string
Defined in: src/providers/xai/types.ts:1601
Client-generated request ID for tracing.