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

# Get apiv1volumes



## OpenAPI

````yaml https://api.simplesandbox.dev/doc get /api/v1/volumes
openapi: 3.0.0
info:
  version: 1.0.0
  title: Sandbox API
servers: []
security: []
paths:
  /api/v1/volumes:
    get:
      responses:
        '200':
          description: List all volumes for an organization
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VolumeListResponse'
        '400':
          description: Active organization missing
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    VolumeListResponse:
      type: object
      properties:
        count:
          type: number
          example: 1
        volumes:
          type: array
          items:
            $ref: '#/components/schemas/Volume'
      required:
        - count
        - volumes
    Error:
      type: object
      properties:
        code:
          type: number
          example: 422
        message:
          type: string
          example: 'Validation failed: Name has already been taken'
        details:
          nullable: true
      required:
        - code
        - message
    Volume:
      type: object
      properties:
        id:
          type: string
          example: vol_xyz123
        name:
          type: string
          example: my-workspace
        sizeGb:
          type: integer
          example: 3
        region:
          type: string
          example: iad
        attachedTo:
          type: string
          nullable: true
          example: e7847229c547d8
          description: Sandbox ID or null if detached
        createdAt:
          type: string
          format: date
          example: '2023-12-01T00:00:00Z'
      required:
        - id
        - name
        - sizeGb
        - region
        - attachedTo
        - createdAt

````