Read-only views of the Optimal AI agent fleet.
Routes live under /api/v1/command-center/ and require a JWT or
msk_u_* API key.
Summary
Functions
List all agents in the fleet (GET /command-center/agents).
Stream live command-center events via SSE (GET /command-center/events).
Get fleet-wide metrics snapshot (GET /command-center/metrics).
Top-level fleet snapshot (GET /command-center).
List agent execution presets (GET /command-center/presets).
List currently running agents (GET /command-center/agents/running).
Get agent tier configuration (GET /command-center/tiers).
Functions
@spec agents(Miosa.Client.t()) :: Miosa.Client.result(list())
List all agents in the fleet (GET /command-center/agents).
@spec events(Miosa.Client.t(), function()) :: :ok | {:error, Miosa.Error.t()}
Stream live command-center events via SSE (GET /command-center/events).
callback is invoked for each event map with keys type and data.
Returns :ok when the stream closes or {:error, reason} on failure.
@spec metrics(Miosa.Client.t()) :: Miosa.Client.result(map())
Get fleet-wide metrics snapshot (GET /command-center/metrics).
@spec overview(Miosa.Client.t()) :: Miosa.Client.result(map())
Top-level fleet snapshot (GET /command-center).
@spec presets(Miosa.Client.t()) :: Miosa.Client.result(list())
List agent execution presets (GET /command-center/presets).
@spec running_agents(Miosa.Client.t()) :: Miosa.Client.result(list())
List currently running agents (GET /command-center/agents/running).
@spec tiers(Miosa.Client.t()) :: Miosa.Client.result(map())
Get agent tier configuration (GET /command-center/tiers).