Type Alias: GatewayInferenceInputPortkeyBatchJob
type GatewayInferenceInputPortkeyBatchJob = {
input_file_id: string;
completion_window: "immediate" | "24h";
endpoint: "/v1/chat/completions" | "/v1/completions" | "/v1/embeddings";
metadata?: | {
[key: string]: GatewayJsonValue;
}
| null;
job_name?: string;
output_data_config?: string;
model: string;
role_arn?: string;
portkey_options?: {
x-portkey-virtual-key: string;
x-portkey-aws-s3-bucket?: string;
x-portkey-vertex-storage-bucket-name?: string;
x-portkey-provider-model?: string;
};
provider_options?: | {
job_name?: string;
output_data_config?: string;
model: string;
role_arn: string;
}
| {
job_name?: string;
output_data_config?: string;
model: string;
};
};
Defined in: src/models/ai-gateway-inference.ts:7462
Portkey PortkeyBatchJob; strict modeled input with explicit JSON extension maps.
Example
`GatewayInferenceInputPortkeyBatchJobSchema.parse(value);`
Properties
input_file_id
input_file_id: string;
Defined in: src/models/ai-gateway-inference.ts:7463
completion_window
completion_window: "immediate" | "24h";
Defined in: src/models/ai-gateway-inference.ts:7464
endpoint
endpoint: "/v1/chat/completions" | "/v1/completions" | "/v1/embeddings";
Defined in: src/models/ai-gateway-inference.ts:7465
metadata?
optional metadata?:
| {
[key: string]: GatewayJsonValue;
}
| null;
Defined in: src/models/ai-gateway-inference.ts:7466
job_name?
optional job_name?: string;
Defined in: src/models/ai-gateway-inference.ts:7467
output_data_config?
optional output_data_config?: string;
Defined in: src/models/ai-gateway-inference.ts:7468
model
model: string;
Defined in: src/models/ai-gateway-inference.ts:7469
role_arn?
optional role_arn?: string;
Defined in: src/models/ai-gateway-inference.ts:7470
portkey_options?
optional portkey_options?: {
x-portkey-virtual-key: string;
x-portkey-aws-s3-bucket?: string;
x-portkey-vertex-storage-bucket-name?: string;
x-portkey-provider-model?: string;
};
Defined in: src/models/ai-gateway-inference.ts:7471
x-portkey-virtual-key
x-portkey-virtual-key: string;
x-portkey-aws-s3-bucket?
optional x-portkey-aws-s3-bucket?: string;
x-portkey-vertex-storage-bucket-name?
optional x-portkey-vertex-storage-bucket-name?: string;
x-portkey-provider-model?
optional x-portkey-provider-model?: string;
provider_options?
optional provider_options?:
| {
job_name?: string;
output_data_config?: string;
model: string;
role_arn: string;
}
| {
job_name?: string;
output_data_config?: string;
model: string;
};
Defined in: src/models/ai-gateway-inference.ts:7477