---
title: "getSandboxLimits"
---

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

# getSandboxLimits

Path: agenthold API › agents

`GET /sandbox/limits`

URL: `/api/v1/sandbox/limits`

## Authentication

Requires one of the following:

- `session`, apiKey, in cookie
- `token`, http bearer, header `Authorization`

## Code samples

### cURL

```bash
curl --request GET \
  --url '<base-url>/api/v1/sandbox/limits' \
  --cookie 'agenthold_session=<agenthold_session>'
```

### TypeScript

```typescript
const url = '<base-url>/api/v1/sandbox/limits';
const options = {
  method: 'GET',
  headers: {cookie: 'agenthold_session=<agenthold_session>'}
};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error(err));
```

### Python

```python
import requests

url = "<base-url>/api/v1/sandbox/limits"

headers = {"cookie": "agenthold_session=<agenthold_session>"}

response = requests.get(url, headers=headers)

print(response.text)
```

## Responses

### 200

Defaults and limits for agent sandboxes.

#### Example

```json
{
  "driver": "string",
  "defaultImage": "string",
  "defaultCpus": 0,
  "defaultMemoryMb": 0,
  "maxCpus": 0,
  "maxMemoryMb": 0
}
```

- `driver` (`getSandboxLimits.response.200.driver`; string, required)
- `defaultImage` (`getSandboxLimits.response.200.defaultImage`; string, required)
- `defaultCpus` (`getSandboxLimits.response.200.defaultCpus`; number, required)
- `defaultMemoryMb` (`getSandboxLimits.response.200.defaultMemoryMb`; integer, required)
  - format: `int64`
- `maxCpus` (`getSandboxLimits.response.200.maxCpus`; number, required)
- `maxMemoryMb` (`getSandboxLimits.response.200.maxMemoryMb`; integer, required)
  - format: `int64`


Source: https://agenthold.dev/api/get-sandbox-limits/index.md
