For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
LogoLogo
PricingSign inTry it free
DocsGuidesSDKsIntegrationsAPI docsTutorialsFlagship blog
DocsGuidesSDKsIntegrationsAPI docsTutorialsFlagship blog
  • REST API overview
    • Access Tokens
    • Account Members
    • Account Usage Beta
    • AI Configs
    • Announcements
    • Applications Beta
    • Approvals
    • Approvals Beta
    • Audit Log
    • Code References
    • Contexts
    • Context Settings
      • PUTUpdate flag settings for context
    • Custom Roles
    • Data Export Destinations
    • Environments
    • Experiments
    • Feature Flags
    • Feature Flags Beta
    • Flag Import Configurations Beta
    • Flag Links Beta
    • Flag Triggers
    • Follow Flags
    • holdoutsBeta
    • Insights Charts Beta
    • Insights Deployments Beta
    • Insights Flag Events Beta
    • Insights Pull Requests Beta
    • Insights Repositories Beta
    • Insights Scores Beta
    • Integration Audit Log Subscriptions
    • Integration Delivery Configurations Beta
    • Integrations Beta
    • Layers
    • Metrics
    • Metrics Beta
    • OAuth2 Clients
    • Persistent Store Integrations Beta
    • Projects
    • Relay Proxy Configurations
    • Release Pipelines Beta
    • Releases Beta
    • Scheduled Changes
    • Segments
    • Tags
    • Teams
    • Teams Beta
    • Users
    • Users Beta
    • User Settings
    • Views Beta
    • Webhooks
    • Workflows
    • Workflow Templates
    • Other
  • REST API overview
  • Access Tokens
  • Create access token
  • Delete access token
  • Get access token
  • List access tokens
  • Patch access token
  • Reset access token
  • Account Members
  • Add a member to teams
  • Delete account member
  • Get account member
  • Invite new members
  • List account members
  • Modify account members
  • Modify an account member
  • Account Usage Beta
  • Get AI runs usage
  • Get contexts clientside usage
  • Get contexts serverside usage
  • Get contexts total usage
  • Get data export events usage
  • Get evaluations usage
  • Get events usage
  • Get experimentation events usage
  • Get experimentation keys usage
  • Get MAU clientside usage
  • Get MAU SDKs by type
  • Get MAU total usage
  • Get MAU usage
  • Get MAU usage by category
  • Get observability errors usage
  • Get observability logs usage
  • Get observability metrics usage
  • Get observability sessions usage
  • Get observability traces usage
  • Get SDK versions usage details
  • Get service connections usage
  • Get stream usage
  • Get stream usage by SDK version
  • Get stream usage SDK versions
  • Get usage details for all SDK versions
  • Get Vega AI usage
  • AI Configs
  • List agent optimization runs
  • List AI tool references
  • Announcements
  • Create an announcement
  • Delete an announcement
  • Get announcements
  • Update an announcement
  • Applications Beta
  • Delete application
  • Delete application version
  • Get application by key
  • Get application versions by application key
  • Get applications
  • Update application
  • Update application version
  • Approvals
  • Apply approval request
  • Apply approval request for a flag
  • Create approval request
  • Create approval request for a flag
  • Create approval request to copy flag configurations across environments
  • Delete approval request
  • Delete approval request for a flag
  • Get approval request
  • Get approval request for a flag
  • List approval requests
  • List approval requests for a flag
  • Review approval request
  • Review approval request for a flag
  • Approvals Beta
  • Get approval request settings
  • Update approval request
  • Update approval request settings
  • Update flag approval request
  • Audit Log
  • Get audit log entry
  • Get audit log entry counts
  • List audit log entries
  • Search audit log entries
  • Code References
  • Create extinction
  • Create repository
  • Delete branches
  • Delete repository
  • Get branch
  • Get code references statistics for flags
  • Get links to code reference repositories for each project
  • Get repository
  • List branches
  • List extinctions
  • List repositories
  • Update repository
  • Upsert branch
  • Contexts
  • Create or update context kind
  • Delete context instances
  • Evaluate flags for context instance
  • Get context attribute names
  • Get context attribute values
  • Get context instances
  • Get context kinds
  • Get contexts
  • Search for context instances
  • Search for contexts
  • Context Settings
  • Update flag settings for context
  • Custom Roles
  • Create custom role
  • Delete custom role
  • Get custom role
  • List custom roles
  • Update custom role
  • Data Export Destinations
  • Complete warehouse destination setup
  • Create Data Export destination
  • Delete Data Export destination
  • Generate Snowflake destination key pair
  • Generate Snowflake destination key pair
  • Generate trust policy
  • Generate warehouse destination setup script
  • Get destination
  • List destinations
  • Update Data Export destination
  • Environments
  • Create environment
  • Delete environment
  • Get environment
  • List environments
  • Reset environment mobile SDK key
  • Reset environment SDK key
  • Update environment
  • Experiments
  • Create experiment
  • Create iteration
  • Get experiment
  • Get experimentation settings
  • Get experiments
  • Get experiments any environment
  • Patch experiment
  • Update experimentation settings
  • Feature Flags
  • Copy feature flag
  • Create a feature flag
  • Delete feature flag
  • Get expiring context targets for feature flag
  • Get expiring user targets for feature flag
  • Get feature flag
  • Get feature flag status
  • Get flag status across environments
  • Get migration safety issues
  • List feature flag statuses
  • List feature flags
  • Update expiring context targets on feature flag
  • Update expiring user targets on feature flag
  • Update feature flag
  • Feature Flags Beta
  • List dependent feature flags
  • List dependent feature flags by environment
  • Flag Import Configurations Beta
  • Create a flag import configuration
  • Delete a flag import configuration
  • Get a single flag import configuration
  • List all flag import configurations
  • Trigger a single flag import run
  • Update a flag import configuration
  • Flag Links Beta
  • Create flag link
  • Delete flag link
  • List flag links
  • Update flag link
  • Flag Triggers
  • Create flag trigger
  • Delete flag trigger
  • Get flag trigger by ID
  • List flag triggers
  • Update flag trigger
  • Follow Flags
  • Add a member as a follower of a flag in a project and environment
  • Get followers of a flag in a project and environment
  • Get followers of all flags in a given project and environment
  • Remove a member as a follower of a flag in a project and environment
  • holdoutsBeta
  • Insights Charts Beta
  • Get deployment frequency chart data
  • Get flag status chart data
  • Get lead time chart data
  • Get release frequency chart data
  • Get stale flags chart data
  • Insights Deployments Beta
  • Create deployment event
  • Get deployment
  • List deployments
  • Update deployment
  • Insights Flag Events Beta
  • List flag events
  • Insights Pull Requests Beta
  • List pull requests
  • Insights Repositories Beta
  • Associate repositories with projects
  • List repositories
  • Remove repository project association
  • Insights Scores Beta
  • Create insight group
  • Delete insight group
  • Get insight group
  • Get insight scores
  • List insight groups
  • Patch insight group
  • Integration Audit Log Subscriptions
  • Create audit log subscription
  • Delete audit log subscription
  • Get audit log subscription by ID
  • Get audit log subscriptions by integration
  • Update audit log subscription
  • Integration Delivery Configurations Beta
  • Create delivery configuration
  • Delete delivery configuration
  • Get delivery configuration by ID
  • Get delivery configurations by environment
  • List all delivery configurations
  • Update delivery configuration
  • Validate delivery configuration
  • Integrations Beta
  • Create integration configuration
  • Delete integration configuration
  • Get all configurations for the integration
  • Get an integration configuration
  • Update integration configuration
  • Layers
  • Create layer
  • Get layers
  • Update layer
  • Metrics
  • Create metric
  • Delete metric
  • Get metric
  • List metrics
  • Update metric
  • Metrics Beta
  • Create metric group
  • Delete metric group
  • Get metric group
  • List metric groups
  • Patch metric group
  • OAuth2 Clients
  • Create a LaunchDarkly OAuth 2.0 client
  • Delete OAuth 2.0 client
  • Get client by ID
  • Get clients
  • Patch client by ID
  • Persistent Store Integrations Beta
  • Create big segment store integration
  • Delete big segment store integration
  • Get big segment store integration by ID
  • List all big segment store integrations
  • Update big segment store integration
  • Projects
  • Create or update flag defaults for project
  • Create project
  • Delete project
  • Get flag defaults for project
  • Get project
  • List projects
  • Update flag default for project
  • Update project
  • Relay Proxy Configurations
  • Create a new Relay Proxy config
  • Delete Relay Proxy config by ID
  • Get Relay Proxy config
  • List Relay Proxy configs
  • Reset Relay Proxy configuration key
  • Update a Relay Proxy config
  • Release Pipelines Beta
  • Create a release pipeline
  • Delete release pipeline
  • Get all release pipelines
  • Get release pipeline by key
  • Get release progressions for release pipeline
  • Update a release pipeline
  • Releases Beta
  • Create a new release for flag
  • Delete a release for flag
  • Get release for flag
  • Patch release for flag
  • Update phase status for release
  • Scheduled Changes
  • Create scheduled changes workflow
  • Delete scheduled changes workflow
  • Get a scheduled change
  • List scheduled changes
  • Update scheduled changes workflow
  • Segments
  • Create big segment export
  • Create big segment import
  • Create segment
  • Delete segment
  • Get big segment export
  • Get big segment import
  • Get big segment membership for context
  • Get big segment membership for user
  • Get expiring targets for segment
  • Get expiring user targets for segment
  • Get segment
  • List segment memberships for context instance
  • List segments
  • Patch segment
  • Update context targets on a big segment
  • Update expiring targets for segment
  • Update expiring user targets for segment
  • Update user context targets on a big segment
  • Tags
  • List tags
  • Teams
  • Add multiple members to team
  • Create team
  • Delete team
  • Get team
  • Get team custom roles
  • Get team maintainers
  • List teams
  • Update team
  • Teams Beta
  • Update teams
  • Users
  • Delete user
  • Find users
  • Get user
  • List users
  • Users Beta
  • Get user attribute names
  • User Settings
  • Get expiring dates on flags for user
  • Get flag setting for user
  • List flag settings for user
  • Update expiring user target for flags
  • Update flag settings for user
  • Views Beta
  • Create view
  • Delete view
  • Get linked resources
  • Get linked views for a given resource
  • Get view
  • Link resource
  • List views
  • Unlink resource
  • Update view
  • Webhooks
  • Creates a webhook
  • Delete webhook
  • Get webhook
  • List webhooks
  • Update webhook
  • Workflows
  • Create workflow
  • Delete workflow
  • Get custom workflow
  • Get workflows
  • Workflow Templates
  • Create workflow template
  • Delete workflow template
  • Get workflow templates
  • Other
  • Get version information
  • Gets the OpenAPI spec in json
  • Gets the public IP list
  • Identify the caller
  • Root resource
  • Add AI models to the restricted list
  • Create a prompt snippet
  • Create agent optimization
  • Create agent optimization result
  • Create AI Config variation
  • Create an AI model config
  • Create an AI tool
  • Create new agent graph
  • Create new AI Config
  • Delete a prompt snippet
  • Delete agent graph
  • Delete AI Config
  • Delete AI Config variation
  • Delete AI tool
  • Delete an agent optimization
  • Delete an AI model config
  • Get a prompt snippet
  • Get agent graph
  • Get AI Config
  • Get AI Config metrics
  • Get AI Config metrics by variation
  • Get AI Config quick stats
  • Get AI Config variation
  • Get AI model config
  • Get AI tool
  • Get an agent optimization
  • List agent graphs
  • List agent optimization results for a run
  • List agent optimization runs
  • List agent optimizations
  • List AI Configs
  • List AI model configs
  • List AI tool versions
  • List AI tools
  • List all agent optimization results across versions
  • List prompt snippet references
  • List prompt snippet versions
  • List prompt snippets
  • Remove AI models from the restricted list
  • Show an AI Config's targeting
  • Update a prompt snippet
  • Update agent graph
  • Update AI Config
  • Update AI Config targeting
  • Update AI Config variation
  • Update AI tool
  • Update an agent optimization
  • Update an agent optimization result
  • Create holdout
  • Get all holdouts
  • Get holdout
  • Get Holdout by Id
  • Patch holdout
  • Create IP Allowlist Entry
  • Delete IP Allowlist Entry
  • Get IP Allowlist
  • Update IP Allowlist Configuration
  • Update IP Allowlist Entry Description
  • Create a release policy
  • Delete a release policy
  • Get a release policy by key
  • List release policies
  • Update a release policy
  • Update the order of existing release policies
  • Create SDK key
  • Delete SDK key
  • Get SDK key
  • Update SDK key
PricingSign inTry it free
REST API overview

Context Settings

You can use the context settings API to assign a context to a specific variation for any feature flag. To learn more, read View and manage contexts.

Was this page helpful?
Previous

Update flag settings for context

Next
Built with