`GET /api/hub/summary` — the Build-hub tab-rail per-kind totals for the active workspace (one round-trip; replaces the FE's four list-length over-fetches).
GET
/api/hub/summary
const url = 'https://example.com/api/hub/summary';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/api/hub/summaryResponses
Section titled “Responses”Media typeapplication/json
GET /api/hub/summary body — per-kind totals for the Build hub tab-rail.
object
apps
required
integer format: int64
schedules
required
integer format: int64
scripts
required
integer format: int64
workflows
required
integer format: int64
Examplegenerated
{ "apps": 1, "schedules": 1, "scripts": 1, "workflows": 1}