6dac6bb49f72
List events
List the organization's events of one type across all stores.
Covers store activity (search, agentic_search, grep, ingestion) and chat completions (completion, one event per Chat Completions or Responses turn). Without store_identifier the listing spans every store and also returns events tied to none, such as completions that never called a store tool.
Query parameters
Maximum number of items to return per page (1-100)
Maximum number of items to return per page (1-100)
Cursor for forward pagination - get items after this position. Use last_cursor from previous response.
Cursor for forward pagination - get items after this position. Use last_cursor from previous response.
Cursor for backward pagination - get items before this position. Use first_cursor from previous response.
Cursor for backward pagination - get items before this position. Use first_cursor from previous response.
Whether to include total count in response (expensive operation)
Whether to include total count in response (expensive operation)
Time to filter events before
Time to filter events before
Time to filter events after
Time to filter events after
The type of event to list
The type of event to list
Restrict to one store by ID or name; omit to span every store
Response
The organization's events of the requested type, newest first
Example response
{
"pagination": {
"has_more": true,
"first_cursor": "eyJjcmVhdGVkX2F0IjoiMjAyNC0xMi0zMVQyMzo1OTo1OS4wMDBaIiwiaWQiOiJhYmMxMjMifQ==",
"last_cursor": "eyJjcmVhdGVkX2F0IjoiMjAyNC0xMi0zMFQyMzo1OTo1OS4wMDBaIiwiaWQiOiJ4eXo3ODkifQ==",
"total": 42
},
"data": [
{
"rewritten_filters": {
"all": [
{
"key": "price",
"operator": "gt",
"value": "100"
},
{
"key": "color",
"operator": "eq",
"value": "red"
}
],
"any": [
{
"key": "price",
"operator": "gt",
"value": "100"
},
{
"key": "color",
"operator": "eq",
"value": "red"
}
],
"none": [
{
"key": "price",
"operator": "gt",
"value": "100"
},
{
"key": "color",
"operator": "eq",
"value": "red"
}
]
},
"filters": {
"all": [
{
"key": "price",
"operator": "gt",
"value": "100"
},
{
"key": "color",
"operator": "eq",
"value": "red"
}
],
"any": [
{
"key": "price",
"operator": "gt",
"value": "100"
},
{
"key": "color",
"operator": "eq",
"value": "red"
}
],
"none": [
{
"key": "price",
"operator": "gt",
"value": "100"
},
{
"key": "color",
"operator": "eq",
"value": "red"
}
]
}
}
]
}