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

# List volumes



## OpenAPI

````yaml /api-reference/openapi.personal.json get /v1/orgs/{slug}/volumes
openapi: 3.1.0
info:
  title: Personal token API
  description: User-scoped API for account and organization management.
  version: 0.1.0
servers:
  - url: https://api.microsandbox.dev
security:
  - bearer: []
paths:
  /v1/orgs/{slug}/volumes:
    get:
      tags:
        - Volumes
      summary: List volumes
      operationId: list_volumes
      parameters:
        - name: slug
          in: path
          description: Organization slug
          required: true
          schema:
            type: string
      responses:
        '200':
          description: The org's volumes
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/VolumeResponse'
        '401':
          description: Unauthorized
        '403':
          description: Insufficient permissions
      security:
        - bearer: []
components:
  schemas:
    VolumeResponse:
      type: object
      description: Volume details and usage.
      required:
        - id
        - kind
        - storage
        - status
        - labels
        - created_at
        - updated_at
      properties:
        capacity_bytes:
          type:
            - integer
            - 'null'
          format: int64
          description: >-
            The volume's configured per-volume storage cap in bytes, or `null`
            when

            no cap is set (#496). Derived from the stored `capacity_gib` (the
            user's

            configured intent) - the effective ceiling is `min(this, org cap)`.
          minimum: 0
        created_at:
          type: string
          format: date-time
        id:
          type: string
          format: uuid
        kind:
          $ref: '#/components/schemas/VolumeKind'
          description: |-
            `host` - the org's shared host disk (not deletable); `managed` - a
            user-created named volume.
        labels:
          type: object
          description: User-defined labels (empty object when none set).
          additionalProperties:
            type: string
          propertyNames:
            type: string
        name:
          type:
            - string
            - 'null'
          description: |-
            User-facing name. `null` for the host volume (it has no name; it's
            identified by `kind`).
        status:
          $ref: '#/components/schemas/VolumeStatus'
        storage:
          $ref: '#/components/schemas/VolumeType'
          description: How the volume is physically backed (`block` today).
        updated_at:
          type: string
          format: date-time
        used_bytes:
          type:
            - integer
            - 'null'
          format: int64
          description: >-
            Bytes currently used under this volume's subtree. `null` when usage
            is

            unavailable - the usage service is disabled or unreachable (list
            degrades

            gracefully rather than failing) - or on create/delete, which don't
            sample

            it.
          minimum: 0
    VolumeKind:
      type: string
      description: >-
        Volume role: the organization's shared host volume or a named managed
        volume.
      enum:
        - host
        - managed
    VolumeStatus:
      type: string
      description: Lifecycle status of a volume.
      enum:
        - active
        - deleting
    VolumeType:
      type: string
      description: >-
        How a volume is physically backed - distinct from [`VolumeKind`]
        (ownership).

        Every volume is `Block` today; the enum exists so future backings can be
        added

        (and reported to the SDK) without another schema change.
      enum:
        - block
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
      description: >-
        Personal access token (msb_pat_…) or session JWT - the credential an
        agent acts with on a user's behalf.

````