Get current plan details
Retrieve details about your current pricing plan
/api/v2/billing/planAuthorizationBearer token (Anlyon API key) · headerrequiredWorkspace API key sent as Authorization: Bearer <key>.
better-auth.session_tokenAPI key · cookierequiredBrowser session used by dashboard-only operations.
X-Request-IdstringOptional caller correlation ID. Unsafe or oversized values are replaced.
Provider-safe plan, limits, pricing, and subscription state returned.
successbooleanrequiredtruedataobjectrequiredShow propertiesHide properties
accessBillingAccessHow this workspace is served right now. Server-controlled and shared by enforcement, the console, and public pricing.
Show propertiesHide properties
modestringrequiredearly_betastandardbetaAllowancesApplybooleanrequiredpaidPlansAvailablebooleanrequiredWhether a paid plan can be bought right now. Purchase endpoints return PAID_PLANS_UNAVAILABLE when false., example: false
betaAllowancesEndAtstring<date-time> | nullrequiredOnly set once normal pricing is open, and only while this workspace still has beta allowances. The end date is fixed once set.
usageResetsAtstring<date-time>requiredThe next UTC month boundary, when monthly allowances reset.
overageBillingbooleanrequiredEarly Beta Access never bills overage.
falseautomaticChargesbooleanrequiredNothing is charged or upgraded automatically.
falsebetaAllowancesBetaAllowancesThe Early Beta Access allowances, derived from the limits the API enforces. Null means the dimension has no fixed cap.
Show propertiesHide properties
actionExecutionsPerMonthinteger | nullrequireddurableMessagesPerMonthinteger | nullrequiredactionDefinitionsinteger | stringrequiredShow propertiesHide properties
integerstringseatsIncludingPendingInvitationsinteger | stringrequiredShow propertiesHide properties
integerstringenvironmentsinteger | stringrequiredTotal environments a workspace may hold, of any kind.
Show propertiesHide properties
integerstringcombinedStorageBytesinteger | nullrequiredCapacity in bytes. Does not reset monthly., example: 1073741824
egressBytesPerMonthinteger | nullrequiredtraceRetentionDaysintegerrequiredplanstringrequiredThe plan id. Display names: starter Starter, production Pro, growth Team, enterprise Enterprise, free no plan.
freestarterpaygoenterpriseproductiongrowthdisplayNamestringrequiredstatusBillingStatusrequirednone when the workspace has never subscribed.
nonetrialingactivepast_duecanceledpausedintervalstring | nullrequiredmonthyeartrialEndsAtstring<date-time> | nullrequiredcurrentPeriodEndstring<date-time> | nullrequiredWhen the paid period (or the trial) ends.
cancelAtPeriodEndbooleanrequiredgraceEndsAtstring<date-time> | nullAfter a failed renewal, when the plan lapses unless the payment is fixed in the billing portal. Null otherwise.
trialAvailablebooleanrequiredWhether a checkout now would start the 14-day trial. One trial per workspace and per person.
providerstring | nullrequiredThe billing provider. Null on a self-hosted edition.
polarpendingPlanstring | nullrequiredRequested period-end target. Resource creation is restricted to this plan while the change is pending., example: free
limitsBillingPlanLimitsrequiredShow propertiesHide properties
maxSeatsQuotaLimitShow propertiesHide properties
integerstringmaxActionsQuotaLimitShow propertiesHide properties
integerstringmaxMonthlyActionInvokesQuotaLimitGoverned actions per UTC month the plan includes. The enforced allowance, with usagePolicy.actionInvokes.
Show propertiesHide properties
integerstringauditRetentionMonthsQuotaLimitMonths the plan keeps audit records before they are deleted. unlimited where the deployment sets no plan retention.
Show propertiesHide properties
integerstringmaxEnvironmentsQuotaLimitShow propertiesHide properties
integerstringtraceRetentionDaysintegertraceArchivalbooleanusagePolicyBillingUsagePoliciesShow propertiesHide properties
actionInvokesBillingUsagePolicyShow propertiesHide properties
kindstringrequiredhard-capcapUnitsintegerrequiredkindstringrequiredincluded-with-graceincludedUnitsintegerrequiredgraceCapUnitsintegerrequiredkindstringrequiredpayment-requiredkindstringrequiredunlimitedmessagesBillingUsagePolicystorageBillingUsagePolicybandwidthBillingUsagePolicymaxMessagesPerDayQuotaLimitrequiredShow propertiesHide properties
integerstringmaxMonthlyMessagesQuotaLimitrequiredShow propertiesHide properties
integerstringmaxMonthlyBandwidthintegerrequiredBytes.
maxRetriesintegerrequiredmaxMessageSizeintegerrequiredBytes.
maxHttpTimeoutintegerrequiredMilliseconds.
rateLimitobjectrequiredShow propertiesHide properties
requestsPerMinuteQuotaLimitrequiredShow propertiesHide properties
integerstringrequestsPerHourQuotaLimitrequiredAPI requests per UTC clock hour for the workspace, enforced with the minute limit.
Show propertiesHide properties
integerstringmaxBatchSizeintegerrequiredmaxConcurrentDeliveriesQuotaLimitrequiredShow propertiesHide properties
integerstringanalyticsRetentionDaysQuotaLimitrequiredShow propertiesHide properties
integerstringlogRetentionDaysQuotaLimitrequiredShow propertiesHide properties
integerstringmaxMonthlyAssistantReviewsQuotaLimitAnlyon Vigil (Beta) reviews per UTC month. A hard cap; at the cap approvals are reviewed without a suggestion.
Show propertiesHide properties
integerstringmaxDailyAssistantAutoApprovalsQuotaLimitApprovals Anlyon Vigil may make per UTC day. A hard cap; at the cap requests go to a person.
Show propertiesHide properties
integerstringmaxApprovalPoliciesPerEnvironmentQuotaLimitApproval policies one environment may hold.
Show propertiesHide properties
integerstringmaxMonthlyConditionDraftsintegerPlain-English policy condition drafts per workspace per UTC month. Complimentary during the beta.
functionRunsFunctionRunLimitsHosted function runs a plan allows. A run's own action calls count as governed actions, not here.
Show propertiesHide properties
runsPerMonthQuotaLimitrequiredRuns started in a UTC month.
concurrentRunsQuotaLimitrequiredRuns going at the same time across the workspace.
runStartsPerMinuteQuotaLimitrequiredRuns started in any 60 seconds.
featuresBillingPublicFeaturesrequiredShow propertiesHide properties
protectedProductionbooleancontrolledPromotionbooleancustomHeadersbooleanrequiredwebhooksbooleanrequiredeventsbooleanrequiredactionsbooleanrequiredapprovalsbooleanrequiredbudgetsbooleanrequiredanalyticsbooleanrequiredprioritySupportbooleanrequiredslabooleanrequireddedicatedSupportbooleanrequiredteamFeaturesbooleanSSO, SCIM directory sync, audit streaming, secret stores and roles per environment: Team and Enterprise.
pricingBillingRawPricingrequiredMachine-readable pricing values in cents unless the field says otherwise.
Show propertiesHide properties
monthlyFeenumberrequiredyearlyFeenumberA year paid up front
perMessageCostnumberrequiredincludedMessagesintegerrequiredbandwidthOverageCostnumberrequiredperEventPublishCostnumberrequiredperActionInvokeCostnumberrequiredfeaturesBillingPublicFeaturesrequiredShow propertiesHide properties
protectedProductionbooleancontrolledPromotionbooleancustomHeadersbooleanrequiredwebhooksbooleanrequiredeventsbooleanrequiredactionsbooleanrequiredapprovalsbooleanrequiredbudgetsbooleanrequiredanalyticsbooleanrequiredprioritySupportbooleanrequiredslabooleanrequireddedicatedSupportbooleanrequiredteamFeaturesbooleanSSO, SCIM directory sync, audit streaming, secret stores and roles per environment: Team and Enterprise.
pricingBillingDisplayPricingrequiredShow propertiesHide properties
monthlyFeenumberrequiredMajor currency units.
perMessageCostnumberrequiredCents per message, retained for backward compatibility.
includedMessagesintegerrequiredbandwidthOverageCostnumberrequiredMajor currency units per GB.
includedBandwidthstringrequiredHuman-readable byte count., example: 50 GB
subscriptionBillingSubscriptionSummaryrequiredProvider-safe subscription state; the billing provider's identifiers are never returned.
Show propertiesHide properties
statusBillingStatusrequirednone when the workspace has never subscribed.
nonetrialingactivepast_duecanceledpausedisCustomerConfiguredbooleanrequiredhasSubscriptionbooleanrequiredtrialEndsAtstring<date-time> | nullrequiredUnauthorized - Invalid or missing API key
successbooleanrequiredrequestIdstringrequiredCorrelation ID matching the X-Request-Id response header.
errorobjectrequiredShow propertiesHide properties
codestringmessagestringdetailsobjectfixErrorFixHow to get past this error, for a person or an agent. Present on refusals with a known next step, such as a missing scope or role, a plan or billing limit, a halted environment, or a missing secret, connected account, OAuth app or end-user header. Absent when there is no fix to give. Kept in production responses, unlike details.
Show propertiesHide properties
summarystringrequiredOne sentence that says what to do.
commandstringAn exact anlyon CLI command that fixes it. Absent when no command does.
urlstring<uri>An absolute console link where a person fixes it.
docsstring<uri>A docs page that explains it.
Authenticated credential lacks the required scope or workspace access.
successbooleanrequiredrequestIdstringrequiredCorrelation ID matching the X-Request-Id response header.
errorobjectrequiredShow propertiesHide properties
codestringmessagestringdetailsobjectfixErrorFixHow to get past this error, for a person or an agent. Present on refusals with a known next step, such as a missing scope or role, a plan or billing limit, a halted environment, or a missing secret, connected account, OAuth app or end-user header. Absent when there is no fix to give. Kept in production responses, unlike details.
Show propertiesHide properties
summarystringrequiredOne sentence that says what to do.
commandstringAn exact anlyon CLI command that fixes it. Absent when no command does.
urlstring<uri>An absolute console link where a person fixes it.
docsstring<uri>A docs page that explains it.
Not Found - Resource does not exist
successbooleanrequiredrequestIdstringrequiredCorrelation ID matching the X-Request-Id response header.
errorobjectrequiredShow propertiesHide properties
codestringmessagestringdetailsobjectfixErrorFixHow to get past this error, for a person or an agent. Present on refusals with a known next step, such as a missing scope or role, a plan or billing limit, a halted environment, or a missing secret, connected account, OAuth app or end-user header. Absent when there is no fix to give. Kept in production responses, unlike details.
Show propertiesHide properties
summarystringrequiredOne sentence that says what to do.
commandstringAn exact anlyon CLI command that fixes it. Absent when no command does.
urlstring<uri>An absolute console link where a person fixes it.
docsstring<uri>A docs page that explains it.
Too Many Requests - Rate limit exceeded. A workspace's API requests are limited per minute and per UTC clock hour by plan; Retry-After says when to try again, and an hourly refusal names the limit and when the count resets. Successful responses carry the same limits in X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset (the minute) and X-RateLimit-Limit-Hour, X-RateLimit-Remaining-Hour, X-RateLimit-Reset-Hour (the hour).
successbooleanrequiredrequestIdstringrequiredCorrelation ID matching the X-Request-Id response header.
errorobjectrequiredShow propertiesHide properties
codestringmessagestringdetailsobjectfixErrorFixHow to get past this error, for a person or an agent. Present on refusals with a known next step, such as a missing scope or role, a plan or billing limit, a halted environment, or a missing secret, connected account, OAuth app or end-user header. Absent when there is no fix to give. Kept in production responses, unlike details.
Show propertiesHide properties
summarystringrequiredOne sentence that says what to do.
commandstringAn exact anlyon CLI command that fixes it. Absent when no command does.
urlstring<uri>An absolute console link where a person fixes it.
docsstring<uri>A docs page that explains it.

