curl --request GET \
--url 'http://localhost:8000/metrics/cache' \
--header "Authorization: Bearer $STATESET_AGENTS_API_KEY"
{
"timestamp": "2026-08-31T14:22:05Z",
"cache": {}
}
Cache Metrics
Get cache statistics.
GET
/
metrics
/
cache
curl --request GET \
--url 'http://localhost:8000/metrics/cache' \
--header "Authorization: Bearer $STATESET_AGENTS_API_KEY"
{
"timestamp": "2026-08-31T14:22:05Z",
"cache": {}
}
Get cache statistics.
Response
object
string (date-time)
required
object
required
Hit, miss and size counters
Status codes
| Code | Meaning |
|---|---|
200 | Successful response |
401 | Authentication required |
422 | Validation error |
429 | Rate limit exceeded |
curl --request GET \
--url 'http://localhost:8000/metrics/cache' \
--header "Authorization: Bearer $STATESET_AGENTS_API_KEY"
{
"timestamp": "2026-08-31T14:22:05Z",
"cache": {}
}
Last modified on August 31, 2026