List presets
Named starting points shared with the caller: with everyone, with a team they belong to, owned by such a team, or every preset to whoever may make them. A person who reads no pipeline sees none. Not paged: an organization has a few. `linkedStages` counts the stages that follow each.
better-auth.session_token<token>Better Auth session cookie. Production uses the __Secure- prefixed name.
kind?string"pipeline""stage""rollout""guardrail"q?stringlength <= 100The presets, by name.
application/json- response
items*array<>curl -X GET 'https://wardn.example.com/api/v1/pipeline-presets'{ "items": [ { "follows": [ { "pipelineId": "621ef2b0-ba1d-48e5-89dc-b778e6ed42fd", "pipelineName": "string", "stageName": "string", "result": "updated", "version": 0, "draftNumber": 0, "draftId": "dfb8a430-52c9-4ba8-8878-6bd070da9488", "reason": "string" } ], "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "description": "string", "kind": "pipeline", "ownerTeamId": "string", "sharedWith": [ "string" ], "version": 0, "body": { "arrival": "auto_promote", "stage": { "which": "qualified", "ifSeveral": "replace", "allowRequests": true, "configOnly": true, "incoming": "all", "narrow": [ { "field": "cluster", "op": "is", "value": "string" } ], "rules": [ { "id": "string", "type": "approval", "section": "gate", "title": "string", "note": "string", "locked": true, "params": {} } ], "onReject": "keep", "onQualify": "notify", "notifyTarget": "string", "rollout": { "mode": "all", "waves": [ { "id": "string", "name": "string", "detail": "string", "targets": "string", "verify": "string", "next": "confirm", "soakSeconds": 0, "selector": { "property1": "string", "property2": "string" } } ], "onFail": "pause", "retries": "2", "timeout": "15m" }, "health": { "watchSeconds": 0, "onFail": "pause" }, "requestForm": "string", "agents": { "autonomy": "observe", "cap": "observe", "perHour": 0, "may": { "property1": true, "property2": true }, "read": { "mode": "off", "agentId": "string" } }, "preset": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "version": 1 } }, "rollout": { "mode": "all", "waves": [ { "id": "string", "name": "string", "detail": "string", "targets": "string", "verify": "string", "next": "confirm", "soakSeconds": 0, "selector": { "property1": "string", "property2": "string" } } ], "onFail": "pause", "retries": "2", "timeout": "15m" }, "stages": [ { "name": "string", "environmentClass": "string", "arrival": "auto_promote", "soakSeconds": 0, "config": { "which": "qualified", "ifSeveral": "replace", "allowRequests": true, "configOnly": true, "incoming": "all", "narrow": [ { "field": "cluster", "op": "is", "value": "string" } ], "rules": [ { "id": "string", "type": "approval", "section": "gate", "title": "string", "note": "string", "locked": true, "params": {} } ], "onReject": "keep", "onQualify": "notify", "notifyTarget": "string", "rollout": { "mode": "all", "waves": [ { "id": "string", "name": "string", "detail": "string", "targets": "string", "verify": "string", "next": "confirm", "soakSeconds": 0, "selector": { "property1": "string", "property2": "string" } } ], "onFail": "pause", "retries": "2", "timeout": "15m" }, "health": { "watchSeconds": 0, "onFail": "pause" }, "requestForm": "string", "agents": { "autonomy": "observe", "cap": "observe", "perHour": 0, "may": { "property1": true, "property2": true }, "read": { "mode": "off", "agentId": "string" } }, "preset": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "version": 1 } } } ], "settings": {} }, "linkedStages": 0, "builtin": true, "usedBy": 0, "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" } ]}List the apps no pipeline carries GET
The apps the caller reads that are promoted ad hoc, by name, with their team, how many deployments they have and when a snapshot was last promoted to one.
Create a preset POST
A stage preset holds a stage configuration, a rollout preset a rollout, a pipeline preset the stages of a pipeline (the person picks their environments) and a guardrail preset its settings, kept for the guardrail screens. A stage configuration that cannot compile to rules is refused.