AxChatResponse Generated TypeScript API reference. typescript api api/reference build/apidocs/TypeAlias.AxChatResponse.md type AxChatResponse

AxChatResponse

TypeScript
type AxChatResponse = object;

Defined in: https://github.com/ax-llm/ax/blob/e4219a44b7581a55a40d9dd62d2c281062ff078d/src/ax/ai/types.ts#L437

Properties

modelUsage?

TypeScript
optional modelUsage: AxModelUsage;

Defined in: https://github.com/ax-llm/ax/blob/e4219a44b7581a55a40d9dd62d2c281062ff078d/src/ax/ai/types.ts#L449


providerMetadata?

TypeScript
optional providerMetadata: AxProviderMetadata;

Defined in: https://github.com/ax-llm/ax/blob/e4219a44b7581a55a40d9dd62d2c281062ff078d/src/ax/ai/types.ts#L447

Provider-specific metadata that should flow through adapters.


remoteId?

TypeScript
optional remoteId: string;

Defined in: https://github.com/ax-llm/ax/blob/e4219a44b7581a55a40d9dd62d2c281062ff078d/src/ax/ai/types.ts#L441

Provider response/message/completion identifier.


remoteRequestId?

TypeScript
optional remoteRequestId: string;

Defined in: https://github.com/ax-llm/ax/blob/e4219a44b7581a55a40d9dd62d2c281062ff078d/src/ax/ai/types.ts#L443

Provider request identifier, usually from response headers.


remoteSessionId?

TypeScript
optional remoteSessionId: string;

Defined in: https://github.com/ax-llm/ax/blob/e4219a44b7581a55a40d9dd62d2c281062ff078d/src/ax/ai/types.ts#L445

Provider conversation/session identifier when distinct from Ax’s local sessionId.


results

TypeScript
results: readonly AxChatResponseResult[];

Defined in: https://github.com/ax-llm/ax/blob/e4219a44b7581a55a40d9dd62d2c281062ff078d/src/ax/ai/types.ts#L448


sessionId?

TypeScript
optional sessionId: string;

Defined in: https://github.com/ax-llm/ax/blob/e4219a44b7581a55a40d9dd62d2c281062ff078d/src/ax/ai/types.ts#L439

Ax-local session identifier used for conversation tracking and memory isolation.

Docs