Skip to main content

Get strategies that reference segment

GET 

/api/admin/segments/:id/strategies

Retrieve all strategies that reference the specified segment.

Request

Path Parameters

    id stringrequired

Responses

segmentStrategiesSchema

Schema

    strategies

    object[]

    required

    The list of strategies

  • Array [

  • id stringrequired

    The ID of the strategy

    Example: e465c813-cffb-4232-b184-82b1d6fe9d3d
    featureName stringrequired

    The name of the feature flag that this strategy belongs to.

    Example: new-signup-flow
    projectId stringrequired

    The ID of the project that the strategy belongs to.

    Example: red-vista
    environment stringrequired

    The ID of the environment that the strategy belongs to.

    Example: development
    strategyName stringrequired

    The name of the strategy's type.

    Example: flexibleRollout
  • ]

  • changeRequestStrategies

    object[]

    A list of strategies that use this segment in active change requests.

  • Array [

  • id string

    The ID of the strategy. Not present on new strategies that haven't been added to the feature flag yet.

    Example: e465c813-cffb-4232-b184-82b1d6fe9d3d
    featureName stringrequired

    The name of the feature flag that this strategy belongs to.

    Example: new-signup-flow
    projectId stringrequired

    The ID of the project that the strategy belongs to.

    Example: red-vista
    environment stringrequired

    The ID of the environment that the strategy belongs to.

    Example: development
    strategyName stringrequired

    The name of the strategy's type.

    Example: flexibleRollout
  • ]

Loading...