Skip to main content
POST
Create pipeline

Path Parameters

workspaceSlug
string
required

URL-safe workspace identifier.

Body

application/json

Request payload for creating a new pipeline.

Creates a new pipeline with the specified name and optional description. The definition can be added later via update.

Request payload for creating a new pipeline.

Creates a new pipeline with the specified name and optional description. The definition can be added later via update.

displayName
string
required

Pipeline display name (2-128 characters).

Required string length: 2 - 128
slug
string
required

URL slug, unique within the workspace and immutable after creation.

Required string length: 3 - 32
Pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
definition
object

Optional detection + redaction configuration. Defaults to an empty definition that can be filled in via update.

description
string

Optional description of the pipeline (max 500 characters).

Maximum string length: 500
retention
object

Optional per-scope data-retention override for this pipeline. Each unset scope inherits the workspace retention.

status

Optional lifecycle status. Defaults to draft; pass enabled to create a pipeline ready to run without a follow-up update.

Allowed value: "draft"

Response

Pipeline response.

Pipeline response.

createdAt
string<date-time>
required

Timestamp when the pipeline was created.

createdBy
object
required

Account that created this pipeline.

definition
object
required

Detection + redaction configuration.

displayName
string
required

Pipeline display name.

slug
string
required

URL slug of the pipeline, unique within its workspace.

Required string length: 3 - 32
Pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
status
required

Pipeline lifecycle status.

Allowed value: "draft"
updatedAt
string<date-time>
required

Timestamp when the pipeline was last updated.

workspaceSlug
string
required

Handle of the workspace this pipeline belongs to.

Required string length: 3 - 32
Pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
description
string

Pipeline description.

retention
object

Per-scope data-retention override, when the pipeline sets one.