curl -sS -X POST "$BLEKLINE_API_URL/api/events" \
-H "Content-Type: application/json" \
-H "x-blekline-workspace-token: $BLEKLINE_WORKSPACE_TOKEN" \
-d '{
"kind": "governance.client",
"platform": "ci",
"action": "audit",
"clientSurface": "sdk",
"entitiesMasked": 0
}'POST
/api/eventsParameters
| Name | In | Type | Description |
|---|---|---|---|
x-blekline-workspace-tokenRequired | header | string | Scoped workspace token (blw_…) or session-authenticated browser call from the console. |
kindRequired | body | string | Event kind label. |
platformRequired | body | string | Source system. |
action | body | string | allow, mask, block, audit, … |
clientSurface | body | string | sdk, mcp, hook, … |
Responses
| Status | Meaning |
|---|---|
200 | Event accepted |