Activate an entirely staged Project Delivery topology

POST/v1/release-control/project-delivery-promotions/{promotionId}/activate

Switches staged Function revisions to traffic and publishes the exact Function and Metronome candidate versions. The operation fails closed unless every staged resource still matches the sealed authorization.

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

Body schema

Content type: application/json · Optional

None.

What the API returns

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

200Activated or idempotently reused topology promotionapplication/json
FieldTypeRequiredDescription
promotionobjectYes—
promotion.idstringYesUnique identifier.
promotion.objectproject_delivery_release_promotionYes—
promotion.statusready_for_deployment | ready_for_activation | activating | released | failed | cancelledYesCurrent lifecycle status.
promotion.authorizationIdstringYes—
promotion.topologyCandidateIdstringYes—
promotion.projectIdstringYesProject ID.
promotion.deliveryExecutionIdstringYes—
promotion.candidateManifestFingerprintstringYes—
promotion.releaseFingerprintstringYes—
promotion.authorizationEvidenceFingerprintstringYes—
promotion.idempotencyKeystringYes—
promotion.requestFingerprintstringYes—
promotion.receiptFingerprintstringYes—
promotion.revisionintegerYes—
promotion.errorobjectYes—
promotion.error.codestringYes—
promotion.error.messagestringYesMessage text.
promotion.activationStartedAtstringYes—
promotion.completedAtstringYesISO 8601 timestamp.
promotion.createdAtstringYesISO 8601 timestamp.
promotion.updatedAtstringYesISO 8601 timestamp.
promotion.resourcesobject[]Yes—
promotion.resources[].idstringYesUnique identifier.
promotion.resources[].resourceCandidateIdstringYes—
promotion.resources[].keystringYes—
promotion.resources[].targetKindfunction | metronomeYes—
promotion.resources[].targetResourceIdstringYes—
promotion.resources[].candidateVersionIdstringYes—
promotion.resources[].candidateFingerprintstringYes—
promotion.resources[].activatedVersionIdstringYes—
promotion.resources[].activatedFingerprintstringYes—
promotion.resources[].statuspending | deploying | staged | activated | failed | cancelledYesCurrent lifecycle status.
promotion.resources[].deploymentAttemptIdstringYes—
promotion.resources[].deploymentIdstringYes—
promotion.resources[].deploymentRevisionstringYes—
promotion.resources[].serviceNamestringYes—
promotion.resources[].regionstringYes—
promotion.resources[].previousDeploymentRevisionstringYes—
promotion.resources[].stagedAtstringYes—
promotion.resources[].activatedAtstringYes—
promotion.resources[].deploymentRequestobjectYes—
promotion.resources[].deploymentRequest.methodPOSTYes—
promotion.resources[].deploymentRequest.pathstringYesWorkspace-relative file path.
promotion.resources[].deploymentRequest.bodyobjectYes—
promotion.resources[].deploymentRequest.body.versionIdstringYes—
promotion.resources[].deploymentRequest.body.projectDeliveryPromotionIdstringYes—
promotion.resources[].deploymentRequest.body.projectDeliveryResourceCandidateIdstringYes—
promotion.resources[].errorobjectYes—
promotion.resources[].error.codestringYes—
promotion.resources[].error.messagestringYesMessage text.
promotion.eventsobject[]No—
promotion.events[].sequenceintegerYes—
promotion.events[].idstringYesUnique identifier.
promotion.events[].typestringYes—
promotion.events[].actorUserIdstringYes—
promotion.events[].payloadobjectYes—
promotion.events[].createdAtstringYesISO 8601 timestamp.
receiptobjectNo—
receipt.schemaVersioncomputer_agents_project_delivery_promotion_receipt_v2Yes—
receipt.promotionIdstringYes—
receipt.authorizationIdstringYes—
receipt.topologyCandidateIdstringYes—
receipt.candidateManifestFingerprintstringYes—
receipt.releaseFingerprintstringYes—
receipt.authorizationEvidenceFingerprintstringYes—
receipt.resourcesobject[]Yes—
receipt.resources[].resourceCandidateIdstringYes—
receipt.resources[].resourceKeystringYes—
receipt.resources[].targetKindfunction | metronomeYes—
receipt.resources[].targetResourceIdstringYes—
receipt.resources[].candidateVersionIdstringYes—
receipt.resources[].candidateFingerprintstringYes—
receipt.resources[].activatedVersionIdstringYes—
receipt.resources[].activatedFingerprintstringYes—
receipt.resources[].deploymentIdstringYes—
receipt.resources[].deploymentRevisionstringYes—
receipt.activatedAtstringYes—
activatedbooleanYes—
alreadyReleasedbooleanYes—
409Promotion resources are not fully staged or their authority has drifted
None.
Activate an entirely staged Project Delivery topology
Loading...
Response 200
Loading...
See the ACP quickstart and SDK flow