v47

latestOpenAPI 3.0.3Discuss directly with founders for license.raw.githubusercontent.com2026-01-30251599686.2 KB
team

get/team/{team_id}/credits/usage

Path parameters

team_idstring uuid required

Team ID

Query parameters

startstring date-time required

Start time inclusive (UTC)

endstring date-time required

End time exclusive (UTC)

granularity'hour' | 'day' | 'week' | 'month' required

hour | day | week | month

tokenstring nullable

Optional token ID to filter by

Response

Credits usage by job_type

total_credits_addedinteger required
total_spentinteger required