Get Connected Org Stats
connected-orgs
Get Connected Org Stats
Aggregate statistics for a single connected org (per-org drill-down).
GET
Get Connected Org Stats
Authorizations
Headers
Path Parameters
Cookies
Response
Successful Response
Per-connected-org stats payload (scoped to one connected org).
Artifact-count semantics (every count is a raw artifact-row count — no
canonical-name dedup — so all surfaces agree). Consumption is computed by the
single source of truth src/graph/artifact_stats.py (the type-matched
union), so an artifact's orphan status here always matches its is_orphan
on GET /connected-orgs/{id}/artifacts:
total_artifact_rows— every artifact row the org produces (matches theX-Total-Countheader ofGET /connected-orgs/{id}/artifacts).orphan_artifact_count— rows with zero consumers (consumer_count == 0). Equals the count ofis_orphan==truerows on the artifacts endpoint and the Artifacts page "Hide orphans (N)" toggle.consumed_artifact_count— rows with at least one consumer (== total_artifact_rows - orphan_artifact_count).artifact_type_breakdown— count of all artifact rows grouped byartifact_type(includes every type present; never drops one). Invariant:sum(artifact_type_breakdown.values()) == total_artifact_rows.
Aggregate health indicators.
Summary of the most recent scan.
