Logs
Shipping events
One request from your backend, with the client secret.
Ingest
POST
/v1/logs/ingestclient secret{ "events": [
{ "severity": "error", "source_id": "api", "message": "payment webhook failed", "request_id": "req_8f1c" },
{ "severity": "info", "source_id": "worker", "message": "nightly export done", "fields": { "rows": 1204 } }
] }
→ 200 { "status": "ok", "inserted": 2, "duplicate": 0 }
→ 422 { "detail": "each event needs a message" }- Up to 500 events per request; messages are cut at 16 000 characters.
- A
tenant_idin your payload is ignored and overwritten: the store is decided by the key you authenticated with. - Send an
event_idto make retries idempotent; duplicates are counted, not stored twice.