Get Agent
GET/conversation-ai/agents/:agentId
Retrieves a specific AI agent by its ID. Returns the complete agent configuration including name, status, actions, and settings.
Request
API Version
v3Conversations AI agent id
Successful response
- application/json
- Schema
- Example (auto)
Schema
Unique identifier for the agent.
Name of the agent.
Name of the business the agent represents.
Current operating mode of the agent.
offsuggestiveauto-pilotCommunication channels the agent operates on.
IGFBSMSWebChatWhatsAppLive_ChatWait time before agent responds.
Unit for wait time.
minutessecondsIndicates if sleep functionality is enabled.
Duration of sleep period.
Unit of sleep time.
hoursminutessecondsList of actions associated with this agent.
Indicates if this agent is a primary agent.
Maximum number of messages in auto-pilot mode before requiring human intervention.
The goal of the agent.
Personality traits of the agent.
Instructions for the agent.
Array of knowledge base IDs associated with this agent.
Whether the bot sleeps on manual outbound messages.
Whether the bot sleeps on workflow outbound messages.
{
"id": "emp_123",
"name": "John Doe",
"businessName": "Tech Corp",
"mode": "auto-pilot",
"channels": [
"SMS",
"Live_Chat"
],
"waitTime": 30,
"waitTimeUnit": "seconds",
"sleepTime": 2,
"sleepTimeUnit": "hours",
"actions": [
{
"id": "actionId123",
"type": "triggerWorkflow"
}
],
"isPrimary": false,
"autoPilotMaxMessages": 25,
"goal": "Assist customers with inquiries",
"personality": "Friendly and helpful",
"instructions": "Provide excellent customer service",
"knowledgeBaseIds": [
"kb_123",
"kb_456"
],
"sleepOnManualMessage": false,
"sleepOnWorkflowMessage": false
}