Use it when inspecting saved lineage; use design_preview to render, edit, compare or accept. Returns version metadata, latest and acceptance summary. Supply compositionId. Starts no preview host and returns no running URL. Full schema: oods://schemas/design_versions.input.json.

Inputs

Name Type Required Description
action "versions" no Choose versions.
compositionId string yes An existing composition from design_compose; with no version, its latest version opens.

Outputs

Name Type Required Description
status "ok" yes
action "versions" yes
compositionId string yes
latest integer | null yes
versions object[] yes
accepted null | object yes The standing acceptance (the last one in accepted.json), or null when no version was accepted.
durationMs number yes

A real call

Recorded by this site's tools run, step design-versions, with the published OODS Foundry 0.19.0.

Its input:

{
  "compositionId": "cmp-e84b64b1ce5e"
}

Its result:

{
  "status": "ok",
  "action": "versions",
  "compositionId": "cmp-e84b64b1ce5e",
  "latest": 1,
  "versions": [
    {
      "version": 1,
      "parentVersion": null,
      "operation": "compose",
      "createdAt": "2026-11-23T16:13:31.112Z",
      "schemaHash": "sha256:1bdb33b07a22c4569ca1dcd7a5fccdee1195adabd7123d54d8b359d29de1c909",
      "head": "3eb35a68b2ec8dd3eb5475fd15a4205f070c6711",
      "artifacts": []
    }
  ],
  "accepted": null,
  "durationMs": 0.46116700000004585
}

The whole call, 1 KB of JSON