Skip to main content

Type Alias: GatewayInferenceRequestResponseObject

type GatewayInferenceRequestResponseObject = {
[key: string]: unknown;
body?: {
[key: string]: unknown;
};
headers?: {
[key: string]: unknown;
};
url?: string;
method?: string;
};

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

Portkey RequestResponseObject; additive response fields are preserved.

Example​

`GatewayInferenceRequestResponseObjectSchema.parse(value);`

Indexable​

[key: string]: unknown

Properties​

body?​

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

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

Index Signature​

[key: string]: unknown

headers?​

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

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

Index Signature​

[key: string]: unknown

url?​

optional url?: string;

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


method?​

optional method?: string;

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