# Reflag docs
## Reflag docs
- [Getting started](https://docs.reflag.com/welcome/readme.md)
- [Overview](https://docs.reflag.com/supported-languages/overview.md): Reflag SDKs for React, Vue.js, Node.js, Next.js, and more. Supports OpenFeature.
- [React SDK](https://docs.reflag.com/supported-languages/react-sdk.md)
- [Reference](https://docs.reflag.com/supported-languages/react-sdk/globals.md)
- [React Native SDK (beta)](https://docs.reflag.com/supported-languages/react-native-sdk.md)
- [Reference](https://docs.reflag.com/supported-languages/react-native-sdk/globals.md)
- [Vue SDK (beta)](https://docs.reflag.com/supported-languages/vue-sdk.md)
- [Reference](https://docs.reflag.com/supported-languages/vue-sdk/globals.md)
- [Browser SDK](https://docs.reflag.com/supported-languages/browser-sdk.md)
- [Reference](https://docs.reflag.com/supported-languages/browser-sdk/globals.md)
- [Feedback](https://docs.reflag.com/supported-languages/browser-sdk/feedback.md)
- [Node.js SDK](https://docs.reflag.com/supported-languages/node-sdk.md)
- [Reference](https://docs.reflag.com/supported-languages/node-sdk/globals.md)
- [Next.js](https://docs.reflag.com/supported-languages/next.js.md): Next.js client for Reflag
- [OpenFeature](https://docs.reflag.com/supported-languages/openfeature.md): Reflag provides OpenFeature integration for use in browser (Web) and Node.js
- [Ruby SDK](https://docs.reflag.com/supported-languages/ruby-sdk.md): How to use Reflag with Rails and Stimulus
- [API Access](https://docs.reflag.com/api/api-access.md): Understand when to use the Reflag Runtime API and when to use the Reflag Management API
- [Runtime API](https://docs.reflag.com/api/public-api.md): Introduction to Reflag Runtime API
- [API Reference](https://docs.reflag.com/api/public-api/public-api-reference.md)
- [Management SDK](https://docs.reflag.com/api/management-sdk.md)
- [Reference](https://docs.reflag.com/api/management-sdk/globals.md)
- [Management API](https://docs.reflag.com/api/reflag-rest-api.md): Introduction to Reflag Management API
- [API Reference](https://docs.reflag.com/api/reflag-rest-api/reflag-api-reference.md): Describes the Management API that allows clients to manage and update apps, flags, and related entities.
- [CLI](https://docs.reflag.com/api/cli.md)
- [MCP](https://docs.reflag.com/api/mcp.md): Reflag supports the MCP protocol. Understand how to connect the agent in your code editor to your Reflag account.
- [Overview](https://docs.reflag.com/integrations/overview.md): Integrate Reflag with your stack.
- [Slack](https://docs.reflag.com/integrations/slack.md): Integrate Slack to get notified about new flag changes and feedback
- [Linear](https://docs.reflag.com/integrations/linear.md): Create features and manage access in Linear
- [Cursor](https://docs.reflag.com/integrations/cursor.md): How to create feature flags in Cursor
- [GitHub](https://docs.reflag.com/integrations/github.md): Integrate GitHub to automatically check feature flag code references and receive automatic AI code clean-up pull requests
- [Datadog](https://docs.reflag.com/integrations/datadog.md): How Reflag integrates with Datadog to catch regressions on new feature releases
- [PostHog](https://docs.reflag.com/integrations/posthog.md): How Reflag integrates with PostHog to query analytics based on feature access filters
- [Segment](https://docs.reflag.com/integrations/segment.md): Use Segment events for tracking feature adoption metrics on Reflag
- [Amplitude](https://docs.reflag.com/integrations/amplitude.md): How Reflag integrates with Amplitude to query analytics based on feature access filters
- [Mixpanel](https://docs.reflag.com/integrations/mixpanel.md): How Reflag integrates with Mixpanel to query analytics based on feature access filters
- [AWS S3](https://docs.reflag.com/integrations/aws-s3.md): Export feature data for CS, Marketing, and Sales tools, via Amazon AWS S3
- [Product overview](https://docs.reflag.com/product-handbook/product-overview.md)
- [Flag rollouts](https://docs.reflag.com/product-handbook/feature-rollouts.md): Learn more about flag rollouts in Reflag
- [Access rules](https://docs.reflag.com/product-handbook/feature-rollouts/feature-targeting-rules.md): Learn more about access rules in Reflag
- [End-user opt-in](https://docs.reflag.com/product-handbook/feature-rollouts/end-user-opt-in.md): Let end users opt themselves or their company into beta and experimental features
- [Flag clean-up and archival](https://docs.reflag.com/product-handbook/feature-clean-up-and-archival-beta.md): Managing the flag lifecycle in Reflag is straightforward with the clean-up guide, notifications, and automatic clean-up pull requests.
- [AI code clean-up](https://docs.reflag.com/product-handbook/feature-clean-up-and-archival-beta/ai-code-clean-up-beta.md)
- [Remote config](https://docs.reflag.com/product-handbook/remote-config.md): Learn more about remote config in Reflag
- [Type safety](https://docs.reflag.com/product-handbook/type-safety.md): Reflag offers type safety which reduces errors and frustation
- [Team permissions](https://docs.reflag.com/product-handbook/team-permissions.md): Invite, remove and manage roles for your team members
- [Notification Policies](https://docs.reflag.com/product-handbook/notification-policies.md): Use notification policies to set defaults on whether to notify Slack and Linear when flag targeting is updated.
- [Data residency](https://docs.reflag.com/product-handbook/data-residency.md): Reflag on data residency
- [Anonymous users](https://docs.reflag.com/product-handbook/anonymous-users.md): How to use Reflag with anonymous users
- [Launch monitor](https://docs.reflag.com/product-handbook/launch-monitor.md)
- [Give feedback button](https://docs.reflag.com/product-handbook/launch-monitor/give-feedback-button.md): Adding a feedback button using Reflag SDKs in a few lines of code.
- [Automated feedback surveys](https://docs.reflag.com/product-handbook/launch-monitor/automated-feedback-surveys.md): Learn more about automated feedback surveys in Reflag
- [Feature entitlements](https://docs.reflag.com/product-handbook/feature-entitlements.md): Learn more about feature entitlements in Reflag
- [Simple role-based entitlements](https://docs.reflag.com/product-handbook/feature-entitlements/simple-role-based-entitlements.md): Learn more about simple role-based entitlements in Reflag
- [Creating segments](https://docs.reflag.com/product-handbook/creating-segments.md): Learn more about segments in Reflag
- [Feature views](https://docs.reflag.com/product-handbook/feature-views.md): Learn more about views in Reflag
- [Managing apps](https://docs.reflag.com/product-handbook/creating-and-managing-apps.md): Learn more about apps in Reflag
- [Environments](https://docs.reflag.com/product-handbook/creating-and-managing-apps/environments.md): Learn more about environments in Reflag
- [Data model](https://docs.reflag.com/product-handbook/concepts.md)
- [App](https://docs.reflag.com/product-handbook/concepts/app.md)
- [Environment](https://docs.reflag.com/product-handbook/concepts/environment.md)
- [Flag](https://docs.reflag.com/product-handbook/concepts/feature.md)
- [Flag view](https://docs.reflag.com/product-handbook/concepts/feature-view.md)
- [Company](https://docs.reflag.com/product-handbook/concepts/company.md)
- [Segment](https://docs.reflag.com/product-handbook/concepts/segment.md)
- [User](https://docs.reflag.com/product-handbook/concepts/user.md)
- [Track event](https://docs.reflag.com/product-handbook/concepts/event.md)
- [Flag events](https://docs.reflag.com/product-handbook/concepts/feature-events.md)
- [Feedback](https://docs.reflag.com/product-handbook/concepts/feedback.md)
- [Release stage](https://docs.reflag.com/product-handbook/concepts/release-stage.md)
- [Targeting rules](https://docs.reflag.com/product-handbook/concepts/targeting-rules.md)
- [Filter](https://docs.reflag.com/product-handbook/concepts/filter.md)
- [Service Resiliency](https://docs.reflag.com/product-handbook/service-resiliency.md): How Reflag keeps flag evaluation working during service disruptions.
- [Flag import](https://docs.reflag.com/product-handbook/flag-import.md): The Reflag import tool lets you quickly migrate all your flags and segments from LaunchDarkly to Reflag
- [Use Reflag in your CLI](https://docs.reflag.com/guides/use-reflag-in-your-cli.md): High-level guide to flagging features in your CLI
- [Beta feature opt-in](https://docs.reflag.com/guides/self-opt-in.md): Build a beta feature opt-in page with the Reflag React SDK
- [Toggle toolbar with a flag](https://docs.reflag.com/guides/toggle-toolbar-with-a-flag.md): Learn how you can control who gets the toolbar in production by toggling a feature flag on/off
- [Get support](https://docs.reflag.com/support/get-support.md): Need support? We're here to help
---
# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.
## Querying This Documentation
This site has an agentic ask interface you may use to query the documentation dynamically by asking a question.
Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:
```
GET https://docs.reflag.com/index.md?ask=<question>&goal=<user_goal>
```
`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.
Measured from the saved file
Links and embedded code
UTF-8 text size
9.8 KB10059 bytes
Token count
2388o200k_base encoding
Markdown links
7777 distinct URLs
Fenced code blocks
1101 lines in the file
Size measures the captured UTF-8 text, not compressed transfer size. Tokens are counted with a named tokenizer; other models can count differently. Neither measure establishes context compatibility or answer quality.
Project H1
Reflag docs
Context architecture
How the content is divided
2 H2 sections organize 77 parsed Markdown links. 77 links point to .md or .markdown paths; 0 link occurrences use another hostname. Linked destinations have not been recursively validated.
H2 section
Links
UTF-8 bytes
Tokens
Reflag docsLine 3
77
9072
2175
Querying This DocumentationLine 89
0
926
198
Link counts exclude parsed fenced and inline code and resolve relative destinations against the final endpoint. Section sizes cover the text below each H2 until the next H2.
Embedded material
Code, installation and API examples
Fenced blocks
1 closed
Declared languages
unlabeled (1)
Package-install commands
0 detected in fenced or inline code
Authentication examples
0 fenced lines match API-key, Authorization, Bearer, OAuth or access-token patterns
HTTP request examples
1 fenced lines match request-method patterns
Authentication links
0 links have authentication-related labels
Embedded example text and links to further documentation are counted separately. A code block does not establish that a sample runs or that an authentication flow succeeds.
Inspect detected API and authentication lines
Source line 95 · unlabeled
GET https://docs.reflag.com/index.md?ask=<question>&goal=<user_goal>
Publisher prioritization
The Optional section
No H2 section named “Optional” was detected in this file.
The community proposal uses Optional by convention for secondary links that can be skipped for a shorter context. This label does not establish that everything outside it is critical, or that the material inside it is deprecated.
Machine-readable routes
MCP references and configuration text
MCP-related text was detected in the captured file. 1 links have MCP-related labels or paths. 0 fenced lines match mcpServers, mcp_servers or an mcp add command.
A verified text response establishes a companion at the checked URL. It does not prove the bundle contains all product documentation, that generation is automated, or that it fits an assistant’s context window.
Change evidence
What can be said about freshness
This capture establishes a baseline. Update frequency cannot be determined from one observation.
Linked release and migration material
1 links have release, changelog, deprecation or migration terms in their labels or paths. These provide places to investigate product changes separately.
File changes can reveal documentation edits or navigation changes. They do not by themselves measure product release velocity, accuracy, agent adoption or AI visibility.
Counts use a deterministic parser, not a spec-compliance grade. Unusual Markdown and indented code can fall outside its recognized patterns. See the llms.txt proposal and tokenizer implementation.