Teamspace Admin

Get the spending limit

Changed on

Any member can call it.

get/v2/teamspaces/{teamspaceId}/spending-limit

Request

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

Response

Spending limit

limitCentsinteger nullable

Monthly cap on billed API usage in cents; null is no cap.

currentSpendCentsinteger

Billed API usage this month, in cents.

canEditboolean

GET only. The caller is an owner or admin.

alreadyOverboolean

PUT only. This month's spend already reaches the new limit.

Changes