messages
Read or search the local mirror without operating the phone.
alicli messages list --thread "1000000000001-1000000000002#11011@icbu" --limit 50 --json
alicli messages search "lead time" --thread "1000000000001-1000000000002#11011@icbu" --json
alicli messages show --thread "1000000000001-1000000000002#11011@icbu" --id "mr-0000000000000000" --json| Field or option | Meaning |
|---|---|
--thread ID | Filter list/search to one conversation. Required for show. |
--limit N | Maximum list/search rows, default 50. |
--after N / --before N | Exclusive ordering-time filters in Unix seconds, not milliseconds. |
--id ID | Message identity for show. The example identifier is fictional. |
Ordering and omissions
List selects the newest window, then returns it oldest first. Search uses FTS5 relevance when available and a text-match fallback otherwise. Both use the dated-message view, so undatable rows may be absent. messages show can reach an undated row by its thread and message ID.
ts is ordering time. Use sourceTs and the provenance in rawJson when you need a supplier-event timestamp. Read time must not be presented as the time a supplier replied. A local search does not search Alibaba products or suppliers.
Related
store · threads · search api