Skip to content

Events

Events: 7 operations, tagged events in the OpenAPI document.

Method Path Summary
GET /api/events List events with filters
POST /api/events Create a single event (SDK)
POST /api/events/batch Ingest a batch of events (SDK)
GET /api/events/filter-options Distinct event types/sources/clients for filter UI
GET /api/events/list-raw List events with raw JSONB rows
GET /api/events/raw List events raw (SDK alias of /list-raw)
GET /api/events/{id} Get an event by id

List events with filters

Operation ID: listEvents

Parameters

Name In Type Required Description
type query string no
source query string no
subject query string no
clientId query string no
principalId query string no
correlationId query string no
since query string no RFC3339 timestamp
until query string no RFC3339 timestamp
limit query integer (int64) no
offset query integer (int64) no
size query integer (int64) no Max rows (default 50, max 1000)
clientIds query string no CSV of client ids
applications query string no CSV of application codes
subdomains query string no CSV of subdomains
aggregates query string no CSV of aggregates
types query string no CSV of event types

Responses

Status Description Body
200 OK application/json EventRead[]
default Error application/json ErrorModel

Create a single event (SDK)

Operation ID: createEvent

Request body (required)

Content type Schema
application/json CreateEventRequest

Responses

Status Description Body
201 Created application/json CreateEventResponse
default Error application/json ErrorModel

Ingest a batch of events (SDK)

Operation ID: batchIngestEvents

Request body (required)

Content type Schema
application/json BatchRequest

Responses

Status Description Body
201 Created application/json BatchResponse
default Error application/json ErrorModel

Distinct event types/sources/clients for filter UI

Operation ID: eventFilterOptions

Responses

Status Description Body
200 OK application/json EventFilterOptionsResponse
default Error application/json ErrorModel

List events with raw JSONB rows

Operation ID: listEventsRaw

Parameters

Name In Type Required Description
type query string no
source query string no
subject query string no
clientId query string no
principalId query string no
correlationId query string no
since query string no RFC3339 timestamp
until query string no RFC3339 timestamp
limit query integer (int64) no
offset query integer (int64) no
size query integer (int64) no Max rows (default 50, max 1000)
clientIds query string no CSV of client ids
applications query string no CSV of application codes
subdomains query string no CSV of subdomains
aggregates query string no CSV of aggregates
types query string no CSV of event types

Responses

Status Description Body
200 OK application/json EventRead[]
default Error application/json ErrorModel

List events raw (SDK alias of /list-raw)

Operation ID: listEventsRawAlias

Parameters

Name In Type Required Description
type query string no
source query string no
subject query string no
clientId query string no
principalId query string no
correlationId query string no
since query string no RFC3339 timestamp
until query string no RFC3339 timestamp
limit query integer (int64) no
offset query integer (int64) no
size query integer (int64) no Max rows (default 50, max 1000)
clientIds query string no CSV of client ids
applications query string no CSV of application codes
subdomains query string no CSV of subdomains
aggregates query string no CSV of aggregates
types query string no CSV of event types

Responses

Status Description Body
200 OK application/json EventRead[]
default Error application/json ErrorModel

Get an event by id

Operation ID: getEvent

Parameters

Name In Type Required Description
id path string yes

Responses

Status Description Body
200 OK application/json EventResponse
default Error application/json ErrorModel
Field Type Required Description
causationId string no
clientCode string no
clientId string no
contextData ContextEntryDTO[] no
correlationId string no
data any no
deduplicationId string no
id string no
messageGroup string no
source string no Event source. When absent or blank, the type’s {application}:{subdomain} (its first two segments)
specVersion string no
subject string no
time string no When the event occurred, RFC 3339 (e.g. 2026-11-09T10:15:02.481Z). Optional; absent means the ingest time. At most 5 minutes ahead of the platform’s clock. createdAt is always the ingest time.
type string no
Field Type Required Description
items BatchEventItem[] yes
Field Type Required Description
results BatchResultItem[] yes
Field Type Required Description
error string no
id string yes
status string yes
Field Type Required Description
key string yes
value string yes
Field Type Required Description
causationId string no
clientId string no
contextData ContextEntryDTO[] no
correlationId string no
createdAt string (date-time) yes
data any yes
deduplicationId string no
eventType string yes
id string yes
messageGroup string no
source string yes
specVersion string yes
subject string no
time string (date-time) yes
Field Type Required Description
causationId string no Causation ID - the event that caused this event
clientId string no Client ID (optional, defaults to caller’s client)
contextData ContextEntryDTO[] no Context data for filtering/searching
correlationId string no Correlation ID for request tracing
data any yes Event payload data
deduplicationId string no Deduplication ID for exactly-once delivery
eventType string yes Event type code (e.g., “orders:fulfillment:shipment:shipped”)
messageGroup string no Message group for FIFO ordering
source string no Event source URI. When absent or blank, the type’s {application}:{subdomain} (its first two segments)
subject string no Event subject (optional context)
Field Type Required Description
dispatchJobCount integer (int64) yes Number of dispatch jobs created for matching subscriptions
event CreatedEvent yes
isDuplicate boolean yes True if this was a deduplicated request (event already existed)
Field Type Required Description
label string yes
value string yes
Field Type Required Description
applications EventFilterOption[] yes
eventTypes EventFilterOption[] yes
subdomains EventFilterOption[] yes
Field Type Required Description
aggregate string no
application string no
clientId string no
correlationId string no
dataOffloaded boolean no True when a list left the data out because it is held in the payload store; the event’s detail route returns it. Absent otherwise.
dataSize integer (int64) no The data’s length in bytes, whether it is held in the database or in the payload store. Absent when the event has no data.
id string yes
messageGroup string no
projectedAt string (date-time) yes
source string yes
subdomain string no
subject string no
time string (date-time) yes
type string yes
Field Type Required Description
aggregate string no
application string no
causationId string no
clientId string no
contextData ContextEntryDTO[] no
correlationId string no
createdAt string (date-time) yes
data any no
dataSize integer (int64) no The data’s length in bytes, whether it is held in the database or in the payload store. Absent when the event has no data.
dataUnavailable boolean no True when the data could not be read from the payload store for this response (the store failed, or the payload is missing); data is then absent. Absent otherwise.
deduplicationId string yes
id string yes
messageGroup string no
projectedAt string (date-time) no
source string yes
specVersion string yes
subdomain string no
subject string yes
time string (date-time) yes
type string yes