Unleash · Example Payload

Unleash Client Features Example

Feature FlagsFeature ManagementProgressive DeliveryA/B TestingOpen SourceDeveloper Tools

Unleash Client Features Example is an example object payload from Unleash, with 2 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

requestresponse

Example Payload

Raw ↑
{
  "request": {
    "method": "GET",
    "url": "https://app.unleash-instance.example.com/api/client/features",
    "headers": {
      "Authorization": "*:development:xxxxxxxxxxxxxxxxxxxx"
    }
  },
  "response": {
    "status": 200,
    "body": {
      "version": 2,
      "features": [
        {
          "name": "my-new-feature",
          "description": "A new feature flag for the checkout flow",
          "enabled": true,
          "impressionData": false,
          "strategies": [
            {
              "name": "default",
              "constraints": [],
              "parameters": {},
              "segments": []
            }
          ],
          "variants": []
        }
      ],
      "segments": [],
      "query": {
        "project": ["default"],
        "environment": "development"
      }
    }
  }
}