v2
latestOpenAPI 3.0.02026-08-073221853.1 MBList recent events for the Logs Explorer
Query parameters
Logs Explorer filter syntax (same as the console filter bar), e.g. service:console AND @status:error or event_name:add_to_cart. Do not start the filter with #; use the source param to choose logs, events, or spans.
Data source for query. Default: logs. Use events for custom events or spans for traces.
Comma-separated Logs Explorer column ids to include in each row's fields map (e.g. timestamp, user.service, metadata.body, custom_id:my_id_type, rule).
Start of the time window, in milliseconds since epoch. Defaults to one hour before end_ts when omitted.
End of the time window, in milliseconds since epoch. Defaults to the current time when omitted.
Maximum number of events to return. Default: 100. Max: 1000.
Opaque cursor from pagination.next_cursor in a previous response. Pass it back verbatim as after to fetch the next page. Cursors deeper than 100000 rows are rejected with a 400; narrow the time window with start_ts/end_ts instead of paginating deeper.
Response
Paginated event feed
Example response
{
"message": "Logs listed successfully.",
"data": [
{
"id": "1736208000000||abc123||add_to_cart",
"timestamp": "2025-01-06T16:00:00.000Z",
"event_name": "add_to_cart",
"user_id": "user_1",
"value": "1",
"sdk_type": "js-client",
"sdk_version": "4.0.0"
},
{
"id": "1736207999000||def456||add_to_cart",
"timestamp": "2025-01-06T15:59:59.000Z",
"event_name": "add_to_cart",
"user_id": "user_2",
"value": null,
"sdk_type": "js-client",
"sdk_version": "4.0.0"
}
],
"pagination": {
"next_cursor": "eyJpbmRleCI6Mn0",
"has_more": true
}
}