POST
/
v2
/
projects
/
{project_id}
/
traces
/
aggregated
Get Aggregated Trace View
curl --request POST \
  --url https://api.galileo.ai/v2/projects/{project_id}/traces/aggregated \
  --header 'Content-Type: application/json' \
  --header 'Galileo-API-Key: <api-key>' \
  --data '{
  "log_stream_id": "<string>",
  "filters": [
    {
      "column_id": "<string>",
      "value": "<string>",
      "type": "id"
    }
  ]
}'
{
  "graph": {
    "nodes": [
      {
        "id": "<string>",
        "name": "<string>",
        "type": "llm",
        "occurrences": 123,
        "parent_id": "<string>",
        "has_children": true,
        "metrics": {},
        "trace_count": 123,
        "weight": 123
      }
    ],
    "edges": [
      {
        "source": "<string>",
        "target": "<string>",
        "weight": 123,
        "occurrences": 123
      }
    ]
  },
  "num_traces": 123,
  "num_sessions": 123,
  "start_time": "2023-11-07T05:31:56Z",
  "end_time": "2023-11-07T05:31:56Z",
  "has_all_traces": true
}

Authorizations

Galileo-API-Key
string
header
required

Path Parameters

project_id
string<uuid4>
required

Body

application/json

Response

200
application/json

Successful Response

The response is of type object.