Skip to main content

Type Alias: GatewayInferenceLogResponse

type GatewayInferenceLogResponse = {
[key: string]: unknown;
status: number;
headers?: {
[key: string]: unknown;
};
body?: {
[key: string]: unknown;
};
responseTime: number;
lastUsedOptionJsonPath: string;
};

Defined in: src/models/ai-gateway-inference.ts:7902

Portkey LogResponse; additive response fields are preserved.

Example​

`GatewayInferenceLogResponseSchema.parse(value);`

Indexable​

[key: string]: unknown

Properties​

status​

status: number;

Defined in: src/models/ai-gateway-inference.ts:7903


headers?​

optional headers?: {
[key: string]: unknown;
};

Defined in: src/models/ai-gateway-inference.ts:7904

Index Signature​

[key: string]: unknown

body?​

optional body?: {
[key: string]: unknown;
};

Defined in: src/models/ai-gateway-inference.ts:7905

Index Signature​

[key: string]: unknown

responseTime​

responseTime: number;

Defined in: src/models/ai-gateway-inference.ts:7906


lastUsedOptionJsonPath​

lastUsedOptionJsonPath: string;

Defined in: src/models/ai-gateway-inference.ts:7907