GovGazette Freshness API

The Freshness API from GovGazette — 1 operation(s) for freshness.

GitHub OpenAPI

Operations 1

GET /api/v1/freshness Source coverage and publication dates #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/govgazette-com:govgazette-com-freshness-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

govgazette-com-freshness-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: GovGazette Freshness API
  version: 0.1.0
servers:
- url: https://govgazette.com
tags:
- name: Freshness
paths:
  /api/v1/freshness:
    get:
      operationId: get_api_v1_freshness
      parameters: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $defs:
                  AwardAvailability:
                    properties:
                      artifact_http_status:
                        format: uint16
                        maximum: 65535
                        minimum: 0
                        type:
                        - integer
                        - 'null'
                      check_interval_seconds:
                        format: uint64
                        minimum: 0
                        type: integer
                      checked_at:
                        type:
                        - string
                        - 'null'
                      inventory_http_status:
                        format: uint16
                        maximum: 65535
                        minimum: 0
                        type:
                        - integer
                        - 'null'
                      latest_release_date:
                        type:
                        - string
                        - 'null'
                      latest_release_url:
                        type:
                        - string
                        - 'null'
                      max_check_age_seconds:
                        format: int64
                        type: integer
                      state:
                        type: string
                    required:
                    - state
                    - check_interval_seconds
                    - max_check_age_seconds
                    type: object
                  AwardFreshness:
                    properties:
                      age_state:
                        type: string
                      age_warning_after_days:
                        format: int64
                        type: integer
                      effective_source_date:
                        type:
                        - string
                        - 'null'
                      source_age_days:
                        format: int64
                        type:
                        - integer
                        - 'null'
                      upstream:
                        $ref: '#/components/schemas/AwardAvailability'
                      warning:
                        type:
                        - string
                        - 'null'
                    required:
                    - age_state
                    - age_warning_after_days
                    - upstream
                    type: object
                  FreshnessState:
                    enum:
                    - fresh
                    - stale
                    - unknown
                    - unavailable
                    type: string
                  SourceCoverage:
                    properties:
                      award_freshness:
                        anyOf:
                        - $ref: '#/components/schemas/AwardFreshness'
                        - type: 'null'
                        description: Award age and latest official release evidence, independent of publication or scheduler state.
                      dataset:
                        type: string
                      exclusion_freshness:
                        anyOf:
                        - $ref: '#/components/schemas/SourceFreshness'
                        - type: 'null'
                      input_rows:
                        format: int64
                        type: integer
                      public_rows:
                        format: int64
                        type: integer
                      reference_edition:
                        type:
                        - string
                        - 'null'
                      reference_scope:
                        type:
                        - string
                        - 'null'
                      sha256:
                        type: string
                      source_date:
                        type: string
                      source_date_kind:
                        description: Meaning of the supplied date; not an importer or scheduler timestamp.
                        type: string
                      source_url:
                        type: string
                    required:
                    - dataset
                    - source_url
                    - source_date
                    - sha256
                    - input_rows
                    - public_rows
                    - source_date_kind
                    type: object
                  SourceFreshness:
                    properties:
                      attention_required:
                        type: boolean
                      evaluated_at:
                        description: UTC time when age was evaluated; source and observation dates are unchanged.
                        type: string
                      max_age_seconds:
                        description: Explicit warning threshold for this daily snapshot. Not a scheduler promise.
                        format: int64
                        type: integer
                      source_age_seconds:
                        description: Age of the official source timestamp, never the import or enrichment timestamp.
                        format: int64
                        type:
                        - integer
                        - 'null'
                      state:
                        $ref: '#/components/schemas/FreshnessState'
                      warn_age_seconds:
                        description: Early-warning boundary, separate from the stale-source boundary.
                        format: int64
                        type: integer
                      warning:
                        description: User-facing warning, or null when within the warning threshold.
                        type:
                        - string
                        - 'null'
                    required:
                    - state
                    - evaluated_at
                    - max_age_seconds
                    - warn_age_seconds
                    - attention_required
                    type: object
                $schema: https://json-schema.org/draft/2020-12/schema
                properties:
                  generation:
                    type: string
                  history:
                    type: string
                  sources:
                    items:
                      $ref: '#/components/schemas/SourceCoverage'
                    type: array
                required:
                - generation
                - sources
                - history
                type: object
          description: Public source-backed result
        '400':
          description: Invalid request
        '408':
          description: Five-second request deadline exceeded
      summary: Source coverage and publication dates
      x-openai-isConsequential: false
      tags:
      - Freshness
components:
  schemas:
    SourceCoverage:
      type: object
      description: Referenced by this document but never defined in it. API Evangelist added this empty placeholder so the document resolves; the shape is unknown and is NOT a claim about the API.
      x-ae-placeholder: true
    AwardFreshness:
      type: object
      description: Referenced by this document but never defined in it. API Evangelist added this empty placeholder so the document resolves; the shape is unknown and is NOT a claim about the API.
      x-ae-placeholder: true
    SourceFreshness:
      type: object
      description: Referenced by this document but never defined in it. API Evangelist added this empty placeholder so the document resolves; the shape is unknown and is NOT a claim about the API.
      x-ae-placeholder: true
    AwardAvailability:
      type: object
      description: Referenced by this document but never defined in it. API Evangelist added this empty placeholder so the document resolves; the shape is unknown and is NOT a claim about the API.
      x-ae-placeholder: true
    FreshnessState:
      type: object
      description: Referenced by this document but never defined in it. API Evangelist added this empty placeholder so the document resolves; the shape is unknown and is NOT a claim about the API.
      x-ae-placeholder: true