v1

latestOpenAPI 3.1.02026-08-04156223229.6 KB
sync-chat

Update Sync Chat Turn

Persist agent output onto a sync-chat turn (agent-service-facing).

The JWT is bound to this turn_id (caps=['sync-chat-turn']); the service cross-checks user ownership before writing. Same body shape as the contributor PATCH /turns/{id}. No cursor advance: sync-chat is off the DAG.

patch/agent-loop/sync-chat/turns/{turn_id}

Path parameters

turn_idstring required

Headers

authorizationstring nullable

Request body

statusstring nullable
assistant_textstring nullable
{"stackTrail":"components:schemas:UpdateTurnRequest:properties:tool_calls:anyOf","oasType":"schema","type":"unknown","title":"Tool Calls","nullable":true}
{"stackTrail":"components:schemas:UpdateTurnRequest:properties:message_deltas:anyOf","oasType":"schema","type":"unknown","title":"Message Deltas","nullable":true}
{"stackTrail":"components:schemas:UpdateTurnRequest:properties:usage:anyOf","oasType":"schema","type":"unknown","title":"Usage","nullable":true}
errorstring nullable

Response

Successful Response

object required