Packages
A Fair Source multi-agent runtime with deterministic agent scoring and replayable run history.
Retired package: Deprecated - superseded — operator console moved to the Syntropy app
Current section
Files
Jump to
Current section
Files
lib/syntropy_web/controllers/api/cluster_controller.ex
defmodule SyntropyWeb.Api.ClusterController do
use SyntropyWeb, :controller
alias Syntropy.ClusterMonitor
alias SyntropyWeb.Api.ClusterJSON
@spec show(Plug.Conn.t(), map()) :: Plug.Conn.t()
def show(conn, _params) do
json(conn, %{data: ClusterJSON.report(ClusterMonitor.report())})
end
end