> ## Documentation Index
> Fetch the complete documentation index at: https://www.getmaxim.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Create Dataset Columns

> Create dataset columns



## OpenAPI

````yaml /public-apis/openapi/datasets.json post /v1/datasets/columns
openapi: 3.0.0
info:
  version: 1.0.0
  contact:
    name: Maxim Engineering
    email: eng@getmaxim.ai
  title: Maxim SDK API - datasets
  description: API documentation for Maxim SDK datasets endpoints
servers:
  - url: https://api.getmaxim.ai
security: []
paths:
  /v1/datasets/columns:
    post:
      tags:
        - Dataset column
      summary: Create Dataset Columns
      description: Create dataset columns
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                workspaceId:
                  type: string
                  description: Unique identifier for the workspace
                datasetId:
                  type: string
                  minLength: 1
                  description: Unique identifier for the dataset
                columns:
                  type: array
                  items:
                    type: object
                    properties:
                      name:
                        type: string
                        minLength: 1
                        description: Name of the column
                      columnType:
                        type: string
                        enum:
                          - CONVERSATION_HISTORY
                          - INPUT
                          - VARIABLE
                          - EXPECTED_OUTPUT
                          - EXPECTED_TOOL_CALLS
                          - TAGS
                          - OUTPUT
                          - EXPECTED_STEPS
                          - SCENARIO
                        description: Type of the column
                      meta:
                        type: object
                        properties:
                          columnDataType:
                            type: string
                            enum:
                              - file
                              - text
                            description: Type of the data in the column
                          delimiter:
                            type: string
                            minLength: 1
                            description: Delimiter for the column
                    required:
                      - name
                      - columnType
                  description: Columns for the dataset
              required:
                - workspaceId
                - datasetId
                - columns
      responses:
        '201':
          description: Dataset columns created successfully
          content:
            application/json:
              schema:
                type: object
                properties: {}
        '400':
          description: Invalid request parameters
        '404':
          description: Dataset not found
      security:
        - ApiKeyAuth: []
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-maxim-api-key
      description: API key for authentication

````