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

# Retrieve experiment result (deprecated)

> Deprecated. Use `GET /v1/runs/{run_id}/summary` instead.



## OpenAPI

````yaml https://raw.githubusercontent.com/honeyhiveai/honeyhive-openapi/main/openapi.yaml get /v1/runs/{run_id}/result
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}/result:
    get:
      tags:
        - Experiments
      summary: Retrieve experiment result (deprecated)
      description: Deprecated. Use `GET /v1/runs/{run_id}/summary` instead.
      operationId: getExperimentResultLegacy
      parameters:
        - name: run_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
          description: Experiment run ID (UUIDv4)
        - name: aggregate_function
          in: query
          required: false
          schema:
            type: string
            enum:
              - average
              - min
              - max
              - median
              - p95
              - p99
              - p90
              - sum
              - count
            default: average
          description: Aggregation function to apply to metrics
        - name: filters
          in: query
          required: false
          schema:
            oneOf:
              - type: string
              - type: array
                items:
                  type: object
          description: Optional filters to apply (JSON string or array of filter objects)
      responses:
        '200':
          description: Experiment result retrieved successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetExperimentRunResultResponse'
        '400':
          description: Error processing experiment result
      deprecated: true
components:
  schemas:
    GetExperimentRunResultResponse:
      type: object
      properties:
        status:
          type: string
        success:
          type: boolean
        error:
          type: string
        passed:
          type: array
          items:
            type: string
        failed:
          type: array
          items:
            type: string
        metrics:
          $ref: '#/components/schemas/MetricsAggregation'
        datapoints:
          type: array
          items:
            $ref: '#/components/schemas/DatapointResult'
        event_details:
          type: array
          items:
            $ref: '#/components/schemas/EventDetail'
        run_object:
          $ref: '#/components/schemas/ExperimentRunObject'
      required:
        - status
        - success
        - passed
        - failed
        - metrics
        - datapoints
        - event_details
        - run_object
      description: >-
        Evaluation summary for an experiment run: pass/fail results, metric
        aggregations, per-datapoint results, event details, and the experiment
        run object.
    MetricsAggregation:
      type: object
      properties:
        aggregation_function:
          type: string
        details:
          type: array
          items:
            $ref: '#/components/schemas/MetricDetail'
    DatapointResult:
      type: object
      properties:
        datapoint_id:
          type:
            - string
            - 'null'
        session_id:
          type: string
        passed:
          type: boolean
        metrics:
          type: array
          items: {}
      required:
        - session_id
        - passed
    EventDetail:
      type: object
      properties:
        event_name:
          type: string
        event_type:
          type: string
      required:
        - event_name
        - event_type
    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
    MetricDetail:
      type: object
      properties:
        metric_name:
          type: string
        metric_type:
          type: string
          enum:
            - COMPOSITE
            - PYTHON
            - LLM
            - HUMAN
            - CLIENT_SIDE
          description: Type of metric evaluator
        event_name:
          type: string
          description: Name of the event this metric was computed on
        event_type:
          type: string
          description: Type of event (model, tool, chain, session)
        aggregate:
          type: number
          description: Aggregated metric value
        values:
          type: array
          items:
            type: number
          description: Individual metric values across datapoints
        passing_range:
          $ref: '#/components/schemas/PassingRange'
        datapoints:
          $ref: '#/components/schemas/MetricDatapoints'
      required:
        - metric_name
    PassingRange:
      type: object
      properties:
        min:
          type: number
        max:
          type: number
    MetricDatapoints:
      type: object
      properties:
        passed:
          type: array
          items:
            type: string
          description: Datapoint/session IDs that passed this metric
        failed:
          type: array
          items:
            type: string
          description: Datapoint/session IDs that failed this metric
      required:
        - passed
        - failed
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer

````