List sessions
list_sessionsList sessions in one Flowlines namespace using API filters and cursor pagination. Results may contain end-user personal data: quote minimally and mask direct identifiers.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Exclusive session start boundary. ISO 8601 timestamp with timezone. Choose a value after from for a non-empty window. | |
| from | No | Inclusive session start boundary. ISO 8601 timestamp with timezone, e.g. 2026-09-16T00:00:00Z. | |
| limit | No | Page size. Defaults to 20. | |
| cursor | No | Opaque cursor from a previous page. | |
| reason | Yes | A short phrase saying why you are calling this tool, for example: find unpaid invoices. | |
| outcome | No | Evaluated outcome category, not search.outcome text or aggregate_sessions.filters.status. partially_completed means a partial resolution without a true/false success value; unevaluated means neither a true/false success value nor a partial resolution. Excluded sessions are omitted when this filter is set. | |
| user_id | No | Only sessions of this Flowlines user id. | |
| agent_name | No | Only sessions of this agent. | |
| user_intent | Yes | One sentence describing what the user is trying to accomplish. Keep it the same across calls until the user's goal changes. | |
| namespace_id | Yes | Flowlines namespace UUID. | |
| intent_family | No | Only sessions with this intent family. | |
| user_feedback | No | Only sessions with this end-user feedback. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| notice | No | ||
| truncation | Yes |