Skip to main content
API reference sections

Schema

RegisterVersionResponse

Type object

Shape

FieldTypeDescription
versionrequiredArtifactVersion

One immutable artifact version.

Identity is id; content is blob, an address in the workspace's content-addressed store. The two are separate on purpose: the same bytes registered twice are two versions with two histories, and a reference to a version keeps meaning the same thing after the family moves on. derived_from names the version this one was made from, which is how a provenance walk crosses generations.

retriedrequiredboolean

This call found the version an earlier call with the same registration id had made.

Example
{
  "version": {
    "id": "00000000-0000-4000-8000-000000000000",
    "family": "00000000-0000-4000-8000-000000000000",
    "ordinal": 0,
    "blob": "string",
    "size_bytes": 0,
    "mime": "string",
    "filename": "string",
    "produced_by": {
      "run": "00000000-0000-4000-8000-000000000000",
      "generation": 0
    },
    "registration_id": "00000000-0000-4000-8000-000000000000",
    "derived_from": "00000000-0000-4000-8000-000000000000",
    "created_at_ms": 0
  },
  "retried": false
}

The contract has no example values, so example bodies are generated from each schema: every field is shown with a placeholder of its type.

Used by

Generated from contract version 1. Last updated .

Privacy choices

Choose which optional tools Koru may use on this site. Your choice is saved in a cookie in this browser for 12 months. Privacy policy

Privacy choices

Keep you signed in, protect forms and remember your language and this choice.

Always on

PostHog and Google Analytics 4 measure page views and actions such as downloads, using cookies or local storage.

PostHog records how pages are used, with form inputs masked and private pages excluded. Needs Analytics.

Ahrefs Web Analytics measures visits and where they come from, and Google Ads measures whether our ads led to a visit or download.