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

# Lift the archive freeze

> Makes the API serve every route again after an export. The processes stopped for the export are not relaunched: this exists so a failed or aborted export does not leave the sandbox unusable.



## OpenAPI

````yaml https://raw.githubusercontent.com/blaxel-ai/sandbox/refs/heads/main/sandbox-api/docs/openapi.yml post /archive/resume
openapi: 3.0.0
info:
  contact: {}
  description: API for manipulating filesystem, processes and network.
  title: Sandbox API
  version: 0.0.1
servers:
  - url: https://sbx-{sandbox_id}-{workspace_id}.{region}.bl.run
    variables:
      sandbox_id:
        default: unknown
      workspace_id:
        default: unknown
      region:
        default: unknown
security:
  - BearerAuth: []
paths:
  /archive/resume:
    post:
      tags:
        - archive
      summary: Lift the archive freeze
      description: >-
        Makes the API serve every route again after an export. The processes
        stopped for the export are not relaunched: this exists so a failed or
        aborted export does not leave the sandbox unusable.
      responses:
        '200':
          description: Archive status
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/QuiesceStatus'
        '409':
          description: An export or a restore is in progress
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: The root filesystem could not be made writable again
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    QuiesceStatus:
      properties:
        export:
          allOf:
            - $ref: '#/components/schemas/ExportProgress'
          description: >-
            Export reports the export started asynchronously, if there was one.
            It is

            how a caller that did not wait for the export learns that the
            archive is

            on the storage, or why it is not.
        readOnlyRoot:
          description: >-
            ReadOnlyRoot reports whether the root mount was remounted read-only,
            which

            is what actually stops writes; false means the freeze relies only on
            the

            API refusing calls, and the reason says why.
          example: true
          type: boolean
        reason:
          description: Reason is a human readable explanation of why the sandbox is frozen.
          example: archive export
          type: string
        restore:
          allOf:
            - $ref: '#/components/schemas/RestoreProgress'
          description: |-
            Restore reports the archive this sandbox was started from, if it was
            started from one: how far its restore has got, and how it ended.
        since:
          description: Since is when the sandbox left StateActive.
          type: string
        state:
          allOf:
            - $ref: '#/components/schemas/archive.QuiesceState'
          example: quiesced
        stoppedProcesses:
          description: >-
            StoppedProcesses are the process identifiers stopped while
            quiescing.
          items:
            type: string
          type: array
      required:
        - state
      type: object
    ErrorResponse:
      properties:
        error:
          example: Error message
          type: string
      required:
        - error
      type: object
    ExportProgress:
      properties:
        error:
          description: Error is why the export failed, without the presigned URL it used.
          type: string
        finishedAt:
          type: string
        size:
          description: >-
            Size is the archive's exact size, known once the filesystem is
            scanned.
          example: 3074211
          type: integer
        startedAt:
          type: string
        state:
          allOf:
            - $ref: '#/components/schemas/archive.ExportState'
          example: running
        uploaded:
          description: Uploaded reports whether the storage holds the archive.
          example: false
          type: boolean
      type: object
    RestoreProgress:
      properties:
        deleted:
          example: 3
          type: integer
        downloaded:
          description: Downloaded is how much of the archive has been read so far.
          example: 1048576
          type: integer
        error:
          description: Error is why the restore failed, without the presigned URL it used.
          type: string
        finishedAt:
          type: string
        restored:
          description: >-
            Restored and Deleted count what the archive changed on the
            filesystem.
          example: 1204
          type: integer
        size:
          description: >-
            Size is the archive's size as the storage announced it, and zero
            when it

            announced none - a client showing a percentage has to allow for
            that.
          example: 3074211
          type: integer
        startedAt:
          type: string
        state:
          allOf:
            - $ref: '#/components/schemas/archive.RestoreState'
          example: extracting
      type: object
    archive.QuiesceState:
      enum:
        - active
        - quiescing
        - quiesced
        - restoring
      type: string
      x-enum-varnames:
        - StateActive
        - StateQuiescing
        - StateQuiesced
        - StateRestoring
    archive.ExportState:
      enum:
        - running
        - succeeded
        - failed
      type: string
      x-enum-varnames:
        - ExportRunning
        - ExportSucceeded
        - ExportFailed
    archive.RestoreState:
      enum:
        - downloading
        - extracting
        - relaunching
        - succeeded
        - failed
      type: string
      x-enum-varnames:
        - RestoreDownloading
        - RestoreExtracting
        - RestoreRelaunching
        - RestoreSucceeded
        - RestoreFailed
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````