Skip to content

Get AI Agent

GET /agents/{agentId}

Get AI Agent based on Id

curl --location 'https://ekoai.ekoapp.com/agents/{agentId}' \
--header 'Authorization: Bearer {token}'

Headers

Name Value
Content-Type application/json
Authorization Bearer <token>

Response

{
"name": "EkoAI_ekoai_demo_ai_assistant",
"type": "tools",
"tools": {
"report_builder": {
"toolName": "report_builder",
"config": {
"timezone": "Asia/Bangkok"
}
},
"research": {
"toolName": "research",
"config": {
"allowedResearchTypes": [
"web_search",
"news",
"images",
"videos",
"shopping",
"places"
]
}
},
"web_scraper": {
"toolName": "web_scraper"
},
"image_generator": {
"toolName": "image_generator",
"config": {
"image_preference": ""
}
}
},
"features": {
"generative_dashboard": true,
"inner_thought": true,
"secure_report": false,
"suggested_questions": true
},
"homeScreen": {
"title": "",
"description": "",
"predefinedPrompts": [
{
"title": "Text me message",
"text": "send me some message",
"icon": {
"color": "#ffb400",
"id": "comment"
}
}
]
},
"systemPrompt": "String",
"id": "{clientId}",
"networkId": "{networkId}",
"model": "gpt-4o",
"channels": [
{
"channelType": "eko",
"clientId": "{clientId}",
"clientSecret": "{clientSecret}",
"ekoaiUrl": "https://ekogreen-h1.ekoapp.com",
"channelId": "{clientId}"
}
],
"_ts": 1738210137
}