Skip to main content
POST
Create pipeline

Path Parameters

workspaceId
string<uuid>
required

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
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

WorkspacePipeline response.

WorkspacePipeline 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

WorkspacePipeline display name.

id
string<uuid>
required

Unique identifier of the pipeline.

status
required

WorkspacePipeline lifecycle status.

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

Timestamp when the pipeline was last updated.

workspaceHandle
string
required

URL-safe workspace handle. Display-only.

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

Unique identifier of the workspace.

description
string

WorkspacePipeline description.

retention
object

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