Skip to main content
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 returns 404. An end-user-scoped key can only retrieve its own sessions.

Path Parameters

id
string
required
Session identifier (as_*).

Response

Returns the session object.

Response Fields

FieldTypeDescription
idstringSession identifier (as_*)
scopeobject{ 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
titlestringSession title
message_countintegerNumber of messages in the session
last_message_atstringTimestamp of the most recent message
last_model / last_providerstring | nullModel and provider of the last assistant turn
created_at / updated_atstringTimestamps