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

# List Workspace Snapshots

> List snapshots for a specific workspace.



## OpenAPI

````yaml GET /api/v1/workspaces/{id}/snapshots
openapi: 3.1.0
info:
  title: Rigbox Public API
  description: >-
    Gateway-owned public API for Rigbox. The gateway composes its local
    lifecycle API with service-owned exported specs.
  contact:
    name: Rigbox
    url: https://rigbox.dev
  license:
    name: ''
  version: 1.0.0
servers:
  - url: https://api.rigbox.dev
    description: Production gateway
security: []
tags:
  - name: Workspaces
  - name: CLI
  - name: Observability
  - name: Auth
  - name: API Keys
  - name: Access Control
  - name: Apps
  - name: App Catalog
  - name: Logs
  - name: AI
  - name: Tools
  - name: Snapshots
  - name: SSH Keys
  - name: Templates
  - name: Setup Scripts
  - name: Service Specs
  - name: Deploy
  - name: Community
  - name: User Settings
  - name: Roadmap
  - name: System
paths:
  /api/v1/workspaces/{id}/snapshots:
    get:
      tags:
        - Snapshots
      summary: Cursor-paginated list of snapshots for one workspace.
      description: List the disk snapshots captured for this workspace, newest first.
      operationId: list_workspace_snapshots
      parameters:
        - name: id
          in: path
          description: Workspace ID
          required: true
          schema:
            type: string
        - name: max_results
          in: query
          description: >-
            Maximum items to return. Clamped to `[1, MAX_LIMIT]`. Default 50.


            Deserialized leniently from a string: axum's `Query`
            (serde_urlencoded)

            cannot coerce a *flattened* numeric field, so a struct that

            `#[serde(flatten)]`s `PageParams` (e.g. `ListAppsQuery`) would
            otherwise

            fail with "invalid type: string, expected u32" on `?max_results=50`.
          required: false
          schema:
            type: integer
            format: int32
            minimum: 0
        - name: cursor
          in: query
          description: |-
            Opaque cursor returned by a prior call's `next_cursor`. Omit on the
            first page.
          required: false
          schema:
            type: string
      responses:
        '200':
          description: Workspace snapshots page
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Page_SnapshotView'
      security:
        - bearer: []
components:
  schemas:
    Page_SnapshotView:
      type: object
      description: 'Paginated response envelope. `next_cursor: None` ⇒ last page.'
      required:
        - items
      properties:
        items:
          type: array
          items:
            type: object
            description: Read-only projection of a workspace snapshot.
            required:
              - id
              - workspace_id
              - name
              - size_mb
              - created_at
            properties:
              created_at:
                type: string
                format: date-time
              id:
                type: string
              name:
                type: string
              size_mb:
                type: integer
                format: int32
              workspace_id:
                type: string
        next_cursor:
          type:
            - string
            - 'null'
  securitySchemes:
    bearer:
      type: http
      scheme: bearer

````