Workflows

Get current workflow code

Returns the source code of the workflow's current revision, scoped to the caller's org.

get/workflows/{workflow_id}/code

Path parameters

workflow_idstring uuid required

workflow identifier

workflow identifier

Response

OK

revisioninteger required

Current revision number, or 0 when no revisions exist.

revision_idstring nullable required

Current revision's id, or null when no revisions exist.

sourcestring required

Current revision's Python source.

updated_atstring date-time required

Created_at of the current revision, or the workflow's update_date when no revisions exist.

Changes