Agent API
Resume Agent
Resume an interrupted Agent execution — continue after HITL approval
POST
When a tool triggers an HITL (Human-in-the-Loop) interrupt during Agent execution, the frontend collects the user’s approval decision and uses this endpoint to resume execution.
Returns an SSE streaming response, continuing execution from the interruption point.
user_id is automatically extracted from the JWT Token and does not need to be passed in the body.
string
required
Bearer JWT Token (
user_id is automatically extracted)string
required
The interrupted session ID
object
required
LLM model configuration (same as invoke)
array
required
List of tool call approval results
string
Human instruction — additional instructions passed to the Agent along with the approval result
object
Tool interrupt configuration (subsequent tool calls may still trigger interrupts)