public notes are readable at their normal URL. private notes stay behind ownership and access checks; sharing a URL does not make a private note public.null for no expiration. Expired notes are treated as unavailable by normal reads.1bri notes update <note-id> --path ./updated.md --visibility public
bri notes list --json to retrieve IDs for scripts.12bri notes history <note-id> bri notes version <note-id> <version-id>
1bri notes restore-version <note-id> <version-id>
12345curl -X PATCH \ -H "Authorization: Bearer $BRI_API_KEY" \ -H 'Content-Type: application/json' \ -d '{"action":"restore","versionId":"<version-id>"}' \ https://bri.fyi/api/notes/by-id/<note-id>/versions
1bri notes ask <username> <slug> --question 'Summarize the open risks.'