Retrieves a paginated list of V2 events for the authenticated user’s project. Supports filtering by agent ID, ashkaal kind, metadata names, and Kubernetes context fields.
Requires Bearer token authentication
Query Parameters
Filter events by agent ID
Filter events by ashkaal kind (e.g., “network_connection”, “process_execution”)
Filter events by metadata name. Multiple values can be provided
Filter events by Kubernetes cluster name
Filter events by Kubernetes namespace
Filter events by Kubernetes node name
sort.field
string
default:"created_at"
Field to sort by
Sort order: “asc” or “desc”
Number of items to return (forward pagination)
Cursor for forward pagination
Example
curl -H "Authorization: Bearer $GARNET_API_TOKEN" \
"https://api.garnet.ai/v1/events?filter.cluster=production&sort.order=desc&first=50"
Response
List of event objects in V2 ashkaal format
Pagination information with cursors
{
"nodes": [
{
"id": "evt_xyz123",
"kind": "network_connection",
"timestamp": "2025-09-29T10:23:45Z",
"agent_id": "agent_abc",
"metadata": {
"destination": "malicious.example.com",
"destination_ip": "192.0.2.1",
"port": 443
},
"verdict": "blocked"
}
],
"pageInfo": {
"hasNextPage": true,
"endCursor": "cursor123"
}
}