Download links and MCP
A reader bound to a redaction version can download the redacted copies of the documents an answer showed them. Access is implicit: whoever can read the version can open its copies, and a copy is offered only when the file equals what that read admits.
How it works
Section titled “How it works”-
An answer lists documents. Every
RETRIEVEanswer that serves passages carriesdocuments[], one entry per listed document:{facet, doc_id, copy: {available, mime, reason}, ref?}. -
A ref is offered only for a whole document.
availableholds only when the subject is served a redaction version (a subject bound to the original is offered no copy), can read the whole document under its policy, and the copy’s coverage and verification are complete. Otherwisereasonisno_redacted_version,unsupported_formatornot_available, with no size or name. The opaquerefis bound to the reading chain, its MCP connection, the version served and one hour; it opens nothing by itself. -
Open a link.
POST /v1/tenants/{tenant}/semantic/document-links{"entries": [{"ref", "docId"}]}(1 to 20 entries) re-runs every check for each entry, charges nothing yet, records the issue and answers one sealed ticket, valid 300 seconds, with a downloadurland one MCP resource per admitted document. -
Download once.
GET …/document-links/{ticket}needs no other credential. It answers the copy, or a flat zip (documents-redacted.zip) for several. The set’s reading window is charged before any byte, all or nothing.
201 {"expiresAt": "2026-11-05T10:05:00Z", "ttlSeconds": 300, "entries": [{"index": 0, "status": "ok", "member": 0}, {"index": 1, "status": "refused", "code": "E0541"}], "url": "https://<tenant api host>/v1/tenants/<t>/semantic/document-links/odl1.…", "resources": ["opendome://document-copy/odl1.…/0"]}Use and limits
Section titled “Use and limits”- One delivery per document. Each member is delivered whole once, by the download or on the MCP connection that opened it, never both. An aborted zip leaves out what it already delivered on the next start.
- Three starts, one in flight at a time.
Rangeis ignored: every GET is the whole file. A preview bot that fetches the URL consumes it; ask again. - Every start re-checks that the minting chain’s agents, service and connection are still active, and the policy, version and SHA-256 of each copy.
- Rate limits per chain and connection: sets and documents per minute,
documents and bytes per day (
429 E0544). Size caps per document, per set and per MCP member. - Who. A person, a person through an agent, an agent or a registered service.
An impersonation, a job or a long or mixed chain is refused (
403 E0543). - Client networks. With an allowlist configured, an address outside it is refused. A change of network between issue and download is recorded.
- Uniform refusals. Every refusal of a ticket or a member is the same
409 E0541, with the cause only in the audit record, and every answer takes a minimum time, so a refusal tells nothing about why.
Every issue and every redemption is recorded critically before any byte leaves: when the audit trail cannot record it, nothing is served.
Over MCP
Section titled “Over MCP”The remote MCP gateway adds the tool semantic_open_documents. It takes the
entries exactly as a result’s documents listed them and returns the link. The
model is told to use it only when the user asks to open documents from earlier
answers, to give the link only to the user, unchanged, and never to send it to
another tool or site.
On the same connection, resources/read(opendome://document-copy/<ticket>/<n>)
returns member n as a blob, once. Another connection, or a browser, cannot use
that path. Query receipts keep only the set’s counts and expiry, never the link.
The ticket and your logs
Section titled “The ticket and your logs”The ticket is a bearer secret for its 300 seconds. OpenDome never logs it: the
charts turn off the ingress access log for the download path, and the management
API and the MCP gateway scrub it from every log line. One residue remains: the
ingress controller’s error log writes the request line when the upstream of a
download fails. Whoever can read that log can see the ticket of a failed transfer,
usable only within the rest of its lifetime and its remaining starts. To close it,
restrict who reads the controller’s logs, lower its error-log level, or drop
odl1. tokens in your log pipeline.
Configuration: documentLinks.*.