API reference
Every route of https://api-staging.product.cloud, generated from the OpenAPI 3.1 spec. Download the spec at /openapi.json for code generators and API tools. How to authenticate, page, and handle errors: REST API.
access
| Method | Path | What |
|---|---|---|
GET | /v1/repos/{namespace}/{repository}/access-requests | Access requests (maintainers: all; others: own) |
POST | /v1/repos/{namespace}/{repository}/access-requests | Request access to a restricted repository |
POST | /v1/repos/{namespace}/{repository}/access-requests/{id}/decision | Approve or reject |
GET | /v1/repos/{namespace}/{repository}/entitlement | Caller's access state |
GET | /v1/repos/{namespace}/{repository}/entitlements | Personal and organization grants of a restricted repository (maintainers) |
DELETE | /v1/repos/{namespace}/{repository}/entitlements/{user} | Revoke an entitlement |
PUT | /v1/repos/{namespace}/{repository}/entitlements/orgs/{organization} | Grant every member of an organization access (maintainers) |
DELETE | /v1/repos/{namespace}/{repository}/entitlements/orgs/{organization} | Revoke an organization's access (maintainers) |
assets
| Method | Path | What |
|---|---|---|
GET | /v1/repos/{namespace}/{repository}/assets | A page of an asset repository's files at a revision, each with its rights attestation, its links and a download path (content access as for queries; sealed cursor) (revision, after, limit) |
classifications
| Method | Path | What |
|---|---|---|
GET | /v1/repos/{namespace}/{repository}/classes | Class hierarchy of a classification repository (full, or the path view with view=path) (revision, view, open, after, q) |
GET | /v1/repos/{namespace}/{repository}/classes/{code} | Class detail: labels, parent, children, properties, values (revision) |
commits
| Method | Path | What |
|---|---|---|
GET | /v1/repos/{namespace}/{repository}/commits | First-parent history (ref, limit) |
GET | /v1/repos/{namespace}/{repository}/commits/{digest}/artifacts | Semantic diff and validation artifacts of a commit |
community
| Method | Path | What |
|---|---|---|
PUT | /v1/repos/{namespace}/{repository}/follow | Follow |
DELETE | /v1/repos/{namespace}/{repository}/follow | Unfollow |
GET | /v1/repos/{namespace}/{repository}/proposals | Change proposals (newest first; the listed state is the last one recorded) (status, state, type) |
POST | /v1/repos/{namespace}/{repository}/proposals | Open a change proposal for a pushed branch (typed contribution, ADR-0090) |
GET | /v1/repos/{namespace}/{repository}/proposals/{number} | Proposal with commits, checks, comments |
POST | /v1/repos/{namespace}/{repository}/proposals/{number}/comments | Comment |
POST | /v1/repos/{namespace}/{repository}/proposals/{number}/merge | Merge (maintainers): fast-forward main once checks pass and the proposal is accepted (PRODUCT-REVIEW-REQUIRED, PRODUCT-REVIEW-STALE) |
POST | /v1/repos/{namespace}/{repository}/proposals/{number}/close | Close: rejected (a maintainer) or withdrawn (the author) |
POST | /v1/repos/{namespace}/{repository}/proposals/{number}/withdraw | Withdraw (the author) |
GET | /v1/repos/{namespace}/{repository}/proposals/{number}/reviews | Reviews of a proposal, with the computed state and approvals |
POST | /v1/repos/{namespace}/{repository}/proposals/{number}/reviews | Review a proposal (product.cloud/proposal-review@1, bound to the current head; ADR-0090 §4) |
POST | /v1/repos/{namespace}/{repository}/proposals/corrections | Propose a corrected value (the hub builds the commit, branch, and proposal): product attributes, classification labels, translations and units, or one mapping relation |
connectors
| Method | Path | What |
|---|---|---|
POST | /v1/connectors/compatibility | Whether a connector-capabilities@1 declaration covers a repository or dataset ({capabilities, repository | dataset}): compatible, partial or unsupported, with reasons. Capability evidence, never access (ADR-0070 §3) |
datasets
| Method | Path | What |
|---|---|---|
GET | /v1/datasets | Curated cross-repository datasets with their latest release (ADR-0050) |
GET | /v1/datasets/{dataset} | A curated dataset: definition (selection, license policy) and every release, newest first |
GET | /v1/datasets/{dataset}/manifest | A curated release as a browser dataset: tables, columns, and Parquet shard URLs with SHA-256 (ADR-0041 shape) (release, scope) |
GET | /v1/datasets/{dataset}/changes | Row changes between graph-view releases of a curated dataset, with cursors (ADR-0059) (after, limit) |
GET | /v1/datasets/{dataset}/objects/{digest} | A curated release object (shard or manifest) by digest, for hubs without a public object domain |
HEAD | /v1/datasets/{dataset}/objects/{digest} | Size of a curated release object |
discovery
| Method | Path | What |
|---|---|---|
GET | /v1/capabilities | Advertised next-wave extensions and supported protocol versions (ADR-0066 §1); public, never caller-dependent |
evidence
| Method | Path | What |
|---|---|---|
GET | /v1/transform/runs/{digest}/evidence | The evidence node of one target field of a run (query: gtin, field), for the shared evidence drawer |
GET | /v1/entities/{id}/evidence | One field's resolved value under authority-rank@1 and every competing assertion the caller may see, each with an opaque evidence id (ADR-0067 §3). Query: field (required), language, asOf with domain=record |
GET | /v1/entities/{id}/decisions | Identity decisions of the entity's merge group the caller may see (reviewer decisions always, system decisions when their evidence is visible) |
GET | /v1/entities/{id}/timeline | Discrete published events in one time domain (query: domain=record|valid|identity|transform, required; from, to, limit ≤ 500). Never interpolated (ADR-0067 §5) |
GET | /v1/evidence/{id} | One evidence node, re-authorized on every read; status current|superseded|retracted|erased-metadata-only (ADR-0067 §2). Invisible ids answer like unknown ones (404) |
GET | /v1/evidence/{id}/trace | What a value derives from: transform rules, source assertions, verified canonical source rows, identity decisions (depth 1–3, ≤200 nodes per page, sealed next cursor) |
POST | /v1/receipts | Store a product.cloud/receipt@1 for its owner. Receipts never contain URLs, tokens or signatures (ADR-0067 §7) |
GET | /v1/receipts/{digest} | The owner's receipt; every evidence reference is re-authorized (readable or access-required) |
GET | /v1/receipts/{digest}/replay | Whether the receipt can be reproduced now, and the reasons if not (withdrawn, access-required, erased, release-pruned) |
federation
| Method | Path | What |
|---|---|---|
GET | /v1/federation/descriptor | This hub's signed product.cloud/hub-descriptor@1: protocols, extensions, transport limits and keys (ADR-0076); 404 when the hub does not federate |
GET | /v1/federation/origins/{originId} | The newest accepted, signed origin descriptor of an origin this hub mirrors, passed on unchanged |
POST | /v1/federation/announcements | A signed announcement that an origin repository moved: checked for loops, hops (≤ 4), dates, origin and signer (the origin or an allowlisted peer); marks mirrors stale until the engine verifies (202) |
GET | /v1/federation/mirrors/{namespace}/{repository} | Mirror status: origin, status, last verified commit and time (never claimed fresher), last error, withdrawal |
DELETE | /v1/federation/mirrors/{namespace}/{repository} | Withdraw (purge) a mirror: operator only; content reads then answer 410 PRODUCT-FEDERATION-WITHDRAWN |
iceberg
| Method | Path | What |
|---|---|---|
GET | /v1/iceberg/v1/config | Iceberg REST catalog configuration (read-only catalog over canonical shards, ADR-0058 §9): the warehouse location |
GET | /v1/iceberg/v1/namespaces | Namespaces with published Iceberg tables (open repositories only) |
GET | /v1/iceberg/v1/namespaces/{namespace}/tables | Iceberg tables of a namespace, named <repository>__<table> |
GET | /v1/iceberg/v1/namespaces/{namespace}/tables/{table} | loadTable: the table metadata (every commit a snapshot, branches and tags as refs, mandatory name mapping); data files are the canonical shards at their object keys |
GET | /v1/iceberg/attachments/{namespace}/{repository} | product.cloud/iceberg-attachment@1 of the commit a revision names (query: revision, default main): every table pinned to {metadataLocation, snapshotId} |
POST | /v1/iceberg/v1/aws/s3/sign | Iceberg REST remote signer (ADR-0058 §9.8): a five-minute presigned GET or HEAD of one object. Open objects for anyone; restricted objects only for a caller who may read a repository holding them, decided on every request (service accounts welcome) |
identity
| Method | Path | What |
|---|---|---|
GET | /v1/entities | The cross-repository entity anchored on an identifier (identity projection, ADR-0039/0044) (identifier) |
GET | /v1/entities/{id} | An entity with the identifier claims, links, decisions, disputes, and candidates visible to the caller |
GET | /v1/entities/{id}/assertions | Assertions about an entity: raw, per source, or resolved by a named policy; optionally as of a record time (view, asOf) |
GET | /v1/identity/candidates | Possible identity links (shared MPN, equal brand and name); never merged automatically (entity, limit) |
POST | /v1/identity/decisions | Record a reviewed identity decision (identity reviewers only): merge, split, different_from, same_as, variant_of, package_of, successor_of, reject, or revert |
impact
| Method | Path | What |
|---|---|---|
POST | /v1/impact/evaluations | Evaluate a consumer impact contract against a base and candidate release of one dataset scope (ADR-0069). Signed in; idempotent by inputs |
GET | /v1/impact/evaluations | The caller's impact evaluations (query: dataset), newest first, rights re-checked |
GET | /v1/impact/evaluations/{id} | An impact evaluation with its impact-report@1 when recorded; owner only, rights re-checked; a queued one is retried on read |
GET | /v1/impact/evaluations/{id}/findings | Findings of an impact report, paged with a sealed cursor |
POST | /v1/impact/evaluations/{id}/acknowledgments | Record that an operator acknowledged or deployed a recorded report ({state, receipt?}); a report never writes to a target by itself |
POST | /v1/impact/contracts/validate | Problems and digest of a draft consumer contract; nothing is recorded |
live-queries
| Method | Path | What |
|---|---|---|
POST | /v1/live-queries | Create (or reuse) an immutable product.cloud/live-query@1 definition over a dataset's open scope; fields must be declared query fields (ADR-0073) |
GET | /v1/live-queries/{id} | Definition and status (backfilling, ready, lagging) of a live query |
GET | /v1/live-queries/{id}/snapshot | The query's members at a release (query: release; default the latest live release) and the barrier cursor to follow changes from |
GET | /v1/live-queries/{id}/changes | enter/update/leave changes of the query result after a sealed cursor (query: after, limit ≤ 1000); 410 with a snapshot on reset or changed rights |
POST | /v1/live-queries/{id}/subscriptions | Register an https webhook for signed release hints (polling stays the source of truth) |
DELETE | /v1/live-queries/{id}/subscriptions/{sub} | Disable a webhook subscription (its owner only) |
mapping-assist
| Method | Path | What |
|---|---|---|
POST | /v1/mapping-assists | Start a mapping-assist job over pinned open releases: retrieval, typed candidates and deterministic validation; AI generation only when a provider is configured (ADR-0074) |
GET | /v1/mapping-assists/{jobId} | The job (owner only): task, retrieval manifest, validated candidates with their provenance (found in a published source or generated) |
POST | /v1/mapping-assists/{jobId}/preview | Run the transform engine with one candidate as a draft rule over the pinned source (candidate), or validate the set to propose (candidates); both answer previewDigest, the digest of product.cloud/mapping-assist-preview@1 (ADR-0091) |
POST | /v1/mapping-assists/{jobId}/propose | Propose the reviewer's (possibly edited) candidates as draft rules on the job's transform repository; nothing is merged without review. With previewDigest, a proposal whose candidates, validation or base commit differ from the reviewed preview answers 410 PRODUCT-PLAN-STALE (ADR-0091) |
mappings
| Method | Path | What |
|---|---|---|
GET | /v1/repos/{namespace}/{repository}/mappings | Mappings of a mapping repository (source, revision) |
meta
| Method | Path | What |
|---|---|---|
GET | /health | Liveness |
namespaces
| Method | Path | What |
|---|---|---|
POST | /v1/namespaces | Claim a personal namespace |
POST | /v1/orgs | Create an organization (scope repo:admin) |
GET | /v1/orgs/{org} | Organization profile and visible repositories |
GET | /v1/orgs/{org}/members | List members and their roles (members only) |
PUT | /v1/orgs/{org}/members/{user} | Grant a role (owners/admins) |
DELETE | /v1/orgs/{org}/members/{user} | Remove a member (owners/admins), or leave the organization |
objects
| Method | Path | What |
|---|---|---|
POST | /v1/repos/{namespace}/{repository}/objects/missing | Which digests must be uploaded |
GET | /v1/repos/{namespace}/{repository}/objects/{digest} | Download a verified object |
HEAD | /v1/repos/{namespace}/{repository}/objects/{digest} | Object existence |
PUT | /v1/repos/{namespace}/{repository}/objects/{digest} | Upload an object (body must hash to the digest) |
organizations
| Method | Path | What |
|---|---|---|
POST | /v1/orgs/{org}/service-accounts | Create an organization service account from an Ed25519 public key (owners and admins). Scopes are read-only (repo:read, artifact:read, org:read); the machine authenticates with short-lived self-signed assertions (ADR-0071) |
GET | /v1/orgs/{org}/service-accounts | The organization's service accounts with status, key id, generation and last use (owners and admins) |
DELETE | /v1/orgs/{org}/service-accounts/{id} | Disable a service account; its assertions stop working on the next request |
PATCH | /v1/orgs/{org}/service-accounts/{id} | Set the account's automation label (<org>/<name>), accountable owner (an organization owner) and summary page, shown with every automated post (organization owners; ADR-0101) |
POST | /v1/orgs/{org}/service-accounts/{id}/rotate | Replace the account's public key; the generation increases and entitled dataset rights regenerate |
POST | /v1/orgs/{org}/service-accounts/{id}/scopes | Enable or disable write for a service account: {"write": true} adds repo:write and release:write, usable only on repositories with a publisher grant (organization owners only; ADR-0097) |
passports
| Method | Path | What |
|---|---|---|
GET | /v1/passports | The open passport profiles of the passport-profiles namespace (at most 50): name, pinned commit, digest, dataset, subject level, product category and legal status, so identifier entry points can offer typed links (ADR-0075 §7) |
GET | /v1/passports/{profile}/{subject} | A passport@1: one subject (GTIN or mpn:) projected through the open profile passport-profiles/{profile} over a pinned open-scope graph-view release (query: release, profileRevision). Every value cites evidence; legalConformity is always not-assessed (non-regulatory pilot, ADR-0075). 410 PRODUCT-PASSPORT-WITHDRAWN with the replacement when its release was withdrawn or a cited assertion erased |
GET | /v1/passports/{profile}/{subject}/history | The open releases a passport of this subject can be pinned to, newest first, with the passports already projected and withdrawn ones marked (query: limit ≤ 50) |
products
| Method | Path | What |
|---|---|---|
GET | /v1/repos/{namespace}/{repository}/products | Products at a revision (keyset) (revision, after, limit, q, brand) |
GET | /v1/repos/{namespace}/{repository}/products/{identifier} | One product at a revision, with provenance (revision, include) |
GET | /v1/products/resolve | Assertions for an identifier across repositories (no merged record); identifier.checkDigitValid for GTINs; sources[].revision.createdAt (identifier, asOf, policy) |
GET | /v1/search | Search by intent: product.cloud/search@1 (ADR-0089 §3–4) (q, class, limit, after) |
POST | /v1/repos/{namespace}/{repository}/query | Query one canonical table with a constrained AST (keyset pages, scan budget; ADR-0033) |
GET | /v1/repos/{namespace}/{repository}/dataset | Browser dataset manifest of an open repository release: tables, columns, and Parquet shard URLs with SHA-256 (ADR-0041) (revision) |
proposals
| Method | Path | What |
|---|---|---|
POST | /v1/repos/{namespace}/{repository}/proposals/rule-changes | Propose transform_rules and transform_lookups upserts on a transform repository; new rules enter as draft (ADR-0036 lifecycle) |
quality
| Method | Path | What |
|---|---|---|
GET | /v1/repos/{namespace}/{repository}/quality | Quality measures, findings, and trend for a revision (revision) |
quality-gates
| Method | Path | What |
|---|---|---|
POST | /v1/quality/evaluations | Evaluate a pinned quality-gate policy ({repository, entry[, revision]} or {inline} draft) over a graph-view release and optional base (ADR-0068). Signed in; idempotent by inputs |
GET | /v1/quality/evaluations/{id} | A gate evaluation (product.cloud/job-result@1) with its quality-decision@1 when recorded; owner only, rights re-checked |
GET | /v1/quality/evaluations/{id}/findings | Findings of a gate decision, paged with a sealed cursor (after, limit ≤ 1000) |
POST | /v1/quality/evaluations/{id}/approvals | Approve review findings of a decision {rules, reason}: writers of the policy repository only; erasure, revoked access and blocked rules are never overridable |
POST | /v1/quality/policies/validate | Problems and digest of a draft quality-gate policy; nothing is recorded |
recipes
| Method | Path | What |
|---|---|---|
GET | /v1/recipes | Public analysis recipes, newest first (ADR-0051) (author, limit) |
POST | /v1/recipes | Publish a reviewed recipe: SQL on public datasets pinned to immutable revisions |
GET | /v1/recipes/{recipe} | One recipe; hidden recipes are visible to their author and moderators only |
POST | /v1/recipes/{recipe}/visibility | Hide or show a recipe (its author or a moderator) |
refs
| Method | Path | What |
|---|---|---|
GET | /v1/repos/{namespace}/{repository}/refs | All refs |
GET | /v1/repos/{namespace}/{repository}/refs/heads/{branch} | One branch |
PATCH | /v1/repos/{namespace}/{repository}/refs/heads/{branch} | Compare-and-set a branch (fast-forward, closure-validated) |
GET | /v1/repos/{namespace}/{repository}/refs/tags/{tag} | One tag |
PUT | /v1/repos/{namespace}/{repository}/refs/tags/{tag} | Create an immutable tag (release) |
releases
| Method | Path | What |
|---|---|---|
GET | /v1/repos/{namespace}/{repository}/releases | Releases (tags) with semantic summary, validation, artifacts |
repositories
| Method | Path | What |
|---|---|---|
GET | /v1/repos | List repositories (public discovery, or ?namespace=) (namespace) |
POST | /v1/repos | Create a repository (scope repo:write, maintainer) |
GET | /v1/repos/{namespace}/{repository} | Repository with card, contract, tables, latest release, community counts, and the viewer's role |
GET | /v1/repos/{namespace}/{repository}/state | State token of a repository: changes whenever its own pages would change (cache keys). Without content access, only public changes count (ADR-0055) |
GET | /v1/discovery | Repositories with explained facets (ADR-0089 §5–6) (q, type, access, language, market, standard, license, authority, cadence, freshness, sort, limit, after) |
PUT | /v1/repos/{namespace}/{repository}/service-grants/{account} | Grant a service account the publisher role on this repository: upload objects, move main by compare-and-set, create tags and comment, nothing else (owners of the namespace; ADR-0097) |
GET | /v1/repos/{namespace}/{repository}/service-grants/{account} | A service account's publisher grant on this repository (owners of the namespace, or the account itself) |
DELETE | /v1/repos/{namespace}/{repository}/service-grants/{account} | Revoke a service account's publisher grant; it takes effect on the next request |
rulepacks
| Method | Path | What |
|---|---|---|
GET | /v1/repos/{namespace}/{repository}/rules | A page of a rulepack's rules at a revision, in key order (content access as for queries; sealed cursor) (revision, after, limit) |
sync
| Method | Path | What |
|---|---|---|
GET | /v1/repos/{namespace}/{repository}/changes | Change feed (opaque cursors, at-least-once) (after, limit) |
GET | /v1/repos/{namespace}/{repository}/compare | Semantic diff between two revisions (from, to, limit) |
transform
| Method | Path | What |
|---|---|---|
GET | /v1/repos/{namespace}/{repository}/transform | A transform repository's pins (source, target) and rules at a revision (revision) |
POST | /v1/transform/plans | Plan a transform: applicable rules, target fields, and expected gaps, as a transform-plan@1 artifact with its planDigest (ADR-0036/0037, ADR-0091) |
GET | /v1/transform/plans/{digest} | A stored transform plan (transform-plan@1). Every input is re-authorized on each read: an input the caller cannot see answers 404 PRODUCT-PLAN-NOT-FOUND, a withdrawn input or a vanished commit 410 PRODUCT-PLAN-STALE |
POST | /v1/transform/runs | Run a transform: by the digest of the plan the caller approved (runs exactly its pinned commits), or by source and rules; stores the content-addressed run (report, lineage, target catalog) and returns its report. Repeating a run returns the stored one |
GET | /v1/transform/runs | Stored transform runs the caller may read, newest first (exactly one of source or rules) (source, rules) |
GET | /v1/transform/runs/{digest} | A stored transform run: report, field lineage, and target catalog. Requires read access to its source, rules, and target |
GET | /v1/transform/runs/{digest}/report | The report of a stored transform run: counts per loss label, required-field completion, and the reproducibility manifest |
GET | /v1/transform/runs/{digest}/dataset | A run's output (products, attributes) and lineage as a browser dataset manifest (ADR-0041 shape); only when source, rules, and target are open |
user
| Method | Path | What |
|---|---|---|
GET | /v1/user/notifications | Notifications (unread) |
POST | /v1/user/notifications/{id}/read | Mark read |
GET | /v1/user/following | Followed repositories |
GET | /v1/me | The signed-in user and their organizations |
GET | /v1/me/dashboard | Personal dashboard (UX §25.1) |
GET | /v1/me/notifications | Notifications (alias of /v1/user/notifications) |
webhooks
| Method | Path | What |
|---|---|---|
GET | /v1/repos/{namespace}/{repository}/webhooks | Webhooks |
POST | /v1/repos/{namespace}/{repository}/webhooks | Create a signed webhook (secret shown once) |
DELETE | /v1/repos/{namespace}/{repository}/webhooks/{id} | Delete a webhook |
GET | /v1/repos/{namespace}/{repository}/webhooks/{id}/deliveries | Delivery history |
POST | /v1/repos/{namespace}/{repository}/webhooks/{id}/deliveries/{delivery}/replay | Replay a delivery |