Skip to main content

Overview

Returns the top-level groups of your project, each with its descendants nested under child_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.

Example

Response

200 OK. data is an array of top-level group objects, each with a child_groups array and check_count.
(Other group fields such as organization_id, project_id and created_at are omitted from the example for brevity.)

Errors