latestOpenAPI 3.0.02026-08-10221235717.8 KB
e21ad140ec3c
public
PipelineRuns
Create a Pipeline Run in the appropriate Pipeline based on the trigger and inputs.
post/orgs/{orgId}/apps/{appId}/pipeline-runs
Path parameters
orgIdstring required
The Organization ID
appIdstring required
The Application ID
Query parameters
dry_runboolean
Optionally validate the request but do not persist the actual Pipeline Run.
Headers
Idempotency-Keystring
The HTTP Idempotency-Key
Request body
Example request
{
"trigger": "deployment_request",
"env_id": "development",
"delta_id": "0123456789abcdef0123456789abcdef01234567",
"comment": "My deployment"
}Response
Successful creation response.
Example response
{
"id": "01234567-89ab-cdef-0123-456789abcdef",
"etag": "1234567890abcdef",
"org_id": "sample-org",
"app_id": "sample-app",
"env_ids": [
"development"
],
"pipeline_id": "sample-pipeline",
"pipeline_version": "01234567-89ab-cdef-0123-456789abcdef",
"status": "executing",
"status_message": "Example text",
"created_at": "2023-01-01T00:00:00Z",
"created_by": "01234567-89ab-cdef-0123-456789abcdef",
"executing_at": "2023-01-01T00:00:00Z",
"cancellation_requested_at": "2023-01-01T00:00:00Z",
"completed_at": "2023-01-01T00:00:00Z",
"timeout_seconds": 3600,
"trigger": "pipeline_call",
"inputs": {
"fizz": "buzz"
},
"run_as": "s-01234567-89ab-cdef-0123-456789abcdef",
"concurrency_group": "my-group"
}