ai_instance_history
Retrieve stored metrics time-series for an AI component instance to identify trends such as hit-rate degradation, growth, and threshold drift.
Instructions
Get the stored metrics time-series for one AI component instance (hits, misses, hit rate, cost saved, evictions, item count, index size, threshold). Use ai_list_instances first to find the instance field identifier. Use this to see trends: hit-rate degradation, growth, threshold drift.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| field | Yes | Instance field identifier from ai_list_instances | |
| hours | No | Look-back window in whole hours, 1-168 (default 24) | |
| instanceId | No | Optional instance ID override |