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

Telemetry

Metadata event fields for audit, SIEM export, and execution metrics correlation.

Events APIAudit log

Overview

Events are metadata-first. Default audit rows avoid raw prompt bodies.

Use compileHash and run ids to correlate with Runs and Audit log.

Parameters

NameInTypeDescription
kindRequiredbodystringEvent classification.
platformRequiredbodystringReporting system.
actionbodystringGovernance outcome.
clientSurfacebodystringsdk, mcp, hook, …