> ## Documentation Index
> Fetch the complete documentation index at: https://docs.usechar.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List plan tiers

> Retrieve all public plan tiers for display on pricing pages. Returns tiers ordered by display order with their features and limits.



## OpenAPI

````yaml https://app.usechar.ai/api/spec.json get /plan-tiers
openapi: 3.1.1
info:
  title: Char API
  version: 1.0.0
  description: >-
    REST API for managing organizations, identity providers, end users, skills,
    threads, usage, and subscriptions.


    ## Authentication


    This API uses Bearer token authentication with WorkOS JWT tokens. Include
    the token in the Authorization header:


    ```

    Authorization: Bearer <your-jwt-token>

    ```


    ## Authorization Levels


    - **Public endpoints**: No authentication required

    - **Protected endpoints**: Require valid JWT token (user authentication)

    - **Organization endpoints**: Require valid JWT token with organization
    context selected


    Most endpoints require organization context. Ensure your JWT token includes
    the `org_id` claim.


    ## Data Formats


    ### Allowed Domains

    The `allowed_domains` field is an array of origins (e.g.,
    `https://app.example.com`). It is stored as JSON internally but surfaced as
    an array in the API.


    ### Timestamps

    All timestamps are returned as ISO 8601 strings (e.g.,
    `"2025-01-15T10:30:00.000Z"`).


    ## Rate Limits


    No application-level rate limiting is currently enforced.


    ## Error Responses


    All errors follow a consistent format:


    ```json

    {
      "code": "ERROR_CODE",
      "status": 400,
      "message": "Human-readable error message",
      "data": { /* optional additional details */ }
    }

    ```


    ### Error Codes


    | data.code | Description |

    |-----------|-------------|

    | `VALIDATION_ERROR` | Invalid input data (400) |

    | `AUTH_REQUIRED` | Missing or invalid authentication (401) |

    | `ACCESS_DENIED` | Permission denied (403) |

    | `PAYMENT_REQUIRED` | Subscription required (403) |

    | `ORG_CONTEXT_REQUIRED` | Organization selection required (403) |

    | `RESOURCE_NOT_FOUND` | Resource missing (404) |

    | `DUPLICATE_RESOURCE` | Resource already exists (409) |

    | `INTERNAL_ERROR` | Server-side error (500) |
servers:
  - url: https://app.usechar.ai/api
    description: Production API
security:
  - bearerAuth: []
tags:
  - name: Auth
    description: >-
      Authentication operations including session management and logout. All
      auth endpoints require a valid JWT token.
  - name: Users
    description: >-
      Access the current authenticated user's profile and organization
      memberships.
  - name: Organizations
    description: Organization details, members, and configuration such as allowed domains.
  - name: Identity Providers
    description: Manage SSO configuration and test IDP connectivity.
  - name: Directories
    description: Directory sync resources backed by WorkOS directories.
  - name: End Users
    description: End users who interact with embedded widgets, identified by IDP tokens.
  - name: Organization Skills
    description: CRUD for SKILL.md content following the Agent Skills spec.
  - name: Threads
    description: Conversation thread metadata and management.
  - name: Usage Analytics
    description: Usage and token analytics for the organization.
  - name: Plan Tiers
    description: Plan tiers and limit definitions.
  - name: Subscriptions
    description: Billing and subscription status via Polar integration.
  - name: OAuth
    description: OAuth 2.0 authorization flow endpoints for MCP client authentication.
  - name: OAuth Discovery
    description: RFC 8414/8707 well-known discovery endpoints for OAuth 2.0.
