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.
Bearer JWT Token (
user_id is automatically extracted)The interrupted session ID
LLM model configuration (same as invoke)
List of tool call approval results
Human instruction — additional instructions passed to the Agent along with the approval result
Tool interrupt configuration (subsequent tool calls may still trigger interrupts)