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

> Update a dataset



## OpenAPI

````yaml /public-apis/openapi/datasets.json put /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:
    put:
      tags:
        - Dataset
      summary: Update Dataset
      description: Update a dataset
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                id:
                  type: string
                  minLength: 1
                  description: Unique identifier for the alert
                workspaceId:
                  type: string
                  minLength: 1
                  description: Unique identifier for the workspace
                name:
                  type: string
                  minLength: 1
                  description: Name of the dataset
              required:
                - id
                - workspaceId
                - name
      responses:
        '200':
          description: Dataset 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

````