---
title: "Api Playgrounds Create"
method: POST
path: "/api/playgrounds/"
tags: ["playgrounds"]
---

# Api Playgrounds Create

`POST /api/playgrounds/`

POST handler with superadmin-only field protection.

Strips superadmin-only fields from non-superadmin requests before
delegating to OrganizationInjectionMixin.post() for org injection.

## Headers

- `Authorization` string, required

## Request body

- PlaygroundCreateRequest
  - `name` string, required
  - `description` string, nullable

## Response `201`

- PlaygroundCreate
  - `id` string, required
  - `name` string, required
  - `description` string, nullable
  - `dataset_id` string, required
  - `project` string, nullable, required
  - `created_by` integer, nullable, required

---

[API](https://skmtc.net/keywordsai/apis/api-reference.md) · [All operations](https://skmtc.net/keywordsai/apis/api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/keywordsai/api-reference/revisions/c26d550029f8/schema)
