Force an answer
Steer
Force an answer
Ask the agent to emit a final answer on its next step.
POST
Force an answer
Injects a
force_answer flow-control event into the session. The agent stops exploring and produces a final answer on its next step, based on whatever context it has gathered so far. Like pause and resume, this request takes no body, requires authentication, and does not wait for the agent to act.
If the session has subagents still running, force_answer propagates down to them: each in-flight subagent is asked to wrap up, gets a short grace window to finalize, and any that don’t finish in time are cancelled. Their partial results are folded into the parent’s answer. The same cascade repeats through any deeper subagents.
Returns 202 Accepted. The command is delivered asynchronously.
Path parameters
The session ID.
Examples
Errors
| Status | Cause |
|---|---|
404 | Session not found, or you don’t have access. |