Get notes
- Base URL
-
https://{kibana_url}
- GET /api/note
- GET /s/{space_id}/api/note
Returns Security Timeline notes as saved objects.
Query modes (mutually exclusive branches on the server):
documentIdsis set — Returns notes whoseeventIdmatches the given Elasticsearch document_id(single string or array). Pagination query parameters (page,perPage, etc.) are not applied; the server uses a fixed page size (up to 10000 notes).savedObjectIdsis set — Returns notes linked to the given Timeline saved object id(s). Same fixed cap as above; list-mode query parameters are not applied.Neither
documentIdsnorsavedObjectIds— Lists notes using saved-objects find semantics:page(default 1),perPage(default 10), optionalsearch,sortField,sortOrder,filter,createdByFilter, andassociatedFilter.
Requires the Timeline and Notes read privilege (notes_read).