latestOpenAPI 3.0.32026-08-08360156.4 KB
ae7fddf16bf9
Usage
Get usage
Returns the daily or monthly credit usage of the authenticated user.
Groups by day for periods shorter than 2 months, otherwise groups by month.
get/api/credits/report/summary
Query parameters
fromstring
optional The start date (incl.) for the timeline (YYYY-MM-DD format). Defaults to 30 days ago.
Example:2025-01-01
optional The start date (incl.) for the timeline (YYYY-MM-DD format). Defaults to 30 days ago.
tostring
optional The end date (incl.) for the timeline (YYYY-MM-DD format). Defaults to today.
Example:2025-01-31
optional The end date (incl.) for the timeline (YYYY-MM-DD format). Defaults to today.
Response
Example response
{
"from": "2025-01-01",
"to": "2025-01-31",
"total": {
"finder": 250,
"verifier": 180
},
"items": [
{
"date": "2025-01-01",
"finder": 10,
"verifier": 5
},
{
"date": "2025-01-02",
"finder": 15,
"verifier": 8
},
{
"date": "2025-01-03",
"finder": 0,
"verifier": 0
}
]
}