Skip to main content
GET
/
billing
/
features
/
{feature}
cURL
curl --request GET \
  --url https://api.useanima.sh/v1/billing/features/{feature} \
  --header 'Authorization: Bearer <token>'
{
  "feature": "audit_logs",
  "enabled": true,
  "upgradeUrl": "<string>"
}

Authorizations

Authorization
string
header
required

JWT Bearer token obtained from authentication. Pass as: Authorization: Bearer

Path Parameters

feature
enum<string>
required

Feature to check access for

Available options:
audit_logs

Response

200 - application/json

OK

Access decision for a plan-gated feature

feature
enum<string>
required

Feature name for plan-based access checks

Available options:
audit_logs
enabled
boolean
required

Whether the feature is available on the current plan

currentTier
enum<string>
required

The caller's current tier

Available options:
free,
starter,
growth,
scale,
enterprise
requiredTier
enum<string> | null
required

Lowest tier that unlocks the feature; null if already enabled

Available options:
free,
starter,
growth,
scale,
enterprise
upgradeUrl
string | null
required

Relative URL to the upgrade path; null if already enabled