Skip to main content
get/v2/usage
Request example
Response
get/v2/usage

Authorization

Authorizationstringheaderrequired#
Get your API key at context7.com/dashboard. Treat your API key like a password and store it securely.

Query parameters

daysinteger#
Number of days in teamspace.daily, ending today (UTC). Free plans return at most the last 10 days.

Default: 30

Range: 1–90

Responses

application/json
Usage for the current month and the requested days
planenum<string>required#
Plan of the teamspace the API key belongs to. payg (pay-as-you-go) includes no requests and bills every request.
Options:freeproenterprisepayg
usageResetsAtstringrequired#
When the monthly numbers in member and teamspace start again from zero: the first day of next month, UTC. teamspace.daily keeps its history.
memberobjectrequired#
The member who owns the API key, this month. Each member has their own included requests. On the Free plan, the member's requests stop with a 429 when requests reaches includedInPlan. On paid plans and payg, they continue and count as teamspace.extraRequests.
teamspaceobjectrequired#
All members of the teamspace together. To get the teamspace's requests for a period, add up daily.