Generate chat-based completions using the OpenAI-compatible chat endpoint.
/v1/chat/completions supports regular function tools and one gateway-managed server tool:
gateway:datetimestream: false when tools are present.Bearer token authentication
1-2 <= x <= 2x >= 1x >= 1-2 <= x <= 2-9223372036854776000 <= x <= 92233720368547760000 <= x <= 2Tool definitions for model function calls and gateway server tools. The only built-in gateway server tool is gateway:datetime. Web-search tool types (for example web_search_preview) are temporarily disabled by the gateway.
x >= 1Tool selection strategy. gateway:datetime is accepted and rewritten by the gateway into an upstream function/tool target.
auto, none, required, gateway:datetime 0 <= x <= 200 <= x <= 1text, image, audio Provider routing preferences for gateway selection.
Optional provider-specific options.
auto, default, flex, standard, priority Gateway debug controls. These flags are never forwarded upstream.