API reference: Console data
Cloud Control's console-data endpoint: the empty-to-real cutover seam that serves the console's datasets with per-section provenance, freshness and the caller org's feature flags.
The single endpoint that feeds the console's screens. It is the empty-to-real cutover seam described in From empty to real.
GET
/api/console/dataSessionReturn the console datasets for the caller's org, plus the org's feature flags. Never-connected orgs get an empty envelope; connected orgs get real, shaped sections with freshness.
Example response
json
// Never-connected org:
{ "empty": true, "features": { "pipelines": true }, "data": { "…": "empty datasets" } }
// After cutover:
{ "features": { … }, "data": { … },
"sections": { "inventory": "real", "cost": "real", "pipelines": "empty" },
"freshness": { "inventory": { "at": "…", "stale": false, "sla": 3600 } } }Errors
| Status | When |
|---|---|
401 | Not signed in. |
The features object carries the org's platform-managed feature flags: an absent key means enabled; an explicit false hides that console surface.