> ## 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

> Create a new dataset



## OpenAPI

````yaml /public-apis/openapi/datasets.json post /v1/datasets
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:
    post:
      tags:
        - Dataset
      summary: Create Dataset
      description: Create a new dataset
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                workspaceId:
                  type: string
                  description: Unique identifier for the workspace
                name:
                  type: string
                  description: Name of the dataset
                folderId:
                  type: string
                  nullable: true
                  description: Unique identifier for the folder
                createDefaultColumns:
                  type: boolean
                  description: >-
                    Create default columns for the dataset. Columns Input and
                    Expected Output will get created by default
                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
                      - meta
                  description: Columns for the dataset
              required:
                - workspaceId
                - name
      responses:
        '201':
          description: Dataset created successfully
          content:
            application/json:
              schema:
                type: object
                properties: {}
        '400':
          description: Invalid request parameters
      security:
        - ApiKeyAuth: []
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-maxim-api-key
      description: API key for authentication

````