Skip to content
GitmoapAPIBeta
Schema

ComponentVersionResponse

A published version with the body it froze.

Shape

  • bodyComponentBody
    • The ComponentBody schema
    • component_instancesarray of NestedComponentInstanceoptionalOther components this component uses. Always empty in a published version, where they have already been expanded into steps.
      • The NestedComponentInstance schema
      • component_idComponentId (string · uuid)
      • idNodeId (string)
      • namestring
      • versionComponentVersionRef (string)
      • component_refstring or nulloptional
      • paramsobjectoptional
      • stage_mapobjectoptionalBinds every slot the referenced component declares to a slot of the containing body.
    • edgesarray of EdgeoptionalConnections between the component's own steps; both ends must be steps of this component.
      • The Edge schema
      • idEdgeId (string)
      • source_node_idNodeId (string)
      • target_node_idNodeId (string)
      • source_portPortName (string) or nulloptionalAbsent on a dependency-only edge.
      • target_portPortName (string) or nulloptionalAbsent on a dependency-only edge.
    • inputsarray of ComponentInputPortoptional
    • nodesarray of ComponentNodeoptional
      • The ComponentNode schema
      • nodeNode
        • The Node schema
        • capability_idCapabilityId (string)
        • idNodeId (string)
        • namestring
        • allow_failurebooleanoptionalWhen true, this node's failure (a non-zero exit or a timeout, after any retries) is non-blocking: it does not fail the enclosing stage or the run. The node's transitive dependents — which can never receive its output — are skipped, while independent branches and later stages keep running. A run whose only failures were allow_failure nodes finishes succeeded_with_warnings.
        • approvalManualApproval or nulloptionalHolds this step until it is approved. A step deploying to an environment that requires approval is held as well, whether or not this is set.
        • changesarray of string or nulloptionalPath globs that decide whether this step runs: when none of them matches a path the push changed, the step is skipped. When absent and service is set, the service's own path globs apply.
        • configobjectoptionalThe step's provider-specific configuration, checked against the capability's config_schema when the run starts.
        • connectionProviderConnectionName (string) or nulloptionalThe provider connection to use, by name (e.g. aws-prod). When absent, the step uses the provider's only connection available to the repository, if there is exactly one.
        • cpustring or nulloptional
        • environmentEnvironmentSlug (string) or nulloptionalThe environment this step deploys to, by slug. It is looked up on the repository and then on each group above it when the run starts.
        • matrixMatrixSpec or nulloptionalRuns this step once for every combination of the named dimensions' values. At most 100 copies.
        • max_retriesinteger · int32optional0–∞
        • memorystring or nulloptional
        • resource_groupNodeResourceGroup or nulloptionalKeeps this step from running at the same time as any other step, in any of your organization's pipelines, that names the same resource group — a Terraform state, a shared staging database, a fragile external sandbox. The cancel_previous mode is not accepted here.
        • retry_delay_secondsinteger · int32optional0–∞
        • serviceServiceSlug (string) or nulloptionalThe catalog service this step acts on, by slug. Optional when the repository holds exactly one service, which is then implied; required when it holds more.
        • timeout_secondsinteger · int32 or nulloptional0–∞
        • variables_fromEnvironmentSlug (string) or nulloptionalAn environment whose plain variables this step reads, by slug, without deploying there — for a build that bakes the environment's settings in. The step receives the environment's non-secret variables and nothing else: no approval, no lock, no secrets, and no deployment is recorded. A step may name this or environment, not both.
        • versionProviderVersion (string) or nulloptionalPins a specific provider version. When absent, the provider's default version for this repository is used, as it stands when the run starts.
      • stage_slotStageSlot (string)Which of the component's stage slots this step is placed in.
      • param_slotsComponentNodeParamsoptionalStep fields whose values come from the component's parameters rather than from the step.
        • The ComponentNodeParams schema
        • allow_failureComponentParamName (string) or nulloptional
        • connectionComponentParamName (string) or nulloptional
        • cpuComponentParamName (string) or nulloptional
        • environmentComponentParamName (string) or nulloptional
        • max_retriesComponentParamName (string) or nulloptional
        • memoryComponentParamName (string) or nulloptional
        • retry_delay_secondsComponentParamName (string) or nulloptional
        • serviceComponentParamName (string) or nulloptional
        • timeout_secondsComponentParamName (string) or nulloptional
        • variables_fromComponentParamName (string) or nulloptionalThe parameter naming the environment whose plain variables this step reads without deploying there.
    • outputsarray of ComponentOutputPortoptional
    • parametersarray of ComponentParameteroptional
      • The ComponentParameter schema
      • nameComponentParamName (string)
      • param_typeComponentParamTypestringnumberbooleanobjectarrayThe JSON shape a parameter's value must have.
      • allowed_valuesarray of object or nulloptionalThe only values this parameter accepts. Absent means any value of its type. On a published parameter, adding this list or removing a value from it is a major version change; adding a value is a minor one.
      • defaultobjectoptional
      • descriptionstring or nulloptional
      • requiredbooleanoptionalWhether a pipeline using the component must supply a value. A required parameter cannot have a default.
    • stage_slotsarray of StageSlot (string)optionalThe positions the component's steps occupy, in order. A pipeline using the component maps each slot to one of its own stages.
  • capability_requirementsarray of CapabilityId (string)The provider capabilities the version's steps use.
  • contract_digeststringA SHA-256 fingerprint, in hex, of what a pipeline using the version must satisfy: its parameters, its ports and the variables it reads. It changes only when that contract does.
  • depthinteger · int320–∞How many levels of components the version spans: 1 when it uses no other component.
  • expanded_node_countinteger · int320–∞How many steps the version expands into.
  • lifecycle_stateComponentLifecycleStateactivedeprecatedsunsetWhere a published version sits in its retirement. A deprecated version still resolves for an exact reference and still runs, but no floating reference selects it — which is what makes deprecating the safe way to retire one. A sunset version refuses to resolve at all, exact reference included.
  • published_atstring
  • published_byActorSummary
  • variable_requirementsarray of EnvironmentVariableName (string)The variables the version's steps read from the pipeline that uses it. Each must be declared on the environment those steps run in, or on a group or repository above the pipeline, or a run is refused when it starts.
  • versionComponentVersion (string)
  • changelogstring or nulloptional

