The API reference moved here from eksis.io/developers.
AI Agents

List Needs attention

GET
/v1/ai-agents/attention

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.

Authorization

headerAuthorizationBearer <token>

Send your key as Authorization: Bearer eksis_sk_....

Query Parameters

kind?string

approvals is approval; problems is dm_failed, over_limit, and connection.

Value in"approvals""handoffs""problems""approval""handoff""dm_failed""over_limit""connection"
agent?string

Only items from this agent id.

Response Body

The open items.

application/json
  1. response
data?array<>
counts?
total?integer
curl -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}