# list_sandbox_targets

Source: <https://everruns.com/docs/api/operations/list_sandbox_targets/>

GET

/v1/sandbox-targets

Select code samplecURL (shell:curl)

```js
const url = 'https://app.everruns.com/api/v1/sandbox-targets';
const options = {method: 'GET'};


try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```sh
curl --request GET \
  --url https://app.everruns.com/api/v1/sandbox-targets
```

* Production APIapp.everruns.com/api/v1/sandbox-targets

List the Sandbox targets this deployment can offer, with the capabilities each one actually has.

## Responses

### 200

Available Sandbox targets

Media typeapplication/json

Response body for the `list_sandbox_targets` operation.

object

**items**

required

Target descriptors known to this deployment.

Array\<object>

One target this deployment can offer, and what it can do.

object

**available**

required

Whether this deployment can actually run it right now.

boolean

**capabilities**

required

Capabilities the deployment can honestly provide for this target.

object

**native\_processes**

required

Whether commands can spawn operating-system processes.

boolean

**network\_enforced**

required

Whether the target enforces the declared outbound network policy.

boolean

**packages**

required

Whether the runtime can install operating-system packages.

boolean

**portable\_checkpoint**

required

Whether filesystem state has a portable checkpoint representation.

boolean

**ports**

required

Whether workloads can bind and expose network ports.

boolean

**pty**

required

Whether interactive pseudo-terminals are supported.

boolean

**containment\_levels**

required

Containment levels this target supports, weakest first.

Array\<string>

**credential\_sources**

required

Credential sources accepted by this target.

Array\<string>

**display\_name**

required

Human-readable provider/target name.

string

**durability**

required

Recovery guarantee offered by this target.

string

**icon**

required

Lucide icon name used by management surfaces.

string

**kind**

required

Provider-neutral target class.

string

**provider**

Concrete provider adapter, when the target class requires one.

string | null

**reason**

Why it is unavailable. Present only when `available` is false.

string | null

##### Examplegenerated

```json
{
  "items": [
    {
      "available": true,
      "capabilities": {
        "native_processes": true,
        "network_enforced": true,
        "packages": true,
        "portable_checkpoint": true,
        "ports": true,
        "pty": true
      },
      "containment_levels": [
        "example"
      ],
      "credential_sources": [
        "example"
      ],
      "display_name": "example",
      "durability": "example",
      "icon": "example",
      "kind": "example",
      "provider": "example",
      "reason": "example"
    }
  ]
}
```