Skip to content

GET /api/v1/admin/orgs/:slug/overview

This page is auto-generated from src/admin/routes.ts. Do not edit by hand — see docs/dev/docs-auto-sync.md.

:warning: Heuristic extraction — not a contract. Response shapes below are mined from c.json(...) literals in the handler via an AST walker. Computed fields, ternaries, and non-literal returns are shown as placeholders. Refer to the linked source file for the authoritative behaviour.

No requireCapability middleware detected on this route. Surface-level auth (admin token, dashboard session, org API key, anonymous proxy) is enforced by the parent router — see Source below.

GET /api/v1/admin/orgs/:slug/overview

Aggregated dashboard widget bundle for the org-landing page. One scan over 7d audit + small blocklist/projects queries produces every number the overview strip needs (KPIs + trend + verdict mix + top blocked + recent activity + per-project breakdown). See loadOrgOverview for the aggregation contract.

{
"error": "Org not found"
}
{
"org": <member-expr>,
...<spread>
}
  • File: src/admin/routes.ts
  • Line: 7867