Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.
openapi: 3.2.0
info:
description: 'Edge Delta API provides endpoints to manage your configs/integrations/rehydrations and more. Generate an API token to get started: https://app.edgedelta.com/admin/organization#api-tokens'
title: Edge Delta Event Search API
contact:
name: API Support
email: support@edgedelta.com
version: '1.0'
servers:
- url: https://api.edgedelta.com
tags:
- name: Event Search
paths:
/v1/orgs/{org_id}/events/search:
get:
security:
- ApiKeyAuth: []
description: Search query using Edge Delta events search syntax, for anomaly search query should include event.type:pattern_anomaly
tags:
- Event Search
parameters:
- description: Org ID
name: org_id
in: path
required: true
schema:
type: string
- description: Lookback period in golang duration format. e.g. '1h'. Either provide from/to or provide lookback/to or just lookback
name: lookback
in: query
schema:
type: string
- description: From datetime in ISO format 2006-01-02T15:04:05.000Z
name: from
in: query
schema:
type: string
- description: To datetime in ISO format 2006-01-02T15:04:05.000Z
name: to
in: query
schema:
type: string
- description: Edge Delta Common Query Language expression
name: query
in: query
schema:
type: string
- description: 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.
name: limit
in: query
schema:
type: integer
- description: Cursor provided from previous response, pass it to next request so that we can move the cursor with given limit.
name: cursor
in: query
schema:
type: string
- description: Order of the logs in the response, either 'ASC', 'asc', 'DESC' or 'desc'
name: order
in: query
schema:
type: string
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/core.EventResponse'
summary: Get orgs by org id events search
x-summary-source: derived
operationId: getV1OrgsByOrgIdEventsSearch
x-operation-id-source: derived
components:
schemas:
core.EventItem:
type: object
properties:
attributes:
type: object
additionalProperties:
type: string
body:
type: string
event_domain:
type: string
event_type:
type: string
resource:
type: object
additionalProperties:
type: string
severity_text:
type: string
timestamp:
type: integer
core.EventResponse:
type: object
properties:
items:
type: array
items:
$ref: '#/components/schemas/core.EventItem'
next_cursor:
type: string
query_id:
type: string
securitySchemes:
ApiKeyAuth:
type: apiKey
name: X-ED-API-Token
in: header