Skip to main content
GET
/
v1
/
knowledge-base
/
documents
List all knowledge base documents for an organization
curl --request GET \
  --url http://localhost:3333/v1/knowledge-base/documents
[
  {
    "id": "<string>",
    "name": "<string>",
    "description": "<string>",
    "s3Key": "<string>",
    "fileType": "<string>",
    "fileSize": 123,
    "processingStatus": "pending",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z"
  }
]

Query Parameters

organizationId
string
required

Response

200 - application/json

List of knowledge base documents

id
string
name
string
description
string | null
s3Key
string
fileType
string
fileSize
number
processingStatus
enum<string>
Available options:
pending,
processing,
completed,
failed
createdAt
string<date-time>
updatedAt
string<date-time>