Update a note
Change a note’s title, body, topic, tags, or pin. Only what you send changes.
bodyreplaces all of it.appendadds text at the end. A list item or table row goes on the next line, anything else after a blank line.findwithreplace_withchanges one exact place, such as a table row.findmust appear exactly once; otherwise nothing changes and you get422. An emptyreplace_withremoves the text.
title sets a new title. topic sets the topic, and an empty string clears it. tags replaces all the tags, and an empty list clears them. pinned pins or unpins the note. source never changes.
The answer is the note as it is now. Read the note first with Get a note when you change one place, so find matches it exactly.
update_note.Authorizations
API key with the vd_sk_ prefix, as Authorization: Bearer vd_sk_.... Create keys in Settings → API Keys.
Headers
Any unique string (such as your order id). Resending the same request with the same key within 24 hours returns the first answer (with Idempotent-Replayed: true) and does nothing twice; the same key with a different request is a 422 idempotency_key_reused.
1 - 255Path Parameters
Body
Only what is sent changes. The body changes one way per call: body (all of it),
append (added at the end) or find + replace_with (one exact place).
A new title.
1 - 200A new body: replaces all of it.
20000Text to add at the end of the body: on the next line when it continues a list or a table, after a blank line otherwise.
1 - 20000Exact text in the body to change, e.g. a whole table row. It must appear exactly once. Send with replace_with.
1 - 20000What find becomes; empty removes it.
20000A new topic; empty clears it.
64The new tags, replacing the old ones; an empty list clears them. Up to 10 short tags (each at most 40 characters). They are kept lowercase, without a leading #, each once.
1040Pin or unpin it.
Response
The note as it is now.
One line, at most 200 characters.
The note itself, in Markdown (tables and checklists work).
Who wrote it first: user (you, on the Notes page), igris (the assistant), session (a chat session's agent), brain (a workflow's Brain) or api (the API or an AI assistant you connected).
user, igris, session, brain, api The path of the note's page in the Valendata app, e.g. /notes/{id}.
One short topic, e.g. 'Travel'; null when none.
Short lowercase tags.
Pinned notes come first in the list.

