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

# Playgrounds

> Manage simulated healthcare playgrounds.

Manage playgrounds that provision live simulator instances from an environment definition.

## Actions

| Action     | Description                                      |
| ---------- | ------------------------------------------------ |
| `list`     | List all playgrounds in the organization         |
| `create`   | Provision a new playground from an environment   |
| `get`      | Get a playground by ID                           |
| `teardown` | Tear down a playground and release its resources |

## Parameters

### `list`

No parameters.

### `create`

| Parameter       | Type   | Required | Description                      |
| --------------- | ------ | -------- | -------------------------------- |
| `environmentId` | string | yes      | Environment ID to provision from |

### `get`

| Parameter | Type   | Required | Description   |
| --------- | ------ | -------- | ------------- |
| `id`      | string | yes      | Playground ID |

### `teardown`

| Parameter | Type   | Required | Description   |
| --------- | ------ | -------- | ------------- |
| `id`      | string | yes      | Playground ID |

## Examples

### Provision a playground from an environment

```json theme={null}
{
  "action": "create",
  "environmentId": "env_abc123"
}
```

### List all playgrounds

```json theme={null}
{
  "action": "list"
}
```

### Tear down a playground

```json theme={null}
{
  "action": "teardown",
  "id": "pg_xyz789"
}
```
