Skip to main content
GET
Resolve a citation link (lazy)

Authorizations

Authorization
string
header
required

User session JWT or instance API key (iak_*). Send as Authorization: Bearer <token>.

Path Parameters

knowledgeBaseId
string
required

Knowledge base id. Legacy physical prefix vs_ (the kb_ rename is deferred).

Maximum string length: 128
Pattern: ^vs_[A-Za-z0-9-]+$
documentId
string
required

Document id. Legacy physical prefix vsf_ (the doc_ rename is deferred).

Maximum string length: 128
Pattern: ^vsf_[A-Za-z0-9-]+$

Response

Resolved URL.

Result of the lazy citation resolver. For uploaded_file, the URL is a short-lived native share URL minted BY THE STORAGE WORKSPACE (not the user - a knowledge-base reader may have no rights on the underlying file; chunk text is already readable through search, so the source follows the knowledge base's ACL). For all other source types, url is the document's source_url as-is and expires_at is null.

object
enum<string>
required
Available options:
document.source_url
document_id
string
required
Pattern: ^vsf_[A-Za-z0-9-]+$
source_type
enum<string>
required
Available options:
uploaded_file,
remote_file,
web_page,
connector_document
url
string<uri>
required
expires_at
integer | null

Unix seconds. Populated for minted short-lived URLs (uploaded_file) and null for every other source type. For a minted URL it is always set: if the file service's own expiry is missing or unparseable, a conservative request-time-plus-TTL estimate is returned rather than null, so callers always have a refresh signal. Re-resolve on expiry.