Skip to main content

operators_list

Function operators_list 

Source
pub async fn operators_list(__arg0: State<AppState>) -> Response
Expand description

GET /v1/operators. Read-only enumeration of every live session’s {sid, roles, joined_at_secs, connected} (GH #81 Layer 2 (b)). Same trust tier as GET /v1/status — no Bearer required; sids are identifiers, not secrets. Answers “which sid holds main-ai?” without probing every sid individually via GET /v1/operators/:sid, which was the pre-#81 recovery gap.