Skip to main content

PipelineUpdate

Payload used to update Pipeline. Optional fields include name, alias, type, collection_id, folder_id, and 5 more.

name object
anyOf
string
alias object
anyOf
string
type object
anyOf
string

Possible values: [batch, event]

collection_id object
anyOf
string

Possible values: non-empty

folder_id object
anyOf
string
tags object
anyOf
  • Array [
  • string
  • ]
  • description object
    anyOf
    string
    steps object
    anyOf
  • Array [
  • nameName (string)required

    Step name

    alias object
    anyOf
    string
    description object

    Step-owned description, independent of the referenced Code's description so steps sharing one Code can be labeled distinctly.

    anyOf
    string
    script object

    Code resource ID to execute (code step)

    anyOf
    string
    transform object

    Native transform spec (transform step)

    anyOf
    oprequired

    Possible values: [aggregate, join, rename_cast, select_filter, union]

    versionVersion (integer)
    Constant value: 1
    Default value: 1
    config objectrequired

    Config for the aggregate op: group-by + allowlisted aggregate functions. An empty group_by aggregates the whole input to a single row. input is a port key.

    inputInput (string)required

    Input port key

    group_bystring[]

    Grouping columns (empty = whole-input aggregate)

    aggregations object[]required

    Aggregations (non-empty)

  • Array [
  • functionFunction (string)required

    Allowlisted aggregate function

    Possible values: [sum, count, avg, min, max]

    column object

    Aggregated column (omit only for count)

    anyOf
    string
    aliasAlias (string)required

    Output column name

  • ]
  • inputs object

    Input dataset mapping

    anyOf
    object
    outputs object

    Output dataset mapping

    anyOf
    object
    dependencies object

    List of dependent step names

    anyOf
  • Array [
  • string
  • ]
  • options object
    anyOf
    object
    secrets object

    Secret values to inject into contexts['secrets']

    anyOf
  • Array [
  • nameName (string)required

    contexts['secrets'] key the step reads

    refRef (string)required

    Secret reference, e.g. secret://secret./token

  • ]
  • ]
  • options object
    anyOf
    object
    metadata object
    anyOf
    object
    PipelineUpdate
    {
    "name": "string",
    "alias": "string",
    "type": "batch",
    "collection_id": "string",
    "folder_id": "string",
    "tags": [
    "string"
    ],
    "description": "string",
    "steps": [
    {
    "name": "string",
    "alias": "string",
    "description": "string",
    "script": "string",
    "transform": {
    "version": 1,
    "op": "select_filter",
    "config": {
    "input": "string",
    "columns": [
    {
    "name": "string",
    "alias": "string"
    }
    ],
    "where": {
    "kind": "and",
    "conditions": [
    {
    "kind": "condition",
    "column": "string",
    "operator": "eq"
    },
    null
    ]
    }
    }
    },
    "inputs": {},
    "outputs": {},
    "dependencies": [
    "string"
    ],
    "options": {},
    "secrets": [
    {
    "name": "string",
    "ref": "string"
    }
    ]
    }
    ],
    "options": {},
    "metadata": {}
    }