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

# Resume Sandbox

> Resume a suspended named sandbox from its suspend snapshot. Returns `202 Accepted` when resume begins and `200 OK` when the sandbox is already running.

Resume a suspended named sandbox from its suspend snapshot.

* This path accepts either the sandbox ID or the sandbox name.
* Tensorlake returns `202 Accepted` when resume starts.
* Tensorlake returns `200 OK` when the sandbox is already running.
* If the sandbox is not suspended, or its suspend snapshot is missing or not ready, Tensorlake returns `400 Bad Request`.

Most sandbox-proxy requests to a suspended named sandbox also resume it automatically, so this endpoint is mainly useful when you want to wake the sandbox proactively before sending traffic.


## OpenAPI

````yaml post /sandboxes/{sandbox_id}/resume
openapi: 3.1.0
info:
  title: Tensorlake API
  description: >-
    Tensorlake Cloud APIs for Sandboxes, Document Ingestion, and Serverless
    Workflows
  license:
    name: ''
  version: 0.1.0
servers:
  - url: https://api.tensorlake.ai/
security:
  - bearerAuth: []
tags:
  - name: Tensorlake Cloud API
    description: >-
      Tensorlake Cloud APIs for Sandboxes, Document Ingestion, and Serverless
      Workflows
paths:
  /sandboxes/{sandbox_id}/resume:
    parameters:
      - name: sandbox_id
        in: path
        description: The sandbox ID or sandbox name.
        required: true
        schema:
          type: string
    post:
      tags:
        - sandboxes
      summary: Resume a sandbox
      description: >-
        Resume a suspended named sandbox from its suspend snapshot. Returns `202
        Accepted` when resume begins and `200 OK` when the sandbox is already
        running.
      operationId: resume_sandbox
      responses:
        '200':
          description: Sandbox was already running
        '202':
          description: Resume initiated
        '400':
          description: >-
            Sandbox cannot be resumed in its current state, or the suspend
            snapshot is not ready
          content:
            text/plain: {}
        '401':
          description: Unauthorized. Invalid or missing credentials
        '403':
          description: Forbidden. You do not have permission to access this resource
        '404':
          description: Sandbox not found
          content:
            text/plain: {}
        '500':
          description: Internal server error
          content:
            text/plain: {}
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````