curl -G "https://qcg-api.scanova.io/console/usage/daily/" \
-H "Authorization: Bearer <your_oauth_access_token>" \
-d environment=live \
-d days=7
[
{ "date": "2026-08-10", "count": 812, "success_count": 799, "error_count": 13 },
{ "date": "2026-08-11", "count": 640, "success_count": 640, "error_count": 0 },
{ "date": "2026-08-12", "count": 0, "success_count": 0, "error_count": 0 },
{ "date": "2026-08-13", "count": 705, "success_count": 690, "error_count": 15 },
{ "date": "2026-08-14", "count": 918, "success_count": 918, "error_count": 0 },
{ "date": "2026-08-15", "count": 733, "success_count": 733, "error_count": 0 },
{ "date": "2026-08-16", "count": 214, "success_count": 214, "error_count": 0 }
]
Management-API — Token & Nutzung
Tägliche Nutzung
GET /console/usage/daily/
GET
/
console
/
usage
/
daily
/
curl -G "https://qcg-api.scanova.io/console/usage/daily/" \
-H "Authorization: Bearer <your_oauth_access_token>" \
-d environment=live \
-d days=7
[
{ "date": "2026-08-10", "count": 812, "success_count": 799, "error_count": 13 },
{ "date": "2026-08-11", "count": 640, "success_count": 640, "error_count": 0 },
{ "date": "2026-08-12", "count": 0, "success_count": 0, "error_count": 0 },
{ "date": "2026-08-13", "count": 705, "success_count": 690, "error_count": 15 },
{ "date": "2026-08-14", "count": 918, "success_count": 918, "error_count": 0 },
{ "date": "2026-08-15", "count": 733, "success_count": 733, "error_count": 0 },
{ "date": "2026-08-16", "count": 214, "success_count": 214, "error_count": 0 }
]
Gibt eine Aufschlüsselung der Anfragenzahlen pro Tag für ein bestimmtes Schlüssel-Environment zurück — nützlich zum Rendern eines Nutzungstrend-Diagramms. Befindet sich auf dem regulären Scanova-API-Host (
qcg-api.scanova.io), authentifiziert mit Ihrem Dashboard-OAuth-Access-Token.
Anfrage
GET https://qcg-api.scanova.io/console/usage/daily/
Authorization: Bearer <your_oauth_access_token>
string
erforderlich
Einer von
sandbox, live, zapier, mcp. Wählt aus, welche Schlüssel-Logs aggregiert werden.integer
Standard:"30"
Anzahl der einbezogenen zurückliegenden Tage, begrenzt auf den Bereich
1–365.curl -G "https://qcg-api.scanova.io/console/usage/daily/" \
-H "Authorization: Bearer <your_oauth_access_token>" \
-d environment=live \
-d days=7
[
{ "date": "2026-08-10", "count": 812, "success_count": 799, "error_count": 13 },
{ "date": "2026-08-11", "count": 640, "success_count": 640, "error_count": 0 },
{ "date": "2026-08-12", "count": 0, "success_count": 0, "error_count": 0 },
{ "date": "2026-08-13", "count": 705, "success_count": 690, "error_count": 15 },
{ "date": "2026-08-14", "count": 918, "success_count": 918, "error_count": 0 },
{ "date": "2026-08-15", "count": 733, "success_count": 733, "error_count": 0 },
{ "date": "2026-08-16", "count": 214, "success_count": 214, "error_count": 0 }
]
Antwortfelder
Die Antwort ist ein Array mit genaudays Einträgen, einem pro Kalendertag, älteste zuerst.
string
ISO-8601-Datum (
YYYY-MM-DD).integer
Gesamtzahl der an diesem Tag protokollierten Anfragen.
integer
Anfragen, die einen Statuscode unter
400 zurückgegeben haben.integer
Anfragen, die einen Statuscode von
400 oder darüber zurückgegeben haben.Tage ohne Traffic werden mit Nullen aufgefüllt statt weggelassen, sodass die Array-Länge immer genau
days beträgt und clientseitig ohne Lückenfüllung direkt dargestellt werden kann.Fehler
environment ist erforderlich, gleiche Validierung wie bei Nutzungsstatistiken. Ein nicht-ganzzahliges days gibt Folgendes zurück:
400 Bad Request
{ "days": ["days must be an integer."] }
Verwandte Themen
- Nutzungsstatistiken — dieselben Anfrage-Gesamtwerte als einzelne Zahl über ein rollierendes Zeitfenster statt als Serie pro Tag.
- Nutzung nach Endpunkt — derselbe Traffic, aufgeschlüsselt nach Route und Methode statt nach Tag.
- Management-API-Übersicht — die
environment-Werte (sandbox,live,zapier,mcp), nach denen dieser Endpunkt aggregiert.
Autorisierungen
Send your Management API key as the raw value of the Authorization header — no "Bearer " or "Token " prefix, and no other characters. Example: Authorization: 401f7ac837da42b97f613d789819ff93537bee6a. A header containing more than one space-separated part is rejected outright. Requests also require the request's Host header to be the management API host (e.g. management.scanova.io) — the same key sent to the regular API host will not authenticate.
Antwort
200
Per-day usage
War diese Seite hilfreich?
⌘I