Skip to main content
GET
/
api
/
parea
/
v1
/
experiment
/
{experiment_uuid}
/
stats
Get Experiment Stats Api
curl --request GET \
  --url https://parea-ai-backend-us-9ac16cdbc7a7b006.onporter.run/api/parea/v1/api/parea/v1/experiment/{experiment_uuid}/stats \
  --header 'x-user-id: <api-key>'
{
  "parent_trace_stats": [
    {
      "trace_id": "<string>",
      "latency": 0,
      "input_tokens": 0,
      "output_tokens": 0,
      "total_tokens": 0,
      "cost": 123,
      "scores": [
        {
          "name": "<string>",
          "score": 123,
          "evaluation_metric_id": 123,
          "reason": "<string>"
        }
      ]
    }
  ]
}

Authorizations

x-user-id
string
header
required

Path Parameters

experiment_uuid
string
required

Response

Successful Response

Contains aggregated stats of all root trace logs of an experiment.

parent_trace_stats
TraceStatsSchema · object[]
required

Stats of root-level trace logs of an experiment