Agent

Create a constrained Agent response

post/v1/responses

Headers

Idempotency-Keystring required
Last-Event-IDstring

Resume a previously created streaming Response after this event

Request body

agent_session_idstring
instructionsstring nullable
execution_policy'local_only' | 'prefer_local' | 'cloud_allowed' | 'cloud_required' required
streamboolean required
includestring[]

Response

Completed or non-streaming response

request_idstring required
warningsstring[] required

Changes

Changed in 1 of the 4 revisions of this API.1