v7

latestOpenAPI 3.0.3raw.githubusercontent.com2026-08-013764062.2 MB
Strategies

Get a strategy definition

Retrieves the definition of the strategy specified in the URL

get/api/admin/strategies/{name}

Path parameters

namestring required

Response

strategySchema

titlestring nullable

An optional title for the strategy

namestring required

The name (type) of the strategy

displayNamestring nullable required

A human friendly name for the strategy

descriptionstring nullable required

A short description of the strategy

editableboolean required

Whether the strategy can be edited or not. Strategies bundled with Unleash cannot be edited.

deprecatedboolean required

Example response

{
  "title": "GradualRollout - Prod25",
  "name": "flexibleRollout",
  "displayName": "Gradual Rollout",
  "description": "Gradual rollout to logged in users",
  "editable": true,
  "deprecated": true,
  "parameters": [
    {
      "name": "percentage",
      "type": "percentage",
      "description": "Gradual rollout to logged in users",
      "required": true
    }
  ]
}