Fast and reliable feature management for the modern enterprise.
Emit new event when a new access token activity happens. See the documentation.
Emit new event when flag activity occurs. See the documentation.
Emit new event when user activity is noted. See the documentation.
Evaluates an existing feature flag for a specific user or in a general context. See the documentation.
Get the duration between two dates in days, hours, minutes, and seconds along with checking if they are the same.
The LaunchDarkly API provides programmatic control over feature flags and toggle management, allowing for real-time updates across different environments. By leveraging these capabilities with Pipedream, developers can automate feature rollouts, audience targeting, and performance monitoring. Through Pipedream's event-driven architecture, you can orchestrate workflows that react to changes in LaunchDarkly, sync feature flag data with other tools, and manage flag lifecycles with precision.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
launchdarkly: {
type: "app",
app: "launchdarkly",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.launchdarkly.com/api/v2/projects`,
headers: {
"authorization": `${this.launchdarkly.$auth.access_token}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})