GET /openapi/memorylake/admin/v1/billing/subscription
Returns the team’s current subscription: plan, state, current cycle and whether it ends at the cycle end. status none means the team has no active subscription.
Permission required:subscription:view
curl -X GET 'https://app.memorylake.ai/openapi/memorylake/admin/v1/billing/subscription' \ -H 'Authorization: Bearer sk_xxxxxx'
Response
object
Show Subscription object
boolean
true = the subscription ends at current_period_end instead of renewing
string
none = the team has no active subscription; the other fields are then omitted. One of: active, past_due, none.