Start Agent Run
Authorizations
API key or UI session JWT passed as a Bearer token.
Headers
ID of the workspace the request operates on.
Body
Natural-language prompt for the agent turn. Empty when resuming deferred tools.
Existing chat/query id. Created when omitted.
Optional document scope for the agent turn.
Inquiry interaction mode: ask (Haiku), reason/build (Opus).
ask, reason, build Inquiry surface variant controlling available tools.
root, explore, canvas, app, written-document, presentation, dashboard-cards Bound canvas id for canvas-variant turns.
Bound presentation deck id for presentation-variant turns.
Bound written document id for written-document-variant turns.
Client-side tool results used to resume a deferred agent turn.
Optional prior model/UI message history.