LaunchDarkly

LaunchDarkly is a feature management platform that enables teams to safely deploy, control, and measure their software features at scale.

With the LaunchDarkly integration in Sim, you can:

  • Feature flag management — List, create, update, toggle, and delete feature flags programmatically. Toggle flags on or off in specific environments using LaunchDarkly's semantic patch API.
  • Flag status monitoring — Check whether a flag is active, inactive, new, or launched in a given environment. Track the last time a flag was evaluated.
  • Project and environment management — List all projects and their environments to understand your LaunchDarkly organization structure.
  • User segments — List user segments within a project and environment to understand how your audience is organized for targeting.
  • Team visibility — List account members and their roles for auditing and access management workflows.
  • Audit log — Retrieve recent audit log entries to track who changed what, when. Filter entries by resource type for targeted monitoring.

In Sim, the LaunchDarkly integration enables your agents to automate feature flag operations as part of their workflows. This allows for automation scenarios such as toggling flags on/off based on deployment pipeline events, monitoring flag status and alerting on stale or unused flags, auditing flag changes by querying the audit log after deployments, syncing flag metadata with your project management tools, and listing all feature flags across projects for governance.

Authentication

This integration uses a LaunchDarkly API key. You can create personal access tokens or service tokens in the LaunchDarkly dashboard under Account Settings > Authorization. The API key is passed directly in the Authorization header (no Bearer prefix).

Usage Instructions

Integrate LaunchDarkly into your workflow. List, create, update, toggle, and delete feature flags. Manage projects, environments, segments, members, and audit logs. Requires API Key.

Actions

LaunchDarkly Create Flag

Create a new feature flag in a LaunchDarkly project.

Input

ParameterTypeRequiredDescription
apiKeystringYesLaunchDarkly API key
projectKeystringYesThe project key to create the flag in
namestringYesHuman-readable name for the feature flag
keystringYesUnique key for the feature flag (used in code)
descriptionstringNoDescription of the feature flag
tagsstringNoComma-separated list of tags
temporarybooleanNoWhether the flag is temporary (default true)

Output

ParameterTypeDescription
keystringThe unique key of the feature flag
namestringThe human-readable name of the feature flag
kindstringThe type of flag (boolean or multivariate)
descriptionstringDescription of the feature flag
temporarybooleanWhether the flag is temporary
archivedbooleanWhether the flag is archived
deprecatedbooleanWhether the flag is deprecated
creationDatenumberUnix timestamp in milliseconds when the flag was created
tagsarrayTags applied to the flag
variationsarrayThe variations for this feature flag
↳ valuestringThe variation value (any JSON type, shown as text)
↳ namestringThe variation name
↳ descriptionstringThe variation description
maintainerIdstringThe ID of the member who maintains this flag
maintainerEmailstringThe email of the member who maintains this flag

LaunchDarkly Delete Flag

Delete a feature flag from a LaunchDarkly project.

Input

ParameterTypeRequiredDescription
apiKeystringYesLaunchDarkly API key
projectKeystringYesThe project key
flagKeystringYesThe feature flag key to delete

Output

ParameterTypeDescription
deletedbooleanWhether the flag was successfully deleted

LaunchDarkly Get Audit Log

List audit log entries from your LaunchDarkly account.

Input

ParameterTypeRequiredDescription
apiKeystringYesLaunchDarkly API key
limitnumberNoMaximum number of entries to return (default 10, max 20)
specstringNoResource specifier filter (e.g. "proj/:env/:flag/*" for all flag changes, or "proj/default:env/production:flag/my-flag" for one flag in one environment)

Output

ParameterTypeDescription
entriesarrayList of audit log entries
↳ idstringThe audit log entry ID
↳ datenumberUnix timestamp in milliseconds
↳ kindstringThe type of action performed
↳ namestringThe name of the resource acted on
↳ descriptionstringFull description of the action
↳ shortDescriptionstringShort description of the action
↳ memberEmailstringEmail of the member who performed the action
↳ targetNamestringName of the target resource
↳ targetKindstringResource specifier of the target (e.g. proj/default:env/production:flag/my-flag)
totalCountnumberTotal number of audit log entries

