Execution#

Tasks run in order. You can make a task wait for others (depends_on), run conditionally (skip_if, skip_if_empty), or repeat over a list (foreach). See Task forms for task definitions and Full JSON Schema for the full JSON Schema.

Example (depends_on):

tasks:
  - id: encode
    slug: esm2-8m
    action: encode
    request_body:
      items: "${{ sequences }}"
  - id: predict
    slug: esmfold
    action: predict
    depends_on: [encode]
    request_body:
      items: "${{ tasks.encode.response.results }}"