Skip to main content
POST
Upload Company Context Document

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

multipart/form-data
file
file
required
title
string | null
Maximum string length: 500

Response

Successful Response

document_id
string
required
title
string
required
source_kind
enum<string>
required
Available options:
upload,
url
chunk_count
integer
required
embedded_count
integer
required
indexing_status
enum<string>
required
Available options:
indexed,
not_relevant,
failed,
skipped