me

Current plan with all gate flags consumed by useMePlan hook

Returns the customer's plan slug, economics, caps, and feature flags (signalStacking, icpEditing, paygEnabled, etc.). Includes derived isInternal flag + stripeCustomerId for portal Stripe-management UX gating. 5-min Cache-Control private.

get/api/me/plan

Request

  • Base URL: https://api.signalraven.ai
  • URL: https://api.signalraven.ai/api/me/plan
  • Auth: none declared

Response

Current plan

slug'trial' | 'trial_standard' | 'solo' | 'pro' | 'scale' | 'internal' required

Plan slug

namestring required
monthlyPriceCentsinteger required

0 for Trial + Internal

creditAllotmentinteger required

Monthly bucket size in credits

maxSourcesinteger nullable required

null = unlimited (Scale + Internal)

maxDestinationsinteger nullable required

null = unlimited

maxUsersinteger nullable required

Seat cap. null = unlimited (Scale + Internal). Read by getSeatCap() — null coerces to Infinity portal-side

signalStackingboolean required

Enables Pro+ signal-stacking feature (urgency bumps from history)

icpEditing'basic' | 'advanced' required

Basic = simple ICP form. Advanced (Scale + Internal) = full dimension editing

paygEnabledboolean required

Whether the customer can buy add-on credit packs

addOnRatePerCreditnumber nullable required

$/credit for PAYG purchases. NULL when paygEnabled=false

isInternalboolean required

Derived as slug === "internal"; portal hides Stripe-only UX when true

stripeCustomerIdstring nullable required

null until first paid upgrade. Manage-subscription button only shown when set

Example response

{
  "name": "Zygnal Pro",
  "addOnRatePerCredit": 0.05
}

Changes

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