---
title: "Cache and learned-coverage state"
method: GET
path: "/v1/cache"
tags: ["System"]
---

# Cache and learned-coverage state

`GET /v1/cache`

## Request

- Base URL: `https://api.stackdata.io`
- URL: `https://api.stackdata.io/v1/cache`
- Auth: one of:
  - none
  - API key in header `X-API-Key`

Cache hit-rate and learned coverage — exposed rather than guessed, because hit rate drives the cost model.

## Response `200`

Cache state.

- object
  - `cache` object
  - `learned_coverage` object
  - `meta` Meta: Attached to every JSON response. `harvest` maps each source id to its last successful harvest timestamp.
    - `harvest` object
    - `api_version` string

---

[API](https://skmtc.dev/stackdata/apis/stackdata-api.md) · [All operations](https://skmtc.dev/stackdata/apis/stackdata-api/llms.txt) · [OpenAPI document](https://skmtc.dev/stackdata/apis/stackdata-api/revisions/91358ae3f6e8?raw)
