Skip to content

Variable: ModelListResponseSchema

const ModelListResponseSchema: ZodUnion<readonly [ZodObject<{ data: ZodArray<ZodObject<{ capabilities: ZodObject<{ ai_gateway_codex: ZodBoolean; anthropic: ZodBoolean; embeddings: ZodBoolean; open_responses: ZodBoolean; reasoning: ZodArray<ZodEnum<…>>; responses: ZodBoolean; streaming: ZodBoolean; tools: ZodBoolean; web_search: ZodBoolean; }, $strip>; created: ZodNumber; id: ZodString; name: ZodString; object: ZodLiteral<"model">; owned_by: ZodString; status: ZodObject<{ deprecated: ZodDefault<ZodBoolean>; }, $strip>; task: ZodOptional<ZodString>; }, $strip>>; object: ZodLiteral<"list">; }, $strip>, ZodObject<{ models: ZodArray<ZodObject<{ apply_patch_tool_type: ZodNullable<ZodString>; availability_nux: ZodNullable<ZodUnknown>; base_instructions: ZodString; context_window: ZodNullable<ZodNumber>; default_reasoning_level: ZodOptional<ZodEnum<{ high: "high"; low: "low"; max: "max"; medium: "medium"; minimal: "minimal"; none: "none"; xhigh: "xhigh"; }>>; default_verbosity: ZodNullable<ZodString>; description: ZodString; display_name: ZodString; experimental_supported_tools: ZodArray<ZodUnknown>; input_modalities: ZodArray<ZodString>; priority: ZodNumber; shell_type: ZodString; slug: ZodString; status: ZodObject<{ deprecated: ZodDefault<ZodBoolean>; }, $strip>; support_verbosity: ZodBoolean; supported_in_api: ZodBoolean; supported_reasoning_levels: ZodArray<ZodObject<{ description: ZodString; effort: ZodEnum<…>; }, $strip>>; supports_image_detail_original: ZodBoolean; supports_search_tool: ZodBoolean; truncation_policy: ZodObject<{ limit: ZodNumber; mode: ZodEnum<{ bytes: …; tokens: …; }>; }, $strip>; upgrade: ZodNullable<ZodUnknown>; visibility: ZodLiteral<"list">; web_search_tool_type: ZodString; }, $strip>>; }, $strip>]>

Model-list response selected by the caller’s Originator header.