Skip to main content
GET
List the caller's chat sessions with an agent

Authorizations

Authorization
string
header
required

An aik_… programmatic API key (app.atako.ai → Settings → API keys) or a Supabase session JWT.

Path Parameters

agentId
string
required

Agent id

Query Parameters

includeArchived
enum<string>

Include archived sessions.

Available options:
true,
false

Response

id
string<uuid>
required
agentId
string<uuid>
required
key
string
required

Opaque engine-side key of this thread — the bare user id for the historical thread, chat:<conversationId> for every session created since. Read-only.

title
string | null
required

Derived from the first user message when not set explicitly.

archived
boolean
required
unreadCount
integer
required

Agent messages newer than this session's read cursor.

createdAt
string<date-time>
required
meta
object

Free-form per-session payload.

lastReadAt
string<date-time> | null
lastMessageAt
string<date-time> | null