Create Pipeline
https://statsigapi.net/console/v1/release_pipelinesAuthorizations
STATSIG-API-KEYstringrequiredapiKey (header)
Body
application/jsonnamestringrequiredPipeline Name
phasesobject[]Phases of the release pipeline that will be executed in order.
Show child attributes
id[]stringPhase ID
name[]stringrequiredPhase Name
timeIntervalMs[]numberrequiredTime interval in milliseconds for this phase
requiredReview[]booleanrequiredWhether this phase requires review to proceed
rules[]object[]requiredRules to apply in this phase
id[]stringThe Statsig ID of this rule.
name[]stringrequiredThe name of this rule.
conditions[]object[]requiredAn array of Condition objects.
targetValue[]oneOfoperator[]stringfield[]stringcustomID[]stringtype[]stringrequiredenvironments[]string[]The environments this rule is enabled for.
triggerNoticestringA notice that will be displayed to the user on the config page when the release pipeline is triggered
Response
application/jsonmessagestringrequiredA simple string explaining the result of the operation.
dataobjectrequiredShow child attributes
idstringrequiredPipeline ID
namestringrequiredPipeline Name
creatorIDstringrequiredPipeline Creator ID
createdTimenumberrequiredPipeline Creation Time
lastModifierIDstringrequiredLast Modifier ID
lastModifiedTimenumberrequiredLast Modification Time
phasesobject[]Phases of the release pipeline that will be executed in order.
id[]stringPhase ID
name[]stringrequiredPhase Name
timeIntervalMs[]numberrequiredTime interval in milliseconds for this phase
requiredReview[]booleanrequiredWhether this phase requires review to proceed
rules[]object[]requiredRules to apply in this phase
id[]stringThe Statsig ID of this rule.
name[]stringrequiredThe name of this rule.
conditions[]object[]requiredAn array of Condition objects.
targetValue[]oneOfoperator[]stringfield[]stringcustomID[]stringtype[]stringrequiredenvironments[]string[]The environments this rule is enabled for.
triggerNoticestringA notice that will be displayed to the user on the config page when the release pipeline is triggered
Was this helpful?