Automation workflows

Start a job to duplicate the workflow with the provided workflow_id parameter if the authorized user has access to the automation's workspace.

post/api/automation/workflows/{workflow_id}/duplicate/async/

Path parameters

workflow_idinteger required

The workflow to duplicate.

Headers

ClientSessionIdstring uuid

An optional header that marks the action performed by this request as having occurred in a particular client session. Then using the undo/redo endpoints with the same ClientSessionId header this action can be undone/redone.

Response

idinteger required
typestring required

The type of the job.

progress_percentageinteger required

A percentage indicating how far along the job is. 100 means that it's finished.

statestring required

Indicates the state of the import job.

human_readable_errorstring

A human readable error message indicating what went wrong.

error_codestring

A machine readable error code indicating why the job failed.

created_onstring date-time required
updated_onstring date-time required

Changes

Changed in 1 of the 6 revisions of this API.1

    • added the optional property error_code to the response with the 202 status

      response-optional-property-added