View as Markdown

Trace · Guide

Disclose masked neurons

Use neuron disclosure to let one verified person, such as an auditor or a customer's safety reviewer, see the masked neurons on one of your trace shares. You decide who sees what, and for how long.

A public share masks your account's private neurons and your canary-set members as opaque n_… IDs. A grant shows them to one person:

PropertyRule
Who can askA person with a verified email and a passkey. API keys, embed tokens and agents can't request or view.
What a grant coversOne share, or chosen neurons on it, for 1–30 days (default 7). You can revoke it at any time.
Where it showsIn the requester's browser, behind their own session, watermarked with their email and the grant ID. Every view is logged for you.
What can be disclosedYour own private neurons and canary sets. Provenance's curated canary members stay masked and look like any neuron the grant doesn't cover.

Before you begin: export the sandbox account key.

export PROVENANCE_API=https://sandbox-api.provenanceauth.com
export PROVENANCE_KEY=prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5

1. Choose how requests are handled

Read your account's mode with GET /v1/trace/settings/disclosure:

curl $PROVENANCE_API/v1/trace/settings/disclosure \
  -H "Authorization: Bearer $PROVENANCE_KEY"
{
  "object": "trace_disclosure_setting",
  "mode": "approve_each",
  "default_ttl_days": 7,
  "max_ttl_days": 30,
  "curated_sets_disclosable": false
}
ModeWhat happens to a request
approve_each (default)It waits in your inbox until you approve or deny it.
autoAny verified requester is granted at once, for your default duration. You're still notified and can revoke.
neverThe requester sees that you don't accept requests, and nothing is stored.

An owner or admin changes the mode with PUT on the same path, or in the console under Settings → Trace.

2. Receive a request

The requester opens your share link, selects Request details, verifies their email, uses a passkey, and sends a reason with the whole share or chosen neurons. You're notified in the console (Trace → Disclosure), by email, in Slack if you connected it, and by the trace.disclosure_request.created webhook. List pending requests with GET /v1/trace/disclosure_requests:

curl "$PROVENANCE_API/v1/trace/disclosure_requests?status=pending" \
  -H "Authorization: Bearer $PROVENANCE_KEY"
{ "object": "list", "data": [], "has_more": false, "next_cursor": null }

The sandbox has no requests, because only a person with a passkey can make one. On your account, each entry names the requester's email, the reason and the scope.

3. Approve or deny it

Approve a request, optionally with a shorter duration, or deny it. These act on a real request in your account:

curl -X POST $PROVENANCE_API/v1/trace/disclosure_requests/$REQUEST_ID/approve \
  -H "Authorization: Bearer $PROVENANCE_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "ttl_days": 3 }'
{
  "id": "dsr_01M5Q1A0B2C3D4E5F6G7H8J9K0",
  "object": "disclosure_request",
  "status": "granted",
  "scope_kind": "share",
  "trace_id": "trc_3825b248bd2b537c480abfccb6640df5",
  "model_version_id": "qwen2.5-0.5b-instruct@7ae55760",
  "ref_count": null,
  "reason": "Independent audit of the injection guard",
  "requester": { "email": "auditor@example.org", "display_name": null },
  "decided_by": "api_key:prv_live",
  "decided_at": "2026-10-24T13:20:00.000Z",
  "expires_at": "2026-10-27T13:20:00.000Z",
  "created_at": "2026-10-24T13:02:00.000Z"
}

On approval trace.disclosure_request.granted fires, and the requester sees the covered neurons on the share page: layer, index, pole, label and top examples, with the watermark across the view.

When a grant expires or you revoke it, the share renders masked again. A disclosed view is a render for one person, so the share's signed manifest still binds the masked public render and verifies the same for everyone.

Errors you might see

SymptomCauseFix
403 disclosure_not_permittedDeciding a request that isn't pending, or revoking one that isn't grantedList requests to check their status.
404 resource_missingAnother account's requestUse a request from your own inbox.
401 disclosure_requires_humanCalling a requester endpoint with an API keyRequesting needs a verified person's session.
402 trial_ended on approveThe Free trial endedChoose a plan in Settings → Plan & usage; see plans and usage.

See also