---
title: "Check staleness of context documents"
method: GET
path: "/context-documents/staleness"
tags: ["Context Documents"]
---

# Check staleness of context documents

`GET /context-documents/staleness`

Check if context documents are stale — i.e., underlying sources have
changed since the last tree was generated.

Returns the number of resources modified since the last generation,
which sources have new data, and a staleness level.

## Response `200`

Successful Response

- StalenessResponse
  - `last_generated_at` string, date-time, nullable, required
  - `resources_since` integer, required
  - `sources_with_changes` string[], required
  - `staleness_level` string, required

---

[API](https://skmtc.net/hyperspell/apis/hyperspell-api.md) · [All operations](https://skmtc.net/hyperspell/apis/hyperspell-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hyperspell/hyperspell-api/versions/5721acd588e6/schema)
