PgBeam Docs
Analytics

List available plans

GET
/v1/plans

Returns all available plan tiers with their limits and pricing.

Authorization

AuthorizationBearer <token>

JWT issued by Better Auth. Verified via JWKS.

In: header

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/v1/plans"
{  "plans": [    {      "name": "string",      "label": "string",      "monthly_price": 0,      "annual_price": 0,      "description": "string",      "overage_text": "string",      "trial_days": 0,      "limits": {        "queries_per_day": 0,        "max_projects": 0,        "max_databases": 0,        "max_connections": 0,        "queries_per_second": 0,        "bytes_per_month": 0,        "max_query_shapes": 0,        "included_seats": 0      }    }  ]}
{  "error": {    "code": "string",    "message": "string"  }}
{  "error": {    "code": "string",    "message": "string"  }}