Skip to content

DeploymentOperations

The deployment.* operations.

reload(input?, options?): Promise<Reloaded>;

Reload agent definitions.

Running agents use their current definition from their next turn. Sleeping agents use it when they wake. If you set agents, only those agents are updated. The node that handles the request also reloads its agent declarations, MCP servers and triggers.

Parameter Type Description
input? { agents?: string[]; } -
input.agents? string[] Agent IDs, each listed once. Each includes its conversations. Defaults to every agent you can access.
options? CallOptions -

Promise<Reloaded>


nodes(options?): Promise<Nodes>;

List nodes.

Parameter Type
options? CallOptions

Promise<Nodes>


runtime(input?, options?): Promise<Runtime>;

Read resource use.

Returns memory, CPU and process figures for each node, and the running agents that use the most memory. Measuring scheduler use takes 250 ms.

Parameter Type Description
input? { limit?: number; } -
input.limit? number The number of agents to return. Defaults to 20.
options? CallOptions -

Promise<Runtime>