DeploymentOperations
The deployment.* operations.
Methods
Section titled “Methods”reload()
Section titled “reload()”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.
Parameters
Section titled “Parameters”| 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 |
- |
Returns
Section titled “Returns”Promise<Reloaded>
nodes()
Section titled “nodes()”nodes(options?): Promise<Nodes>;List nodes.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
options? |
CallOptions |
Returns
Section titled “Returns”Promise<Nodes>
runtime()
Section titled “runtime()”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.
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
input? |
{ limit?: number; } |
- |
input.limit? |
number |
The number of agents to return. Defaults to 20. |
options? |
CallOptions |
- |
Returns
Section titled “Returns”Promise<Runtime>