{
  "opencollection": "1.0.0",
  "info": {
    "name": "Seqera actions workflows API",
    "version": "1.181.0"
  },
  "items": [
    {
      "info": {
        "name": "workflows",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List workflows",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/workflow",
            "params": [
              {
                "name": "attributes",
                "value": "",
                "type": "query",
                "description": "Additional attribute values to include in the response (`labels`, `optimized` status). Returns an empty value (`labels: null`) if omitted."
              },
              {
                "name": "workspaceId",
                "value": "",
                "type": "query",
                "description": "Workspace numeric identifier"
              },
              {
                "name": "max",
                "value": "",
                "type": "query",
                "description": "Pagination max results"
              },
              {
                "name": "offset",
                "value": "",
                "type": "query",
                "description": "Pagination offset"
              },
              {
                "name": "search",
                "value": "",
                "type": "query",
                "description": "Filter search parameter"
              },
              {
                "name": "includeTotalSize",
                "value": "",
                "type": "query",
                "description": "Include total size in the response"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Lists all workflow records, enriched with `attributes`. Append `?workspaceId` to list workflow records in a workspace context."
        },
        {
          "info": {
            "name": "Delete workflows",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/workflow/delete",
            "params": [
              {
                "name": "workspaceId",
                "value": "",
                "type": "query",
                "description": "Workspace numeric identifier"
              },
              {
                "name": "force",
                "value": "",
                "type": "query",
                "description": "Force the deletion even if any workflows are active"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Deletes the workflow records identified by the given list of `workflowIds`."
        },
        {
          "info": {
            "name": "Launch workflow",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/workflow/launch",
            "params": [
              {
                "name": "workspaceId",
                "value": "",
                "type": "query",
                "description": "Workspace numeric identifier"
              },
              {
                "name": "sourceWorkspaceId",
                "value": "",
                "type": "query",
                "description": "Source workspace numeric identifier"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Submits a workflow execution."
        },
        {
          "info": {
            "name": "Generates a random name",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/workflow/random-name",
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Generates a random name"
        },
        {
          "info": {
            "name": "Validate run name",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/workflow/validate",
            "params": [
              {
                "name": "runName",
                "value": "",
                "type": "query",
                "description": "Workflow run name to validate"
              },
              {
                "name": "sessionId",
                "value": "",
                "type": "query",
                "description": "Workflow session ID to validate"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Check that the given run name of a workflow has a valid format. When the session ID is given: check that no other workflow in the system exists with the combination of both elements."
        },
        {
          "info": {
            "name": "Describe workflow",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/workflow/:workflowId",
            "params": [
              {
                "name": "workflowId",
                "value": "",
                "type": "path",
                "description": "Workflow string identifier"
              },
              {
                "name": "workspaceId",
                "value": "",
                "type": "query",
                "description": "Workspace numeric identifier"
              },
              {
                "name": "attributes",
                "value": "",
                "type": "query",
                "description": "Comma-separated list of attributes to retrieve. Returns an empty value for each attribute not specified."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Retrieves the details of the workflow record associated with the given `workflowId`."
        },
        {
          "info": {
            "name": "Apply a partial update to the workflow-extension metadata for the given Workflow ID",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "{{baseUrl}}/workflow/:workflowId",
            "params": [
              {
                "name": "workflowId",
                "value": "",
                "type": "path",
                "description": "Workflow string identifier"
              },
              {
                "name": "workspaceId",
                "value": "",
                "type": "query",
                "description": "Workspace numeric identifier"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Updates only the workflow-extension store; never a core workflow field. Designed to carry workflow-extension attributes generally so future fields reuse this operation. Returns the updated workflow representation."
        },
        {
          "info": {
            "name": "Delete the Workflow entity with the given ID",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/workflow/:workflowId",
            "params": [
              {
                "name": "workflowId",
                "value": "",
                "type": "path",
                "description": "Workflow string identifier"
              },
              {
                "name": "workspaceId",
                "value": "",
                "type": "query",
                "description": "Workspace numeric identifier"
              },
              {
                "name": "force",
                "value": "",
                "type": "query",
                "description": "Force the deletion even if the workflow is active"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Delete the Workflow entity with the given ID"
        },
        {
          "info": {
            "name": "Cancel workflow",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/workflow/:workflowId/cancel",
            "params": [
              {
                "name": "workflowId",
                "value": "",
                "type": "path",
                "description": "Workflow string identifier"
              },
              {
                "name": "workspaceId",
                "value": "",
                "type": "query",
                "description": "Workspace numeric identifier"
              },
              {
                "name": "force",
                "value": "",
                "type": "query",
                "description": "Cancel on the Platform side even if it cannot be cancelled on the CE provider side"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Cancels the workflow execution identified by the given `workflowId`."
        },
        {
          "info": {
            "name": "Download workflow files",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/workflow/:workflowId/download",
            "params": [
              {
                "name": "workflowId",
                "value": "",
                "type": "path",
                "description": "Workflow string identifier"
              },
              {
                "name": "fileName",
                "value": "",
                "type": "query",
                "description": "Filename to download"
              },
              {
                "name": "workspaceId",
                "value": "",
                "type": "query",
                "description": "Workspace numeric identifier"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Downloads the workflow files for the Nextflow main job associated with the given `workflowId`."
        },
        {
          "info": {
            "name": "Download workflow task files",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/workflow/:workflowId/download/:taskId",
            "params": [
              {
                "name": "workflowId",
                "value": "",
                "type": "path",
                "description": "Workflow string identifier"
              },
              {
                "name": "taskId",
                "value": "",
                "type": "path",
                "description": "Task numeric identifier"
              },
              {
                "name": "fileName",
                "value": "",
                "type": "query",
                "description": "Filename to download"
              },
              {
                "name": "workspaceId",
                "value": "",
                "type": "query",
                "description": "Workspace numeric identifier"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Downloads the workflow files of the task identified by the given `taskId`."
        },
        {
          "info": {
            "name": "Describe workflow launch",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/workflow/:workflowId/launch",
            "params": [
              {
                "name": "workflowId",
                "value": "",
                "type": "path",
                "description": "Workflow string identifier"
              },
              {
                "name": "workspaceId",
                "value": "",
                "type": "query",
                "description": "Workspace numeric identifier"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Retrieves the details of the workflow launch associated with the given `workflowId`."
        },
        {
          "info": {
            "name": "Get workflow logs",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/workflow/:workflowId/log",
            "params": [
              {
                "name": "workflowId",
                "value": "",
                "type": "path",
                "description": "Workflow string identifier"
              },
              {
                "name": "workspaceId",
                "value": "",
                "type": "query",
                "description": "Workspace numeric identifier"
              },
              {
                "name": "next",
                "value": "",
                "type": "query",
                "description": "Workflow log cursor"
              },
              {
                "name": "maxLength",
                "value": "",
                "type": "query",
                "description": "Maximum length in bytes of the log to retrieve"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Retrieves the output logs for the Nextflow main job of the workflow identified by the given `workflowId`."
        },
        {
          "info": {
            "name": "Get workflow task logs",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/workflow/:workflowId/log/:taskId",
            "params": [
              {
                "name": "workflowId",
                "value": "",
                "type": "path",
                "description": "Workflow string identifier"
              },
              {
                "name": "taskId",
                "value": "",
                "type": "path",
                "description": "Task numeric identifier"
              },
              {
                "name": "next",
                "value": "",
                "type": "query",
                "description": "Workflow log cursor"
              },
              {
                "name": "workspaceId",
                "value": "",
                "type": "query",
                "description": "Workspace numeric identifier"
              },
              {
                "name": "maxLength",
                "value": "",
                "type": "query",
                "description": "Maximum length in bytes of the log to retrieve"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Retrieves the output logs for the workflow task identified by the given `taskId`."
        },
        {
          "info": {
            "name": "Get the execution metrics for the given Workflow ID",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/workflow/:workflowId/metrics",
            "params": [
              {
                "name": "workflowId",
                "value": "",
                "type": "path",
                "description": "Workflow string identifier"
              },
              {
                "name": "workspaceId",
                "value": "",
                "type": "query",
                "description": "Workspace numeric identifier"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Get the execution metrics for the given Workflow ID"
        },
        {
          "info": {
            "name": "Retrieve the execution progress for the given Workflow ID",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/workflow/:workflowId/progress",
            "params": [
              {
                "name": "workflowId",
                "value": "",
                "type": "path",
                "description": "Workflow string identifier"
              },
              {
                "name": "workspaceId",
                "value": "",
                "type": "query",
                "description": "Workspace numeric identifier"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Retrieve the execution progress for the given Workflow ID"
        },
        {
          "info": {
            "name": "Check workflow star status",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/workflow/:workflowId/star",
            "params": [
              {
                "name": "workflowId",
                "value": "",
                "type": "path",
                "description": "Workflow string identifier"
              },
              {
                "name": "workspaceId",
                "value": "",
                "type": "query",
                "description": "Workspace numeric identifier"
              }
            ]
          },
          "docs": "Confirms whether the given `workflowId` is starred."
        },
        {
          "info": {
            "name": "Star workflow",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/workflow/:workflowId/star",
            "params": [
              {
                "name": "workflowId",
                "value": "",
                "type": "path",
                "description": "Workflow string identifier"
              },
              {
                "name": "workspaceId",
                "value": "",
                "type": "query",
                "description": "Workspace numeric identifier"
              }
            ]
          },
          "docs": "Adds the workflow identified by the given `workflowId` to your list of starred workflows."
        },
        {
          "info": {
            "name": "Unstar workflow",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/workflow/:workflowId/star",
            "params": [
              {
                "name": "workflowId",
                "value": "",
                "type": "path",
                "description": "Workflow string identifier"
              },
              {
                "name": "workspaceId",
                "value": "",
                "type": "query",
                "description": "Workspace numeric identifier"
              }
            ]
          },
          "docs": "Removes the workflow identified by the given `workflowId` from your list of starred workflows."
        },
        {
          "info": {
            "name": "Describe a task entity with the given ID",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/workflow/:workflowId/task/:taskId",
            "params": [
              {
                "name": "workflowId",
                "value": "",
                "type": "path",
                "description": "Workflow string identifier"
              },
              {
                "name": "taskId",
                "value": "",
                "type": "path",
                "description": "Task numeric identifier"
              },
              {
                "name": "workspaceId",
                "value": "",
                "type": "query",
                "description": "Workspace numeric identifier"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Describe a task entity with the given ID"
        },
        {
          "info": {
            "name": "List the tasks for the given Workflow ID and filter parameters",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/workflow/:workflowId/tasks",
            "params": [
              {
                "name": "workflowId",
                "value": "",
                "type": "path",
                "description": "Workflow string identifier"
              },
              {
                "name": "workspaceId",
                "value": "",
                "type": "query",
                "description": "Workspace numeric identifier"
              },
              {
                "name": "max",
                "value": "",
                "type": "query",
                "description": "Pagination max results"
              },
              {
                "name": "offset",
                "value": "",
                "type": "query",
                "description": "Pagination offset"
              },
              {
                "name": "sortBy",
                "value": "",
                "type": "query",
                "description": "Field to sort by"
              },
              {
                "name": "sortDir",
                "value": "",
                "type": "query",
                "description": "Sorting direction (asc|desc)"
              },
              {
                "name": "search",
                "value": "",
                "type": "query",
                "description": "Search tasks by name"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "List the tasks for the given Workflow ID and filter parameters"
        }
      ]
    }
  ],
  "bundled": true
}