cURL
curl --request GET \ --url https://atoms-api.smallest.ai/api/v1/knowledgebase/{id}/items \ --header 'Authorization: Bearer <token>'
{ "status": true, "data": [ { "_id": "<string>", "itemType": "file", "metadata": {}, "knowledgeBaseId": "<string>", "processingStatus": "pending", "fileName": "<string>", "contentType": "<string>", "size": 123, "key": "<string>", "title": "<string>", "content": "<string>", "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z" } ] }
Get all knowledge base items
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The ID of the knowledge base
A list of knowledge base items
The response is of type object.
object