Skip to main content
POST
Upload knowledge 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

Document file to upload

projectId
string

Optional project scope

source
string

Optional source label

Response

Document uploaded

id
string
required
name
string
required
fileType
string
required
source
string
required
projectId
string | null
required
version
integer
required
status
enum<string>
required
Available options:
uploaded,
indexing,
indexed,
failed
checksum
string
required
filePath
string
required
markdownPath
string | null
required
converterCommand
string | null
required
converterMeta
object | null
required
errorMessage
string | null
required
createdAt
string<date-time>
required
updatedAt
string<date-time>
required