POST
/
v1
/
knowledge-bases
/
{kb_id}
/
documents
{
  "processing_status": {
    "status": "processing",
    "message": "<string>",
    "document_ids": []
  }
}

Path Parameters

kb_id
string
required

Body

multipart/form-data
document_type
string
required
file
file | null
document_languages
string[] | null
url
string | null
max_crawl_depth
integer | null
max_number_of_pages
integer | null

Response

200
application/json
Successful Response

Response model for adding documents to a Knowledge Base.

processing_status
object
required

Status information about the document addition process, including progress and any errors.