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

# Get sandbox resource usage

`GET /api/v2/sandboxes/usage`

## Request

- Base URL: `https://api.smith.langchain.com`
- URL: `https://api.smith.langchain.com/api/v2/sandboxes/usage`
- Auth: one of:
  - API key in header `X-API-Key`
  - API key in header `X-Tenant-Id`
  - HTTP bearer
  - `X-Service-Key` (a scheme the document does not define)

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
  - `templates_count` integer

## Other responses

- `500`: Internal Server Error

## Changes

- **2026-10-16** `1a8ee9358d81`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/langchain-ai/apis/langsmith/changes/api/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/7a01c01f75e8?raw)
