invalidateUsageCatalogCache
invalidateUsageCatalogCacheForce rebuild of the server-local usage index after its sources change. Clears only the runtime index; the next lookup refreshes it synchronously without modifying database data.
Instructions
Force the server-local usage index to be rebuilt after its configured sources change. Invalidates only the runtime/local index; the next usage lookup rebuilds it synchronously and no inspected database data is modified.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| connection | Yes | Database to run against. Call listConnections for valid names; do not guess. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | No | Current usage-catalog index state, such as not_started, indexing, ready, or failed. | |
| sources | No | Configured usage-catalog source paths and database-native sources considered for indexing. | |
| indexing | Yes | True while the usage catalog index is being built. | |
| connection | No | Name of the connection this catalog belongs to. | |
| catalogEnabled | Yes | False when the usage catalog is disabled; true when indexing and lookups are allowed. |