Skip to main content

Type Alias: GatewayInferenceLogRequest

type GatewayInferenceLogRequest = {
[key: string]: unknown;
url: string;
method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | "OPTIONS" | "HEAD";
headers?: {
[key: string]: unknown;
};
body?: {
[key: string]: unknown;
};
portkeyHeaders: {
[key: string]: unknown;
};
};

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

Portkey LogRequest; additive response fields are preserved.

Example​

`GatewayInferenceLogRequestSchema.parse(value);`

Indexable​

[key: string]: unknown

Properties​

url​

url: string;

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


method​

method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | "OPTIONS" | "HEAD";

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


headers?​

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

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

Index Signature​

[key: string]: unknown

body?​

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

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

Index Signature​

[key: string]: unknown

portkeyHeaders​

portkeyHeaders: {
[key: string]: unknown;
};

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

Index Signature​

[key: string]: unknown