Create a cluster deployment records job
Create a background job to set deployment records for a given cluster. Performs validation and permission checks synchronously, returning rejected deployments immediately, then enqueues a background job for the actual deployment updates. Use the companion GET endpoint to poll for job status.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”The organization name. The name is not case sensitive.
The cluster name.
Request Bodyrequired
Section titled “Request Bodyrequired”object
The stage of the deployment.
The physical region of the deployment.
The list of deployments to record.
object
The name of the artifact.
The hex encoded digest of the artifact.
The artifact version.
The deployment status of the artifact.
The unique identifier for the deployment represented by the new record.
The name of the GitHub repository associated with the artifact.
Key-value pairs to tag the deployment record.
object
A list of runtime risks associated with the deployment.
Examples
{ "logical_environment": "prod", "physical_environment": "pacific-east", "deployments": [ { "name": "awesome-image", "digest": "sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72", "version": "2.1.0", "status": "deployed", "deployment_name": "deployment-pod", "tags": { "owning-team": "platform" }, "runtime_risks": [ "sensitive-data" ] } ]}Responses
Section titled “Responses”Job created successfully. Authorized deployments will be processed in the background.
object
The ID of the created job.
Deployments that were rejected during authorization.
object
Examples
{ "job_id": 123}Bad Request
Basic Error
object
Examplegenerated
{ "message": "example", "documentation_url": "example", "url": "example", "status": "example"}Forbidden
Basic Error
object
Examplegenerated
{ "message": "example", "documentation_url": "example", "url": "example", "status": "example"}Resource not found
Basic Error
object
Examplegenerated
{ "message": "example", "documentation_url": "example", "url": "example", "status": "example"}A job is already in progress for this cluster.
Basic Error
object
Examplegenerated
{ "message": "example", "documentation_url": "example", "url": "example", "status": "example"}