Overview
Returns the top-level groups of your project, each with its descendants nested underchild_groups.
GET /api/groups/hierarchy
Authentication
X-API-Key: YOUR_API_KEY or Authorization: Bearer YOUR_JWT. A read-only API key is sufficient. Add X-Project-ID: PROJECT_ID to read a project other than your default.
Response
200 OK. data is an array of top-level group objects, each with a child_groups array and check_count.
organization_id, project_id and created_at are omitted from the example for brevity.)