POST
/
knowledgebase
/
{id}
/
items
/
upload-media
curl --request POST \
  --url https://atoms-api.smallest.ai/api/v1/knowledgebase/{id}/items/upload-media \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data'
{
  "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

multipart/form-data

Response

201
application/json
Knowledge base item created successfully

The response is of type object.