plan.entitlements
read-only
The caller's plan entitlements — the client's source of truth for showing feature UI vs. an upsell. RLS-scoped tier read; permissive when tiers are off or the tenant has no tier yet (mirrors the server-side gate). Read-only query.
Input parameters
Returns object.
Output fields
| Field | Type | Required | Notes |
|---|---|---|---|
tier | enum · nullable | yes | One of: connect, os, ai |
tiersEnabled | boolean | yes | |
features | array of string | yes |