repository-document
Post apirepositoriesrepository document
POST
/
api
/
repositories
/
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
requiredMaximum length:
255
document_type
enum<string>
requiredpdf
- PDFdocx
- Wordtxt
- Text
Available options:
pdf
, docx
, txt
status
enum<string>
requiredPENDING
- PendingUPLOADED
- UploadedINDEXING
- IndexingCOMPLETED
- CompletedFAILED
- Failed
Available options:
PENDING
, UPLOADED
, INDEXING
, COMPLETED
, FAILED
error
string | null
requiredchunk_count
integer
default: 0requiredWas this page helpful?