agent-loop

Update Turn

Single completion call — updates turn with all results at once.

Dual-auth (see require_turn_access): a per-turn agent-svc JWT bound to this turn_id is the agent-service path; Stytch session is the user path. Both routes resolve to actor.user_id for cursor advances and downstream attribution.

patch/agent-loop/turns/{turn_id}

Request

Path parameters

turn_idstring required

Headers

authorizationstring nullable

Request body

statusstring nullable
assistant_textstring nullable
tool_callsunknown
message_deltasunknown
usageunknown
errorstring nullable

Response

Successful Response

object required

Changes

No recorded changes to this operation across all 1 revision of this API.