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"
}
]
}This endpoint used to list of files used by 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"
}
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Files of knowledge base fetched successfully
true
"Files of knowledge base fetched successfully"
Show child attributes
1
"pawa.pdf"
"application/pdf"
"4343343"
"ACTIVE"
"2025-08-04T16:35:37.522Z"
"2025-08-04T16:35:37.522Z"