Index coverage and freshness
index_statusCheck search index coverage to tell whether an empty result means no matches or an unbuilt index. See build progress, reason, and estimated duration; poll to watch coverage grow.
Instructions
What fraction of the mailbox is searchable, which index generation is answering, and Mail’s own change counter. Call this to tell an empty search result caused by no matches from one caused by an unbuilt index. Also reports whether a build is running right now, why it started, and an estimated file count and duration for it. Builds start on their own — on the first call with no index, and afterwards whenever Mail has received or removed messages — and they never block a call, so poll this to watch coverage grow rather than waiting on anything.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||