Listing history API v1

Search and listing detail responses include historyUrl. History records material changes to published pricing plans, free-tier/card requirements, interfaces, API authentication and rate-limit attributes, trial availability, capabilities, field evidence and publication availability. Listing pages link to a human-readable change timeline.

For catalog-wide incremental discovery use GET /api/changes. Listing publishedAt records first public availability; updatedAt follows public material events, including nested pricing edits. History supplies the before/after detail for those public changes.

Requests

GET /api/products/{slug-or-id}/history?limit=20
GET /api/products/{slug-or-id}/history?type=pricing_changed&limit=20&cursor=42

MCP: get_product_history {"slug":"example","type":"pricing_changed","limit":20}
A2A: data part {"skill":"get-product-history","slug":"example","limit":20}

Catalog history needs no sign-in or key. The shared agent API limit is 60 requests per minute per IP. HTTP supports GET/OPTIONS, CORS and no-store responses. A2A uses the existing SendMessage endpoint with A2A-Version: 1.0.

limit is 1–50, default 20. type optionally selects one event type. cursor is the previous nextCursor, scoped to the same listing/filter. Unknown, repeated or malformed parameters return HTTP 400; unknown listings and never-published drafts return 404. Current unpublished listings with recorded public history remain monitorable. No pending values or private moderation state are returned.

Responses and pagination

{
  "schemaVersion": 1,
  "listing": {
    "id": "…",
    "slug": "example",
    "available": true
  },
  "newestVersion": 7,
  "type": "pricing_changed",
  "entries": [
    {
      "id": "…",
      "version": 7,
      "type": "pricing_changed",
      "summary": "Pricing plans changed",
      "changedAt": "2026-11-03T00:00:00.000Z",
      "changes": {
        "pricing": {
          "before": [
            {
              "name": "Standard",
              "amount": 10,
              "currency": "USD"
            }
          ],
          "after": [
            {
              "name": "Standard",
              "amount": 20,
              "currency": "USD"
            }
          ]
        }
      },
      "source": {
        "type": "admin_edit",
        "actor": {
          "kind": "admin",
          "reference": "editor_opaque-reference"
        }
      }
    }
  ],
  "hasMore": true,
  "nextCursor": "7",
  "coverage": "recorded_changes_only"
}

Entries sort by descending per-listing version. version, not timestamp alone, defines order when several changes share a timestamp. One save may emit multiple event types. Each changes key identifies a tracked field group with before/after values; nested arrays contain public plan/interface/capability values without database row IDs. The summary is a concise description of the affected group. Amounts are numeric; null is unknown, not free or zero.

Use nextCursor while hasMore is true, keeping the listing and type filter unchanged. The next page contains older versions, so new concurrent writes do not duplicate earlier pages. Versions may have gaps when filtering by event type. newestVersion identifies the latest captured version at the start of that request, not a promise of unchanging listing data.

Event types

pricing_changed tracks plan amounts, currency, billing periods, models, names, pricing links and descriptions; use this distinct type to monitor pricing. free_tier_changed tracks plan free-tier flags and structured free-tier/card fields. api_changed covers interface availability/endpoints/docs, product types, access instructions, authentication/rate-limit fields and public trial configuration. capabilities_changed covers free-text capabilities and category-specific structured fields/evidence. availability_changed records published versus unavailable, without disclosing private pending/rejected states or moderation reasons.

Rollout and publication

A newly published listing starts with a published snapshot. Legacy published listings remain valid; their first tracked material update records a baseline of the previously published state, followed by the actual changes. The baseline timestamp is when tracking observed that state; it is not a fabricated original publication date. An untouched legacy listing may have no entries and coverage no_recorded_history. No historical price changes are inferred.

Owner edits that return a listing to review emit only its public availability change. Their new pricing, API details and capabilities enter history after publication. Draft changes and private moderation notes never enter public snapshots. Automatic approvals use the same atomic history path and have source type auto_review.

Retention, attribution and secrets

Public history is retained for the life of a listing, including periods when unavailable, and is deleted when the listing is deleted. Database triggers reject rewriting or individually deleting entries while their listing exists. Material changes and history inserts share a locked transaction, so concurrent edits cannot overwrite earlier history and a failed history write rolls back the listing change. No-op saves and regenerated nested row IDs do not create events.

source records owner_edit, admin_edit, admin_publication, auto_review or rollout. Identified editors have a role and opaque reference; raw account IDs, names and emails are not public. System/rollout actors are null. Provider source URLs/references remain in the structured field values where present. This public timeline is separate from the admin-only field verification audit.

Snapshots use an explicit public-field allowlist. Trial keys, encrypted credentials, authorization headers, private auth configuration, user records, chat/trial inputs or outputs, and moderation notes are excluded. Known old/new trial credentials and common token patterns are redacted from text, including encoded forms. URLs lose userinfo, query strings and fragments, even inside instructions. Query-only or credential-only changes therefore may not produce a public event. If a saved trial credential cannot be decrypted for scrubbing, textual history values are withheld instead of risking disclosure. Read responses also scrub against current credentials.

v1 additions are additive. Consumers should tolerate new event types, snapshot fields and source types; breaking changes to existing meanings or pagination require a new schema version and migration guidance.