Skip to main content

Reset Corpus

Vectara exposes a REST endpoint at the following URL to reset a corpus:
https://api.vectara.io/v1/reset-corpus
This page describes the details of interacting with this endpoint.

To reset a corpus, specify the customer_id and corpus_id. Upon successful completion, space quota consumed by the corpus will be freed.

message ResetCorpusRequest {
uint32 customer_id = 1;
// The corpus id to reset.
uint32 corpus_id = 2;
}

message ResetCorpusResponse {
Status status = 1;
}