Read Unlimited entitlement
GET /api/v1/extension/entitlement
Reports whether the API key's account has an active Unlimited licence. The body is active, plan (unlimited_monthly, unlimited_yearly, or null) and current_period_end. ticket is optional and is present only when the licence is active and the subscription price matches the catalog. ticket is an Ed25519 signature (kid, sub, plan, iat, exp, sig) that expires 72 hours after iat. It is omitted when there is no active paid licence. If the licence is active and the price matches but signing is not configured, the response is 503 entitlement_not_configured and no unsigned ticket is returned. This route does not inspect message content.
Authenticate with an API key.
Responses
200 Entitlement for this API key. ticket is optional.
application/json object
activeboolean requiredcurrent_period_endstring or null requiredplanstring or null requiredticketobjectPresent only for an active paid licence whose price matches the catalog.
expinteger requirediatinteger requiredkidstring requiredplanstring requiredOne of:"monthly","yearly"sigstring requiredsubstring requiredvinteger required
Generated sample
{
"active": true,
"current_period_end": "string",
"plan": "string",
"ticket": {
"exp": 0,
"iat": 0,
"kid": "string",
"plan": "monthly",
"sig": "string",
"sub": "string",
"v": 0
}
}401 The cloak API key is missing or invalid (invalid_api_key).
application/json ErrorWithCode
error_codestring requiredmessagestring requiredrequest_idstring (uuid)statusstring requiredExample:"error"
429 too_many_requests. Limit is 30 requests per minute for the API key's user.
application/json ErrorWithCode
error_codestring requiredmessagestring requiredrequest_idstring (uuid)statusstring requiredExample:"error"
text/html string
503 entitlement_not_configured. Signing is not configured for an otherwise active matching licence. Retry-After is 3600.
application/json ErrorWithCode
error_codestring requiredmessagestring requiredrequest_idstring (uuid)statusstring requiredExample:"error"