Entitlements

Get effective plan and feature map

Returns what this organization may use right now. Call this before offering a gated feature rather than reading plan off the organization: plan here is the effective plan (null when locked), which folds in the trial and the Stripe subscription status. Any member may read it.

get/organization/{id}/entitlements

Request

  • Base URL: https://api.elaichi.ai
  • URL: https://api.elaichi.ai/organization/{id}/entitlements
  • Auth: HTTP bearer

Path parameters

idstring required

Organization id (org_…).

Response

OK

plan'gold' | 'black' | 'null' nullable

Effective plan. null means locked — gated routes answer 403 subscription_required.

trial_ends_atstring date-time nullable
trial_activeboolean

The Gold trial before a subscription starts.

trial_indefiniteboolean

Elaichi-granted indefinite trial: unlocked with no end date. trial_active stays false because there is no clock to count down.

featuresobject

Feature key → allowed. A key that is absent is not offered to this organization — not an error. The response can carry further informational fields beyond those listed here.

Changes

No recorded changes to this operation across all 1 revision of this API.