Ir al contenido

Cargar documento

POST
/partner/tenants/{tenant_id}/kb/documents
curl --request POST \
--url https://api.overtaker.online/api/v1/partner/tenants/example/kb/documents \
--header 'Authorization: <Authorization>' \
--header 'Content-Type: multipart/form-data' \
--form file=@file

Sube un archivo (PDF, DOCX, TXT) al KB. El contenido se procesa en background.

tenant_id
required
Tenant Id
string
Media type multipart/form-data
Body_upload_document_partner_tenants__tenant_id__kb_documents_post
object
file
required
File
string format: binary

Successful Response

Media type application/json
Example generated
example

Validation Error

Media type application/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
Example generated
{
"detail": [
{
"loc": [
"example"
],
"msg": "example",
"type": "example"
}
]
}