Skip to main content
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

bring-your-own-keys uses US dollars:
Plans are standard (Standard) and power_user (Power user). There is no seats route. Dedicated deployments always return this mode, including when Langdock manages the model keys. A Cloud workspace that brings its own keys returns it too. ai-models-included uses euros:
Plans are business (Business) and business_max (Business Max). There is no plan-count route. Paid seats are on Get Seats. A Cloud workspace returns this mode when Langdock provides the models. A path that does not exist in the workspace mode, such as seats on bring-your-own-keys or plan counts on ai-models-included, 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.