Skip to content
Uptime

API keys

Keys let your services send logs. A key only writes logs for this organization and can't read anything.

Your keys

Create a key

Something that tells you which service uses it.

Send a log

Up to 500 entries per request. Level is one of debug, info, warn, error or fatal.

curl -X POST https://your-host/api/logs \
  -H "authorization: Bearer YOUR_API_KEY" \
  -H "content-type: application/json" \
  -d '{"service":"web","logs":[{"level":"error","message":"payment failed","attrs":{"order":4411}}]}'