POST /v1/events - publish a batch. Order is preserved; each event is accepted, deduplicated or rejected on its own.
API reference sections
Schema
EventBatch
Type object
Shape
| Field | Type | Description |
|---|---|---|
| eventsrequired | array of Envelope |
{
"events": [
{
"event_id": "00000000-0000-4000-8000-000000000000",
"name": "string",
"version": 0,
"occurred_at_ms": 0,
"actor": {
"kind": "user",
"id": "00000000-0000-4000-8000-000000000000",
"token": "string"
},
"origin": {
"device_id": "00000000-0000-4000-8000-000000000000",
"session_id": {}
},
"scope": {
"profile_id": "00000000-0000-4000-8000-000000000000",
"workspace_id": "00000000-0000-4000-8000-000000000000"
},
"subject": {
"kind": "workspace",
"id": "string",
"version": 0
},
"correlation_id": "00000000-0000-4000-8000-000000000000",
"causation_id": "00000000-0000-4000-8000-000000000000",
"attrs": {
"key": {
"t": "id",
"v": "00000000-0000-4000-8000-000000000000"
}
}
}
]
}The contract has no example values, so example bodies are generated from each schema: every field is shown with a placeholder of its type.
Used by
Generated from contract version 1. Last updated .
