Deployments
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
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
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
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
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
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
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
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
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
Bad 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
Failed 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
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
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
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
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
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
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
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
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
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
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
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
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
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 draft 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 for root-level packages only.
[{"package_id":"terraform_aws_secretsmanager","state_file":"state_1"},{"package_id":"terraform_aws_eks_auto","state_file":"state_2"}]State upload results
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
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
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
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
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
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
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
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
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
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
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?

