POST
/
v2
/
projects
/
{project_id}
/
traces
/
aggregated
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>"
}'
{
  "nodes": [
    {
      "id": "<string>",
      "name": "<string>",
      "type": "llm",
      "occurrences": 123,
      "parent_id": "<string>",
      "has_children": true
    }
  ],
  "edges": [
    {
      "source": "<string>",
      "target": "<string>",
      "weight": 123
    }
  ]
}

Authorizations

Galileo-API-Key
string
header
required

Path Parameters

project_id
string
required

Body

application/json

Response

200
application/json

Successful Response

The response is of type object.