Events
Ingest typed operational facts.
EventStack accepts built-in event types and organization-scoped custom events. The API validates type, schema version, payload, environment, and organization access before publishing work to the runtime.
curl -X POST "$EVENTSTACK_API_BASE/events" -H "Authorization: Bearer $EVENTSTACK_API_KEY" -H "Content-Type: application/json" -H "x-eventstack-environment: production" -H "x-eventstack-idempotency-key: deploy-api-2026-06-07" -d '{
"type": "deployment.completed",
"payload": {
"service": "api",
"version": "2026.06.07",
"environment": "production",
"status": "healthy"
},
"metadata": {
"schema_version": 1,
"source": "docs.curl"
}
}'