Skip to main content

PipelineResponse

Data returned for Pipeline. Required fields are id, name, category, type, steps, item.

idId (string)required

Server-assigned unique identifier

nameName (string)required

Resource name

alias object

URL-safe short handle

anyOf
string
categoryCategory (string)required

Resource type tag

typeType (string)required

Pipeline execution mode: 'batch' or 'event'

Possible values: [batch, event]

collection_id object

Parent collection ID

anyOf
string
folder_id object

Identifier of the containing folder.

anyOf
string
tags object

Classification labels

anyOf
  • Array [
  • string
  • ]
  • description object

    Resource description

    anyOf
    string
    markingsstring[]

    Mandatory marking ids this resource requires; read-only — set via the marking guard endpoints, not Create/PATCH.

    Default value: []
    created_at object

    Creation timestamp (Unix ms)

    anyOf
    integer
    updated_at object

    Last update timestamp (Unix ms)

    anyOf
    integer
    owners object[]

    Users and groups that own the resource.

  • Array [
  • idId (string)required

    "user." | "group." | "public.all"

    typeType (string)required

    Possible values: [user, group, public]

    display_nameDisplay Name (string)required
    avatar_url object
    anyOf
    string
    avatar_config object
    anyOf
    object
    email object
    anyOf
    string<email>
  • ]
  • my_share_scope object

    How the current caller received access to the resource.

    anyOf
    string

    Possible values: [owner, grant, admin]

    steps object[]required

    Execution steps

  • 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
    itemItem (string)requireddeprecated
    PipelineResponse
    {
    "id": "string",
    "name": "string",
    "alias": "string",
    "category": "string",
    "type": "batch",
    "collection_id": "string",
    "folder_id": "string",
    "tags": [
    "string"
    ],
    "description": "string",
    "markings": [
    "string"
    ],
    "created_at": 0,
    "updated_at": 0,
    "owners": [
    {
    "id": "string",
    "type": "user",
    "display_name": "string",
    "avatar_url": "string",
    "avatar_config": {},
    "email": "user@example.com"
    }
    ],
    "my_share_scope": "owner",
    "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": {}
    }