Skip to main content

mr notes list

List Notes, optionally filtered. Filter flags combine with AND. Comma-separated ID lists on --tags and --groups match only notes carrying every ID given. Date flags (--created-before, --created-after) accept YYYY-MM-DD or RFC 3339. The --name and --description flags match substrings. Use --owner-id and --note-type-id to scope by owner group or note type. Pagination is via the global --page flag (default page size 50).

--mrql applies an MRQL filter expression, with type = "note" implied (the same expression the list-page filter bar accepts). It uses the WHERE-clause grammar only -- no ORDER BY, LIMIT, GROUP BY, SCOPE, or $name parameters -- and composes with the other filter flags via AND. Example: --mrql 'tags = "todo" AND created > -7d'.

Usage

mr notes list

Examples

List all notes (first page)

mr notes list

Filter by name substring and owner

mr notes list --name meeting --owner-id 42

Filter by tag + date

mr notes list --tags 5 --created-after 2026-01-01 --json | jq -r '.[].Name'

Filter with an MRQL expression (type = "note" implied)

mr notes list --mrql 'tags = "todo" AND created > -7d'

Flags

FlagTypeDefaultDescription
--namestring``Filter by name
--descriptionstring``Filter by description
--tagsstring``Comma-separated tag IDs to filter by
--groupsstring``Comma-separated group IDs to filter by
--owner-iduint0Filter by owner group ID
--note-type-iduint0Filter by note type ID
--created-beforestring``Filter by creation date (before)
--created-afterstring``Filter by creation date (after)
--mrqlstring``MRQL filter expression (type = "note" implied), e.g. 'tags = "todo" AND created > -7d'

Inherited global flags

FlagTypeDefaultDescription
--jsonboolfalseOutput raw JSON
--no-headerboolfalseOmit table headers
--pageint1Page number for list commands (default page size: 50)
--quietboolfalseOnly output IDs
--serverstringhttp://localhost:8181mahresources server URL (env: MAHRESOURCES_URL)

Output

Array of Note objects with ID, Name, Description, Meta, Tags, OwnerId, NoteTypeId, CreatedAt, UpdatedAt

Exit Codes

0 on success; 1 on any error

See Also