GET
/
knowledgebase
/
{id}
curl --request GET \
  --url https://atoms-api.smallest.ai/api/v1/knowledgebase/{id} \
  --header 'Authorization: Bearer <token>'
{
  "status": true,
  "data": {
    "_id": "<string>",
    "itemType": "file",
    "metadata": {},
    "knowledgeBaseId": "<string>",
    "processingStatus": "pending",
    "contentType": "<string>",
    "size": 123,
    "key": "<string>",
    "title": "<string>",
    "content": "<string>",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z"
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

The ID of the knowledge base

Response

200
application/json
A knowledge base

The response is of type object.