AI Agents
List Needs attention
GET
Open items the agents left for a person, newest first, with a count per kind. 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_....
kind?stringapprovals is approval; problems is dm_failed, over_limit, and connection.
Value in
"approvals""handoffs""problems""approval""handoff""dm_failed""over_limit""connection"agent?stringOnly items from this agent id.
The open items.
application/json- response
data?array<>counts?total?integercurl -X GET 'https://api.eksis.io/v1/ai-agents/attention' \ -H 'Authorization: Bearer eksis_sk_...'{ "data": [ { "id": "string", "kind": "approval", "agentId": "string", "agentName": "string", "channelId": "string", "platform": "string", "accountName": "string", "conversationId": "string", "source": "dm", "message": "string", "contactName": "string", "draft": { "dm": { "text": "string", "button": { "label": "string", "url": "string" } } }, "reason": "string", "code": "string", "confidence": 0, "platformError": "string", "expired": true, "createdAt": "2019-08-24T14:15:22Z" } ], "counts": { "property1": 0, "property2": 0 }, "total": 0}