Create Pipeline
Reference for the POST /console/v1/release_pipelines endpoint of the Statsig API.
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
idstringPhase ID
namestringrequiredPhase Name
timeIntervalMsnumberrequiredTime interval in milliseconds for this phase
requiredReviewbooleanrequiredWhether this phase requires review to proceed
rulesobject[]requiredRules to apply in this phase
idstringThe Statsig ID of this rule.
namestringrequiredThe name of this rule.
conditionsobject[]requiredAn array of Condition objects.
targetValueoneOfnullablestring[]number[]stringnumberoperatorstringfieldstringnullablecustomIDstringnullabletypestringrequiredapp_versionbrowser_namebrowser_versioncountrycustom_fieldemailenvironment_tierfails_gatefails_segmentip_addresslocaleos_nameos_versionpasses_gatepasses_segmentpublictimeunit_iduser_iduser_agenturljavascriptdevice_modeltarget_appexperiment_groupenvironmentsstring[]The environments this rule is enabled for.
nullabletriggerNoticestringA notice that will be displayed to the user on the config page when the release pipeline is triggered
nullableResponse
application/jsonmessagestringrequiredA simple string explaining the result of the operation.
dataobjectrequiredShow child attributes
idstringrequiredPipeline ID
namestringrequiredPipeline Name
creatorIDstringrequiredPipeline Creator ID
createdTimenumberrequiredPipeline Creation Time
format: doublelastModifierIDstringrequiredLast Modifier ID
lastModifiedTimenumberrequiredLast Modification Time
format: doublephasesobject[]Phases of the release pipeline that will be executed in order.
idstringPhase ID
namestringrequiredPhase Name
timeIntervalMsnumberrequiredTime interval in milliseconds for this phase
requiredReviewbooleanrequiredWhether this phase requires review to proceed
rulesobject[]requiredRules to apply in this phase
idstringThe Statsig ID of this rule.
namestringrequiredThe name of this rule.
conditionsobject[]requiredAn array of Condition objects.
targetValueoneOfnullablestring[]number[]stringnumberoperatorstringfieldstringnullablecustomIDstringnullabletypestringrequiredapp_versionbrowser_namebrowser_versioncountrycustom_fieldemailenvironment_tierfails_gatefails_segmentip_addresslocaleos_nameos_versionpasses_gatepasses_segmentpublictimeunit_iduser_iduser_agenturljavascriptdevice_modeltarget_appexperiment_groupenvironmentsstring[]The environments this rule is enabled for.
nullabletriggerNoticestringA notice that will be displayed to the user on the config page when the release pipeline is triggered
Was this helpful?