PipelineRun.
Concepts
- Pipeline — versioned definition that lives next to a project. It can be
stored inline or backed by a Git repository through a
pipeline.yamlfile. - Stage — an ordered group of jobs. A pipeline may declare multiple
stages or use the
jobsshorthand, in which case Arcentra wraps the jobs in a default stage. - Job — a unit of work scheduled to a single agent. Jobs declare the steps to run and any conditions or matrix expansion.
- Step — the atomic action. A step is either a builtin (such as
shell) or a plugin invocation throughuses + action + args. - PipelineRun / JobRun / StepRun — runtime objects with their own state, status, logs, artifacts, and timing.
- Trigger —
manual,cron, orevent(webhook). Triggers can be combined with approval gates.
Statuses
| Object | Statuses |
|---|---|
| PipelineRun | pending, running, success, failed, cancelled, paused, partial |
| JobRun | pending, queued, running, success, failed, cancelled |
| StepRun | pending, queued, running, success, failed, cancelled, timeout, skipped |
Pipeline definition
Pipelines are defined as structured specs. The two supported shapes are:jobs-only shorthand omits the stages wrapper:
Source, Approval, Target, Notify, and
Triggers blocks. See the upstream pipeline docs in the source repository
for the full schema and DSL reference.
HTTP API
The HTTP surface lives under/api/v1/pipelines on the control plane.
Authentication
All endpoints require a bearer token:application/json.
Response envelope
Successful responses with a body:Endpoints
Pipeline management
POST /api/v1/pipelinesPUT /api/v1/pipelines/:pipelineIdGET /api/v1/pipelines/:pipelineIdGET /api/v1/pipelinesDELETE /api/v1/pipelines/:pipelineId
Definition
GET /api/v1/pipelines/:pipelineId/specPOST /api/v1/pipelines/:pipelineId/spec/validatePOST /api/v1/pipelines/:pipelineId/spec/save
Run control
POST /api/v1/pipelines/:pipelineId/triggerGET /api/v1/pipelines/:pipelineId/runsGET /api/v1/pipelines/runs/:runIdPOST /api/v1/pipelines/:pipelineId/runs/:runId/stopPOST /api/v1/pipelines/:pipelineId/runs/:runId/pausePOST /api/v1/pipelines/:pipelineId/runs/:runId/resume
Common request shapes
Create pipeline
Validate definition
Save definition
Definition endpoints accept structured
spec only. The legacy content
text field has been removed.Trigger pipeline
Pause / resume / stop
Enumerations
saveMode:direct,prformat:json,yaml,yml- Pipeline status:
pending,running,success,failed,cancelled,paused
Realtime updates
Live pipeline, job, and step updates are exposed through:- A WebSocket gateway at
GET /api/v1/wsfor log and status subscriptions. - gRPC streaming services (
stream.v1) for server-to-server integrations.