# Plans

Source: https://www.pontive.com/docs/api-reference/platform/plans

Base URL: `https://api.pontive.com/v1` (operations that name another server say so).

## List plans

```http
GET https://api.pontive.com/v1/plans
```

The public plan catalog, cheapest first — the offered plans, each with its base fee at both intervals, included projects and seats, allowances, caps, rates and modules — and the fixed charges (additional project, b2b uplift, FGA instance, custom domain, seat, paused project) at both intervals. Amounts are cents, read from Stripe. A retired plan is not listed; the workspaces on it keep it.

Operation ID: `ListPlans`

### Query parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `page` | integer |  | Page number |
| `limit` | integer |  | Page size (default 25, at most 100) |

### Responses

- `200` OK: ListPlansResponse
- `400` Bad Request: ErrResponse
- `500` Internal Server Error: ErrResponse

## Schemas

### ListPlansResponse

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `data` | Plan[] |  |  |
| `object` | string |  | The object type: list |
| `pagination` | Pagination |  | Pagination information |

### ErrResponse

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `error` | ErrBody |  |  |

### Plan

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `audit_log_retention_hours` | integer |  | How long the workspace's instances keep their audit log's standard entries and their request log, in hours. |
| `base` | Base |  |  |
| `description` | string |  |  |
| `highlights` | string[] |  | What the pricing table says about the plan beyond its numbers, written as what the plan adds to the one below it. |
| `id` | string |  |  |
| `included_projects` | integer |  | Projects and seats the base fee covers. |
| `included_seats` | integer |  |  |
| `max_non_prod_instances` | integer |  | Bounds each project's non-production instances; null is unlimited. |
| `modules_available` | string[] |  | Modules enable-able in any instance of the workspace. |
| `modules_non_production` | string[] |  | Modules enable-able in non-production instances only. |
| `name` | string |  |  |
| `offered` | boolean |  | Whether a workspace may move to the plan. A retired plan keeps serving the workspaces on it. |
| `rank` | integer |  | Orders plans by price; a move to a lower rank is a downgrade. |
| `request_log_retention_hours` | integer |  |  |
| `usage` | Record<string, MeterPrice> |  | Each meter's allowance or cap, by meter key, pooled across the workspace's instances. A meter absent is measured and shown, never gated. |

### Pagination

Pagination information

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `limit` | integer |  | The page size |
| `page` | integer |  | The page number, from 1 |
| `total` | integer |  | The number of items in the whole list |
| `total_pages` | integer |  | The number of pages |

### ErrBody

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `code` | string |  | Code is a stable machine-readable identifier for this error: the domain code where one exists (e.g. slug_conflict, instance_not_found, confirmation_required), else the spec's generic code (invalid_request, permission_denied, not_found, conflict, internal_error). |
| `doc_url` | string |  | DocURL links to documentation about this error, when available. |
| `message` | string |  | Message is a human-readable description of what went wrong. |
| `object` | string |  | Object is the discriminator; always "error". |
| `param` | string |  | Param names the request parameter this error refers to, when applicable. |
| `type` | string |  | Type is the error's category, from its HTTP status: validation_error, authentication_error, authorization_error, not_found, conflict_error, rate_limit_error or internal_error. |

### Base

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `paid` | boolean |  |  |

### MeterPrice

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `cap` | integer |  | A hard limit (quota_exceeded); null where there is none. |
| `included` | integer |  | The allowance before the meter bills; null where it is not billed. |
| `per` | integer |  | The unit the meter bills in beyond the allowance. |
