Skip to main content
POST
Upload Document

Cabeçalhos

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

Corpo

multipart/form-data
file
file
obrigatório

Document file to process

client_id
string<uuid>
obrigatório

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
padrão:5000

Size of text chunks for large documents

Intervalo obrigatório: 1000 <= x <= 10000
overlap_size
integer
padrão:200

Overlap between chunks

Intervalo obrigatório: 0 <= x <= 1000

Resposta

Successful Response

data
any
obrigatório

Response payload

meta
any
obrigatório

Metadata

success
boolean
padrão:true

Success indicator

message
string | null

Optional success message