Skip to main content
GET
Get current workflow code
Minimum role required: Viewer

Authorizations

X-Axilio-Api-Key
string
header
required

Customer API key (axl_ prefix).

Path Parameters

workflow_id
string<uuid>
required

workflow identifier

Response

OK

Returned from GET /workflows/:id/code.

revision
integer<int64>
required

Current revision number, or 0 when no revisions exist.

revision_id
string | null
required

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

source
string
required

Current revision's Python source.

updated_at
string<date-time>
required

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