AI Agents

Get all AI Agents

Retrieves all AI Agents associated to the account.

GET/v1/accounts/:accountID/applications/:applicationID/ai-agents
Click to copy
curl --request GET \
--url http://api.sidecarcx.com/v1/accounts/:accountID/applications/:applicationID/ai-agents \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN'

Path Parameters

  • :accountID - REQUIRED[String]

    The referenced account ID.

  • :applicationID - REQUIRED[String]

    The referenced application ID.

Ai Agents Response - [Map]

List of AI agents.

Attributes

  • aiAgents - REQUIRED[Array]

    The list of AI agents.

    List Contents- type of [Map]
    • aiAgentID - REQUIRED[String]

      The unique identifier for the AI agent.

    • createdAt - REQUIRED[String]

      The date the AI agent was created.

    • inputPlaceholder - REQUIRED[String]

      The widget input field placeholder that the user will see.

    • name - REQUIRED[String]

      The name of the AI agent.

    • primaryColor - REQUIRED[String]

      The primary color the widget.

    • updatedAt - REQUIRED[String]

      The date the AI agent was last updated.

    • welcomeMessage - REQUIRED[String]

      The AI agents welcoming message when it enters chant.

    • widgetAppImageURL - REQUIRED[String]

      The URL for the app image.

    • widgetAvatarURL - REQUIRED[String]

      The URL for the support agent avatar.

    • widgetFontSize - REQUIRED[Integer]

      The widget font size as px units.

    • widgetSubtext - REQUIRED[String]

      The widget subtext.

    • widgetTitle - REQUIRED[String]

      The widget header title.

  • totalAiAgents - REQUIRED[Integer]

    The number of AI agents in the list.

Ai Agents Response Shape
Click to copy
{
"aiAgents": [
{
"aiAgentID": "string",
"createdAt": "string",
"inputPlaceholder": "string",
"name": "string",
"primaryColor": "string",
"updatedAt": "string",
"welcomeMessage": "string",
"widgetAppImageURL": "string",
"widgetAvatarURL": "string",
"widgetFontSize": 0,
"widgetSubtext": "string",
"widgetTitle": "string"
}
],
"totalAiAgents": 0
}

Errors

A common set of Error Responses can be found here.