DeploymentOperations
The deployment.* operations.
Methods
Section titled “Methods”reload()
Section titled “reload()”reload(input?, options?): Promise<Reloaded>;Read every agent's definition again.
Each awake agent takes its definition as it reads now from its next turn, and each sleeping one as it wakes. With agents, only those agents are brought to theirs. The node that answers reads its declarations, servers and triggers again too.
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
input? |
{ agents?: string[]; } |
- |
input.agents? |
string[] |
The agents to cover, by ID, given once for each. Each covers its conversations too. Every agent you may see unless set. |
options? |
CallOptions |
- |
Returns
Section titled “Returns”Promise<Reloaded>
nodes()
Section titled “nodes()”nodes(options?): Promise<Nodes>;List the deployment's nodes.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
options? |
CallOptions |
Returns
Section titled “Returns”Promise<Nodes>