Skip to content

AgentsOperations

The agents.* operations.

list(input?, options?): Promise<AgentSummary[]>;

List the agents.

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 -

Promise<AgentSummary[]>


forget(input?, options?): Promise<Forgotten>;

Forget the agents.

Each agent goes as agent.forget takes it: stopped, with its conversation, definition and triggers deleted.

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 -

Promise<Forgotten>


cancel(input?, options?): Promise<string[]>;

Stop what the agents are doing.

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 -

Promise<string[]>