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

# List Server Types

> Server types this project can launch, by name



## OpenAPI

````yaml /api/openapi.json get /server-types
openapi: 3.1.0
info:
  description: Programmatic access to Infinite Compute GPU servers, volumes and usage.
  title: Infinite Compute API
  version: v1
servers:
  - url: https://{console}/api/public/v1
    description: Your console address is in your welcome email
    variables:
      console:
        default: your-console-address
security: []
paths:
  /server-types:
    get:
      tags:
        - Catalog
      summary: List Server Types
      description: Server types this project can launch, by name
      operationId: list_server_types_server_types_get
      parameters:
        - description: Items per page
          in: query
          name: limit
          required: false
          schema:
            default: 50
            description: Items per page
            maximum: 200
            minimum: 1
            title: Limit
            type: integer
        - description: next_cursor from the previous page
          in: query
          name: cursor
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: next_cursor from the previous page
            title: Cursor
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServerTypeList'
          description: Successful Response
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Error
      security:
        - ApiKey: []
components:
  schemas:
    ServerTypeList:
      properties:
        data:
          items:
            $ref: '#/components/schemas/ServerType'
          title: Data
          type: array
        next_cursor:
          anyOf:
            - type: string
            - type: 'null'
          title: Next Cursor
      required:
        - data
      title: ServerTypeList
      type: object
    ErrorResponse:
      properties:
        error:
          $ref: '#/components/schemas/ErrorDetail'
      required:
        - error
      title: ErrorResponse
      type: object
    ServerType:
      properties:
        gpu:
          anyOf:
            - $ref: '#/components/schemas/ServerTypeGpu'
            - type: 'null'
          description: null for a CPU-only type
        id:
          title: Id
          type: string
        name:
          description: Use this as server_type when creating a server
          title: Name
          type: string
        price:
          anyOf:
            - $ref: '#/components/schemas/Price'
            - type: 'null'
          description: Current list price; null if not priced
        ram_gb:
          title: Ram Gb
          type: number
        site:
          $ref: '#/components/schemas/Site'
        vcpus:
          title: Vcpus
          type: integer
      required:
        - id
        - name
        - vcpus
        - ram_gb
        - site
      title: ServerType
      type: object
    ErrorDetail:
      properties:
        code:
          description: Machine-readable error code, e.g. not_found
          title: Code
          type: string
        message:
          description: What went wrong, for people
          title: Message
          type: string
        request_id:
          description: Quote this when contacting support
          title: Request Id
          type: string
      required:
        - code
        - message
        - request_id
      title: ErrorDetail
      type: object
    ServerTypeGpu:
      properties:
        count:
          title: Count
          type: integer
        model:
          description: GPU model id, matched by images' gpu_models, e.g. h100
          title: Model
          type: string
        name:
          description: Display name, e.g. NVIDIA H100 PCIe
          title: Name
          type: string
        vram_gb:
          anyOf:
            - type: integer
            - type: 'null'
          description: Memory per GPU
          title: Vram Gb
      required:
        - model
        - name
        - count
      title: ServerTypeGpu
      type: object
    Price:
      properties:
        amount:
          description: Decimal string, e.g. 2.50
          title: Amount
          type: string
        currency:
          description: ISO 4217, e.g. USD
          title: Currency
          type: string
        per:
          default: hour
          description: 'The period the amount is for: hour'
          title: Per
          type: string
      required:
        - amount
        - currency
      title: Price
      type: object
    Site:
      properties:
        id:
          description: >-
            Stable site id; GET /server-types lists the ones your project can
            use
          title: Id
          type: string
        name:
          description: Display name of the site
          title: Name
          type: string
      required:
        - id
        - name
      title: Site
      type: object
  securitySchemes:
    ApiKey:
      description: 'An API key from the console: Authorization: Bearer ic_ck_...'
      scheme: bearer
      type: http

````

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