Workflows
Get custom workflow
Get a specific workflow by ID.
get/api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/workflows/{workflowId}
Path parameters
projectKeystring string required
The project key
The project key
featureFlagKeystring string required
The feature flag key
The feature flag key
environmentKeystring string required
The environment key
The environment key
workflowIdstring string required
The workflow ID
The workflow ID
Response
Workflow response
Example response
{
"_id": "12ab3c4d5ef1a2345bcde67f",
"_version": 1,
"_conflicts": [
{
"stageId": "12ab3c4d5ef1a2345bcde67f"
}
],
"_maintainerId": "12ab3c45de678910abc12345",
"name": "Progressive rollout starting in two days",
"description": "Turn flag on for 10% of customers each day",
"kind": "custom",
"stages": [
{
"_id": "12ab3c45de678910abc12345",
"name": "10% rollout on day 1",
"conditions": [
{
"_execution": {
"status": "completed"
},
"id": "12ab3c45de678910abc12345",
"kind": "schedule",
"scheduleKind": "relative",
"waitDuration": 2,
"waitDurationUnit": "calendarDay"
}
],
"action": {
"kind": "patch"
},
"_execution": {
"status": "completed"
}
}
],
"_execution": {
"status": "completed"
},
"templateKey": "example-workflow-template"
}