repository-document
Post v1repository document
POST
/
v1
/
repository
/
{repository_id}
/
document
Authorizations
Authorization
string
headerrequiredPath Parameters
repository_id
integer
requiredBody
multipart/form-data
file
string
requiredResponse
201 - application/json
repository_id
integer
requireddocument_id
integer
requiredname
string
requireddocument_type
enum<string>
requiredpdf
- PDFdocx
- Wordtxt
- Text
Available options:
pdf
, docx
, txt
status
enum<string>
requiredPENDING
- PendingUPLOADED
- UploadedPARSING
- ParsingCHUNKING
- ChunkingWAITING_FOR_CHUNKS_COMPLETION
- Waiting for chunks completionPROCESSING
- ProcessingCOMPLETED
- CompletedFAILED
- Failed
Available options:
PENDING
, UPLOADED
, PARSING
, CHUNKING
, WAITING_FOR_CHUNKS_COMPLETION
, PROCESSING
, COMPLETED
, FAILED
error
string | null
requiredchunk_count
integer
default: 0required