Integrations

LaunchDarkly

Read projects, environments, flags, segments, approvals and recent changes, and turn a flag on or off, request a change, create a flag or set its default rule.

XataWorks Browser showing LaunchDarkly’s sign-in page at app.launchdarkly.com, with the page-tools list open over it from the browser toolbar, headed Page tools (19), with a filter box, chips for each class, and the tools listed with their classes, beginning with Get LaunchDarkly session capabilities, Get the LaunchDarkly page context and List LaunchDarkly projects, each Read only, and further down Turn a flag on, Turn a flag off and Request a flag change, each Consequential.
The tools are offered as soon as the LaunchDarkly app loads, even before you sign in; they answer once you have.

Where it works

LaunchDarkly’s app at app.launchdarkly.com, and its EU and federal instances. The marketing site is not matched.

Open the site in XataWorks Browser and the tools below appear in the page-tools list in the browser’s toolbar, ready for the agent in any chat that has the tab. There is nothing to install or switch on.

How it works

LaunchDarkly’s API accepts calls from a signed-in browser, so the tools need no access token: they use the session you already have. Every tool that changes a flag is one XataWorks asks you about before it runs.

Tools

Each tool with the name XataWorks shows you, the name the agent uses, and the first sentence of the description the agent reads. You do not call them yourself: ask for what you want in your own words, and the agent picks the tool. Before one runs, XataWorks asks you, according to its class; Approvals and permissions explains the question and each answer.

Reads Read only

These only look things up.

  • Get LaunchDarkly session capabilities get_capabilitiesReport whether this LaunchDarkly page can be read with the browser session, which LaunchDarkly instance it is, and who the session belongs to.
  • Get the LaunchDarkly page context get_current_contextReport the LaunchDarkly project, environment and feature flag currently on screen, read from the page route.
  • List LaunchDarkly projects list_projectsList the LaunchDarkly projects this account can see (key, name, tags).
  • Get a LaunchDarkly project get_projectGet one LaunchDarkly project by key.
  • List LaunchDarkly environments list_environmentsList the environments in a LaunchDarkly project (key, name, whether it is critical, whether flag changes there require approval).
  • List LaunchDarkly feature flags list_flagsList a project’s feature flags (key, name, kind, tags), optionally filtered by a name fragment or a tag.
  • Get a LaunchDarkly feature flag get_flagGet one feature flag with its variations and its state in EVERY environment.
  • Get a LaunchDarkly flag status get_flag_statusGet a flag’s LIFECYCLE status in one environment — new, inactive, active or launched — and when it was last evaluated.
  • List LaunchDarkly segments list_segmentsList the segments in one environment of a project.
  • Get a LaunchDarkly segment get_segmentGet one segment in one environment of a project (targets and rule counts, not the full target lists).
  • List LaunchDarkly flag approvals list_flag_approvalsList the approval requests on a feature flag in one environment — who asked, what they want changed, and whether it is still pending.
  • List LaunchDarkly flag changes list_flag_changesList the most recent changes to a feature flag in one environment, from the LaunchDarkly audit log — who changed it and when.

Changes that may not be undoable Consequential

These may make changes that cannot be undone, so XataWorks treats them with the most care.

  • Request a flag change request_flag_changeOpen a LaunchDarkly approval request to turn a flag on or off in ONE named environment, instead of applying the change.
  • Create a flag create_flagCreate a new feature flag in ONE named project: a BOOLEAN (on/off) flag by default, or a string, number or JSON flag with the variations you list.
  • Set a flag’s default rule set_flag_default_ruleSet what a feature flag serves in ONE named environment: its default rule (what it serves by default once it is on — LaunchDarkly’s "fallthrough") and/or its off variation (what it serves while off).
  • Change a flag’s client-side availability set_flag_client_side_availabilityChange which client-side SDKs can see a feature flag, in every environment: using_environment_id is the browser SDKs (client-side ID), using_mobile_key the mobile SDKs.
  • Link a flag to a web page add_flag_linkAttach a web link (for example the Jira issue a flag was made for) to a feature flag, shown on the flag in LaunchDarkly. url must be a full https:// or http:// address and title is what people see.
  • Turn a flag on turn_flag_onTurn a feature flag on in ONE named environment.
  • Turn a flag off turn_flag_offTurn a feature flag off in ONE named environment.

See Page tools in the user guide for how to see what a tab offers, or every integration.