Responses
Creates a response using the Responses API.
Server tools
/v1/responses supports regular function tools and these gateway-managed server tools:
gateway:datetimegateway:web_searchgateway:web_fetch
Datetime example
usage.server_tool_use.* counters.
gateway:datetime->datetime_requestsgateway:web_search->web_search_requestsgateway:web_fetch->web_fetch_requests
Streaming note
stream: true is also supported. For gateway-managed server tools, AI Stats may materialize the upstream tool-call turn and re-emit a synthetic stream after continuing the loop.Authorizations
Bearer token authentication
Body
x >= 1Unique identifier for grouping related requests (for example, a conversation or agent workflow) for observability.
256standard, priority, flex, batch 0 <= x <= 2Tool selection strategy. gateway:datetime, gateway:web_search, and gateway:web_fetch are accepted and rewritten by the gateway into upstream function/tool targets.
auto, none, required, gateway:datetime, gateway:web_search, gateway:web_fetch Tool definitions for model function calls and gateway server tools. Built-in gateway server tools are gateway:datetime, gateway:web_search, and gateway:web_fetch.
- Option 1
- Option 2
- Option 3
- Option 4
0 <= x <= 1auto, disabled text, image, audio Optional provider-specific options.
Gateway debug controls. These flags are never forwarded upstream.
Provider routing preferences for gateway selection.