Reference

Log Event

The JSON payload sent to the Delok ingestion endpoint.

Example

json
{
  "environment": "production",
  "occurredAt": "2026-07-30T12:00:00.000Z",
  "level": "info",
  "event": "user_login",
  "message": "User logged in",
  "payload": {
    "userId": "123"
  }
}

Fields

FieldSourceNotes
eventdeveloperrequired
messagedeveloperoptional
payloaddeveloperoptional structured JSON
levelSDKinfo | warn | error | fatal
occurredAtSDKISO timestamp generated at call
environmentdeveloperfrom Delok config

apiKey authenticates your project and is not part of the JSON body. Keep it secret.