---
title: "Get local sandbox details"
method: GET
path: "/local-sandbox/{local_sandbox_id}"
tags: ["local-sandbox"]
---

# Get local sandbox details

`GET /local-sandbox/{local_sandbox_id}`

Retrieves details about a local sandbox environment, including its status and all running servers.

## Path parameters

- `local_sandbox_id` string, required — The ID of the local sandbox to retrieve

## Response `200`

Successful Response

- LocalSandboxInfo
  - `local_sandbox_id` string, required — Unique identifier for the local sandbox environment
  - `created_at` string, required — Timestamp when the sandbox was created
  - `status` 'idle' | 'occupied' | 'error' — Status of a sandbox instance - matches database enum
  - `benchmark` string, nullable — Benchmark environment configuration for the local sandbox
  - `servers` LocalSandboxServerItem[], required — List of MCP servers in this sandbox
    - `server_name` string, nullable — Name of the MCP server
    - `id` string, required — Unique identifier for this specific server instance within the sandbox
    - `mcp_server_url` string, nullable — URL to connect to this specific MCP server instance
    - `status` 'idle' | 'occupied' | 'error' — Status of a sandbox instance - matches database enum
    - `benchmark` string, nullable — Benchmark environment configuration
    - `updated_at` string, nullable — Last update timestamp
    - `metadata` object, nullable — Additional metadata for the sandbox
    - `auth_data` object, nullable — Authentication data for the sandbox
    - `tags` string[], nullable — Sandbox tags

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/klavis-ai/apis/klavis-ai-https-www-klavis-ai.md) · [All operations](https://skmtc.net/klavis-ai/apis/klavis-ai-https-www-klavis-ai/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/klavis-ai/klavis-ai-https-www-klavis-ai/revisions/1f05ced7280f/schema)
