Skip to main content
GET
Discover the workspace billing mode and currency
Start with mode discovery, then call only the routes for that mode. The other mode returns 409 with code BILLING_MODE_MISMATCH and the workspace mode in details.mode.

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

Billing mode

Plans in this mode are standard (Standard) and power_user (Power user). There is no seats route. A path that does not exist in this mode, such as a seats path, returns 404.
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.

mode
enum<string>
required
Available options:
ai-models-included
currency
enum<string>
required
Available options:
EUR