Skip to main content

Get all strategies

GET <your-unleash-url>/api/admin/strategies

Authorization

name: Authorizationtype: apiKeyin: header

Retrieves all strategy types (predefined and custom strategies) that are defined on this Unleash instance.

Request

Responses

strategiesSchema

Schema
  • version integer required

    Possible values: [1]

    Version of the strategies schema

  • strategies object[]required

    List of strategies

  • Array [
  • title string nullable

    An optional title for the strategy

  • name string required

    The name (type) of the strategy

  • displayName string nullable required

    A human friendly name for the strategy

  • description string nullable required

    A short description of the strategy

  • editable boolean required

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

  • deprecated boolean required
  • parameters object[]required

    A list of relevant parameters for each strategy

  • Array [
  • name string
  • type string
  • description string
  • required boolean
  • ]
  • ]

Authorization

name: Authorizationtype: apiKeyin: header

Request

Base URL
<your-unleash-url>
apiKey
curl / cURL
curl -L -X GET '<your-unleash-url>/api/admin/strategies' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>'