Update Metronome version

PATCH/v1/metronomes/{metronomeId}/versions/{versionId}

Describe or update the definition for a saved workflow version. Version labels are server-generated and immutable; published versions are immutable.

How to call this endpoint

Every ACP API request uses bearer authentication. The examples here show the actual request path, auth header, and body shape that the platform expects.

Path, query, and header parameters

These parameters control which ACP object the endpoint acts on and how the request is processed.

Path parameters
NameLocationTypeRequiredDescription
metronomeIdpathstringYesMetronome workflow ID
versionIdpathstringYesMetronome workflow version ID
Query parameters
None.

Body schema

Content type: application/json · Optional

FieldTypeRequiredDescription
labelstringNoDeprecated. Version labels are immutable and generated by the server.
namestringNoDeprecated. Version names are immutable and generated by the server.
descriptionstringNoHuman-readable description.
definitionobjectNo
definition.executionPolicyobjectNo
definition.executionPolicy.placementlocal_onlyYesRequires on-prem PostgreSQL, filesystem artifacts, local scraping, local deployable Functions and explicit local inference. Unsupported node kinds and external API Functions fail closed. This placement contract does not replace operator-enforced network egress policy.
definition.nodesobject[]No
definition.nodes[].idstringNoUnique identifier.
definition.nodes[].typestringNo
definition.nodes[].positionobjectNo
definition.nodes[].dataobjectNo
definition.nodes[].data.kindtrigger | condition | approval | action | code | imagine | function | firecrawl | table | database | ticket | metronome | inference | loop | end | noteNo
definition.nodes[].data.subtypestringNo
definition.nodes[].data.labelstringNo
definition.nodes[].data.descriptionstringNoHuman-readable description.
definition.nodes[].data.configobjectNoKind-specific node configuration, versioned with the workflow. Thread (action) nodes opt into validated runtime results with outputMode=json_schema and a jsonOutputSchema (object or serialized JSON Schema), or the mutually exclusive jsonOutputSchemaFromInput naming one top-level field in the explicitly selected input. An input schema is validated before execution, removed from business input and retained with its fingerprint in the result receipt. The schema requires an object root, is limited to 64 KiB / 12 levels, and supports type, properties, required, additionalProperties (boolean), items, enum, numeric, string-length and array-length bounds, description and title. Unsupported keywords fail publication. maxValidationRetries is 0–2 (default 2). resultMode is inline (default) or artifact; outputKey defaults to data. Requires a Claw worker advertising json_schema_v1. Validated data comes from a dedicated runtime receipt, never assistant text. Failure retains Thread, usage and validation evidence without publishing partial data. Legacy outputMode=structured/json retains summary-parsing semantics until migrated.
definition.edgesobject[]No
definition.edges[].idstringNoUnique identifier.
definition.edges[].sourcestringNo
definition.edges[].targetstringNo
definition.edges[].sourceHandlestringNo
definition.edges[].targetHandlestringNo
definition.edges[].labelstringNo
definition.executionRecoveryPolicyobjectNo
definition.executionRecoveryPolicy.schemaVersioncomputer_agents_metronome_recovery_policy_v1Yes
definition.executionRecoveryPolicy.enforcementcheckpointedYes
definition.executionRecoveryPolicy.inDoubtDefaultpauseYes
definition.executionRecoveryPolicy.checkpointMaxBytesintegerYes

What the API returns

Each response code below includes the documented payload shape for the ACP API.

