Skip to main content
GET
List events

Authorizations

X-API-KEY
string
header
required

API Key Authentication.

Query Parameters

occurredAt.gte
string<date-time>
required

Start of the window, inclusive: the list returns only the events that occurred at or after this instant. The window spans at most 31 days.

occurredAt.lte
string<date-time>
required

End of the window, inclusive: the list returns only the events that occurred at or before this instant, which is at most 31 days after occurredAt.gte.

createdAt.gte
string<date-time>

The list returns only the events that Aira recorded at or after this instant.

createdAt.lte
string<date-time>

The list returns only the events that Aira recorded at or before this instant.

customerIds[]
string<uuid>[]

The list returns only the events of these customers, by their ids in Aira.

includeSubsidiaryEvents
boolean
default:false

Whether the list also returns the events of the subsidiaries of the organizations that customerIds[] names.

eventNames[]
string[]

The list returns only the events with these event names.

The list returns only the event whose idempotency key equals this value after Aira lowercases it, so a key with a capital letter never matches.

includeArchived
boolean
default:false

Whether the list also returns the archived events.

offset
integer
default:0

Number of items to skip before collecting the page.

Required range: 0 <= x <= 2147483647
limit
integer
default:100

Maximum number of items to return per page.

Required range: 1 <= x <= 100

Response

The events that match the filters.

items
object[]
required

A list of items.

hasMore
boolean
required

Indicates if there are more items to fetch.