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, "next_cursor": "<string>", "events": [ { "timestamp_millis": 123, "workspace_id": 123, "user": "<string>", "client_ip": "<string>", "operation": "<string>", "http_path": "<string>", "http_method": "<string>", "http_status": 123 } ] }
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>
Successful Response
The response is of type object.
object
Was this page helpful?