POST
/
knowledgebase
/
{id}
/
items
/
upload-text
curl --request POST \
  --url https://atoms-api.smallest.ai/api/v1/knowledgebase/{id}/items/upload-text \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "title": "<string>",
  "content": "<string>"
}'
{
  "status": true
}

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

Body

application/json

Response

201
application/json
Knowledge base item created successfully

The response is of type object.