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

Act on a Needs attention item

POST
/v1/ai-agents/attention/{itemId}/{action}

send sends the held answer now and edit-send sends it with your changes; a sent approval uses one AI credit. reject drops it. open tags the person handled-manually so the agent leaves them alone, and resolve removes the tag so the agent answers again. dismiss closes any item. Needs the editor role. 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_....

Path Parameters

itemId*string
action*string
Value in"send""edit-send""reject""open""resolve""dismiss"

Request Body

application/json
  1. body
dmText?string

With edit-send: the DM to send.

Lengthlength <= 900

Response Body

Done.

application/json
  1. response
data?
curl -X POST 'https://api.eksis.io/v1/ai-agents/attention/string/send' \  -H 'Authorization: Bearer eksis_sk_...' \  -H 'Content-Type: application/json' \  -d '{}'
{  "data": {    "ok": true,    "status": "open"  }}