Skip to main content
Returns one agent. Use it to check the greeting, the outcomes it can report, or which {{variables}} you must send when calling.

Path

number
required
Agent ID from List agents.
The example is shortened. The response has a few more settings fields.

Response

string
The agent’s instructions, as you see them in the dashboard. Hidden parts written by Scalysis AI are not returned.
string
The first line the agent says.
string[]
Outcomes from a real conversation. These are the values you get back as the call outcome.
string[]
Outcomes when no real conversation happened, like voicemail.
string
The agent’s voice.
number
Retry count saved on the agent. Campaigns use their own retry settings.
number
Minutes between retries saved on the agent.
object
Knowledge books attached to the agent.
Every {{name}} in contentVisible or initialGreeting must be sent when you call. Or use Prepare chat: it lists them for you.