curl --request GET \
--url https://api.staging.qyl.dev/api/v1/sessions{
"items": [
{
"session.id": "<string>",
"start_time": "2023-11-07T05:31:56Z",
"trace_count": 1,
"span_count": 1,
"error_count": 1,
"services": [
"<string>"
],
"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
curl --request GET \
--url https://api.staging.qyl.dev/api/v1/sessions{
"items": [
{
"session.id": "<string>",
"start_time": "2023-11-07T05:31:56Z",
"trace_count": 1,
"span_count": 1,
"error_count": 1,
"services": [
"<string>"
],
"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>"
}User ID filter User identifier (pseudonymized for privacy)
1 - 256Is active filter
Start time
End time
Page size
1 <= x <= 1000Cursor
The request has succeeded.
Cursor-based paginated response wrapper
Was this page helpful?