List Sessions
engram_list_sessionsFind an exact session_id before recovery, closing or a handoff. Unlike engram_rehydrate, this lists bounded metadata without replaying journal content or changing a session. Returns JSON sessions with member/client attribution, status, activity and checkpoint availability, plus next_cursor.
Default scope=mine lists this member's sessions; scope=workspace explicitly includes teammates in the authenticated workspace. repo/status/agent_tool/member_id filter results; a teammate member_id requires workspace scope. limit defaults to 20, maximum 50. Pass next_cursor unchanged to continue newest-started-first pagination. Empty results are valid. Consumes daily call quota. OAuth: memory:read.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | No | Repository slug, e.g. engram or billing-api, within the authenticated workspace. This is a memory filter, not a filesystem path or workspace selector. | |
| limit | No | Page size, default 20; from 1 to 50. | |
| scope | No | Default mine lists your sessions across clients; workspace includes shared teammate session metadata. | |
| cursor | No | Opaque next_cursor from the prior response. Keep filters unchanged; omit for the first page. | |
| status | No | Filter journal state; omit to include both active and closed sessions. | |
| member_id | No | Member id to filter; another member requires scope=workspace. This is a filter, not authorization. | |
| agent_tool | No | Calling client name for attribution, e.g. codex, claude-code, cursor, or gemini. Omit if unknown. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The same bounded payload as content[0].text; interpret it using format. JSON text contains the endpoint-specific fields described by this tool. | |
| format | Yes | Payload encoding: Markdown context/checkpoint, serialized JSON data, or plain confirmation text. | |
| truncated | Yes | True when the payload exceeded 120,000 characters and was cut with a notice. Narrow the request; truncated JSON is not parseable. |