---
title: "Create Column"
method: POST
path: "/api/v1/workspace/collections/{collection_id}/columns"
tags: ["workspace"]
---

# Create Column

`POST /api/v1/workspace/collections/{collection_id}/columns`

Create a new AI column for a collection.

## Path parameters

- `collection_id` integer, required

## Request body

- CreateColumnRequest
  - `name` string, required
  - `prompt` string, required
  - `column_type` 'yes_no' | 'text' | 'number'
  - `position` integer

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/getnivara/apis/nivara-api.md) · [All operations](https://skmtc.dev/getnivara/apis/nivara-api/llms.txt) · [OpenAPI document](https://skmtc.dev/getnivara/apis/nivara-api/revisions/2810c849c6a4?raw)
