Flow Version Deployments

List Flow Version Deployments

get

Retrieves a paginated list of all flow version deployments. Can be filtered by package_id, virtual_environment_id, name, and other criteria.

Authorizations
AuthorizationstringRequired

API key passed in the Authorization header. Format: <api-key>

Query parameters
filter[package_id]stringOptional

Filter results by package_id.

filter[virtual_environment_id]stringOptional

Filter results by virtual_environment_id.

filter[global]stringOptional

Filter results by global.

filter[flowVersion.flow]stringOptional

Filter results by flowVersion.flow.

filter[name]stringOptional

Filter results by name.

filter[LIKE]stringOptional

Filter results by LIKE.

includestringOptional

Comma-separated list of relationships to include. Available: enabledBy, flowVersion, virtualEnvironment, package, user

sortstringOptional

Sort field. Prefix with - for descending. Available: created_at, enabled_at, flow_name, DESC, ASC, flow_versions, flow_version_deployments.flow_version_id, =, flow_versions.id, flows, flow_versions.flow_id, =, flows.id, flows.name, flow_version_iteration, DESC, ASC, flow_versions.id, ( SELECT COUNT(*) FROM flow_versions fv2 WHERE fv2.flow_id = flow_versions.flow_id AND fv2.id <= flow_versions.id ) AS iteration, flow_versions, flow_versions.id, flow_versions, flow_version_deployments.flow_version_id, =, flow_versions.id, iteration_calc, flow_versions.id, =, iteration_calc.id, iteration_calc.iteration

pageinteger · min: 1Optional

Page number for pagination.

Default: 1
per_pageinteger · min: 1 · max: 100Optional

Number of results per page.

Responses
chevron-right
200

Successful response

application/json
objectOptional
get
/api/v1/flow-version-deployments

List Flow Version Deployments

get

Retrieves a paginated list of all deployments for a specific flow version.

Authorizations
AuthorizationstringRequired

API key passed in the Authorization header. Format: <api-key>

Path parameters
flow_versionstringRequired

The flow version identifier.

Responses
chevron-right
200

Successful response

application/json
get
/api/v1/flow-versions/{flow_version}/deployments

Create Flow Version Deployment

post

Creates a new deployment for a flow version. Accepts an optional virtual environment and priority level.

Authorizations
AuthorizationstringRequired

API key passed in the Authorization header. Format: <api-key>

Path parameters
flow_versionstringRequired

The flow version identifier.

Body
virtual_environment_idstring · nullableOptional
flow_version_idstringRequired
priorityinteger · nullableOptional
deploy_disabledboolean · nullableOptional
Responses
chevron-right
200

Successful response

application/json
post
/api/v1/flow-versions/{flow_version}/deployments

Get Flow Version Deployment

get

Retrieves the details of a specific flow version deployment.

Authorizations
AuthorizationstringRequired

API key passed in the Authorization header. Format: <api-key>

Path parameters
flow_versionstringRequired

The flow version identifier.

deploymentstringRequired

The deployment identifier.

Responses
chevron-right
200

Successful response

application/json
get
/api/v1/flow-versions/{flow_version}/deployments/{deployment}

Update Flow Version Deployment

put

Updates an existing deployment. Accepts a virtual environment, priority, and enabled timestamp.

Authorizations
AuthorizationstringRequired

API key passed in the Authorization header. Format: <api-key>

Path parameters
flow_versionstringRequired

The flow version identifier.

deploymentstringRequired

The deployment identifier.

Body
virtual_environment_idstring · nullableOptional
priorityinteger · nullableOptional
enabled_atstring · date-time · nullableOptional
deploy_disabledboolean · nullableOptional
Responses
chevron-right
200

Successful response

application/json
put
/api/v1/flow-versions/{flow_version}/deployments/{deployment}

Delete Flow Version Deployment

delete

Permanently deletes a specific flow version deployment.

Authorizations
AuthorizationstringRequired

API key passed in the Authorization header. Format: <api-key>

Path parameters
flow_versionstringRequired

The flow version identifier.

deploymentstringRequired

The deployment identifier.

Responses
chevron-right
200

Successful response

application/json
messagestringOptional
delete
/api/v1/flow-versions/{flow_version}/deployments/{deployment}

Enable Flow Version Deployment

post

Enables a specific flow version deployment, allowing it to process runs.

Authorizations
AuthorizationstringRequired

API key passed in the Authorization header. Format: <api-key>

Path parameters
flow_versionstringRequired

The flow version identifier.

deploymentstringRequired

The deployment identifier.

Responses
chevron-right
200

Successful response

application/json
objectOptional
post
/api/v1/flow-versions/{flow_version}/deployments/{deployment}/enable

Disable Flow Version Deployment

post

Disables a specific flow version deployment, preventing it from processing runs.

Authorizations
AuthorizationstringRequired

API key passed in the Authorization header. Format: <api-key>

Path parameters
flow_versionstringRequired

The flow version identifier.

deploymentstringRequired

The deployment identifier.

Responses
chevron-right
200

Successful response

application/json
objectOptional
post
/api/v1/flow-versions/{flow_version}/deployments/{deployment}/disable

Last updated

Was this helpful?