alicli documentation

threads

threads

List stored conversations and their current reply state.

alicli threads list --json
alicli threads list --query "Example" --limit 100 --json
alicli threads list --state unanswered --json
alicli suppliers --json
Field or optionMeaning
unansweredA dated inbound is newer than the last dated outbound. The mirror indicates a reply is owed by us.
awaiting_replyThe last dated outbound is at least as recent as the inbound.
never_answeredMessages exist, but there is no supplier inbound in the stored history.
unknownUndated or uncertain ordering prevents a reliable newest-direction decision.
no_messagesThe thread has no stored messages.

Scope of the result

States are computed on read from stored messages. They do not fetch the phone or promise complete history. Human output marks unanswered with !. JSON adds a state to each thread row, alongside threadId, supplierName and company.

--query and --limit select threads before --state filters them. A limited result is not an account-wide count of unanswered threads. Preserve CIDs when names are empty or repeated.

messages · send · store