CreateCorpus
POST/v1/create-corpus
Creates a corpus, which is a container to store data in.
Some tips for this API:
- This operation works with the Personal API Key and OAuth 2.0 (in a JWT "Bearer Token") authentication. You can find details of how to set up and use OAuth 2.0 here.
- The
name
of the corpus is the only required field. - Filter attributes tell Vectara which metadata fields you'd like to run SQL-style filters against. If you need to change them after you've created the corpus, see the Replace Filter Attributes API
textless
andcustomDimensions
are features that are only available to Scale accounts.
Request
Responses
- 200
- default
A successful response.
An unexpected error response.