> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bijection.com/llms.txt
> Use this file to discover all available pages before exploring further.

# LaunchDarkly feature flags

> Mount LaunchDarkly feature flags.

Follow the [REST app guide](https://docs.bijection.com/integrations/native-rest.md#mount-and-bind).
Bind the reviewed endpoint with `providerEndpoint` from `@bijectionhq/app-rest`.

Seal a LaunchDarkly REST access token as the `authorization` header with no prefix. Use a read-only role restricted to the project and the matching US or EU API origin.

```ts theme={"theme":{"light":"github-light-default","dark":"github-dark-default"}}
const provider = providerEndpoint(
  "launchdarkly.project.flags.observations",
  "https://app.launchdarkly.com",
  "/api/v2/flags/my-project",
  auth,
  data,
);
```

Pass `provider` as `receivers.provider`, and the same label to the binder and as the app's `data`. Call `source.initialize`
with this profile.

```ts theme={"theme":{"light":"github-light-default","dark":"github-dark-default"}}
{ profile: { mode: "provider", provider: "launchdarkly.project.flags.observations", limit: 20 } }
```

One project’s unarchived flag summaries keyed by flag key. Offsets advance by the returned count against the provider total and restart after a terminal page. Archived and missing flags remain published.

Each response is bounded to 100 flags and 36 KiB. The app commits observations with their
next position. [Source health and controls](https://docs.bijection.com/integrations/native-rest.md#feed-contracts)
report failures and allow recovery.

[Provider API reference](https://launchdarkly.com/docs/api/feature-flags/list-feature-flags)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.