Trasys
Public API

Sessions & Traffic

Retrieve user session timelines combining traces, logs, and AI spans, plus aggregated device, browser, and traffic analytics from the Trasys Public API.

These endpoints provide deep insights into user sessions, devices, and overall traffic patterns across your application.

All endpoints on this page support standard pagination and time range filtering.


GET /v1/sessions

Retrieve a list of user sessions data with deep filtering.

Query Parameters

ParameterTypeRequiredDescription
devicestringNoFilter by device type. Options: desktop, mobile, tablet.
browserstringNoFilter by browser. Options: chrome, firefox, safari, edge.
(Pagination)Supports limit, page, time_range, sort_by, sort_order.

GET /v1/sessions/:sessionId

Retrieve detailed info for a single session, combining its traces, logs, and AI spans into a single chronological timeline.

Path Parameters

ParameterTypeRequiredDescription
sessionIdstringYesThe unique identifier of the user session.

Query Parameters

ParameterTypeRequiredDescription
pageintegerNoPage number (0-indexed).
limitintegerNoNumber of timeline items per page.

The total items in a session timeline can be extremely large. Ensure you use page and limit to efficiently paginate the timeline. The response meta.total will give you the exact combined total.


GET /v1/traffic

Retrieve traffic analysis and time-series metrics.

Query Parameters

ParameterTypeRequiredDescription
time_rangestringYesTime range is required (e.g. 1h, 24h, 7d, 30d).
intervalstringNoData aggregation interval. Options: 1m, 1h, 1d.

On this page