latestSwagger 2.02026-08-2358186392.0 KB

ae0e90c2c794

Event Search
AI
ServedByMCP

Search query using Edge Delta events search syntax, for anomaly search query should include event.type:pattern_anomaly

get/v1/orgs/{org_id}/events/search

Path parameters

org_idstring required

Org ID

Query parameters

lookbackstring

Lookback period in golang duration format. e.g. '1h'. Either provide from/to or provide lookback/to or just lookback

fromstring

From datetime in ISO format 2006-01-02T15:04:05.000Z

tostring

To datetime in ISO format 2006-01-02T15:04:05.000Z

querystring

Edge Delta Common Query Language expression

limitinteger

Limits the number of logs in the response. Default is 1000. It can be negative to move the cursor prev direction. Wraps to end if the cursor position is 0. For AI search, limit should be 20.

cursorstring

Cursor provided from previous response, pass it to next request so that we can move the cursor with given limit.

orderstring

Order of the logs in the response, either 'ASC', 'asc', 'DESC' or 'desc'

Response

OK

next_cursorstring
query_idstring