GET
/
api
/
parea
/
v1
/
experiment
/
{experiment_uuid}
/
stats
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": [
    {
      "cost": 0.5,
      "input_tokens": 100,
      "latency": 0.5,
      "output_tokens": 200,
      "scores": [
        {
          "name": "accuracy",
          "score": 0.5
        }
      ],
      "total_tokens": 300,
      "trace_id": "sasdc-csd-rnFesaeCpqcXJ_yL3wi"
    }
  ]
}

Authorizations

x-user-id
string
header
required

Path Parameters

experiment_uuid
string
required

Response

200
application/json
Successful Response

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

parent_trace_stats
object[]
required

Stats of root-level trace logs of an experiment

Aggregates stats for a trace and its children.