Skip to main content
Version: v3

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​

Version stringrequired

API Version

Available optionsv3
agentId stringrequired

Conversations AI agent id

application/json

Successful response

Schema
    idstringrequired

    Unique identifier for the agent.

    namestringrequired

    Name of the agent.

    businessNamestring

    Name of the business the agent represents.

    modestringrequired

    Current operating mode of the agent.

    Available optionsoffsuggestiveauto-pilot
    channelsstring[]required

    Communication channels the agent operates on.

    Available optionsIGFBSMSWebChatWhatsAppLive_ChatEmail
    waitTimenumberrequired

    Wait time before agent responds.

    waitTimeUnitstringrequired

    Unit for wait time.

    Available optionsminutesseconds
    sleepEnabledbooleanrequireddeprecated

    Indicates if sleep functionality is enabled.

    sleepOnManualMessageboolean

    Whether the bot sleeps on manual outbound messages.

    sleepOnWorkflowMessageboolean

    Whether the bot sleeps on workflow outbound messages.

    sleepTimenumber

    Duration of sleep period.

    sleepTimeUnitstring

    Unit of sleep time.

    Available optionshoursminutesseconds
    emailWaitTimenumber

    Email-specific wait time (max 12 hours).

    emailWaitTimeUnitstring

    Unit for email wait time.

    Available optionssecondsminuteshours
    emailSettingsobject

    Email channel formatting settings.

    actionsobject[]required

    List of actions associated with this agent.

    isPrimarybooleanrequired

    Indicates if this agent is a primary agent.

    autoPilotMaxMessagesnumberrequired

    Maximum number of messages in auto-pilot mode before requiring human intervention.

    goalstring

    The goal of the agent.

    personalitystring

    Personality traits of the agent.

    instructionsstring

    Instructions for the agent.

    fullPromptstring

    Complete agent prompt when stored; when set and non-empty, used as the source of truth at generation time.

    knowledgeBaseIdsstring[]

    Array of knowledge base IDs associated with this agent.

    knowledgeBaseTriggersobject[]

    Knowledge base trigger configurations

    workingHoursobjectnullable

    Working-hours schedule for this agent, or null when not configured. Manage it via the /working-hours routes.