Skip to content
Subako Docs
English
Esc
↑↓navigate↵open⌘Jpreview

List the plans

GET/v1/plans
Authorization
AuthorizationBearer token · headerrequired
Responses
200Every plan the deployment offers, in catalog order.
plansPlanBody[]required
In the order the deployment's catalog declares them.
Show properties
Array of PlanBody
descriptionstring | nullrequired
display_namestring | nullrequired
limitsPlanLimitBody[]required
The resources this plan caps; one not listed is uncapped.
Show properties
Array of PlanLimitBody
maxinteger<int32>required
The most the organization may hold.
resourcePlanResourceBodyrequired
A resource a plan may cap.
Allowed:workspacesagentsvaultsskillsfunctionsapi_keysmodel_providerssessionsmembers
slugstringrequired
401Missing, malformed, or invalid bearer token.
errorErrorDetailrequired
What went wrong: a `code` to branch on and a `message` to show. The message is written for a person and may change; the code will not.
Show properties
codeErrorCoderequired
The machine-readable half of an error response, and the field a client branches on. Closed: every error carries exactly one of these.
Allowed:unauthorizedforbiddennot_foundinvalid_requestconflictclient_outdatedprecondition_failedtoo_many_requestsinternal
messagestringrequired
Try it
Server
Authorization
Request
curl -X GET "https://api.us.cloud.subako.ai/v1/plans" \
  -H "Authorization: Bearer YOUR_TOKEN"
Response
{
  "plans": [
    {
      "description": "string",
      "display_name": "string",
      "limits": [
        {
          "max": 0,
          "resource": "workspaces"
        }
      ],
      "slug": "string"
    }
  ]
}