Create a document (FILE-type) resource in the Trust Knowledge Base. Accepts the document as a multipart/form-data upload.
Example: send multipart/form-data with a required file (e.g. PDF)
and title; optional fields include description, customerVisibility,
downloadPermission, isUsedInQuestionnaires (“true”/“false”),
expirationDate (ISO 8601), tags (JSON array string), categoryId,
and ownerAssignment (JSON object string).
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.
Title of the document resource.
1Description of the document resource.
Owner to assign as a JSON string: {"type":"User","id":""}.
Customer visibility on the Trust Center: PRIVATE | SHAREABLE | REQUEST_ACCESS | PUBLIC.
Trust Center download permission: VIEW_ONLY | VIEW_AND_DOWNLOAD.
Whether to use this resource for Questionnaire Automation answer generation ("true" / "false").
Expiration date in ISO 8601.
Tags as a JSON array: [{"categoryId":"","tagId":""}].
Trust Center category id to associate this resource with. Only
applied when customerVisibility is REQUEST_ACCESS or PUBLIC;
other visibilities don't place the resource on the Trust Center, so
the category is ignored. Pass an unknown id to fall back to
uncategorized.
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).