List sessions
anam_session_listLists the organization’s sessions (conversations with a persona), newest first, with paging in meta: a summary of each (persona, client label, start, end, length, exit status); anam_session_get has the rest. CLOSED_BY_ENGINE includes a normal end of call by the user or app. anam_session_search finds calls by what was said; anam_session_insights says how they went.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "anam_session_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Created before this time, which must be later than `from`; same format. | |
| from | No | Created at or after this ISO 8601 date-time with an offset (`2026-11-01T00:00:00Z`) or date (`2026-11-01`, midnight UTC). | |
| page | No | ||
| active | No | `true` for active sessions, `false` for ended ones. | |
| search | No | Matches session IDs and client labels. | |
| perPage | No | ||
| apiKeyId | No | Filter sessions by API key ID | |
| personaId | No | Filter sessions by persona ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| meta | No | ||
| resultTrimmed | No |