Skip to main content
POST
Upload Document

Headers

x-knowledge-base-config-id
string<uuid> | null

Body

multipart/form-data
file
file
required

Document file to process

client_id
string<uuid>
required

Client ID that will own the knowledge

title
string | null

Custom title for the document

description
string | null

Custom description for the document

tags
string | null

Custom tags for the document (JSON array)

chunk_size
integer
default:5000

Size of text chunks for large documents

Required range: 1000 <= x <= 10000
overlap_size
integer
default:200

Overlap between chunks

Required range: 0 <= x <= 1000

Response

Successful Response

data
any
required

Response payload

meta
any
required

Metadata

success
boolean
default:true

Success indicator

message
string | null

Optional success message