ℹ️ These docs are for the v2.0 version of Galileo. Documentation for v1.0 version can be found here.
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
}
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
}
Successful Response
The response is of type object
.
Was this page helpful?