cURL
curl --request GET \ --url https://api.qyl.dev/v1/sessions
{ "items": [ { "session.id": "<string>", "start_time": "2023-11-07T05:31:56Z", "trace_count": 1, "span_count": 1, "error_count": 1, "state": "active", "user.id": "<string>", "end_time": "2023-11-07T05:31:56Z", "duration_ms": 1, "client": { "ip": "<string>", "user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36", "device_type": "desktop", "os": "<string>", "browser": "<string>", "browser_version": "<string>" }, "geo": { "country_code": "<string>", "country_name": "<string>", "region": "<string>", "city": "<string>", "postal_code": "<string>", "timezone": "<string>" }, "genai_usage": { "request_count": 1, "total_input_tokens": 1, "total_output_tokens": 1, "models_used": [ "<string>" ], "providers_used": [ "<string>" ], "estimated_cost_usd": 123 } } ], "has_more": true, "next_cursor": "<string>", "prev_cursor": "<string>" }
List sessions
User ID filter User identifier (pseudonymized for privacy)
1 - 256
Is active filter
Start time
End time
Page size
1 <= x <= 1000
Cursor
The request has succeeded.
Cursor-based paginated response wrapper
List of items in this page
Show child attributes
Whether there are more items available
Cursor for the next page (null if no more pages)
Cursor for the previous page (null if first page)
Was this page helpful?