provider Workflows GET
/api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/workflows @utdk/launchdarkly
/api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/workflows Get workflows
Display workflows associated with a feature flag.
- projectKey path required
- The project key
- string
- featureFlagKey path required
- The feature flag key
- string
- environmentKey path required
- The environment key
- string
- status query
- Filter results by workflow status. Valid status filters are `active`, `completed`, and `failed`.
- string
- sort query
- A field to sort the items by. Prefix field by a dash ( - ) to sort in descending order. This endpoint supports sorting by `creationDate` or `stopDate`.
- string
- limit query
- The maximum number of workflows to return. Defaults to 20.
- integer
- offset query
- Where to start in the list. Defaults to 0. Use this with pagination. For example, an offset of 10 skips the first ten items and then returns the next items in the list, up to the query `limit`.
- integer
Try it
Authentication
Configure credentials for LaunchDarkly REST API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.
Saved automatically to browser storage.
Code snippet
Updates live as you fill in the form above.
TypeScript
import launchdarkly from '@utdk/launchdarkly';
await launchdarkly.getworkflows()