---
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.

---

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