Skip to content
Sign in Create account

Get subscription tier feature entitlements

GET /api/v1/local-mode/entitlements

Returns feature gates for the tenant's current subscription tier. Response should be cached client-side for 1 hour (cache_ttl_seconds).

Authenticate with an API key.

Responses

200 Entitlements

application/json EntitlementsResponse

  • billing_model string
    Example: "prepaid"
  • cache_ttl_seconds integer
  • entitlements object
    • code_execution boolean
    • compliance_packs array of string
    • federated_benchmarks boolean
    • named_engineer boolean
    • premium_catalogue boolean
    • priority_support boolean
    • rag boolean
    • scheduled_inference boolean
    • syncthing boolean
    • team_key_escrow boolean
    • unlimited_model_slots boolean
    • web_search_multi_provider boolean

Generated sample

{
  "billing_model": "prepaid",
  "cache_ttl_seconds": 0,
  "entitlements": {
    "code_execution": true,
    "compliance_packs": [
      "string"
    ],
    "federated_benchmarks": true,
    "named_engineer": true,
    "premium_catalogue": true,
    "priority_support": true,
    "rag": true,
    "scheduled_inference": true,
    "syncthing": true,
    "team_key_escrow": true,
    "unlimited_model_slots": true,
    "web_search_multi_provider": true
  }
}
401 Error response.

application/json GenericError

  • error any

    One of

    • string
    • object

      Any keys are accepted.

  • error_code string
  • code string
  • message string
  • detail string
  • status any

    One of

    • string
    • integer
  • errors object

    Any keys are accepted.

403 Error response.

application/json GenericError

  • error any

    One of

    • string
    • object

      Any keys are accepted.

  • error_code string
  • code string
  • message string
  • detail string
  • status any

    One of

    • string
    • integer
  • errors object

    Any keys are accepted.

429 Error response.

application/json GenericError

  • error any

    One of

    • string
    • object

      Any keys are accepted.

  • error_code string
  • code string
  • message string
  • detail string
  • status any

    One of

    • string
    • integer
  • errors object

    Any keys are accepted.

text/html string