> ## Documentation Index
> Fetch the complete documentation index at: https://docs.glider.fi/llms.txt
> Use this file to discover all available pages before exploring further.

# Get strategy preferences

> Returns the strategy's stored preference overrides.

Returns the strategy's stored preference overrides. Swap settings live under
the `swap` namespace: `slippageBps`, `priceImpactBps`, and `thresholdUsd`.
Each field is `null` when no override is set on this strategy.

The strategy's schedule is mutated through
`PUT /v2/strategies/{strategyId}/schedule` and is **not** returned by
this endpoint.

* Auth: `x-api-key` header (required)
* Required scope: `strategies:read`

Public strategies listed by
[List Discovery Strategies](/api-reference/endpoints/v2-discovery-strategies)
are also readable and return the creator's stored per-strategy overrides,
when they have any. Note this is a config-only view: many public strategies
carry no per-strategy overrides (all fields `null`), and a mirrored
portfolio's effective swap settings are resolved at execution time on each
rebalance — drawing on the creator's account-level configuration when no
per-strategy override exists — so all-`null` here does not mean the strategy
executes without swap preferences, and later changes by the creator carry
through to mirrored portfolios. Only the strategy's
owner can change these overrides (a `PATCH` on a strategy you don't own
returns `404`). Anything else returns `404` — the API does not leak the
existence of strategies you don't own.

<RequestExample>
  ```bash cURL theme={null}
  curl --request GET \
    --url 'https://api.glider.fi/v2/strategies/01JWZEE2MF30KVRMRX53N88VA4/preferences' \
    --header 'x-api-key: gldr_sk_your_api_key'
  ```

  ```javascript JavaScript theme={null}
  const response = await fetch(
    "https://api.glider.fi/v2/strategies/01JWZEE2MF30KVRMRX53N88VA4/preferences",
    { headers: { "x-api-key": "gldr_sk_your_api_key" } },
  );
  const data = await response.json();
  ```
</RequestExample>

<ResponseExample>
  ```json Override set theme={null}
  {
    "success": true,
    "data": {
      "swap": {
        "slippageBps": 250,
        "priceImpactBps": null,
        "thresholdUsd": "5.00"
      }
    }
  }
  ```

  ```json No override theme={null}
  {
    "success": true,
    "data": {
      "swap": {
        "slippageBps": null,
        "priceImpactBps": null,
        "thresholdUsd": null
      }
    }
  }
  ```
</ResponseExample>
