Skip to main content

POST /api/v1/events

Ingest a single event into your workspace audit log. Returns 202 Accepted with a pre-generated UUID.

Request Body

string
required
Identifier of the actor who performed the action.
string
Human-readable name of the actor.
string
Type of actor (e.g. user, system, api_client).
string
required
The action performed, typically in resource.verb format.
string
Category for grouping actions (e.g. documents, billing).
string
Identifier of the primary resource affected.
string
Human-readable name of the resource.
string
Resource type (e.g. document, invoice).
object
Arbitrary JSON object for additional context.
array
Array of target objects. Each target has type (required), id, name, and optional metadata.
string
ISO 8601 timestamp of when the event occurred. Defaults to server time.
string
Session identifier for grouping related events.
string
Tenant identifier for multi-tenant isolation.
string
Unique key for deduplication. If a duplicate is detected, returns the original event ID with status duplicate.
integer
Schema version number for the event.

Response

Returns 202 Accepted:
If a duplicate idempotency_key is detected:

Examples