Create response
Responses API
Create a response
Creates a response using the Responses API.
POST
Create response
Server tools
/v1/responses supports regular function tools and these gateway-managed server tools:
gateway:datetimephaseo:web_searchphaseo:web_fetchphaseo:advisorphaseo:image_generationphaseo:apply_patch
Datetime example
usage.server_tool_use.* counters.
gateway:datetime->datetime_requestsphaseo:web_search->web_search_requests,web_search_results,web_search_extra_resultsphaseo:web_fetch->web_fetch_requestsphaseo:advisor->advisor_requestsphaseo:image_generation->image_generation_requestsphaseo:apply_patch->apply_patch_requests
Streaming note
stream: true is also supported. For gateway-managed server tools, Phaseo may materialize the upstream tool-call turn and re-emit a synthetic stream after continuing the loop.Authorizations
Bearer token authentication
Body
application/json
Required range:
x >= 1Unique identifier for grouping related requests (for example, a conversation or agent workflow) for observability.
Maximum string length:
256Available options:
standard, fast, priority, flex, batch Required range:
0 <= x <= 2Tool selection strategy. Phaseo server-tool types are accepted and rewritten into upstream function/tool targets.
Available options:
auto, none, required, phaseo:datetime, phaseo:web_search, phaseo:web_fetch, phaseo:subagent, phaseo:fusion, phaseo:search_models, 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
- Option 5
- Option 6
- Option 7
Required range:
0 <= x <= 1Available options:
auto, disabled Available options:
text, image, audio Optional provider-specific options.
Gateway debug controls. These flags are never forwarded upstream.
Provider routing preferences for gateway selection.
Response
200 - application/json
Response
Available options:
completed, failed, incomplete Last modified on July 26, 2026