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
  }'

Events

Ingest metadata-only governance events for audit and compliance export.

Audit logTelemetry
POST/api/events

Parameters

NameInTypeDescription
x-blekline-workspace-tokenRequiredheaderstringScoped workspace token (blw_…) or session-authenticated browser call from the console.
kindRequiredbodystringEvent kind label.
platformRequiredbodystringSource system.
actionbodystringallow, mask, block, audit, …
clientSurfacebodystringsdk, mcp, hook, …

Responses

StatusMeaning
200Event accepted