--- layout: default navsection: api navmenu: API Methods title: "workflows" ... {% comment %} Copyright (C) The Arvados Authors. All rights reserved. SPDX-License-Identifier: CC-BY-SA-3.0 {% endcomment %} API endpoint base: @https://{{ site.arvados_api_host }}/arvados/v1/workflows@ Object type: @7fd4e@ Example UUID: @zzzzz-7fd4e-0123456789abcde@ h2. Resource Stores a "Common Workflow Language":http://commonwl.org (CWL) computational workflow that can be searched for, browsed and executed (submitted to Crunch) from the workbench. Each Workflow offers the following optional attributes, in addition to the "Common resource fields":{{site.baseurl}}/api/resources.html: table(table table-bordered table-condensed). |_. Attribute|_. Type|_. Description|_. Example| |name|string|If not specified, will be set to any "name" from the "definition" attribute.|| |description|string|If not specified, will be set to any "description" from the "definition" attribute.|| |definition|string|A "Common Workflow Language" document.|Visit "Common Workflow Language":http://www.commonwl.org/ for details.| h2. Methods See "Common resource methods":{{site.baseurl}}/api/methods.html for more information about @create@, @delete@, @get@, @list@, and @update@. Required arguments are displayed in %{background:#ccffcc}green%. Supports federated @create@, @delete@, @get@, @list@, and @update@. h3. create Create a new Workflow. Arguments: table(table table-bordered table-condensed). |_. Argument |_. Type |_. Description |_. Location |_. Example | {background:#ccffcc}.|workflow|object|Workflow resource|request body|| h3. delete Delete an existing Workflow. Arguments: table(table table-bordered table-condensed). |_. Argument |_. Type |_. Description |_. Location |_. Example | {background:#ccffcc}.|uuid|string|The UUID of the Workflow in question.|path|| h3. get Get a Workflow's metadata by UUID. Arguments: table(table table-bordered table-condensed). |_. Argument |_. Type |_. Description |_. Location |_. Example | {background:#ccffcc}.|uuid|string|The UUID of the Workflow in question.|path|| h3. list List workflows. See "common resource list method.":{{site.baseurl}}/api/methods.html#index h3. update Update attributes of an existing Workflow. Arguments: table(table table-bordered table-condensed). |_. Argument |_. Type |_. Description |_. Location |_. Example | {background:#ccffcc}.|uuid|string|The UUID of the Workflow in question.|path|| |workflow|object||query||