Skip to content
bliptracedocs

Install an SDK

Send over HTTP

Report errors from any language, script or tool with one HTTP POST and no SDK.

On this page

The SDKs are thin wrappers around one HTTP call. If your language has no SDK yet, or you want to test a key, send the envelope yourself.

The request

curl -X POST https://ingest.bliptrace.com/v1/ingest \
  -H "Content-Type: application/json" \
  -H "X-Ingest-Key: $BLIPTRACE_KEY" \
  -d '{
    "schema_version": "1.1",
    "event_id": "'"$(uuidgen | tr A-Z a-z)"'",
    "occurred_at": "'"$(date -u +%Y-%m-%dT%H:%M:%S.000Z)"'",
    "runtime": { "name": "bash", "version": "5.2" },
    "level": "error",
    "environment": "production",
    "exception": {
      "type": "BackupFailed",
      "message": "Nightly backup exited with status 2",
      "frames": [
        { "file": "scripts/backup.sh", "line": 41, "function": "main", "in_app": true }
      ]
    }
  }'

202 with {"status":"accepted"} means it worked. Open Issues in the dashboard to see it.

Required fields

Field Rule
schema_version "1.0" or "1.1"
event_id A new UUID v4 for each event. Bliptrace uses it to drop duplicates, so a retry with the same id is safe
occurred_at RFC 3339 UTC time, for example 2026-06-25T09:14:32.521Z
runtime { "name": "...", "version": "..." }
level debug, info, warning, error or fatal
exception { "type", "message", "frames": [ { "file", "line", "function", "in_app" } ] }

Everything else is optional. The envelope page lists every field, including request context, breadcrumbs, tags and trace ids. Do not send a project field: the project always comes from the key.

Responses

Status Body Meaning
202 {"status":"accepted"} Queued for storage
202 {"status":"duplicate"} This event_id was already received; nothing is stored twice
202 {"status":"sampled"} Accepted but dropped by the project’s sampling setting
400 {"error":"invalid envelope", ...} The body does not match the schema. detail says which field
401 {"error":"missing X-Ingest-Key"} No key header
403 {"error":"unknown ingest key"} The key is wrong, revoked or its project was archived
429 {"error":"buffer full"} Bliptrace is shedding load. Retry later with the same event_id

The request returns before anything is written to storage, so it stays fast even under load. Bodies can be gzip-compressed (Content-Encoding: gzip); the limit is 5 MiB after decompression.

Writing your own client

  • Never let reporting break the app: catch every error from the HTTP call and give up quietly.
  • Use a short timeout (the SDKs use 3 seconds) and, if you can, send after the user’s response is done.
  • On 429 or a network error, retry a couple of times with backoff and the same event_id.
  • Scrub obvious secrets (passwords, tokens, cookies, Authorization headers) before sending. Bliptrace scrubs again on arrival.
Documentation