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

List agents

GET
/v1/ai-agents

Every agent in the workspace, newest change first, with the AI credits left this month. 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_....

Response Body

The agents.

application/json
  1. response
data?array<>
aiCreditsAvailable?integer

Credits left: this month's allowance plus any top-up balance. One reply the agent sends uses one.

curl -X GET 'https://api.eksis.io/v1/ai-agents' \  -H 'Authorization: Bearer eksis_sk_...'
{  "data": [    {      "id": "string",      "name": "string",      "template": "sales",      "status": "draft",      "dmMode": "auto",      "sendMode": "full_ai",      "channelIds": [        "string"      ],      "openAttention": 0,      "updatedAt": "2019-08-24T14:15:22Z"    }  ],  "aiCreditsAvailable": 0}