sessions

Write Phase Event

Fire-and-forget phase-lifecycle event from the agent. Internal-secret auth.

Powers the in-app Phases Timeline UI on the session detail page and serves as queryable observability for debugging multi-phase sessions. Failures are swallowed by the agent client; we still return 401 on bad auth so misconfigured workers surface in logs immediately.

post/v1/sessions/internal/phase-events

Request body

session_idstring required
interview_idstring nullable
phase_idstring nullable
event_namestring required
payloadobject

Response

Successful Response

{"stackTrail":"paths:/v1/sessions/internal/phase-events:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes

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