GET
/
runs
/
{run_id_1}
/
compare-with
/
{run_id_2}
curl --request GET \
  --url https://api.honeyhive.ai/runs/{run_id_1}/compare-with/{run_id_2} \
  --header 'Authorization: Bearer <token>'
{
  "metrics": [
    {
      "metric_name": "<string>",
      "event_name": "<string>",
      "metric_type": "<string>",
      "event_type": "<string>",
      "old_aggregate": 123,
      "new_aggregate": 123,
      "found_count": 123,
      "improved_count": 123,
      "degraded_count": 123,
      "same_count": 123,
      "improved": [
        "<string>"
      ],
      "degraded": [
        "<string>"
      ],
      "same": [
        "<string>"
      ],
      "old_values": [
        123
      ],
      "new_values": [
        123
      ]
    }
  ],
  "commonDatapoints": [
    "<string>"
  ],
  "event_details": [
    {
      "event_name": "<string>",
      "event_type": "<string>",
      "presence": "<string>"
    }
  ],
  "old_run": {
    "_id": "<string>",
    "run_id": "<string>",
    "project": "<string>",
    "tenant": "<string>",
    "created_at": "2023-11-07T05:31:56Z",
    "event_ids": [
      "<string>"
    ],
    "session_ids": [
      "<string>"
    ],
    "dataset_id": "<string>",
    "datapoint_ids": [
      "<string>"
    ],
    "evaluators": [
      {}
    ],
    "results": {},
    "configuration": {},
    "metadata": {},
    "passing_ranges": {},
    "status": "<string>",
    "name": "<string>"
  },
  "new_run": {
    "_id": "<string>",
    "run_id": "<string>",
    "project": "<string>",
    "tenant": "<string>",
    "created_at": "2023-11-07T05:31:56Z",
    "event_ids": [
      "<string>"
    ],
    "session_ids": [
      "<string>"
    ],
    "dataset_id": "<string>",
    "datapoint_ids": [
      "<string>"
    ],
    "evaluators": [
      {}
    ],
    "results": {},
    "configuration": {},
    "metadata": {},
    "passing_ranges": {},
    "status": "<string>",
    "name": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

run_id_1
string
required
run_id_2
string
required

Query Parameters

project_id
string
required
aggregate_function
enum<string>
Available options:
average,
min,
max,
median,
p95,
p99,
p90,
sum,
count

Response

200
application/json
Experiment comparison retrieved successfully
metrics
object[]
commonDatapoints
string[]
event_details
object[]
old_run
object
new_run
object