Repositories and search
Create repository
Create an empty repository to hold and search documents.
POST
Creates an empty repository. A repository indexes its documents so you can search them. Add files to it with Add documents.
The caller becomes the repository’s admin, as if they had created it in the app. Share it in the app to give others access.
The other fields are the ones List repositories returns.
Authentication
Requires an API key, or an OAuth token withrepositories:write. The caller’s role must allow creating repositories.
Body parameters
Response
Returns201 with the new repository. document_count is 0 and indexing_status is idle.
idle once every document is indexed, indexing while any document is still waiting, failed when any document could not be indexed.