SDK & Telemetry
Ingest Evaluation Events
Ingests a batch of SDK evaluation events for analytics aggregation.
POST
This endpoint is called by the SDK automatically — you do not need to call it directly. Events are processed asynchronously in under 50ms. The response does not wait for aggregation to complete.
Auth: API key only.
Each
Body
1–100 events per batch.
EvalEvent:
| Field | Type | Required | Description |
|---|---|---|---|
flagKey | string | ✓ | |
flagId | string | ✓ | |
environmentId | string | ✓ | |
orgId | string | ✓ | Must match the authenticated org |
value | boolean | string | number | ✓ | The resolved value |
reason | string | ✓ | One of: DISABLED, CLIENT_RESTRICTED, RULE_MATCH, ROLLOUT, DEFAULT, FLAG_NOT_FOUND, ERROR |
ruleId | string | Present when reason is RULE_MATCH or ROLLOUT | |
userIdHash | string | SHA-256 of the user ID | |
anonymousIdHash | string | SHA-256 of the anonymous ID | |
sdkType | "server" | "client" | "edge" | ✓ | |
sdkVersion | string | ✓ | |
evaluatedAt | string | ✓ | ISO 8601 |