Documents
list documents from the index (can have a diff with Knowledge bases if partial indexation is not launched)
Body
offsetintegerOptionalDefault:
0limitintegerOptionalDefault:
20stateany ofOptional
stringOptional
nullOptional
Responses
200
Successful Response
application/json
422
Validation Error
application/json
post
/list-docsReturn document information of id list
Body
idsany ofOptionalDefault:
[]string[]Optional
nullOptional
offsetintegerOptionalDefault:
0limitintegerOptionalDefault:
20Responses
200
Successful Response
application/json
422
Validation Error
application/json
post
/docs-by-idscount 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 indexedBody
stateany ofOptional
stringOptional
nullOptional
Responses
200
Successful Response
application/json
422
Validation Error
application/json
post
/count-documentsget documents statistics between two dates
Body
begin_dateany ofOptional
stringOptional
nullOptional
end_dateany ofOptional
stringOptional
nullOptional
Responses
200
Successful Response
application/json
422
Validation Error
application/json
post
/count-documents-per-dateLast updated