Teamspace Admin

Get usage and cost

Changed on

Daily requests, parse tokens and costs for the dashboard usage window, with the quota, plan and credit balance. Any member can call it.

get/v2/teamspaces/{teamspaceId}/usage

Request

  • Base URL
    https://context7.com/api
  • URL
    https://context7.com/api/v2/teamspaces/{teamspaceId}/usage
  • Auth
    HTTP bearer

Response

Usage

quotaLimitinteger

Monthly request quota of the teamspace (0 for pay-as-you-go).

ownerPlan'free' | 'pro' | 'enterprise'
billingModel'seat' | 'payg'
billsUsageboolean

Requests over the quota (or every request, on pay-as-you-go) are billed.

userRequestsinteger

The caller's requests this month.

billedRequestsinteger nullable

Billed requests this month, pay-as-you-go only.

memberRatenumber nullable

USD per seat per month; null when no seat fee applies.

creditBalancenumber

Credit balance in USD.

personalMembershipWaivedboolean

Changes