Offer workflow ownership

PATCH/v1/metronomes/{metronomeId}/owner

Creates an ownership offer for an active member. The current owner remains unchanged until the recipient accepts via the resource-invitations API. Repeated pending offers to the same recipient are idempotent.

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
Query parameters
None.

Body schema

Content type: application/json · Required

FieldTypeRequiredDescription
ownerUserIdstringYes
userIdstringNoDeprecated alias for `ownerUserId`.

What the API returns

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

200Current resource and pending ownership offerapplication/json
FieldTypeRequiredDescription
invitationobjectNo
invitation.idstringYesUnique identifier.
invitation.organizationIdstringYes
invitation.kindshare | ownershipYes
invitation.resourceTypestringYes
invitation.resourceIdstringYes
invitation.resourceNamestringYes
invitation.recipientUserIdstringYes
invitation.invitedByUserIdstringYes
invitation.accessLeveluse | edit | manageYes
invitation.statuspending | accepted | declined | revoked | expiredYesCurrent lifecycle status.
invitation.expiresAtstringYes
invitation.decidedAtstringYes
invitation.createdAtstringYesISO 8601 timestamp.
invitation.updatedAtstringYesISO 8601 timestamp.
dataobjectNo
data.idstringNoUnique identifier.
data.userIdstringNoUser ID.
data.ownerUserIdstringNo
data.ownerNamestringNo
data.ownerEmailstringNo
data.ownerAvatarUrlstringNo
data.ownerobjectNo
data.owner.userIdstringYesUser ID.
data.owner.namestringYesHuman-readable name.
data.owner.emailstringYes
data.owner.avatarUrlstringYes
data.canTransferOwnershipbooleanNo
data.organizationIdstringNo
data.createdByUserIdstringNo
data.creatorIdstringNoStable identity of the user who created the workflow.
data.creatorUserIdstringNoStable user identity of the workflow creator.
data.creatorNamestringNoCurrent display name resolved through the deployment identity directory.
data.creatorEmailstringNoCurrent email address resolved through the deployment identity directory.
data.creatorAvatarUrlstringNoCurrent creator profile image URL, or an empty string when none is configured.
data.namestringNoHuman-readable name.
data.descriptionstringNoHuman-readable description.
data.statusdraft | active | paused | archivedNoCurrent lifecycle status.
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.lastRunAtstringNo
data.publishedAtstringNo
data.runsTodayintegerNo
data.waitingApprovalsintegerNo
data.metadataobjectNoFree-form metadata object.
data.createdAtstringNoISO 8601 timestamp.
data.updatedAtstringNoISO 8601 timestamp.
400Invalid or inactive owner
None.
403Only the current workflow owner may transfer ownership
None.
404Metronome not found
None.
409Workflow ownership changed concurrently
None.
Offer workflow ownership
Loading...
Response 200
Loading...
See the ACP quickstart and SDK flow