curl --request GET \
--url https://prod.featherhq.com/api/v1/knowledge-base/files \
--header 'X-API-Key: <api-key>'
{
"files": [
{
"id": "<string>",
"fileName": "<string>",
"status": "PENDING",
"createdAt": "<string>",
"updatedAt": "<string>",
"collectionIds": [
"<string>"
],
"prompt": "<string>",
"size": 123,
"url": "<string>"
}
]
}
curl --request GET \
--url https://prod.featherhq.com/api/v1/knowledge-base/files \
--header 'X-API-Key: <api-key>'
{
"files": [
{
"id": "<string>",
"fileName": "<string>",
"status": "PENDING",
"createdAt": "<string>",
"updatedAt": "<string>",
"collectionIds": [
"<string>"
],
"prompt": "<string>",
"size": 123,
"url": "<string>"
}
]
}
List of knowledge base files retrieved successfully
The response is of type object
.