> ## 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

> SDK methods for the Playgrounds resource.

REST reference: [/api-reference/resources/playgrounds](/api-reference/resources/playgrounds).

## Methods

```typescript theme={null}
verial.playgrounds.list({ cursor?, limit? })
verial.playgrounds.create({ environmentId })
verial.playgrounds.get({ id })
verial.playgrounds.teardown({ id })
```

## Example

```typescript theme={null}
const pg = await verial.playgrounds.create({ environmentId: 'env_01H...' })
const details = await verial.playgrounds.get({ id: pg.id })
console.log(details.status)

await verial.playgrounds.teardown({ id: pg.id })
```
