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

# List dedicated plans with live stock

> The public dedicated catalogue: every active, listed plan ordered by sortOrder then price, with a live count of the
machines behind it. No hostnames, TenantOS ids or unit-level secrets are returned. Cached in memory for 30 seconds and
sent with `Cache-Control: public, max-age=30`. If the database read fails and a previous answer is cached, that answer
is served with `stale: true` instead of an error.



## OpenAPI

````yaml /api-reference/openapi.yaml get /v1/dedicated/plans
openapi: 3.1.0
info:
  title: Server.Express API
  version: 1.0.0
  description: >-
    The customer-facing Server.Express API: auth, billing, tickets, cloud and
    dedicated servers, hosting, reselling and account management. Every response
    uses the `{ success, data | error }` envelope.
  contact:
    name: Server.Express
    url: https://server.express
servers:
  - url: https://my.server.express/api
    description: Production
security:
  - bearerAuth: []
  - apiToken: []
tags:
  - name: API Tokens
  - name: Account
  - name: Auth
  - name: Cloud
  - name: Coupons
  - name: Credits
  - name: Dashboard
  - name: Dedicated
  - name: Health
  - name: Hosting
  - name: Integrations
  - name: Invoices
  - name: Livechat
  - name: Notifications
  - name: Passkeys
  - name: Payments
  - name: Products
  - name: Public
  - name: Public Invoices
  - name: Public Tools
  - name: Reseller
  - name: SSH Keys
  - name: Services
  - name: Tasks
  - name: Teams
  - name: Tickets
  - name: Web Hosting
  - name: Webhooks
paths:
  /v1/dedicated/plans:
    get:
      tags:
        - Dedicated
      summary: List dedicated plans with live stock
      description: >-
        The public dedicated catalogue: every active, listed plan ordered by
        sortOrder then price, with a live count of the

        machines behind it. No hostnames, TenantOS ids or unit-level secrets are
        returned. Cached in memory for 30 seconds and

        sent with `Cache-Control: public, max-age=30`. If the database read
        fails and a previous answer is cached, that answer

        is served with `stale: true` instead of an error.
      operationId: publicDedicatedListPlans
      responses:
        '200':
          description: The catalogue.
          headers:
            Cache-Control:
              schema:
                type: string
                example: public, max-age=30
          content:
            application/json:
              schema:
                type: object
                required:
                  - success
                  - data
                properties:
                  success:
                    type: boolean
                    const: true
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/PublicDedicatedPlan'
                  stale:
                    type: boolean
                    const: true
                    description: >-
                      Present only when the last good answer is served because
                      the fresh read failed.
        '502':
          description: >-
            The catalogue couldn't be loaded and there's nothing cached to fall
            back on.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security: []
components:
  schemas:
    PublicDedicatedPlan:
      type: object
      required:
        - slug
        - name
        - location
        - cpu
        - cpuCores
        - cpuThreads
        - ramMb
        - storage
        - network
        - priceMinor
        - setupMinor
        - currency
        - billingCycle
        - stock
        - unitStock
        - manualStock
        - leadTime
        - instant
        - units
      properties:
        slug:
          type: string
          description: 'Used in order links: /order/dedicated/<slug>.'
        name:
          type: string
        location:
          type: string
          description: Location slug (arn, ams, lcy, …).
        cpu:
          type: string
        cpuCores:
          type: integer
        cpuThreads:
          type: integer
        ramMb:
          type: integer
        storage:
          type: string
        network:
          type:
            - string
            - 'null'
        priceMinor:
          type: integer
        setupMinor:
          type: integer
        currency:
          type: string
          example: EUR
        billingCycle:
          type: string
          example: monthly
        stock:
          type: integer
          description: Orderable now — racked machines plus build slots.
        unitStock:
          type: integer
          description: Racked machines.
        manualStock:
          type: integer
          description: Build slots a human would build.
        leadTime:
          type:
            - string
            - 'null'
          description: How long a build-slot order takes. Null when no slots are sold.
        instant:
          type: boolean
          description: At least one racked unit deploys itself on payment.
        units:
          type: array
          items:
            $ref: '#/components/schemas/PublicDedicatedPlanUnit'
    ErrorResponse:
      type: object
      required:
        - success
        - error
      properties:
        success:
          type: boolean
          const: false
        error:
          type: string
          description: Human-readable error message.
      additionalProperties: true
    PublicDedicatedPlanUnit:
      type: object
      required:
        - ref
        - instant
        - cpu
        - cpuCores
        - cpuThreads
        - ramMb
        - diskMib
        - datacenter
      properties:
        ref:
          type: string
          description: Short public reference, unique across the response.
        instant:
          type: boolean
        cpu:
          type:
            - string
            - 'null'
        cpuCores:
          type:
            - integer
            - 'null'
        cpuThreads:
          type:
            - integer
            - 'null'
        ramMb:
          type:
            - integer
            - 'null'
        diskMib:
          type:
            - integer
            - 'null'
        datacenter:
          type:
            - string
            - 'null'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        Session access token (JWT) from POST /v1/auth/login or /v1/auth/refresh.
        A session satisfies every API scope.
    apiToken:
      type: http
      scheme: bearer
      bearerFormat: se_live_<prefix>_<secret>
      description: >-
        Personal API token created under Settings → API tokens. Only routes
        guarded by verifyApiAuth accept it, and the token must carry the scope
        named in the operation's x-required-scope.

````

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