Docs

Control Plane — API Reference

HTTP endpoints served by the control-plane for this capability (13 endpoints). 9 response schemas could not be derived from source and are recorded as unknown.

Product v2.0.0Generated reference

Endpoints

GET /api/auth/me
description
GetMe returns the current persona.
response type
map[string]any
middleware
PersonaMiddleware(...)
GET /api/auth/personas
description
GetPersonas returns the list of available personas.
middleware
PersonaMiddleware(...)

Not established by this snapshot: could not resolve the type produced for response variable "options"

POST /api/auth/switch
description
SwitchPersona sets the persona cookie.
middleware
PersonaMiddleware(...)

Not established by this snapshot: response is an untyped map[string]string; field-level shape is not derivable from source

GET /api/control-plane/impersonation/{grantId}
middleware
PersonaMiddleware(...), AuthMiddleware(...)

Not established by this snapshot: handler body could not be resolved from source

POST /api/control-plane/impersonation/{grantId}/extend
middleware
PersonaMiddleware(...), AuthMiddleware(...)

Not established by this snapshot: handler body could not be resolved from source

POST /api/control-plane/impersonation/{grantId}/revoke
middleware
PersonaMiddleware(...), AuthMiddleware(...)

Not established by this snapshot: handler body could not be resolved from source

POST /api/control-plane/tenants/{tenantId}/impersonate
middleware
PersonaMiddleware(...), AuthMiddleware(...)

Not established by this snapshot: handler body could not be resolved from source

GET /api/control-plane/tenants/{tenantId}/impersonation
middleware
PersonaMiddleware(...), AuthMiddleware(...)

Not established by this snapshot: handler body could not be resolved from source

GET /api/control-plane/tenants/{tenantId}/impersonation/active
description
getActive is the DP-facing read: "is a grant active right now for this tenant?" DPs poll this and, if a grant is active, render the in-tenant banner naming the staff email + expiry + reason. No secrets returned.
middleware
PersonaMiddleware(...)
POST /api/cp/v1/heartbeat
middleware
PersonaMiddleware(...)

Not established by this snapshot: response is an untyped map[string]string; field-level shape is not derivable from source

POST /api/cp/v1/register
middleware
PersonaMiddleware(...)

Not established by this snapshot: response is an untyped map[string]string; field-level shape is not derivable from source

GET /healthz
middleware
PersonaMiddleware(...)
GET /readyz
middleware
PersonaMiddleware(...)

Verification

Route extraction agrees with the runtime chi.Walk census for this plane.
matched
58
runtime only
0
About this page and its source

Knowledge ID: platform-administration.control-plane.api. Reference snapshot: c60ee75. Generated 2026-10-28. Authored explanations accompany source-derived facts; a build date does not establish runtime support.