Help us improve our product documentation on docs.cognigy.com by sharing your thoughts in a quick survey. Your feedback shapes the future of our content!
Help us improve our product documentation on docs.cognigy.com by sharing your thoughts in a quick survey. Your feedback shapes the future of our content!
Get all AI Agent nodes from the Chart of the specified Flow with full AI Agent details.
curl --request GET \
--url 'https://api-trial.cognigy.ai/new/v2.0/flows/{flowId}/chart/nodes/aiagents?api_key=' \
--header 'Authorization: Bearer <token>' \
--header 'X-API-Key: <api-key>'{
"items": [
{
"_id": "<string>",
"type": "if",
"referenceId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"extension": "@cognigy/basic-nodes",
"label": "A new Node",
"analyticsLabel": "Step name",
"comment": "this is a very important node",
"commentColor": "#ff8a80",
"isCollapsed": false,
"isEntryPoint": false,
"isDisabled": false,
"name": "Cognigy AI Agent",
"image": "https://cognigy.com/ai-agent.png",
"imageOptimizedFormat": true,
"knowledgeReferenceId": "c7b3b3b3-3b3b-3b3b-3b3b-3b3b3b3b3b3b",
"description": "I am a virtual assistant that can help you with your questions.",
"speakingStyle": {
"completeness": "concise",
"formality": "formal"
},
"voiceConfigs": {
"ttsVoice": "Xb7hH8MSUJpSbSDYk0k2",
"ttsLanguage": "zh",
"ttsVendor": "Elevenlabs",
"ttsModel": "eleven_multilingual_v2",
"ttsLabel": "microsoft US",
"ttsDisableCache": false
},
"enableVoiceConfigs": false,
"safetySettings": {
"avoidHarmfulContent": true,
"avoidUngroundedContent": true,
"avoidCopyrightInfringements": true,
"preventJailbreakAndManipulation": true
},
"contactProfilesOption": "selectedProfileFields",
"contactProfilesSelected": [
"name",
"email"
],
"instructions": "I can help you with your questions, provide information and much more.",
"createdAt": 1694518620,
"lastChanged": 1694518620,
"createdBy": "<string>",
"lastChangedBy": "<string>",
"nodeId": "<string>"
}
],
"total": 2
}Supply the API Key in the HTTP-Header
Supply the API Key in the Url-Query
The access token received from the authorization server in the OAuth 2.0 flow.
The default media type is application/hal+json. Use application/json for pure data results.
application/json, application/hal+json, application/xml, text/xml, text/csv The Id of the Flow
2424Returns AI Agents used in the Flow
Show child attributes
24"if"
"@cognigy/basic-nodes"
"A new Node"
"Step name"
"this is a very important node"
"#ff8a80"
false
false
false
"Cognigy AI Agent"
Avatar of the AI Agent.
"https://cognigy.com/ai-agent.png"
Whether the optimized image format defined by Cognigy is used.
true
A referenceId of a Knowledge Store this Agent will use as base knowledge or null.
"c7b3b3b3-3b3b-3b3b-3b3b-3b3b3b3b3b3b"
A short description of the AI Agent, up to 1000 characters.
1000"I am a virtual assistant that can help you with your questions."
Show child attributes
aws, deepgram, elevenlabs, google, microsoft, nuance, default, custom, none {
"ttsVoice": "Xb7hH8MSUJpSbSDYk0k2",
"ttsLanguage": "zh",
"ttsVendor": "Elevenlabs",
"ttsModel": "eleven_multilingual_v2",
"ttsLabel": "microsoft US",
"ttsDisableCache": false
}Enables the use of voice configuration.
false
Option to enable or customize Contact profiles selection for the AI Agent.
none, selectedProfileFields, completeProfile, profileMemoriesOnly "selectedProfileFields"
Selected contact profiles for the AI Agent, it is used only when contactProfilesOption is set to 'selectedProfileFields'.
["name", "email"]Instructions for the AI Agent.
1000"I can help you with your questions, provide information and much more."
Unix-timestamp
0 <= x <= 21474836471694518620
Unix-timestamp
0 <= x <= 21474836471694518620
2424242
curl --request GET \
--url 'https://api-trial.cognigy.ai/new/v2.0/flows/{flowId}/chart/nodes/aiagents?api_key=' \
--header 'Authorization: Bearer <token>' \
--header 'X-API-Key: <api-key>'{
"items": [
{
"_id": "<string>",
"type": "if",
"referenceId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"extension": "@cognigy/basic-nodes",
"label": "A new Node",
"analyticsLabel": "Step name",
"comment": "this is a very important node",
"commentColor": "#ff8a80",
"isCollapsed": false,
"isEntryPoint": false,
"isDisabled": false,
"name": "Cognigy AI Agent",
"image": "https://cognigy.com/ai-agent.png",
"imageOptimizedFormat": true,
"knowledgeReferenceId": "c7b3b3b3-3b3b-3b3b-3b3b-3b3b3b3b3b3b",
"description": "I am a virtual assistant that can help you with your questions.",
"speakingStyle": {
"completeness": "concise",
"formality": "formal"
},
"voiceConfigs": {
"ttsVoice": "Xb7hH8MSUJpSbSDYk0k2",
"ttsLanguage": "zh",
"ttsVendor": "Elevenlabs",
"ttsModel": "eleven_multilingual_v2",
"ttsLabel": "microsoft US",
"ttsDisableCache": false
},
"enableVoiceConfigs": false,
"safetySettings": {
"avoidHarmfulContent": true,
"avoidUngroundedContent": true,
"avoidCopyrightInfringements": true,
"preventJailbreakAndManipulation": true
},
"contactProfilesOption": "selectedProfileFields",
"contactProfilesSelected": [
"name",
"email"
],
"instructions": "I can help you with your questions, provide information and much more.",
"createdAt": 1694518620,
"lastChanged": 1694518620,
"createdBy": "<string>",
"lastChangedBy": "<string>",
"nodeId": "<string>"
}
],
"total": 2
}