Skip to main content
GET
/
plans
List plans
curl --request GET \
  --url https://api.openquota.ai/v1/plans \
  --header 'Authorization: Bearer <token>'
{
  "plans": [
    {
      "id": "<string>",
      "name": "<string>",
      "current_version_id": "<string>",
      "created_at": "2023-11-07T05:31:56Z"
    }
  ]
}
Archived plans are excluded from the list response. Every org-visible plan is returned in a single page; there’s no pagination on this endpoint because orgs rarely have more than a handful of active plans.

Authorizations

Authorization
string
header
required

Provide your API key as Authorization: Bearer <key>. Generate keys in the OpenQuota admin under Settings → API Keys.

Response

Active plans in this org.

plans
object[]
required