A Turn represents a single atomic interaction cycle: User Input -> Agent Processing -> Agent Output.
Turns are immutable once recorded.
Create Turn
The ID of the session this turn belongs to.
The user’s input. Must contain
type (e.g. “text”) and content.The agent’s response. Must contain
type and content.Arbitrary metrics (token usage, latency, model versions).
Optional internal monologue or “Check-of-Thought” trace from the agent.
List Turns
Retrieve the conversation history for a session.The session ID.
Max results to return.
Sort order:
asc or desc.