Skip to main content
POST
Asynchronously Ingest Usage Data

Authorizations

Authorization
string
header
required

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

Body

application/json

Represents a list of customer events.

Attributes: events (list[CustomerEvent]): A list of customer events. Each event should be a dictionary with at-least the following keys: event_name, timestamp, idempotency_key.

events
CustomerEvent · object[]

Response

Successfully submitted the usage data for asynchronous processing.

job_id
string<uuid>
required

The UUID of the created batch job.

status
string
required

The status of the created batch job.

total_events
integer
required

The total number of events in the batch job.

created_at
string<date-time>
required

The timestamp when the batch job was created.