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

> Update dataset entries



## OpenAPI

````yaml /public-apis/openapi/datasets.json put /v1/datasets/entries
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/entries:
    put:
      tags:
        - Dataset entry
      summary: Update Dataset Entries
      description: Update dataset entries
      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
                entries:
                  type: array
                  items:
                    type: object
                    properties:
                      rowNo:
                        type: integer
                        minimum: 1
                        description: The row number you want to update
                      cells:
                        type: array
                        items:
                          type: object
                          properties:
                            columnId:
                              type: string
                              description: The column in the row you want to update
                            value:
                              oneOf:
                                - type: object
                                  properties:
                                    type:
                                      type: string
                                      enum:
                                        - text
                                      description: Text data type
                                    payload:
                                      type: string
                                      description: Text content as a string
                                  required:
                                    - type
                                    - payload
                                - type: object
                                  properties:
                                    type:
                                      type: string
                                      enum:
                                        - file
                                      description: File data type
                                    payload:
                                      type: object
                                      properties:
                                        url:
                                          type: string
                                          format: uri
                                          description: URL to the file
                                        base64:
                                          type: string
                                          description: Base64 encoded file content
                                      description: >-
                                        File data containing either a URL or
                                        base64 content
                                  required:
                                    - type
                                    - payload
                              description: Value with conditional payload based on type
                          required:
                            - columnId
                            - value
                    required:
                      - rowNo
                      - cells
              required:
                - workspaceId
                - datasetId
                - entries
      responses:
        '200':
          description: Dataset entries updated successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                        rowNo:
                          type: number
                        createdAt:
                          type: string
                        cells:
                          type: array
                          items:
                            type: object
                            properties:
                              id:
                                type: string
                              columnId:
                                type: string
                              value:
                                type: object
                                properties:
                                  type:
                                    type: string
                                  payload:
                                    type: string
                                required:
                                  - type
                                  - payload
                              createdAt:
                                type: string
                              deletedAt:
                                nullable: true
                              updatedAt:
                                type: string
                            required:
                              - id
                              - columnId
                              - value
                              - createdAt
                              - deletedAt
                              - updatedAt
                      required:
                        - id
                        - rowNo
                        - createdAt
                        - cells
                required:
                  - data
        '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

````