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

# List plan and credit prices

> Returns the current monthly and annual plan prices, the credit packs, and the limits for a custom credit amount. Any member can call it. Amounts are in cents.




## OpenAPI

````yaml /openapi/billing.yaml get /workspaces/{workspaceId}/billing/prices
openapi: 3.1.0
info:
  title: Connie Billing API
  version: 1.0.0
  description: >
    Endpoints the Connie web app uses for billing. They authenticate with your
    signed-in browser session — see
    https://docs.connie.ai/api-reference/authentication. These are the app's own
    endpoints and can change when the app changes.
servers:
  - url: https://connie.ai/api
security:
  - sessionCookie: []
tags:
  - name: Credits
    description: >
      The workspace's credit balance. Any member can read the balance and plan
      prices; plan details and everything else in Billing are for workspace
      owners and admins only.
  - name: Plan
    description: The workspace's plan and subscription. Owners and admins only.
  - name: Usage log
    description: >-
      Every credit used or added, as shown in Settings > Logs. Owners and admins
      only.
paths:
  /workspaces/{workspaceId}/billing/prices:
    get:
      tags:
        - Credits
      summary: List plan and credit prices
      description: >
        Returns the current monthly and annual plan prices, the credit packs,
        and the limits for a custom credit amount. Any member can call it.
        Amounts are in cents.
      operationId: listBillingPrices
      parameters:
        - $ref: '#/components/parameters/workspaceId'
      responses:
        '200':
          description: Prices.
          content:
            application/json:
              schema:
                type: object
                properties:
                  plans:
                    type: object
                    description: Monthly prices, keyed by plan tier.
                    additionalProperties:
                      $ref: '#/components/schemas/PlanPrice'
                  plansAnnual:
                    type: object
                    description: Annual prices, keyed by plan tier.
                    additionalProperties:
                      $ref: '#/components/schemas/PlanPrice'
                  creditPacks:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                        name:
                          type: string
                        credits:
                          type: integer
                        unitAmountCents:
                          type: integer
                        currency:
                          type: string
                  customCredit:
                    type: object
                    description: Limits for buying a custom number of credits.
                    properties:
                      millicentsPerCredit:
                        type: number
                        description: Price of one credit in thousandths of a cent.
                      minAmountCents:
                        type: integer
                      maxAmountCents:
                        type: integer
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '429':
          $ref: '#/components/responses/RateLimited'
components:
  parameters:
    workspaceId:
      name: workspaceId
      in: path
      required: true
      description: The workspace id, as in the app URL `connie.ai/<workspaceId>/...`.
      schema:
        type: string
        format: uuid
  schemas:
    PlanPrice:
      type: object
      properties:
        unitAmountCents:
          type: integer
        currency:
          type: string
          example: usd
        interval:
          type:
            - string
            - 'null'
          example: month
    Error:
      type: object
      properties:
        error:
          type: string
          description: A readable message.
        code:
          type: string
          description: A machine-readable code, when the route sets one.
  responses:
    Unauthorized:
      description: No valid session, or the session has expired (`SESSION_EXPIRED`).
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Forbidden:
      description: You are not a member of this workspace.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    RateLimited:
      description: >-
        Too many requests (`RATE_LIMIT_EXCEEDED`). Wait for the `Retry-After`
        seconds.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    sessionCookie:
      type: apiKey
      in: header
      name: Cookie
      description: >-
        The full Cookie header copied from a signed-in connie.ai browser
        request. See the Authentication page.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.