Skip to main content
POST
Upload a document

Authorizations

Authorization
string
header
required

API key as Authorization: Bearer sk-social-...

Path Parameters

kbId
string
required

Knowledge base ID.

Body

multipart/form-data
file
file
required

Document file. Supported formats: PDF, DOCX, TXT, MD.

Response

Document accepted for processing.

success
boolean
required
data
object
required