Skip to main content

Type Alias: GatewayInferenceResponseCreatedEvent

type GatewayInferenceResponseCreatedEvent = {
[key: string]: unknown;
type: "response.created";
response: GatewayInferenceResponse;
};

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

Portkey ResponseCreatedEvent; additive response fields are preserved.

Example​

`GatewayInferenceResponseCreatedEventSchema.parse(value);`

Indexable​

[key: string]: unknown

Properties​

type​

type: "response.created";

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


response​

response: GatewayInferenceResponse;

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