Skip to main content
GET
Get event metrics for an experiment run

Authorizations

Authorization
string
header
required

A fine-grained data plane API key (values begin with hh_fgdp_). Rooted at an organization, workspace, or project, it carries the permissions chosen when it was created, and only the operations whose paths begin with /v1/projects/{project_id}/ accept it. Create one in the HoneyHive app under the project's, workspace's, or organization's Settings → API Keys, on the Data Plane tab.

Path Parameters

project_id
string
required

The unique identifier of the project that holds the run

run_id
string<uuid>
required

Experiment run ID (UUIDv4)

Query Parameters

dateRange
string

Date range filter as JSON string

filters

Optional filters to apply (JSON string or array of filter objects)

Response

Event metrics retrieved successfully

Response for GET /runs/{run_id}/metrics

events
object[]
required
totalEvents
integer
required

Total number of events matching the query