Analytics
List available plans
Returns all available plan tiers with their limits and pricing.
At a glance
| Item | Value |
|---|---|
| Method | GET |
| Path | /v1/plans |
| Auth | Authorization: Bearer <token-or-api-key> |
Quick request
Use this as a starting point. Replace the placeholder IDs and set PGBEAM_TOKEN if the endpoint requires auth.
curl -X GET \
"$PGBEAM_API_URL/v1/plans" \
-H "Authorization: Bearer $PGBEAM_TOKEN"AuthorizationBearer <token>
JWT issued by Better Auth. Verified via JWKS.
In: header
Response Body
application/json
application/json
application/json
curl -X GET "https://api.pgbeam.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"
}
}