AI Ask
List Messages
Retrieve a session’s messages in chronological order
GET
Retrieve a session’s messages, oldest first. Assistant messages carry
citation parts that deep-link to a recording_id + start_ms.
Authentication
Requires an API key. The session is looked up within the key’s project; an unknown session returns404. An end-user-scoped key can only read its own sessions.
Path Parameters
Session identifier (
as_*).Query Parameters
Maximum number of messages to return (1–100).
Pagination cursor from a previous response’s
next_cursor.Response
Returns a paginated list of messages, oldest first.Message Fields
| Field | Type | Description |
|---|---|---|
role | string | user or assistant |
content | string | Plain-text message content |
parts | array | Rich content: text segments and (assistant only) citation parts ({ type, recording_id, start_ms }) |
tokens | object | Token usage { input, output, cached }; null for user messages |
model / provider | string | null | The model and provider that produced an assistant message |
finish_reason | string | null | Why generation stopped (assistant only) |
created_at | string | Timestamp |

