> ## 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 Volumes

> The project's volumes, newest first



## OpenAPI

````yaml /api/openapi.json get /volumes
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:
  /volumes:
    get:
      tags:
        - Volumes
      summary: List Volumes
      description: The project's volumes, newest first
      operationId: list_volumes_volumes_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/VolumeList'
          description: Successful Response
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Error
      security:
        - ApiKey: []
components:
  schemas:
    VolumeList:
      properties:
        data:
          items:
            $ref: '#/components/schemas/Volume'
          title: Data
          type: array
        next_cursor:
          anyOf:
            - type: string
            - type: 'null'
          title: Next Cursor
      required:
        - data
      title: VolumeList
      type: object
    ErrorResponse:
      properties:
        error:
          $ref: '#/components/schemas/ErrorDetail'
      required:
        - error
      title: ErrorResponse
      type: object
    Volume:
      properties:
        attached_to:
          default: []
          description: Server ids
          items:
            type: string
          title: Attached To
          type: array
        bootable:
          default: false
          title: Bootable
          type: boolean
        created_at:
          anyOf:
            - format: date-time
              type: string
            - type: 'null'
          title: Created At
        id:
          title: Id
          type: string
        image_id:
          anyOf:
            - type: string
            - type: 'null'
          description: Set when created from an image
          title: Image Id
        name:
          title: Name
          type: string
        site:
          anyOf:
            - $ref: '#/components/schemas/Site'
            - type: 'null'
        size_gb:
          title: Size Gb
          type: integer
        status:
          description: creating, available, in_use, busy, deleting, error
          title: Status
          type: string
      required:
        - id
        - name
        - size_gb
        - status
      title: Volume
      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
    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.