Skip to main content

Aggregate entities of a graph database

POST 

/api/graph/graphdbs/:graphDBId/aggregate

Groups the entities of one type by a property and returns each value with its count. Supported on v2 graph databases only; v1 (deprecated) graph databases return 400.

Counts are limited to the entities the caller can read; administrators see all entities.

Requires the content-lake-api.graphs.read permission (or hxpr.manage.everything).

Request​

Responses​

The groups and their counts.