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

Get knowledge

GET
/v1/ai-agents/library/knowledge/{knowledgeBaseId}

One knowledge set with its sources. 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

knowledgeBaseId*string

Response Body

The knowledge.

application/json
  1. response
data?
curl -X GET 'https://api.eksis.io/v1/ai-agents/library/knowledge/string' \  -H 'Authorization: Bearer eksis_sk_...'
{  "data": {    "id": "string",    "name": "string",    "description": "string",    "sources": [      {        "id": "string",        "type": "website",        "title": "string",        "url": "string",        "body": "string",        "faq": [          {            "question": "string",            "answer": "string"          }        ],        "fileName": "string",        "fileType": "pdf",        "fileSize": 0,        "status": "pending",        "error": "string",        "readAt": "2019-08-24T14:15:22Z",        "chars": 0,        "createdAt": "2019-08-24T14:15:22Z"      }    ],    "chars": 0,    "usedBy": [      {        "id": "string",        "name": "string"      }    ],    "updatedAt": "2019-08-24T14:15:22Z"  }}