---
title: "Get sandbox resource usage"
method: GET
path: "/v2/sandboxes/usage"
tags: ["sandboxes"]
---

# Get sandbox resource usage

`GET /v2/sandboxes/usage`

Get current sandbox resource usage and quota limits for the workspace

## Response `200`

OK

- SandboxesUsageResponse
  - `cpu_limit_millicores` integer
  - `cpu_used_millicores` integer
  - `memory_limit_bytes` integer
  - `memory_used_bytes` integer
  - `pools_count` integer
  - `registries_count` integer
  - `sandbox_direct_count` integer
  - `sandbox_pool_replicas_count` integer
  - `sandbox_running_count` integer
  - `sandbox_stopped_count` integer
  - `sandboxes_limit` integer
  - `sandboxes_used` integer
  - `snapshots_count` integer
  - `storage_limit_bytes` integer
  - `storage_used_bytes` integer
  - `templates_count` integer
  - `volumes_limit` integer
  - `volumes_used` integer

## Other responses

- `500` — Internal Server Error

## Changes

- **2026-04-30** `99490d1e837e` — 3 info
  - added the optional property `sandbox_running_count` to the response with the `200` status
  - added the optional property `sandbox_stopped_count` to the response with the `200` status
  - added the optional property `snapshots_count` to the response with the `200` status
- **2026-04-13** `e86be67718ee` — 1 info
  - the endpoint scheme security `X-Service-Key` was added to the API

[Change history](https://skmtc.dev/langchain-ai/apis/langsmith/changes/v2/sandboxes/usage/get.md)

---

[API](https://skmtc.dev/langchain-ai/apis/langsmith.md) · [All operations](https://skmtc.dev/langchain-ai/apis/langsmith/llms.txt) · [OpenAPI document](https://skmtc.dev/langchain-ai/apis/langsmith/revisions/99490d1e837e?raw)
