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

# Restore Snapshot

> Restore a snapshot by ID to its original workspace.



## OpenAPI

````yaml POST /api/v1/snapshots/{snapshot_id}/restore
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/snapshots/{snapshot_id}/restore:
    post:
      tags:
        - Snapshots
      summary: Restore a workspace from a snapshot.
      description: Restore a workspace's disk from one of the user's snapshots by ID.
      operationId: restore_user_snapshot
      parameters:
        - name: snapshot_id
          in: path
          description: Snapshot ID
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Snapshot restored
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestoreSnapshotResponse'
      security:
        - bearer: []
components:
  schemas:
    RestoreSnapshotResponse:
      type: object
      required:
        - message
        - workspace_id
      properties:
        message:
          type: string
        workspace_id:
          type: string
  securitySchemes:
    bearer:
      type: http
      scheme: bearer

````