Skip to main content
GET
Count active members by plan
Count active human members on each plan. This mode does not report paid seats, and changing a plan does not purchase seats. The call uses the workspace API key’s BILLING_API scope.

Base URL

Dedicated deploymentsReplace api.langdock.com with <your-deployment-url>/api/public in all requests.

Prerequisites

  • API key with the BILLING_API scope
  • The key owner is a service account that has not been deleted and has an active Admin membership

Behavior

GET /billing/v1/bring-your-own-keys/plans returns how many active human members are on each plan.
standard is Standard. power_user is Power user.
Langdock intentionally blocks browser-origin requests to protect your API key and ensure your applications remain secure. For more information, please see our guide on API Key Best Practices.

Authorizations

Authorization
string
header
required

API key as Bearer token. Format "Bearer YOUR_API_KEY"

Response

Successful response.

standard
integer
required
Required range: x >= 0
power_user
integer
required
Required range: x >= 0