LaunchDarkly Get Flag

Get a single feature flag by key from a LaunchDarkly project.

Input

ParameterTypeRequiredDescription
apiKeystringYesLaunchDarkly API key
projectKeystringYesThe project key
flagKeystringYesThe feature flag key
environmentKeystringNoFilter flag configuration to a specific environment

Output

ParameterTypeDescription
keystringThe unique key of the feature flag
namestringThe human-readable name of the feature flag
kindstringThe type of flag (boolean or multivariate)
descriptionstringDescription of the feature flag
temporarybooleanWhether the flag is temporary
archivedbooleanWhether the flag is archived
deprecatedbooleanWhether the flag is deprecated
creationDatenumberUnix timestamp in milliseconds when the flag was created
tagsarrayTags applied to the flag
variationsarrayThe variations for this feature flag
↳ valuestringThe variation value (any JSON type, shown as text)
↳ namestringThe variation name
↳ descriptionstringThe variation description
maintainerIdstringThe ID of the member who maintains this flag
maintainerEmailstringThe email of the member who maintains this flag
onbooleanWhether the flag is on in the requested environment (null when the flag spans multiple environments and no environment key was provided)

LaunchDarkly Get Flag Status

Get the status of a feature flag across environments (active, inactive, launched, etc.).

Input

ParameterTypeRequiredDescription
apiKeystringYesLaunchDarkly API key
projectKeystringYesThe project key
flagKeystringYesThe feature flag key
environmentKeystringYesThe environment key

Output

ParameterTypeDescription
namestringThe flag status (new, active, inactive, launched)
lastRequestedstringTimestamp of the last evaluation
defaultValstringThe default variation value

LaunchDarkly List Environments

List environments in a LaunchDarkly project.

Input

ParameterTypeRequiredDescription
apiKeystringYesLaunchDarkly API key
projectKeystringYesThe project key to list environments for
limitnumberNoMaximum number of environments to return (default 20)

Output

ParameterTypeDescription
environmentsarrayList of environments
↳ idstringThe environment ID
↳ keystringThe unique environment key
↳ namestringThe environment name
↳ colorstringThe color assigned to this environment
↳ apiKeystringThe server-side SDK key for this environment
↳ mobileKeystringThe mobile SDK key for this environment
↳ tagsarrayTags applied to the environment
totalCountnumberTotal number of environments

LaunchDarkly List Flags

List feature flags in a LaunchDarkly project.

Input

ParameterTypeRequiredDescription
apiKeystringYesLaunchDarkly API key
projectKeystringYesThe project key to list flags for
environmentKeystringNoFilter flag configurations to a specific environment
tagstringNoFilter flags by tag name
limitnumberNoMaximum number of flags to return (default 20)

Output

ParameterTypeDescription
flagsarrayList of feature flags
↳ keystringThe unique key of the feature flag
↳ namestringThe human-readable name of the feature flag
↳ kindstringThe type of flag (boolean or multivariate)
↳ descriptionstringDescription of the feature flag
↳ temporarybooleanWhether the flag is temporary
↳ archivedbooleanWhether the flag is archived
↳ deprecatedbooleanWhether the flag is deprecated
↳ creationDatenumberUnix timestamp in milliseconds when the flag was created
↳ tagsarrayTags applied to the flag
↳ variationsarrayThe variations for this feature flag
↳ valuestringThe variation value (any JSON type, shown as text)
↳ namestringThe variation name
↳ descriptionstringThe variation description
↳ maintainerIdstringThe ID of the member who maintains this flag
↳ maintainerEmailstringThe email of the member who maintains this flag
totalCountnumberTotal number of flags

LaunchDarkly List Members

List account members in your LaunchDarkly organization.

Input

ParameterTypeRequiredDescription
apiKeystringYesLaunchDarkly API key
limitnumberNoMaximum number of members to return (default 20)

Output

