API Publication Status

The correction slice below remains a historical 4.1.0 source publication, pinned to its original commits and bytes retained in Platform history. Current contract development is retvest-platform/contracts/, with a selected 5.1.0 API; these historical examples do not establish compatibility with that API.

This page is the rendered docs companion to docs-api/README.md. It makes the API publication boundary visible to docs readers while hosted API DNS remains pending.

retvest-site owns public API publication wording and docs rendering. retvest-contracts owns the shared OpenAPI artifact contract, retvest-platform owns API routes, schemas, auth metadata, generated OpenAPI snapshots, and release evidence, and retvest-sdk owns SDK and CLI distribution claims.

Current Status

  • Correction OpenAPI evidence exists in owner repos: retvest-contracts carries openapi/openapi.json at version 4.1.0, openapi/work-run-correction-fixtures.json, openapi/work-run-correction-consumer-pin.json, and openapi/retvest-contract-artifact-manifest.json; retvest-platform carries contracts/openapi-work-run-corrections.v1.json.
  • The site-rendered Work Run correction OpenAPI JSON and HTML snapshots are committed at docs/api/openapi.json and docs/api/index.html, with static mirrors served by Docusaurus at OpenAPI JSON and OpenAPI HTML. The static artifacts are byte-for-byte Docusaurus mirrors of the canonical source artifacts. The committed correction slice is a pinned source-publication snapshot; it is not proof that a newly bumped shared contract has been propagated to every consumer.
  • docs-api/README.md is the source publication note paired with API reference.
  • docs-api/work-run-correction-openapi-sdk-fixtures.json is a site-side fixture for public Work Run correction examples and six-repo correction evidence paths. It also pins the owner source artifact digests used by the committed rendered JSON/HTML so provenance tampering is rejected even in site-only validation. It is not hosted API docs proof, package-registry proof, or customer automation evidence.
  • The fixture is pinned to OpenAPI version 4.1.0 and schema hash 905a9f3c0b3bf0f90eb4a0a2c6f9369ef72fd4c92cb0dfe627cf950811af9d8a. These docs describe only verified append-only correction behavior from that source-publication fixture: create pending rows, read history and audit metadata, apply, reject, or request retry. They are source-publication examples, not hosted API docs or generated customer automation.
  • Hosted docs DNS remains pending, and package registries, generated customer SDKs, production install proof, and customer automation examples remain pending until owner evidence exists. Customer automation examples remain pending until owner evidence exists.
  • retvest-sdk source packages already expose Work Run correction helpers for create, list, audit, apply, reject, retry-request, typed Problem handling, and retry policy.
  • Public examples must stay metadata-only: no bearer tokens, customer content, raw prompts, generated answers, citation bodies, private evidence refs, or full UUID-heavy payloads.

Publication Checks

Use the publication artifact guard to catch stale rendered JSON/HTML snapshots:

make api-publication-artifacts

Use the claim and docs gates before changing API publication wording:

make site-claims
make docs-links
make docs-build

Run the full owner-repo gate before handoff:

make verify

Correction API Publication Boundary

The source-publication Work Run correction set is intentionally explicit:

Source page Publication role
Correction lifecycle Operator state model for draft, pending review, applied, rejected, superseded, stale-version refresh, and retry-after wait states.
Recording corrections Operator runbook for correction create, history read, audit read, and Problem handling.
Create corrections Source-publication create examples for pending corrections and idempotent create retries.
List corrections Source-publication list examples for cursor pagination, tenant-safe unavailable states, and read retries.
Audit visibility Source-publication audit visibility examples for role-aware metadata, hash-chain fields, and unsafe payload boundaries.
Apply corrections Source-publication apply examples for expected-version review decisions and unsafe retry suppression.
Reject corrections Source-publication reject examples for bounded reason codes and unsafe retry suppression.
Request retry Source-publication retry-request examples for expected_work_run_version, approval/export gates, and finalized-state Problems.
Correction API errors Fixture-aligned Problem examples, request IDs, Retry-After, idempotency, expected-version conflicts, and cursor handling.
Correction SDK examples Verified source-package helper names, shipped correction limits, typed Problem handling, and lower-level examples while package registry release evidence remains pending.

Treat request id, Retry-After, idempotency, expected-version, expected_work_run_version, cursor pagination, shipped string limits, and typed Problem handling as bounded source-package behavior tied to the checked owner artifacts and the site-rendered correction slice. Do not claim hosted API docs, customer automation, package-registry availability, or public API-doc rendering before the owner evidence exists.

Graduation Criteria

Public API publication can graduate only when:

  • retvest-contracts and retvest-platform provide reviewed OpenAPI source artifacts and contract checks.
  • This docs source renders the same correction snapshot without remote API-doc assets.
  • retvest-sdk consumes the same committed snapshot for SDK and CLI distribution claims.
  • Every owner-repo consumer copy is byte-synced to the newly bumped shared contract before public copy treats that contract as current.
  • Hosted docs DNS, indexing, and smoke proof exist before public copy claims docs.retvest.com is live.

Choose what this site may use. Your choice is kept in this browser only.