---
title: "Get playground configuration"
method: GET
path: "/v1/environments/{environmentId}/playground"
tags: ["environments"]
---

# Get playground configuration

`GET /v1/environments/{environmentId}/playground`

Get the playground configuration for an environment

## Path parameters

- `environmentId` string, required — The ID of the environment

## Response `200`

The playground configuration

- object
  - `isPlaygroundEnabled` boolean, required
  - `serverMetadata` object, nullable, required
    - `name` string, required
    - `description` string, required
    - `headers` object[], required
      - `name` string, required
      - `description` string, required
      - `isRequired` boolean, required
      - `isSecret` boolean, required
    - `examplePrompts` object[], required
      - `title` string, required
      - `prompt` string, required

## Other responses

- `400` — 400
- `404` — 404

## Changes

- **2026-08-11** `605de0884cc9` — 1 info
  - added the non-success response with the status `400`

[Change history](https://skmtc.dev/alpic/apis/alpic-api/changes/v1/environments/:environmentId/playground/get.md)

---

[API](https://skmtc.dev/alpic/apis/alpic-api.md) · [All operations](https://skmtc.dev/alpic/apis/alpic-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/alpic/alpic-api/revisions/262875478562/schema)
