Skip to main content

versions

Creates, updates, deletes, gets or lists a versions resource.

Overview

Nameversions
TypeResource
Idcloudflare.workflows.versions

Fields

The following fields are returned by SELECT queries:

Get specific version details.

NameDatatypeDescription
idstring (uuid)
workflow_idstring (uuid)
class_namestring
created_onstring (date-time)
has_dagboolean
languagestringThe programming language of the workflow implementation (javascript, python)
limitsobject
modified_onstring (date-time)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectworkflow_name, version_id, account_idRetrieves details for a specific deployed workflow version.
listselectworkflow_name, account_idper_page, pageLists all deployed versions of a workflow.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
account_idstringThe Cloudflare account ID.
version_idstring (uuid)
workflow_namestringThe Workflow name.
pagenumber
per_pagenumber

SELECT examples

Retrieves details for a specific deployed workflow version.

SELECT
id,
workflow_id,
class_name,
created_on,
has_dag,
language,
limits,
modified_on
FROM cloudflare.workflows.versions
WHERE workflow_name = '{{ workflow_name }}' -- required
AND version_id = '{{ version_id }}' -- required
AND account_id = '{{ account_id }}' -- required
;