Aggregate Agent Data
POST/api/v1/beta/agent-data/:aggregate
Aggregate agent data with grouping and optional counting/first item retrieval.
Query Parameters
organization_id: optional string
project_id: optional string
Cookie Parameters
session: optional string
Body Parameters
Returns
Aggregate Agent Data
curl https://api.cloud.llamaindex.ai/api/v1/beta/agent-data/:aggregate \
-H 'Content-Type: application/json' \
-H "Authorization: Bearer $LLAMA_CLOUD_API_KEY" \
-d '{
"deployment_name": "deployment_name"
}'{
"items": [
{
"group_key": {
"foo": "bar"
},
"count": 0,
"first_item": {
"foo": "bar"
}
}
],
"next_page_token": "next_page_token",
"total_size": 0
}Returns Examples
{
"items": [
{
"group_key": {
"foo": "bar"
},
"count": 0,
"first_item": {
"foo": "bar"
}
}
],
"next_page_token": "next_page_token",
"total_size": 0
}