Skip to main content
Version: 1.0

ReplaceCorpusFilterAttrs

POST 

/v1/replace-corpus-filter-attrs

Updates the filterable metadata fields for the corpus.

See our documentation on filterable metadata fields for more details on how these are used.

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.
  • Each request to replace the corpus filter attributes kicks off a background job. The job ID is returned when you kick off a metadata filter update job so you can track it later.
  • Existing filters will continue to apply until the update job completes.
  • The time that update filter jobs take is roughly proportional to the size of the corpus. Updates on small corpora generally take a few minutes at most, but updates on large corpora can take many minutes to hours to complete.

Request

Responses

A successful response.