List what an agent knows

​

Answers every source of the knowledge, with how far it has been read. A source starts pending, and the agent answers from it once it is finished. failed carries fail_reason. There is no push: list again every few seconds until nothing is pending or updating.

Needs the permission to view bots. Does not count against your brand's write limit.

Path Parameters

  • The agent's knowledge, as it answers knowledge.repository_id.

Responses

  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
Request Example for get/knowledge/{knowledge_id}/sources
curl https://api.landbot.io/v3/knowledge/123e4567-e89b-12d3-a456-426614174000/sources \
  --cookie 'sessionid=YOUR_SECRET_TOKEN'
{
  "data": [
    {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "type": "text",
      "name": "string",
      "status": "pending",
      "fail_reason": "crawl_error",
      "refresh_interval": "never",
      "created_at": "2026-10-08T14:57:40",
      "updated_at": "2026-10-08T14:57:40"
    }
  ]
}