Apply a partial update to a document (FILE-type) resource. Omitted
fields are left untouched. To swap the underlying file, use
POST /v1/knowledge-base/resources/documents/{id}/upload. Returns
404 for an unknown id or a URL-type resource.
Documentation Index
Fetch the complete documentation index at: https://vanta.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The title of the document resource.
1A description for the document resource. Pass null to clear.
The actor to assign as owner. Pass null to clear. Currently only type
"User" is supported.
Customer visibility on the Trust Center.
PRIVATE, SHAREABLE, REQUEST_ACCESS, PUBLIC Trust Center download permission.
VIEW_ONLY, VIEW_AND_DOWNLOAD Whether the resource should be used for question-answering in Questionnaire Automation.
Expiration date in ISO 8601 format. Pass null to clear.
Tags to associate with the resource. A non-empty array replaces the
existing tag set; pass [] to clear all tags.
Trust Center category id to associate this resource with. Pass null
to move the resource to uncategorized. Only valid when the resource's
effective visibility (after applying any patched customerVisibility)
is REQUEST_ACCESS or PUBLIC; other combinations and unknown ids return
an InvalidInputError.
Ok
FILE Presigned S3 URL for the underlying document. Expires after 1 hour due to AWS IAM Role limitations on presigned URL lifetimes. Re-fetch the resource to obtain a fresh URL once this one expires.
PRIVATE, SHAREABLE, REQUEST_ACCESS, PUBLIC, null VIEW_ONLY, VIEW_AND_DOWNLOAD, null Customer-facing expiration status used by knowledge-base API responses
(answer library entries and resources). Derived from the persisted
expiresAt field at read time.
CURRENT, EXPIRED Trust Center category id the resource is currently filed under, or
null if uncategorized (or not on the Trust Center, which is the case
for PRIVATE / SHAREABLE resources).