# List a session’s turns
Source: https://docs.file.ai/api-reference/endpoint/list-a-sessions-turns

> Returns the conversation, oldest first: one row per turn, carrying the

get /prod/v2/agent/sessions/{session_id}/messages

Returns the conversation, oldest first: one row per turn, carrying the
prompt or the answer, the run status, and what the run cost.

Cursor-paginated — send pagination.nextCursor back as ?cursor= until
hasMore is false. Pages default to 20 turns because a turn carries a
whole answer.

An answer longer than 256KB is returned truncated, with
content_truncated true and content_length giving its real size; read
the turn’s job to get it in full.

An assistant turn that stopped reporting is reconciled to STALE while
the history is read, so a session stuck behind a dead run is freed by
reading it.
