Trillet AI logo

List events

Trillet OEM API: The event log, newest first.

GEThttps://api.trillet.ai/partner/v1/events

The event log, newest first. Events are kept for 30 days, and an event is recorded when at least one of your endpoints subscribes to its type. In the list, data holds only the facts stored with the event. Needs events:read.

Loading code example
Loading code example

Authorizations

Authorizationstringheaderrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

typestring
Length: <= 64
tenantIdstring
Pattern: ^[a-fA-F0-9]{24}$
sinceinteger

Only events created at or after this time, in Unix seconds.

Required range: x >= 0
limitintegerdefault: 20
Required range: x >= 1, x <= 100
Default: 20
starting_afterstring

The id of the last event on the previous page.

Pattern: ^(evt_)?[a-fA-F0-9]{24}$

Response

application/json

A page of events.

objectstringrequired
dataarray<object>required
data.objectstringrequired
data.idstringrequired
Pattern: ^evt_[a-fA-F0-9]{24}$
data.typestringrequired
data.tenantIdstring | null
data.dataobjectrequired
data.createdintegerrequired

Unix seconds.

data.deliveriesarray<object>required
hasMorebooleanrequired

Last updated on