200Metronome version updatedapplication/json
FieldTypeRequiredDescription
dataobjectNo
data.idstringNoUnique identifier.
data.metronomeIdstringNo
data.userIdstringNoUser ID.
data.versionintegerNoZero-based immutable version number. The first version is v0.
data.versionNumberintegerNoAlias of version.
data.labelstringNoServer-generated canonical label in vN form.
data.namestringNoAlias of label.
data.descriptionstringNoHuman-readable description.
data.statussaved | published | archivedNoCurrent lifecycle status.
data.storageStatussaved | published | archivedNo
data.definitionobjectNo
data.definition.executionPolicyobjectNo
data.definition.executionPolicy.placementlocal_onlyYesRequires on-prem PostgreSQL, filesystem artifacts, local scraping, local deployable Functions and explicit local inference. Unsupported node kinds and external API Functions fail closed. This placement contract does not replace operator-enforced network egress policy.
data.definition.nodesobject[]No
data.definition.nodes[].idstringNoUnique identifier.
data.definition.nodes[].typestringNo
data.definition.nodes[].positionobjectNo
data.definition.nodes[].dataobjectNo
data.definition.nodes[].data.kindtrigger | condition | approval | action | code | imagine | function | firecrawl | table | database | ticket | metronome | inference | loop | end | noteNo
data.definition.nodes[].data.subtypestringNo
data.definition.nodes[].data.labelstringNo
data.definition.nodes[].data.descriptionstringNoHuman-readable description.
data.definition.nodes[].data.configobjectNoKind-specific node configuration, versioned with the workflow. Thread (action) nodes opt into validated runtime results with outputMode=json_schema and a jsonOutputSchema (object or serialized JSON Schema), or the mutually exclusive jsonOutputSchemaFromInput naming one top-level field in the explicitly selected input. An input schema is validated before execution, removed from business input and retained with its fingerprint in the result receipt. The schema requires an object root, is limited to 64 KiB / 12 levels, and supports type, properties, required, additionalProperties (boolean), items, enum, numeric, string-length and array-length bounds, description and title. Unsupported keywords fail publication. maxValidationRetries is 0–2 (default 2). resultMode is inline (default) or artifact; outputKey defaults to data. Requires a Claw worker advertising json_schema_v1. Validated data comes from a dedicated runtime receipt, never assistant text. Failure retains Thread, usage and validation evidence without publishing partial data. Legacy outputMode=structured/json retains summary-parsing semantics until migrated.
data.definition.edgesobject[]No
data.definition.edges[].idstringNoUnique identifier.
data.definition.edges[].sourcestringNo
data.definition.edges[].targetstringNo
data.definition.edges[].sourceHandlestringNo
data.definition.edges[].targetHandlestringNo
data.definition.edges[].labelstringNo
data.definition.executionRecoveryPolicyobjectNo
data.definition.executionRecoveryPolicy.schemaVersioncomputer_agents_metronome_recovery_policy_v1Yes
data.definition.executionRecoveryPolicy.enforcementcheckpointedYes
data.definition.executionRecoveryPolicy.inDoubtDefaultpauseYes
data.definition.executionRecoveryPolicy.checkpointMaxBytesintegerYes
data.nodesobject[]No
data.nodes[].idstringNoUnique identifier.
data.nodes[].typestringNo
data.nodes[].positionobjectNo
data.nodes[].dataobjectNo
data.nodes[].data.kindtrigger | condition | approval | action | code | imagine | function | firecrawl | table | database | ticket | metronome | inference | loop | end | noteNo
data.nodes[].data.subtypestringNo
data.nodes[].data.labelstringNo
data.nodes[].data.descriptionstringNoHuman-readable description.
data.nodes[].data.configobjectNoKind-specific node configuration, versioned with the workflow. Thread (action) nodes opt into validated runtime results with outputMode=json_schema and a jsonOutputSchema (object or serialized JSON Schema), or the mutually exclusive jsonOutputSchemaFromInput naming one top-level field in the explicitly selected input. An input schema is validated before execution, removed from business input and retained with its fingerprint in the result receipt. The schema requires an object root, is limited to 64 KiB / 12 levels, and supports type, properties, required, additionalProperties (boolean), items, enum, numeric, string-length and array-length bounds, description and title. Unsupported keywords fail publication. maxValidationRetries is 0–2 (default 2). resultMode is inline (default) or artifact; outputKey defaults to data. Requires a Claw worker advertising json_schema_v1. Validated data comes from a dedicated runtime receipt, never assistant text. Failure retains Thread, usage and validation evidence without publishing partial data. Legacy outputMode=structured/json retains summary-parsing semantics until migrated.
data.edgesobject[]No
data.edges[].idstringNoUnique identifier.
data.edges[].sourcestringNo
data.edges[].targetstringNo
data.edges[].sourceHandlestringNo
data.edges[].targetHandlestringNo
data.edges[].labelstringNo
data.triggerSummarystringNo
data.nodeCountintegerNo
data.edgeCountintegerNo
data.publishedAtstringNo
data.createdAtstringNoISO 8601 timestamp.
data.updatedAtstringNoISO 8601 timestamp.
400Invalid version update or immutable published version
None.
404Metronome or version not found
None.
Update Metronome version
Loading...
Response 200
Loading...
See the ACP quickstart and SDK flow