Skip to main content
POST
Ingest a single audit event

Authorizations

Authorization
string
header
required

API key prefixed with alk_live_. Write scope required for ingest.

Headers

X-Fact0-Sync
enum<string>

Set to true for synchronous ingest

Available options:
true

Query Parameters

sync
enum<string>

Set to true for synchronous ingest

Available options:
true

Body

application/json
actor
object
required
action
string
required

Dot-notation action name (e.g. document.delete)

resource
object
required
outcome
enum<string>
required
Available options:
success,
failure,
error
id
string
timestamp
string<date-time>
metadata
object

Response

Event committed (sync mode)

actor
object
required
action
string
required

Dot-notation action name (e.g. document.delete)

resource
object
required
outcome
enum<string>
required
Available options:
success,
failure,
error
id
string
timestamp
string<date-time>
metadata
object
tenant_id
string
prev_hash
string
hash
string
sequence_number
integer<int64>
created_at
string<date-time>