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

# Update Dataset Columns

> Update dataset columns



## OpenAPI

````yaml /public-apis/openapi/datasets.json put /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:
    put:
      tags:
        - Dataset column
      summary: Update Dataset Columns
      description: Update dataset columns
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                workspaceId:
                  type: string
                  description: Unique identifier for the workspace
                datasetId:
                  type: string
                  description: Unique identifier for the dataset to to fetch the columns of
                columnData:
                  type: array
                  items:
                    type: object
                    properties:
                      columnId:
                        type: string
                        description: columnId of the column you want to update
                      name:
                        type: string
                        description: name of the column
                    required:
                      - columnId
                      - name
                  minItems: 1
              required:
                - workspaceId
                - datasetId
                - columnData
      responses:
        '200':
          description: Dataset columns updated 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

````