Skip to main content
GET
/
store
/
files
/
knowledge-base
/
{id}
Get the list of files based on the knowledge-base ID
curl --request GET \
  --url https://api.pawa-ai.com/v1/store/files/knowledge-base/{id} \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "message": "Files of knowledge base fetched successfully",
  "data": [
    {
      "id": 1,
      "fileName": "pawa.pdf",
      "fileType": "application/pdf",
      "fileSize": "4343343",
      "status": "ACTIVE",
      "createdAt": "2025-08-04T16:35:37.522Z",
      "updatedAt": "2025-08-04T16:35:37.522Z"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
number
required

Response

Files of knowledge base fetched successfully

success
boolean
required
Example:

true

message
string
required
Example:

"Files of knowledge base fetched successfully"

data
object[]
required
I