Skip to content

consolidations operations

The exact fields each consolidations.* operation takes and returns.

Every op is POST /v1/<op> over HTTP and the MCP tool loom_<op>. The identity fields (org, namespace, agent, user_id, session_id) are filled from the token and the MCP session when a transport can; for an HTTP call with no token on a single-user server, the install's org on every op but code.* and tracker.* (which keep their plane's), and on some ops its namespace and agent; see identities and namespaces. The operations index explains role, kind and the MCP all listing. Unknown input fields are served and named in ignored_args.

consolidations.list

Namespace-scoped consolidation-run history. agent + user_id are optional — runs aggregate across them when omitted.

POST /v1/consolidations.list · MCP loom_consolidations_list · role viewer · read · not listed under the MCP all toolset

Input field Type Default Meaning
org str required The tenant (first element of the identity tuple).
namespace str required The namespace the op reads or writes.
agent str '-' The writing or reading agent; '-' or '*' means any agent where the op allows it.
user_id str '-' The end user the row belongs to; '-' for none.
session_id str '-' The session or conversation the row belongs to; '-' for none.
run_id str '-' The agent run (task scope) the call belongs to; '-' for none.
limit int 50 At most this many runs returned, newest first.
Output field Type Meaning
rows list[ConsolidationRunRow] The namespace's consolidation runs, newest first, one per cluster examined.