paths:
  /plan-tiers:
    get:
      tags:
        - Plan Tiers
      summary: List plan tiers
      description: >-
        Retrieve all public plan tiers for display on pricing pages. Returns
        tiers ordered by display order with their features and limits.
      operationId: planTiers_list
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  properties:
                    id:
                      type: string
                      description: Plan tier identifier (e.g., free, enterprise).
                    name:
                      type: string
                      description: Human-readable plan name.
                    polar_product_id:
                      anyOf:
                        - type: string
                          description: >-
                            Polar product ID associated with this tier (null for
                            free plan).
                        - type: 'null'
                    max_seats:
                      type: integer
                      minimum: -9007199254740991
                      maximum: 9007199254740991
                      description: Maximum number of seats allowed (0 means unlimited).
                    included_seats:
                      type: integer
                      minimum: -9007199254740991
                      maximum: 9007199254740991
                      description: Seats included in the base price for the tier.
                    sso_enabled:
                      type: boolean
                      description: Whether SSO is enabled for this plan tier.
                    scim_enabled:
                      type: boolean
                      description: >-
                        Whether SCIM directory sync is enabled for this plan
                        tier.
                    audit_logs_enabled:
                      type: boolean
                      description: Whether audit logs are enabled for this plan tier.
                    custom_domains_enabled:
                      type: boolean
                      description: Whether custom domains are enabled for this plan tier.
                    max_sites:
                      type: integer
                      minimum: -9007199254740991
                      maximum: 9007199254740991
                      description: Maximum number of sites allowed (0 means unlimited).
                    max_end_users:
                      type: integer
                      minimum: -9007199254740991
                      maximum: 9007199254740991
                      description: Maximum number of end users allowed (0 means unlimited).
                    display_order:
                      type: integer
                      minimum: -9007199254740991
                      maximum: 9007199254740991
                      description: Ordering index for displaying tiers in the UI.
                    is_public:
                      type: boolean
                      description: Whether this tier is visible on public pricing pages.
                    created_at:
                      type: string
                      format: date-time
                      x-native-type: date
                      description: Timestamp when the plan tier was created.
                    updated_at:
                      type: string
                      format: date-time
                      x-native-type: date
                      description: Timestamp when the plan tier was last updated.
                  required:
                    - id
                    - name
                    - polar_product_id
                    - max_seats
                    - included_seats
                    - sso_enabled
                    - scim_enabled
                    - audit_logs_enabled
                    - custom_domains_enabled
                    - max_sites
                    - max_end_users
                    - display_order
                    - is_public
                    - created_at
                    - updated_at
                  description: >-
                    Plan tier resource defining features and limits for a
                    subscription tier
        '401':
          description: '401'
          content:
            application/json:
              schema:
                oneOf:
                  - type: object
                    properties:
                      defined:
                        const: true
                      code:
                        const: UNAUTHORIZED
                      status:
                        const: 401
                      message:
                        type: string
                        default: Authentication required
                      data:
                        type: object
                        properties:
                          code:
                            const: AUTH_REQUIRED
                        required:
                          - code
                        examples:
                          - code: AUTH_REQUIRED
                    required:
                      - defined
                      - code
                      - status
                      - message
                      - data
                  - type: object
                    properties:
                      defined:
                        const: false
                      code:
                        type: string
                      status:
                        type: number
                      message:
                        type: string
                      data: {}
                    required:
                      - defined
                      - code
                      - status
                      - message
        '500':
          description: '500'
          content:
            application/json:
              schema:
                oneOf:
                  - type: object
                    properties:
                      defined:
                        const: true
                      code:
                        const: INTERNAL_SERVER_ERROR
                      status:
                        const: 500
                      message:
                        type: string
                        default: An internal error occurred
                      data:
                        type: object
                        properties:
                          code:
                            const: INTERNAL_ERROR
                        required:
                          - code
                        examples:
                          - code: INTERNAL_ERROR
                    required:
                      - defined
                      - code
                      - status
                      - message
                      - data
                  - type: object
                    properties:
                      defined:
                        const: false
                      code:
                        type: string
                      status:
                        type: number
                      message:
                        type: string
                      data: {}
                    required:
                      - defined
                      - code
                      - status
                      - message
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        WorkOS JWT token. Obtain via WorkOS AuthKit authentication flow. The
        token must include organization_id claim for organization-scoped
        endpoints.

````