Pular para o conteúdo principal
GET
Get a plan

Autorizações

api_access_token
string
header
obrigatório

Token de um Platform App, gerado pelo super admin. Usado para provisionar contas, usuários, papéis e bots.

Parâmetros de caminho

id
integer
obrigatório

Resposta

Success

A plan of the catalog, with every field an operator edits.

id
integer
name
string
slug
string

Derived from the name when it is not given.

description
string | null
position
integer
active
boolean
public
boolean

Whether the plan is offered to customers. Private plans can still be assigned by an operator.

default_for_signup
boolean

The plan new accounts start on. Setting it on one plan clears it on the others.

trial_days
integer
trial_ai_actions
integer
included_agents
integer
included_inboxes
integer
included_ai_actions
integer
included_captain_documents
integer
features
string[]

Technical feature flags granted by the plan.

display_features
string[]

Commercial labels derived from features. Read only.

providers
enum<string>[]

Gateways the plan is sold through. Empty means every configured gateway.

Opções disponíveis:
stripe,
asaas,
dlocal_go,
paypal,
shopify
addon_rules
object

Per add-on rules, keyed by add-on slug, with enabled and max_quantity.

captain_models
object

Captain models allowed by the plan and the default of each feature.

shopify_plan_handle
string | null
stripe_product_id
string | null
prices
object[]
subscriptions_count
integer

Accounts currently subscribed to the plan. A plan with subscriptions cannot be deleted.

stripe_sync_error
string

Only present when the plan was saved but could not be mirrored into Stripe.

created_at
string<date-time>
updated_at
string<date-time>