Flow Versions

List Flow Versions

get

Retrieves a paginated list of all versions for a specific flow.

Authorizations
AuthorizationstringRequired

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

Path parameters
flowstringRequired

The flow identifier.

Responses
chevron-right
200

Successful response

application/json
get
/api/v1/flows/{flow}/versions

Create Flow Version

post

Creates a new draft version of a flow. Intended for use when a flow has no existing versions.

Authorizations
AuthorizationstringRequired

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

Path parameters
flowstringRequired

The flow identifier.

Responses
chevron-right
200

Successful response

application/json
post
/api/v1/flows/{flow}/versions

Get Flow Version

get

Retrieves the details of a specific flow version.

Authorizations
AuthorizationstringRequired

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

Path parameters
flowstringRequired

The flow identifier.

versionstringRequired

The version identifier.

Responses
chevron-right
200

Successful response

application/json
get
/api/v1/flows/{flow}/versions/{version}

Update Flow Version

put

Updates an existing flow version. Accepts a deployed_at timestamp.

Authorizations
AuthorizationstringRequired

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

Path parameters
flowstringRequired

The flow identifier.

versionstringRequired

The version identifier.

Body
deployed_atstring · date-time · nullableOptional
Responses
chevron-right
200

Successful response

application/json
put
/api/v1/flows/{flow}/versions/{version}

Delete Flow Version

delete

Permanently deletes a specific flow version.

Authorizations
AuthorizationstringRequired

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

Path parameters
flowstringRequired

The flow identifier.

versionstringRequired

The version identifier.

Responses
chevron-right
200

Successful response

application/json
messagestringOptional
delete
/api/v1/flows/{flow}/versions/{version}

Copy Flow Version

post

Copies an existing deployed flow version into a new draft version. Any existing draft for that flow is overwritten.

Authorizations
AuthorizationstringRequired

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

Path parameters
flowstringRequired

The flow identifier.

versionstringRequired

The version identifier.

Responses
chevron-right
200

Successful response

application/json
objectOptional
post
/api/v1/flows/{flow}/versions/{version}/copy

Upload Flow Version

post

Uploads a given flow version to your private marketplace.

This operation requires administrator permissions. If you are authorising requests with an API key, this request won't work (company-level API keys are associated with manager-level permissions). If you are an administrator, you can use OAuth 2 credentials to complete this operation. For more information please see our Authenticationarrow-up-right section.

Authorizations
AuthorizationstringRequired

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

Path parameters
flow_versionstringRequired

The flow version identifier.

Body
privatestringOptional
Responses
chevron-right
200

Successful response

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

List Flow Version Metrics

get

Retrieves paginated metrics for a flow's versions. Results can be filtered by time interval, metric type, and key.

Authorizations
AuthorizationstringRequired

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

Path parameters
flowstringRequired

The flow identifier.

Responses
chevron-right
200

Successful response

application/json
get
/api/v1/flows/{flow}/version-metrics

List Flow Version Schedules

get

Retrieves a paginated list of all schedules 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}/schedules

Create Flow Version Schedule

post

Creates a new schedule for a flow version using a cron_string.

Authorizations
AuthorizationstringRequired

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

Path parameters
flow_versionstringRequired

The flow version identifier.

Body
cron_stringstringRequired
deployed_atstring · date-time · nullableOptional
Responses
chevron-right
200

Successful response

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

Update Flow Version Schedule

put

Updates the cron_string for an existing flow version schedule.

Authorizations
AuthorizationstringRequired

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

Path parameters
flow_versionstringRequired

The flow version identifier.

schedulestringRequired

The schedule identifier.

Body
cron_stringstringOptional
deployed_atstring · date-time · nullableOptional
Responses
chevron-right
200

Successful response

application/json
put
/api/v1/flow-versions/{flow_version}/schedules/{schedule}

Delete Flow Version Schedule

delete

Permanently deletes a specific flow version schedule.

Authorizations
AuthorizationstringRequired

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

Path parameters
flow_versionstringRequired

The flow version identifier.

schedulestringRequired

The schedule identifier.

Responses
chevron-right
200

Successful response

application/json
messagestringOptional
delete
/api/v1/flow-versions/{flow_version}/schedules/{schedule}

Last updated

Was this helpful?