AI Ask
Get Session
Retrieve a single AI Ask session
GET
Retrieve a single AI Ask session. To fetch its conversation history, use List Messages.
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 retrieve its own sessions.
Path Parameters
Session identifier (
as_*).Response
Returns the session object.Response Fields
| Field | Type | Description |
|---|---|---|
id | string | Session identifier (as_*) |
scope | object | { type, recording_ids, recording_title }. type is recording / library / selected / folder; recording_ids lists the in-scope recordings (one for recording, the chosen set for selected, empty for library); recording_title is the cached title for recording scope |
title | string | Session title |
message_count | integer | Number of messages in the session |
last_message_at | string | Timestamp of the most recent message |
last_model / last_provider | string | null | Model and provider of the last assistant turn |
created_at / updated_at | string | Timestamps |