Example

Synthesized example
{
"body": {
"component_instances": [
{
"component_id": "23c2aa2e-44e6-4afa-9c34-ed715ea69d82",
"id": "id-471b",
"name": "payments-api",
"version": "version-1d03"
},
{
"component_id": "cc62a4f9-5eb8-4a67-9910-ec67d3dc9c72",
"id": "id-91fc",
"name": "payments-api",
"version": "version-48a5"
}
],
"edges": [
{
"id": "id-39d6",
"source_node_id": "19847cc8-cd23-4fc9-bbb9-8607636b0cab",
"target_node_id": "75d4dcac-5d83-4d49-88d1-565200c2d46e"
}
],
"inputs": [
{
"name": "payments-api",
"targets": []
},
{
"name": "payments-api",
"targets": []
}
],
"nodes": [
{
"node": {
"capability_id": "f3fb9479-dcad-4405-9dbd-529f29e6250b",
"id": "id-7ffc",
"name": "payments-api"
},
"stage_slot": "stage-slot-a337"
},
{
"node": {
"capability_id": "051ae8da-0edb-40af-9dfa-6027a894b768",
"id": "id-529a",
"name": "payments-api"
},
"stage_slot": "stage-slot-ea62"
}
],
"outputs": [
{
"name": "payments-api",
"source": {
"node_id": "bf8b8d4f-473b-4daf-b270-aee943cbcc27",
"port": "port-2144"
}
},
{
"name": "payments-api",
"source": {
"node_id": "d9172fe5-6432-43a1-952a-9fa0ba83ebd3",
"port": "port-7fae"
}
}
],
"parameters": [
{
"name": "payments-api",
"param_type": "string"
},
{
"name": "payments-api",
"param_type": "string"
}
],
"stage_slots": [
"stage-slots-629a"
]
},
"capability_requirements": [
"capability-requirements-2a48",
"capability-requirements-4337"
],
"contract_digest": "contract-digest-aac6",
"depth": 8,
"expanded_node_count": 0,
"lifecycle_state": "active",
"published_at": "2026-10-16T14:15:24Z",
"published_by": {
"email": "tomas@acme.example",
"id": "id-096f",
"username": "tomas",
"avatar_url": "https://gitmoap.example/acme/52627667"
},
"variable_requirements": [
"variable-requirements-5db0",
"variable-requirements-449e"
],
"version": "version-cec6",
"changelog": "changelog-cb31"
}

Graph

Used inside

No schema contains this one.

Used by