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 option | Meaning |
|---|---|
unanswered | A dated inbound is newer than the last dated outbound. The mirror indicates a reply is owed by us. |
awaiting_reply | The last dated outbound is at least as recent as the inbound. |
never_answered | Messages exist, but there is no supplier inbound in the stored history. |
unknown | Undated or uncertain ordering prevents a reliable newest-direction decision. |
no_messages | The 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.