---
title: "Api Playgrounds Columns Create"
method: POST
path: "/api/playgrounds/{playground_id}/columns/"
tags: ["playgrounds"]
---

# Api Playgrounds Columns Create

`POST /api/playgrounds/{playground_id}/columns/`

Default POST handler with automatic organization injection.

For CREATE operations:
- Superadmins can specify organization_id in request body (API key only)
- Regular users always use their own organization

Override this method for:
- POST-for-filtering pattern (delegate to self.get())
- Custom pre-create validation

Note: ``inject_target_organization`` is a DEPRECATED ``request.data``-mutating
shim kept for backward-compat during the DEV-9410 migration. The blessed
path stamps org via ``get_create_save_kwargs`` → ``perform_create`` → a
``read_only`` serializer field. The shim (and these overrides' reliance on
it) is removed in C18 (DEV-9430) once every view's org field is read_only.

## Path parameters

- `playground_id` string, required

## Headers

- `Authorization` string, required

## Request body

- PlaygroundColumnCreateRequest
  - `playground` string, required
  - `name` string, required
  - `order` integer
  - `column_type` 'prompt' — * `prompt` - Prompt
  - `source_type` 'prompt' | 'log' | 'scratch' — * `prompt` - Prompt * `log` - Log * `scratch` - Scratch
  - `linked_prompt_id` string, nullable
  - `linked_prompt_version` integer, nullable
  - `prompt` unknown
  - `is_archived` boolean

## Response `201`

- PlaygroundColumnCreate
  - `id` string, required
  - `playground` string, required
  - `name` string, required
  - `order` integer
  - `column_type` 'prompt' — * `prompt` - Prompt
  - `source_type` 'prompt' | 'log' | 'scratch' — * `prompt` - Prompt * `log` - Log * `scratch` - Scratch
  - `linked_prompt_id` string, nullable
  - `linked_prompt_version` integer, nullable
  - `prompt` unknown
  - `is_archived` boolean

---

[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)
