Organization hierarchy with rolled-up consumption
The organization's sub-organization tree, each node carrying what its OWN consumers spent (direct) and what the whole subtree spent (rollup); at every node rollup equals direct plus the children's rollup. With level=consumer the consumers themselves are listed, paged. Read from the hourly token rollup, which has no environment dimension, so no environment filter applies.
Request
- Base URLhttp://167.86.118.166:32080
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Project name
Organization code
Query parameters
Start of the period, ISO-8601 UTC (2026-08-01, 2026-08-01T00:00:00Z or an offset date-time). Defaults to 30 days before 'to'.
End of the period, ISO-8601 UTC. Defaults to now. The period may not be inverted or wider than 366 days.
organization (default) for the sub-organization tree, or consumer for the paged consumer list.
With level=consumer, also list the consumers of descendant organizations. Ignored for level=organization.
Zero-based page index.
Page size. Defaults to 20, capped at 200.
Response
successful operation!
Example response
{
"period": {
"from": "2026-08-12T00:00:00Z",
"to": "2026-09-11T00:00:00Z",
"timeZone": "UTC"
},
"dataSource": "ROLLUP_DAILY",
"freshness": "hourly",
"nodes": [
{
"code": "acme-partners"
}
],
"members": {
"content": [
{
"organizationPath": "Acme / Partners"
}
]
}
}Changes
No recorded changes to this operation across all 21 revisions of this API.