Skip to main content
GET
Get API usage

Authorizations

Authorization
string
header
required

Get your API key at context7.com/dashboard. Treat your API key like a password and store it securely. Every key can read the management API (/v2/teamspaces/*), except personal data: member and invitation emails, library requesters, visitor questions, Docs7 reader searches, conversations, feedback and feature requests, and the GitHub account behind a build. To read those or make changes there, the key must be created with Write access ticked; other keys get 403 write_access_required.

Query Parameters

days
integer
default:30

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

Required range: 1 <= x <= 90

Response

Usage for the current month and the requested days

plan
enum<string>
required

Plan of the teamspace the API key belongs to. payg (pay-as-you-go) includes no requests and bills every request.

Available options:
free,
pro,
enterprise,
payg
usageResetsAt
string<date-time>
required

When the monthly numbers in member and teamspace start again from zero: the first day of next month, UTC. teamspace.daily keeps its history.

member
object
required

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.

teamspace
object
required

All members of the teamspace together. To get the teamspace's requests for a period, add up daily.