Variable: GatewayCatalogCustomHostConfigurationSchema
const GatewayCatalogCustomHostConfigurationSchema: z.ZodType<{
[key: string]: unknown;
provider_auth_type?: string;
custom_host?: string;
custom_headers?: {
[key: string]: string;
};
}>;
Defined in: src/models/ai-gateway-extensions.ts:2701
SCM CustomHostConfiguration; unknown response fields are preserved.
Live-verified 2026-09-12 on the open-ai and x-ai providers: custom_host is only
accepted alongside provider_auth_type: 'apiKey' (the gateway answers a generic AB01
without it), the host must be a resolvable-looking URL, and custom_headers may be {}.