AI Agents
Try an agent
POST
Answers one made-up message with the saved settings and says what the agent would do. Sends nothing and uses one AI credit. Needs the admin role. Needs AI Agent on the workspace's account; without it the endpoint answers 404 feature.unavailable.
header
AuthorizationBearer <token>Send your key as Authorization: Bearer eksis_sk_....
agentId*stringapplication/json- body
channelId*stringsource?stringDefault
"dm"Value in
"dm""story"message*stringLength
1 <= length <= 1000What the agent would do.
application/json- response
data?curl -X POST 'https://api.eksis.io/v1/ai-agents/string/test' \ -H 'Authorization: Bearer eksis_sk_...' \ -H 'Content-Type: application/json' \ -d '{ "channelId": "string", "message": "string"}'{ "data": { "action": "reply_comment", "intent": "price", "confidence": 0, "dm": { "text": "string", "button": { "label": "string", "url": "string" } }, "followAsk": { "text": "string", "buttonLabel": "string" }, "outcome": "send", "problems": [ "string" ], "reason": "string", "handoffReason": "string", "knowledgeUsed": [ { "id": "string", "title": "string" } ] }}