Documents

list documents

post

list documents from the index (can have a diff with Knowledge bases if partial indexation is not launched)

Body
offsetintegerOptionalDefault: 0
limitintegerOptionalDefault: 20
stateany ofOptional
stringOptional
or
nullOptional
Responses
200

Successful Response

application/json
post
/list-docs

get information about a specific document

post

retrieve information about one document from his id

Body
idany ofOptional
stringOptional
or
nullOptional
Responses
200

Successful Response

application/json
post
/doc

Download file

post

Download file from storage

Body
idany ofOptional
stringOptional
or
nullOptional
Responses
200

Successful Response

application/json
post
/download

Get document information with multiple id

post

Return document information of id list

Body
idsany ofOptionalDefault: []
string[]Optional
or
nullOptional
offsetintegerOptionalDefault: 0
limitintegerOptionalDefault: 20
Responses
200

Successful Response

application/json
post
/docs-by-ids

count documents

post

count documents present in the index (by the state is you add it into your body request) :

'INITIAL_SAVED' # initial save

"UPDATED" # document is updated (without the content) par rapport à l'API

'ON_CONTENT_EXTRACT'# document content is currently is working on fileparser

'CONTENT_EXTRACTED'# document content is fetch from fileparser and chunks is saved

"PARSING_ERROR" # document get an error when we parse his content (coul be wrong format, ...)

'ON_INDEXATION'# document is in indexation progress

'INDEXED' # document is indexed
Body
stateany ofOptional
stringOptional
or
nullOptional
Responses
200

Successful Response

application/json
post
/count-documents

get documents statistics between two dates

post

get documents statistics between two dates

Body
begin_dateany ofOptional
stringOptional
or
nullOptional
end_dateany ofOptional
stringOptional
or
nullOptional
Responses
200

Successful Response

application/json
post
/count-documents-per-date

Last updated