---
title: "Per-source freshness map"
method: GET
path: "/api/v1/sources/freshness"
tags: ["Sources"]
---

# Per-source freshness map

`GET /api/v1/sources/freshness`

Return a minimized freshness projection only for sources authorized by the versioned public-source catalog. The timestamp comes from the offline projection, never request time. Its ETag is bound to the shared asv1 stats generation and uses 60-second must-revalidate caching. Unknown, review and restricted sources are omitted. Connector health, errors, schedules and row counts are never exposed.

## Headers

- `If-None-Match` string

## Response `200`

Freshness map

- object — Fail-closed public projection. Operational ingestion telemetry is intentionally absent.
  - `generated_at` string, date-time, nullable — Offline projection generation time; null only for a legacy cache without provenance.
  - `global` object
    - `date` string, date-time, nullable
    - `label` string, nullable
    - `status` 'current' | 'stale' | 'unknown'
  - `source_catalog_version` string
  - `sources` PublicSourceMetadata[]
    - `slug` string, required
    - `name` string, required
    - `license` string, required
    - `license_url` string, uri, nullable
    - `attribution_required` boolean, required
    - `attribution_text` string, nullable
    - `official_url` string, uri, nullable
    - `reuse_conditions` string, required — Condiciones de reutilizacion que el consumidor debe conservar al presentar o transformar el dato.
    - `policy_effective_date` string, date, required
    - `reviewed_at` string, date, nullable
    - `data_updated_at` string, date-time, nullable
    - `catalog_version` string, required
    - `freshness` 'current' | 'stale' | 'unknown', required
  - `count` integer
  - `_legal_notice` string

## Other responses

- `304` — The authorized freshness representation and shared stats generation have not changed
- `429` — Rate limit exceeded
- `503` — The required offline freshness projection is absent, or the public-source legal policy cannot produce an authorized projection. This endpoint fails closed and never falls back to live connector telemetry.

## Changes

- **2026-07-26** `996f96a11758` — 3 breaking, 8 warning, 22 info
  - the response property `generated_at` became nullable for the status `200`
  - the `global/date` response's property type changed from `string` to `string, null`, and format from `date` to `date-time` for status `200`
  - the `sources/items/official_url` response's property type changed from `string` to `string, null`, and format from no format to `uri` for status `200`
  - removed the optional property `sources/items/description` from the response with the `200` status
  - …29 more

[Change history](https://skmtc.dev/openmercantil/apis/openmercantil-public-api/changes/api/v1/sources/freshness/get.md)

---

[API](https://skmtc.dev/openmercantil/apis/openmercantil-public-api.md) · [All operations](https://skmtc.dev/openmercantil/apis/openmercantil-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/openmercantil/openmercantil-public-api/revisions/601ff6123c86/schema)
