Deployments (Deprecated)
DEPRECATED: Use POST /api/v1/env/create instead. Create a new deployment or start run for existing deployment (legacy deployment endpoint).
🔒 Requires the create:environment permission
The deployment slug for creating or targeting existing deployment
The blueprint/package name, e.g. @bluebricks/postgres
The package version e.g. 1.2.3
1.2.3Controls how the deployment is executed. autoApply automatically applies changes without manual approval; autoApprove skips approval and pending; validateOnly validates the deployment without executing; planOnly generates a plan without executing; driftDetection runs only configuration-drift detection; draft creates the deployment record without starting any activity. deployType can't be used together with deprecated flags: force, planOnly, validateOnly, noActivity and driftDetection.
autoApprovePossible values: Use deployType='autoApprove' instead
Use deployType='validateOnly' instead
falseUse deployType='planOnly' instead
falseEnable incremental mode to skip deployments with no changes
falseUse deployType='draft' instead
falseUse deployType='driftDetection' instead
falseEnable drift detection for the deployment
falseUse collection instead. Target environment for deployment
Target collection for deployment
Created deployment and task details or validation result
Created deployment and task details or validation result
Failed to create deployment
Failed to authenticate user
Missing required scopes. 🔒 Requires the create:environment permission
Package not found or not enabled for organization
Deployment slug already exists
Too many requests
Failed to create deployment
Return deployment information
🔒 Requires the read:environment permission
The deployment's ID or environment's slug e.g. f27d96be-c486-4075-a926-0ee96775119e or my-deployment
The parsing type to fetch e.g. state
planPossible values: Deployment details
Deployment details
Failed to get deployment details and state
Failed to authenticate user
Missing required scopes. 🔒 Requires the read:environment permission
Deployment not found
Too many requests
Return deployment properties
🔒 Requires the read:environment permission
The deployment's ID or environment's slug e.g. f27d96be-c486-4075-a926-0ee96775119e or my-deployment
Deployment props
Deployment props
The environment's slug e.g. my-environment
Failed to get deployment props
Failed to authenticate user
Missing required scopes. 🔒 Requires the read:environment permission
Deployment not found
Too many requests
Return deployment image
🔒 Requires the read:environment permission
The deployment's ID e.g. f27d96be-c486-4075-a926-0ee96775119e
Image format
pngPossible values: Deployment image
Deployment image, describing the deployment
Failed to get deployment image
Failed to authenticate user
Missing required scopes. 🔒 Requires the read:environment permission
Deployment not found
Too many requests
Approve deployment plan
🔒 Requires the update:environment permission
The deployment's ID e.g. f27d96be-c486-4075-a926-0ee96775119e
Deployment approval details
Deployment approval details
The deployment's ID e.g. f27d96be-c486-4075-a926-0ee96775119e
The deployment stage e.g. pending
Failed to approve deployment
Failed to authenticate user
Missing required scopes. 🔒 Requires the update:environment permission
Deployment not found
Too many requests
Failed to approve deployment
Get a deployment plan
🔒 Requires the read:deployment-plan permission
The deployment's ID e.g. f27d96be-c486-4075-a926-0ee96775119e
Plan format
jsonPossible values: Plan downloaded successfully
Deployment plan file in JSON format
Failed to download plan
Failed to authenticate user
Missing required scopes. 🔒 Requires the read:deployment-plan permission
Deployment plan not found
Too many requests
Parse a deployment plan
🔒 Requires the read:deployment-plan permission
A plan file
plan_file=@path/to/tfplan.jsonPlan generated successfully
Plan generated successfully
Unique id assigned to plan file for client-side storage
Failed to generate plan
Failed to authenticate user
Missing required scopes. 🔒 Requires the read:deployment-plan permission
Too many requests
Get a deployment state
🔒 Requires the update:environment permission
The deployment's ID e.g. f27d96be-c486-4075-a926-0ee96775119e
State retrieved successfully
Deployment state file in JSON format
Failed to download state
Failed to authenticate user
Missing required scopes. 🔒 Requires the update:environment permission
Deployment state not found
Too many requests
DEPRECATED: Use GET /api/v1/env/:environmentIdOrSlug/states instead. Get deployment states information (legacy deployment endpoint).
🔒 Requires the read:environment permission
The deployment's ID or environment's slug e.g. f27d96be-c486-4075-a926-0ee96775119e or my-deployment
List of deployment states with metadata
List of deployment states with metadata
The unique identifier of the state
123e4567-e89b-12d3-a456-426614174000The unique identifier of the package
terraform_aws_secretsmanagerThe hierarchical path of the package in the deployment
root.terraform_aws_secretsmanagerThe current status of the deployment state. Returns "n/a" when metadata is not available
livePossible values: ID of the latest run that created/updated the state. Returns "n/a" when metadata is not available
run-abc123Whether the state is currently locked
falseWhen the state was first created. Returns "n/a" when metadata is not available
2025-10-10T12:34:56.123ZWhen the state was last updated
2025-10-12T08:20:00.456ZBad request
Failed to authenticate user
Missing required scopes. 🔒 Requires the read:environment permission
Deployment not found
Too many requests
Set deployment alias
🔒 Requires the update:environment permission
The deployment output's ID e.g. f27d96be-c486-4075-a926-0ee96775119e
The deployment output alias e.g. my_output
my-my_outputDeployment alias updated successfully
Deployment alias updated successfully
The deployment output's ID e.g. f27d96be-c486-4075-a926-0ee96775119e
The deployment output alias e.g. my_output
my-my_outputFailed to update deployment alias
Failed to authenticate user
Missing required scopes. 🔒 Requires the update:environment permission
Deployment not found
Alias already exists
Too many requests
Return deployment manifest
🔒 Requires the read:environment permission
The deployment's ID or environment's slug e.g. f27d96be-c486-4075-a926-0ee96775119e or my-deployment
Deployment manifest in YAML format
YAML manifest for the deployment
Failed to get deployment manifest
Failed to authenticate user
Missing required scopes. 🔒 Requires the read:environment permission
Deployment not found
Too many requests
Delete a deployment activity
🔒 Requires the update:environment permission
The deployment run ID to delete
Deployment activity deleted successfully
Deployment activity deleted successfully
Success message
Failed to delete deployment activity
Failed to authenticate user
Missing required scopes. 🔒 Requires the update:environment permission
Deployment activity not found
Too many requests
Failed to delete deployment activity due to internal error
Delete a deployment activity
🔒 Requires the update:environment permission
🔒 Requires the update:environment permission
The deployment run ID to delete
Deployment activity deleted successfully
Deployment activity deleted successfully
Success message
Failed to delete deployment activity
Failed to authenticate user
Missing required scopes. 🔒 Requires the update:environment permission. 🔒 Requires the update:environment permission
Deployment activity not found
Too many requests
Failed to delete deployment activity due to internal error
Return deployments information by collection
🔒 Requires the read:environment permission
The environment's ID e.g. f27d96be-c486-4075-a926-0ee96775119e
f27d96be-c486-4075-a926-0ee96775119eThe collection's ID e.g. f27d96be-c486-4075-a926-0ee96775119e
f27d96be-c486-4075-a926-0ee96775119eSpecifies the attribute by which the returned list should be sorted ' +
'e.g. name
timestampPossible values: Specifies the type of deployments list to be returned. Note: runs and activities return the same data for backward compatibility.
runsDEPRECATED: Use /api/v1/envs endpoint instead. This type is maintained for backward compatibility.
Results offset to allow pagination e.g. 10
0Example: 10Specifies the order - ascending or descending - by which the returned list should be sorted e.g. ASC
Results limit to allow pagination, e.g. 50
20Example: 10Structure: [key1=value1,key2=value2&value3]
If true, return detailed graph information. If false, return basic information
If true, return unique latest deployments only
Enables searching within the list for deployments names that match a particular query e.g. my_app
Also includes archived props
If true, return only deployments with outdated package versions (only applicable when type=deployments)
Paginated information of filtered deployments for a collection
Paginated information of filtered deployments for a collection
Indicates if any outdated deployments exist (only returned when type=deployments)
Failed to get deployments information
Failed to authenticate user
Missing required scopes. 🔒 Requires the read:environment permission
Package not found
Too many requests
Return deployments filters
🔒 Requires the read:environment permission
Will return a specific list with type of available filters if provided, otherwise returns all results
If true, shows only archived deployments. if false, shows only non-archived deployments
falseFilter by deployment slug
Deployments filters
Deployments filters
Failed to get deployments filters
Failed to authenticate user
Missing required scopes. 🔒 Requires the read:environment permission
Too many requests
Return list of deployment outputs
🔒 Requires the read:environment permission
Specifies the attribute by which the returned list should be sorted ' +
'e.g. key
updatedPossible values: Results offset to allow pagination e.g. 10
0Example: 10Specifies the order - ascending or descending - by which the returned list should be sorted e.g. ASC
Results limit to allow pagination, e.g. 50
20Example: 10Structure: [key1=value1,key2=value2&value3]
Enables searching within the list for deployment outputs key that match a particular query e.g. my_output
If true, includes metadata with all package IDs from the filtered outputs. If false or omitted, metadata will not be included.
falseDEPRECATED: Use collection instead. Filter deployments by environment slug in filters
Filter deployments by collection slug in filters
Paginated information of filtered deployment outputs
Paginated information of filtered deployment outputs
Failed to get deployment outputs information
Failed to authenticate user
Missing required scopes. 🔒 Requires the read:environment permission. 🔒 Requires the read:environment permission
Too many requests
Get deployments plans
🔒 Requires the read:environment permission
List of deployment IDs, e.g. ["123e4567-e89b-12d3-a456-426614174000", "456e4567-e89b-12d3-a456-426614174000"]
["123e4567-e89b-12d3-a456-426614174000","456e4567-e89b-12d3-a456-426614174000"]Plans downloaded successfully
Deployments plans file in Markdown format
Failed to download plans
Failed to authenticate user
Missing required scopes. 🔒 Requires the read:environment permission
Deployments plans not found
Too many requests
Approve multiple deployments
🔒 Requires the update:environment permission
List of deployment IDs, e.g. ["123e4567-e89b-12d3-a456-426614174000", "456e4567-e89b-12d3-a456-426614174000"]
["123e4567-e89b-12d3-a456-426614174000","456e4567-e89b-12d3-a456-426614174000"]Deployment approval details
Deployment approval details
The deployment stage e.g. pending
Failed to approve deployments
Failed to authenticate user
Missing required scopes. 🔒 Requires the update:environment permission
One or more of the deployment was not found
Too many requests
Failed to approve deployments
Cancel multiple deployments
🔒 Requires the update:environment permission
List of deployment IDs, e.g. ["123e4567-e89b-12d3-a456-426614174000", "456e4567-e89b-12d3-a456-426614174000"]
["123e4567-e89b-12d3-a456-426614174000","456e4567-e89b-12d3-a456-426614174000"]Deployment canceled successfully
Deployment canceled successfully
Failed to cancel deployment
Failed to authenticate user or runtime
Missing required scopes. 🔒 Requires the update:environment permission
Deployment not found
Too many requests
DEPRECATED: Use POST /api/v1/envs/archive instead. Archive multiple deployments (legacy deployment endpoint).
🔒 Requires the update:environment permission
List of deployment slugs, e.g. ["test-deployment", "my-deployment"]
["test-deployment","my-deployment"]Deployment archived / unarchived successfully
Deployment archived / unarchived successfully
The deployment's slug e.g. my-deployment
Updated archived status
Failed to archive / unarchive deployment
Failed to authenticate user
Missing required scopes. 🔒 Requires the update:environment permission
Deployments not found to be archived / unarchived
Too many requests
DEPRECATED: Use POST /api/v1/envs/unarchive instead. Unarchive multiple deployments (legacy deployment endpoint).
🔒 Requires the update:environment permission
List of deployment slugs, e.g. ["test-deployment", "my-deployment"]
["test-deployment","my-deployment"]Deployment archived / unarchived successfully
Deployment archived / unarchived successfully
The deployment's slug e.g. my-deployment
Updated archived status
Failed to archive / unarchive deployment
Failed to authenticate user
Missing required scopes. 🔒 Requires the update:environment permission. 🔒 Requires the update:environment permission
Deployments not found to be archived / unarchived
Too many requests
DEPRECATED: Use POST /api/v1/envs/enable-drift-detection instead. Enable drift detection for multiple deployments (legacy deployment endpoint).
🔒 Requires the update:environment permission
List of deployment slugs, e.g. ["test-deployment", "my-deployment"]
["test-deployment","my-deployment"]Deployment drift detection status updated successfully
Deployment drift detection status updated successfully
The deployment's slug e.g. my-deployment
Updated drift detection status
Failed to update drift detection status
Failed to authenticate user
Missing required scopes. 🔒 Requires the update:environment permission
Deployments not found to update drift detection status
Too many requests
DEPRECATED: Use POST /api/v1/envs/disable-drift-detection instead. Disable drift detection for multiple deployments (legacy deployment endpoint).
🔒 Requires the update:environment permission
List of deployment slugs, e.g. ["test-deployment", "my-deployment"]
["test-deployment","my-deployment"]Deployment drift detection status updated successfully
Deployment drift detection status updated successfully
The deployment's slug e.g. my-deployment
Updated drift detection status
Failed to update drift detection status
Failed to authenticate user
Missing required scopes. 🔒 Requires the update:environment permission. 🔒 Requires the update:environment permission
Deployments not found to update drift detection status
Too many requests
DEPRECATED: Use POST /api/v1/envs/:environmentIdOrSlug/states instead. Upload state files to deployments (legacy deployment endpoint).
🔒 Requires the create:environment permission
The deployment's ID or environment's slug e.g. f27d96be-c486-4075-a926-0ee96775119e or my-deployment
JSON string containing array of state metadata with file references. Each item must have either package_id (for unique packages) or hierarchical_path (for packages that appear at multiple positions in the blueprint tree, e.g., bpA.bpB.mypackageid).
[{"package_id":"terraform_aws_secretsmanager","state_file":"state_1"},{"hierarchical_path":"sub_blueprint.terraform_aws_eks_auto","state_file":"state_2"}]Optional blueprint version to use for resolving the package tree. If not provided, the latest published version is used.
1.0.0State upload results
State upload results
Package identifier
terraform_aws_secretsmanagerFull hierarchical path of the package in the blueprint tree (e.g., root.bpA.bpB.mypackageid)
root.terraform_aws_secretsmanagerUpload status
successPossible values: Reason for failure (only present when status is failed)
Failed to upload state files
Failed to authenticate user
Missing required scopes. 🔒 Requires the create:environment permission
Deployment / Package not found
Too many requests
Get statuses for the requested Deployment IDs
🔒 Requires the read:environment permission
List of deployment IDs, e.g. ["123e4567-e89b-12d3-a456-426614174000", "456e4567-e89b-12d3-a456-426614174000"]
["123e4567-e89b-12d3-a456-426614174000","456e4567-e89b-12d3-a456-426614174000"]Deployments status
Deployments status
The deployment's ID e.g. f27d96be-c486-4075-a926-0ee96775119e
The deployment type e.g. blueprint
The deployment stage e.g. pending
The date and time the resource was created e.g. 2022-01-01T00:00:00.000Z
The date and time the resource was updated e.g. 2022-01-01T00:00:00.000Z
Failed to get deployments status
Failed to authenticate user
Missing required scopes. 🔒 Requires the read:environment permission
Deployments not found
Too many requests
Returns all existing mappings between a hierarchical package path and its state id by specific deployment
🔒 Requires the read:environment permission
Root deployment run ID, e.g. 44cd0bd6-d09b-4924-abfb-12345d111fe7
All the existing for specified deployment state mappings
All the existing for specified deployment state mappings
{"deploymentId":"25cd0bd6-d09b-4924-abfb-41768d111fe7","mappings":{"root.vpc.subnet-1":"bae58bdb-9924-4831-a341-405313cfca92","root.vpc.subnet-2":"cabf22cf-6a57-47d9-9a11-69ab318d3e08","root.database":"90d8f41b-f886-4b96-b05c-1c7d23bbcff7"}}Bad request
Failed to authenticate user or runtime
Cannot access deployment remote state. 🔒 Requires the read:environment permission
Deployment or state mappings not found
Too many requests
Return deployment remote state config
🔒 Requires the update:environment permission
The deployment's ID or environment's slug e.g. f27d96be-c486-4075-a926-0ee96775119e or my-deployment
Unique package ID
package-id-1Deployment remote state config
Deployment remote state config
Failed to get deployment remote state config
Failed to authenticate user
Missing required scopes. 🔒 Requires the update:environment permission
Deployment or package not found
Too many requests
Return deployment remote state
🔒 Requires the update:environment permission
Origin run ID.
IaC type of the remote state
terraformPossible values: Deployment remote state
Deployment remote state
Failed to get deployment remote state
Failed to authenticate user or runtime
Cannot access deployment remote state. 🔒 Requires the update:environment permission
Remote state not found
Too many requests
Set deployment remote state
🔒 Requires the update:environment permission
Origin run ID.
Lock ID
IaC type of the remote state
terraformPossible values: Remote state
Deployment remote state set successfully
Deployment remote state set successfully
Failed to set deployment remote state
Failed to authenticate user or runtime
Cannot access deployment remote state. 🔒 Requires the update:environment permission
Remote state updates locked
Too many requests
No content
Delete deployment remote state
🔒 Requires the update:environment permission
Origin run ID.
Lock ID
IaC type of the remote state
terraformPossible values: Deployment remote state deleted successfully
Deployment remote state deleted successfully
Failed to delete deployment remote state
Failed to authenticate user or runtime
Cannot access deployment remote state. 🔒 Requires the update:environment permission
Remote state updates locked
Too many requests
No content
Lock deployment remote state
🔒 Requires the update:environment permission
Origin run ID
IaC type of the remote state
terraformPossible values: Remote state lock details
Deployment remote state locked successfully
Deployment remote state locked successfully
Failed to lock deployment remote state
Failed to authenticate user or runtime
Cannot access deployment remote state. 🔒 Requires the update:environment permission
Remote state updates locked
Too many requests
Lock deployment remote state
🔒 Requires the update:environment permission
🔒 Requires the update:environment permission
Origin run ID
IaC type of the remote state
terraformPossible values: Remote state lock details
Deployment remote state locked successfully
Deployment remote state locked successfully
Failed to lock deployment remote state
Failed to authenticate user or runtime
Cannot access deployment remote state. 🔒 Requires the update:environment permission. 🔒 Requires the update:environment permission
Remote state updates locked
Too many requests
Unlock deployment remote state
🔒 Requires the update:environment permission
Origin run ID
IaC type of the remote state
terraformPossible values: Remote state lock details
Deployment remote state unlocked successfully
Deployment remote state unlocked successfully
Failed to unlock deployment remote state
Failed to authenticate user or runtime
Cannot access deployment remote state. 🔒 Requires the update:environment permission
Remote state lock not found
Remote state updates locked
Too many requests
No content
Unlock deployment remote state
🔒 Requires the update:environment permission
🔒 Requires the update:environment permission
Origin run ID
IaC type of the remote state
terraformPossible values: Remote state lock details
Deployment remote state unlocked successfully
Deployment remote state unlocked successfully
Failed to unlock deployment remote state
Failed to authenticate user or runtime
Cannot access deployment remote state. 🔒 Requires the update:environment permission. 🔒 Requires the update:environment permission
Remote state lock not found
Remote state updates locked
Too many requests
No content
Last updated
Was this helpful?

