身份与授权 · 平台版本与能力 API (0.1.0)

Download OpenAPI specification:

Tells a signed-in client which edition the deployment runs and what it can do right now, so the client can show, hide or explain features before a call is refused. Studio lays out its menu from it and bkn-sdk uses it to explain edition refusals.

The answer describes the deployment, not the caller: it is the same for every signed-in subject and carries no per-user authorization. It is descriptive only. Every gated call checks the licence itself, so reading this endpoint never grants or withholds anything.

Decide on edition and capabilities. features is the raw list in the installed licence, for display and audit reconciliation only: no client may gate on it.

Platform

Get the edition in force and what this deployment can do

Computed on every request and never cached, so an imported, renewed or lapsed licence shows at once.

Authorizations:
BearerAuth
header Parameters
Accept-Language
string
Example: en-US

Requested language for human-readable errors. Supports zh-CN and en-US.

Responses

Response samples

Content type
application/json
{
  • "licensed": false,
  • "edition": "community",
  • "state": "unlicensed",
  • "features": [ ],
  • "capabilities": [ ],
  • "limits": { },
  • "extensions": [ ]
}