latestOpenAPI 3.0.32026-08-08360156.4 KB
ae7fddf16bf9
Usage
Get team usage
Returns a summary of credit usage of all team members within a specific date range.
Only team owners can access this endpoint.
get/api/credits/report/team-summary
Query parameters
fromstring
optional The start date (incl.) for the report (YYYY-MM-DD format). Defaults to 30 days ago.
Example:2025-01-01
optional The start date (incl.) for the report (YYYY-MM-DD format). Defaults to 30 days ago.
tostring
optional The end date (incl.) for the report (YYYY-MM-DD format). Defaults to today.
Example:2025-01-31
optional The end date (incl.) for the report (YYYY-MM-DD format). Defaults to today.
Response
Example response
{
"from": "2025-01-01",
"to": "2025-01-31",
"total": {
"finder": 150,
"verifier": 75
},
"members": [
{
"name": "John Doe",
"finder": 100,
"verifier": 50
},
{
"name": "Jane Smith",
"finder": 50,
"verifier": 25
}
]
}