Add or update a note
- Base URL
-
https://{kibana_url}
- PATCH /api/note
- PATCH /s/{space_id}/api/note
Creates a new note or updates an existing one.
Create: Send note and omit noteId to create a new saved object.
Update: Send note with the changed fields and set noteId to the note's saved object ID. Optionally include version for optimistic concurrency when the client has it from a prior read.
Requires the Timeline and Notes write privilege (notes_write).
Path parameters
-
space_idstringoptional -
An identifier for the space. If
space_idis not provided in the URL, the default space is used. Refer to Spaces for more information.
Request body
Body must include the note object. For updates, include noteId (and optionally version).
To attach a note to a specific event, set note.eventId to that event's document _id; for a timeline-wide note, omit or clear eventId per product rules.