List chat sessions
GET /v1/sessions — List the user's chat sessions with last-activity timestamp and message count, most recently updated first. `kind` scopes
GET /v1/sessions
List the user's chat sessions with last-activity timestamp and message count, most recently updated first. kind scopes to one surface's sessions (including messaging for IM-bridged conversations); origin scopes by creator (web | cli | automation | messaging). Unknown filter values leave that dimension unfiltered.
| Method | GET |
| Path | /v1/sessions |
| Auth | Authorization: Bearer <token> required by default (configured or generated token); optional only in explicit loopback development mode (MINARA_ALLOW_INSECURE_BIND=1, with GATEWAY_AUTH_TOKEN unset) |
| Category | sessions |
Response body
{ "sessions": [ { "id": "chat_abc", "title": "BTC analysis", "origin": "web", "kind": "chat", "created_at_ms": 1747000000000, "updated_at_ms": 1747000500000, "message_count": 6, "has_unseen_completion": true, "completion_settled_at_ms": 1747000500000 } ] }Notes
When archived=true, an untitled Chat includes first_user_message_preview, the first user message on one line, shortened after 80 graphemes with an ellipsis. It is null when that message has no text. The stored title stays separate. group_id optionally filters sessions before pagination. Omit it for all groups, use an empty value for ungrouped sessions, or supply a group ID. Each returned session includes a nullable group_id. Groups are local to this Agent. has_unseen_completion is true after a non-interrupted turn completes or fails, until the client acknowledges the result with POST /v1/sessions/:id/completion/read. completion_settled_at_ms is the stable cursor for that result; clients can use it to ignore stale list snapshots after acknowledgement.