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

# Update a dataset (deprecated)

> Deprecated. Use `PUT /v1/datasets/{dataset_id}` instead.



## OpenAPI

````yaml https://raw.githubusercontent.com/honeyhiveai/honeyhive-openapi/main/openapi.yaml put /v1/datasets
openapi: 3.1.0
info:
  title: HoneyHive Data Plane API
  license:
    name: MIT
    url: https://opensource.org/licenses/MIT
  version: 1.2.1
servers:
  - url: https://api.honeyhive.ai
security:
  - BearerAuth: []
tags:
  - name: Charts
    description: >
      Define and manage saved charts. Charts are visualizations that aggregate
      metrics over time with bucketing, filters, and groupings.
  - name: Configurations
    description: >
      Manage prompt configurations, i.e. model parameters, message templates,
      and response settings that can be versioned and deployed without code
      changes.
  - name: Datapoints
    description: >
      Manage individual records inside datasets, including batch creation and
      mapping to source events.
  - name: Datasets
    description: >
      Curate collections of datapoints used as test sets for evaluations and
      experiments.
  - name: Events
    description: >
      Read and write trace events. Events are the spans that capture every step
      of an AI application's execution.
  - name: Experiments
    description: >
      Run, retrieve, and compare evaluation runs to measure how prompt or
      configuration changes affect agent performance.
  - name: Metric Versions
    description: >
      Snapshot, list, and deploy versions of a metric's definition so changes
      can be reviewed and rolled back without losing history.
  - name: Metrics
    description: >
      Define and run evaluators, i.e. automated quality checks that score traces
      against criteria like accuracy, safety, or correctness.
  - name: Queues
    description: >
      Manage annotation queues for human review of traces, turning expert
      feedback into labeled datasets.
  - name: Sessions
    description: >
      Group related trace events into sessions, the top-level container for a
      multi-step or multi-service AI interaction.
paths:
  /v1/datasets:
    put:
      tags:
        - Datasets
      summary: Update a dataset (deprecated)
      description: Deprecated. Use `PUT /v1/datasets/{dataset_id}` instead.
      operationId: updateDatasetLegacy
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LegacyUpdateDatasetRequest'
      responses:
        '200':
          description: Successful update
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UpdateDatasetResponse'
      deprecated: true
components:
  schemas:
    LegacyUpdateDatasetRequest:
      type: object
      properties:
        dataset_id:
          type: string
          minLength: 1
          description: Unique identifier of the dataset to update
        name:
          type: string
          maxLength: 200
          description: New dataset name
        description:
          type: string
          description: New dataset description
        datapoints:
          type: array
          items:
            type: string
            minLength: 1
          description: Updated list of datapoint IDs
      required:
        - dataset_id
      description: >-
        Request body for PUT /datasets (deprecated — use PUT
        /datasets/{dataset_id})
      deprecated: true
    UpdateDatasetResponse:
      type: object
      properties:
        result:
          $ref: '#/components/schemas/Dataset'
      required:
        - result
      description: Response for PUT /datasets
    Dataset:
      type: object
      properties:
        id:
          type: string
          minLength: 1
        name:
          type: string
          maxLength: 200
        description:
          type:
            - string
            - 'null'
        datapoints:
          type: array
          items:
            type: string
            minLength: 1
        created_at:
          type: string
        updated_at:
          type: string
      required:
        - id
        - name
        - datapoints
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer

````