Actions28
- Ingestion Actions
- Public API Actions
Public API → List Sessions
AI-generatedSummary
Retrieve a paginated list of sessions from the Langfuse Public API with optional advanced query parameters and control over the number of results returned.
Inputs
- Show Advanced Fields — Enable to reveal optional fields for fine-tuned querying of sessions.
- Query JSON — JSON string converted into query string parameters to filter and paginate the list (e.g., page number, limit). Only visible when advanced fields are shown.
- Return All — Boolean flag to either return all available sessions by auto-paginating the API or limit the output to a specified number.
Output shape
a list of session records with pagination metadata when applicable
If 'Return All' is false, the output is limited to a single page as specified by the 'limit' in the Query JSON or the default. If true, the operation auto-paginates through all available pages up to API limits. The Query JSON must be a valid JSON object string representing query parameters. Errors from API calls are preserved in the output for workflow branching and troubleshooting.