Update a source document
Set a crawled document’s exclusion and/or purge-keep flag. Requires an authenticated administrator, the account’s orchestration_studio feature, and the default-off KNOWLEDGE_SOURCE_EXCLUSION_ENABLED deployment switch. The source is resolved through an account-owned crawl; the document must belong to a crawl of that source URL in the same account. At least one recognized key is required. Each flag accepts a JSON boolean or the literal string true or false. Exclusion and keeping are handled separately; a request containing both is not one atomic state change. The response and events contain flags, timestamps, and actor/record identifiers only. Source URLs and other crawl metadata are untrusted customer data.
Authorizations
This token can be obtained by visiting the profile page or via rails console. Provides access to endpoints based on the user permissions levels. This token can be saved by an external system when user is created via API, to perform activities on behalf of the user.
Path Parameters
ID of the account in which the source crawl is resolved.
ID of an account-owned crawl representing the source URL.
ID of a document fetched by a crawl of this source URL.
Body
Response
Success; state and audit details are described on the published page.
Document state; no document body, chunk text, or embedding is returned.