Skip to content

GET /api/v1/admin/orgs

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.

--- Org CRUD --------------------------------------------------------------- GET /api/v1/admin/orgs — list all orgs (no pagination yet; orgs are expected to fit on a single page for the foreseeable future).

{
"count": <member-expr>,
"orgs": <rows>
}
  • File: src/admin/routes.ts
  • Line: 3871