ParameterTypeDescription
membersarrayList of account members
↳ idstringThe member ID
↳ emailstringThe member email address
↳ firstNamestringThe member first name
↳ lastNamestringThe member last name
↳ rolestringThe member role (reader, writer, admin, owner)
↳ lastSeennumberUnix timestamp of last activity
↳ creationDatenumberUnix timestamp when the member was created
↳ verifiedbooleanWhether the member email is verified
totalCountnumberTotal number of members

LaunchDarkly List Projects

List all projects in your LaunchDarkly account.

Input

ParameterTypeRequiredDescription
apiKeystringYesLaunchDarkly API key
limitnumberNoMaximum number of projects to return (default 20)

Output

ParameterTypeDescription
projectsarrayList of projects
↳ idstringThe project ID
↳ keystringThe unique project key
↳ namestringThe project name
↳ tagsarrayTags applied to the project
totalCountnumberTotal number of projects

LaunchDarkly List Segments

List user segments in a LaunchDarkly project and environment.

Input

ParameterTypeRequiredDescription
apiKeystringYesLaunchDarkly API key
projectKeystringYesThe project key
environmentKeystringYesThe environment key
limitnumberNoMaximum number of segments to return (default 20)

Output

ParameterTypeDescription
segmentsarrayList of user segments
↳ keystringThe unique segment key
↳ namestringThe segment name
↳ descriptionstringThe segment description
↳ tagsarrayTags applied to the segment
↳ creationDatenumberUnix timestamp in milliseconds when the segment was created
↳ unboundedbooleanWhether this is an unbounded (big) segment
↳ includedarrayUser keys explicitly included in the segment
↳ excludedarrayUser keys explicitly excluded from the segment
totalCountnumberTotal number of segments

LaunchDarkly Toggle Flag

Toggle a feature flag on or off in a specific LaunchDarkly environment.

Input

ParameterTypeRequiredDescription
apiKeystringYesLaunchDarkly API key
projectKeystringYesThe project key
flagKeystringYesThe feature flag key to toggle
environmentKeystringYesThe environment key to toggle the flag in
enabledbooleanYesWhether to turn the flag on (true) or off (false)

Output

ParameterTypeDescription
keystringThe unique key of the feature flag
namestringThe human-readable name of the feature flag
kindstringThe type of flag (boolean or multivariate)
descriptionstringDescription of the feature flag
temporarybooleanWhether the flag is temporary
archivedbooleanWhether the flag is archived
deprecatedbooleanWhether the flag is deprecated
creationDatenumberUnix timestamp in milliseconds when the flag was created
tagsarrayTags applied to the flag
variationsarrayThe variations for this feature flag
↳ valuestringThe variation value (any JSON type, shown as text)
↳ namestringThe variation name
↳ descriptionstringThe variation description
maintainerIdstringThe ID of the member who maintains this flag
maintainerEmailstringThe email of the member who maintains this flag
onbooleanWhether the flag is now on in the target environment

LaunchDarkly Update Flag

Update feature flag metadata (name, description, tags, temporary, archived) using semantic patch.

Input

ParameterTypeRequiredDescription
apiKeystringYesLaunchDarkly API key
projectKeystringYesThe project key
flagKeystringYesThe feature flag key to update
updateNamestringNoNew name for the flag
updateDescriptionstringNoNew description for the flag
addTagsstringNoComma-separated tags to add
removeTagsstringNoComma-separated tags to remove
archivebooleanNoSet to true to archive, false to restore
commentstringNoOptional comment explaining the update

Output

ParameterTypeDescription
keystringThe unique key of the feature flag
namestringThe human-readable name of the feature flag
kindstringThe type of flag (boolean or multivariate)
descriptionstringDescription of the feature flag
temporarybooleanWhether the flag is temporary
archivedbooleanWhether the flag is archived
deprecatedbooleanWhether the flag is deprecated
creationDatenumberUnix timestamp in milliseconds when the flag was created
tagsarrayTags applied to the flag
variationsarrayThe variations for this feature flag
↳ valuestringThe variation value (any JSON type, shown as text)
↳ namestringThe variation name
↳ descriptionstringThe variation description
maintainerIdstringThe ID of the member who maintains this flag
maintainerEmailstringThe email of the member who maintains this flag