Create a corpus
POST/v2/corpora
Create a corpus, which is a container to store documents and associated metadata. Here, you define the unique corpus_key that identifies the corpus. The corpus_key can be custom-defined following your preferred naming convention, allowing you to easily manage the corpus's data and reference it in queries. For more information, see Corpus Key Definition.
Request
Responses
- 201
 - 400
 - 403
 - 409
 
The corpus has been created.
Invalid request body in the create corpus request.
Permissions do not allow creating a corpus.
The corpus already exists