Get usage and cost
Daily requests, parse tokens and costs for the dashboard usage window, with the quota, plan and credit balance. Any member can call it.
1 min read
get/v2/teamspaces/{teamspaceId}/usage
Request example
Response
get/v2/teamspaces/{teamspaceId}/usage
Authorization
Path parameters
Teamspace id (from
GET /v2/teamspaces).Responses
application/json
Usage
Days with activity in the usage window (about 30 days), oldest first; the last entry is today (live).
Monthly request quota of the teamspace (0 for pay-as-you-go).
Options:
freeproenterpriseOptions:
seatpaygRequests over the quota (or every request, on pay-as-you-go) are billed.
The caller's requests this month.
Billed requests this month, pay-as-you-go only.
USD per seat per month; null when no seat fee applies.
Credit balance in USD.