Get Knowledge Base resource
Fetch a single Knowledge Base resource (FILE or URL) by id. Returns
the same type-discriminated union as the list endpoint, so callers
can branch on type without knowing the kind ahead of time. Returns
404 when the resource does not exist in the domain or — for FILE
rows — when the underlying uploaded document has been deleted.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Response
Ok
- Option 1
- Option 2
Discriminated union over type of all resource kinds in the Trust
Knowledge Base (currently FILE and URL).
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).