> ## 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 an evaluation run

> Update fields on an existing experiment run such as name, status, metadata, or results.



## OpenAPI

````yaml https://raw.githubusercontent.com/honeyhiveai/honeyhive-openapi/main/openapi.yaml put /v1/runs/{run_id}
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/runs/{run_id}:
    put:
      tags:
        - Experiments
      summary: Update an evaluation run
      description: >-
        Update fields on an existing experiment run such as name, status,
        metadata, or results.
      operationId: updateRun
      parameters:
        - in: path
          name: run_id
          required: true
          schema:
            type: string
            format: uuid
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PutExperimentRunRequest'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PutExperimentRunResponse'
        '400':
          description: Invalid input
components:
  schemas:
    PutExperimentRunRequest:
      type: object
      properties:
        name:
          type: string
        description:
          type: string
        status:
          type: string
          enum:
            - pending
            - completed
            - failed
            - cancelled
            - running
        metadata:
          type: object
          additionalProperties: {}
        results:
          type: object
          additionalProperties: {}
        event_ids:
          type: array
          items:
            type: string
        configuration:
          type: object
          additionalProperties: {}
        evaluators:
          type: array
          items: {}
        session_ids:
          type: array
          items:
            type: string
        datapoint_ids:
          type: array
          items:
            type: string
            minLength: 1
        passing_ranges:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/PassingRange'
      description: Request body for PUT /runs/{run_id}
    PutExperimentRunResponse:
      type: object
      properties:
        evaluation:
          $ref: '#/components/schemas/ExperimentRunObject'
        warning:
          type: string
      required:
        - evaluation
      description: Response for PUT /runs/{run_id}
    PassingRange:
      type: object
      properties:
        min:
          type: number
        max:
          type: number
    ExperimentRunObject:
      type: object
      properties:
        id:
          type: string
        run_id:
          type: string
        name:
          type:
            - string
            - 'null'
        description:
          type:
            - string
            - 'null'
        status:
          type:
            - string
            - 'null'
        metadata:
          type: object
          additionalProperties: {}
        results:
          type: object
          additionalProperties: {}
        metrics:
          type: object
          additionalProperties:
            type: number
        event_ids:
          type: array
          items:
            type: string
        configuration:
          type: object
          additionalProperties: {}
        is_active:
          type: boolean
        created_at:
          anyOf:
            - type: string
            - type: string
              format: date-time
        updated_at:
          anyOf:
            - type: string
            - type: string
              format: date-time
            - type: 'null'
        scope_type:
          type: string
        scope_id:
          type: string
        dataset_id:
          type:
            - string
            - 'null'
      required:
        - id
        - run_id
        - metadata
        - results
        - event_ids
        - configuration
        - is_active
        - created_at
        - scope_type
        - scope_id
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer

````