API reference

The REST API is available at https://fr.pushbyte.cc/api/v1. Authenticate with a bearer token from Settings → API keys.

Push metrics

curl -X POST https://fr.pushbyte.cc/api/v1/series \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"series":[{"metric":"queue.depth","points":[[1735689600,42]]}]}'

Query

curl -G https://fr.pushbyte.cc/api/v1/query \
  -H "Authorization: Bearer $TOKEN" \
  --data-urlencode 'q=avg:queue.depth{service:ingest}'

Rate limits

1,000 requests per minute per token. Responses include X-RateLimit-Remaining and Retry-After when throttled.

Status codes

CodeMeaning
200OK
202Accepted (async ingest)
401Missing or invalid token
429Rate limited