Count feedback records per taxonomy node
GET/v1/taxonomy/runs/{run_id}/record-counts
Returns the feedback-record count for every visible node in a taxonomy run. Each count is a subtree total, so a topic (branch) reports the sum of its subtopics and the root reports the run total. Tenant-scoped; returns 404 if the run does not belong to the tenant.
Path Parameters
run_id: string
formatuuid
Query Parameters
tenant_id: string
Tenant that owns the run.
minLength1
maxLength255
Returns
Count feedback records per taxonomy node
curl http://localhost:8080/v1/taxonomy/runs/$RUN_ID/record-counts \
-H "Authorization: Bearer $HUB_API_KEY"{
"counts": [
{
"node_id": "019f177f-9aa3-705e-8195-cea2aa187268",
"record_count": 42
}
]
}Returns Examples
{
"counts": [
{
"node_id": "019f177f-9aa3-705e-8195-cea2aa187268",
"record_count": 42
}
]
}