Read a PDF using this person's saved password
Rechecks file access and uses only the authenticated person's password. The response must never be cached publicly.
apiKeyAuthorizationBearer <snoze_sk_…>Workspace API key created in Workspace settings → API keys. Scopes on the key bound what it can read and write.
workspaceId*stringfileId*stringSuccess
application/json- response
data*curl -X GET 'https://api.snoze.dev/v1/workspaces/string/assets/string/access'{ "data": { "base64": "string", "saved": true, "unlocked": true }}Retry the failed parts of a background AI job
Queues every part that failed for good again. A part whose result was already generated writes it again (its writes are idempotent, so no rows are duplicated); the rest generate anew. Requires a Clerk session for the job's owner with the `ai:write` permission. Send an `Idempotency-Key` header to make retries safe.
Open a protected PDF, save its password privately, or unlock it for all readers
Open and Save require read permission. Save stores an encrypted password only for the authenticated person. Unlock requires file edit permission and replaces the stored PDF with decrypted bytes while preserving its file id and references.