cURL
curl --request PUT \ --url https://agents-api.kolena.com/api/v1/client/access-logs/query \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "time_range": { "start_time": "2023-11-07T05:31:56Z", "end_time": "2023-11-07T05:31:56Z" }, "filters": { "users": [ "<string>" ], "client_ips": [ "<string>" ] }, "page_size": 100, "cursor": "<string>" } '
{ "total_events": 123, "events": [ { "timestamp_millis": 123, "workspace_id": 123, "user": "<string>", "client_ip": "<string>", "operation": "<string>", "http_path": "<string>", "http_method": "<string>", "http_status": 123 } ], "next_cursor": "<string>" }
Query access logs
Bearer authentication header of the form Bearer <token>. The <token> represents your API key, which must be acquired from the Kolena platform.
Bearer <token>
<token>
Show child attributes
Start time in ISO 8601 format with timezone (e.g. '2025-09-04T04:00:00+08:00')
End time in ISO 8601 format with timezone (e.g. '2025-09-04T04:00:00+08:00')
1 <= x <= 10000
Successful Response
Total number of events matching the query filters
List of access log events matching the query
Cursor to use for fetching the next page of results
Was this page helpful?