GET
/api/request-logsRequest logs
Per-request observability records from the gateway — endpoint, model, HTTP status, provider result, token counts and billing status for every call made with your keys. Retention is 7 days; this is a debugging view, not the billing source of truth (use billing events for that).
Request#
curl -sS "https://admin.atptoken.ai/api/request-logs?org_id=<org>&limit=50&min_status=400" \
-H "Authorization: Bearer $TOKEN"Parameters#
Correlating errors
Every gateway response carries an x-request-id header (also id in the body). When reporting an issue, quote it — support can match it to the exact log row here.
Next steps
Was this page helpful?