Get a note by id
const url = 'https://api.engram.page/notes/by-id/example';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.engram.page/notes/by-id/example \ --header 'Authorization: Bearer <token>'Returns the full note (including content) for the given note UUID. Returns 400 for a malformed UUID and 404 when no such note exists in the vault.
Authorizations
Section titled “Authorizations”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters”Note UUID
Responses
Section titled “ Responses ”Note
object
OKF frontmatter description field
OKF frontmatter created/date field
OKF frontmatter timestamp/modified/updated field
Outgoing link/embed edges, resolved. Wikilink and markdown syntax alike.
object
Display text: [[target|alias]]’s alias, or [label](target)’s label.
Heading/block reference: [[target#anchor]] or [x](target#anchor).
True when the target could not be resolved.
“wikilink” or “embed” — whether the link EMBEDS its target. Not the source syntax; markdown-form links carry these same two values.
Resolved note path.
The link target, percent-DECODED. [[Target]] and [x](Target.md) both yield Target/Target.md here — not the literal source bytes.
Client mtime (epoch seconds)
Present when parse_status is “degraded”: {code, message, detail}
object
Frontmatter parse outcome
OKF frontmatter resource field
OKF frontmatter type field
Example
{ "parse_status": "ok", "path": "Projects/engram.md"}Invalid UUID
No such note