Skip to main content
GET
/
knowledge-base
/
sources
List KB Sources
curl --request GET \
  --url https://api.attention.tech/v2/knowledge-base/sources \
  --header 'Authorization: <api-key>'
{
  "data": [
    {
      "type": "kb_sources",
      "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "attributes": {
        "title": "Q4 Product Launch Playbook",
        "source_type": "manual",
        "format": "text/markdown",
        "status": "indexed",
        "file_size": 4096,
        "chunk_count": 12,
        "created_at": "2025-01-15T10:30:00Z",
        "updated_at": "2025-01-15T10:35:00Z"
      }
    },
    {
      "type": "kb_sources",
      "id": "f7e8d9c0-b1a2-3456-7890-abcdef123456",
      "attributes": {
        "title": "Competitive Analysis 2025.pdf",
        "source_type": "upload",
        "format": "application/pdf",
        "status": "indexing",
        "file_size": 2458624,
        "chunk_count": 0,
        "created_at": "2025-01-16T08:00:00Z",
        "updated_at": "2025-01-16T08:01:00Z"
      }
    }
  ]
}

Authorizations

Authorization
string
header
required

Response

List of KB sources

data
object[]

List of KB sources