Skip to main content
PATCH
/
v2
/
strategies
/
{strategyId}
curl --request PATCH \
  --url 'https://api.glider.fi/v2/strategies/01JWZEE2MF30KVRMRX53N88VA4' \
  --header 'x-api-key: gldr_sk_your_api_key' \
  --header 'content-type: application/json' \
  --data '{ "name": "Conservative Yield v2", "isPublic": true }'
{
  "success": true,
  "data": {
    "strategyId": "01JWZEE2MF30KVRMRX53N88VA4",
    "name": "Conservative Yield v2",
    "description": "Multi-chain balanced allocation strategy",
    "allocation": {
      "assets": [
        {
          "assetId": "eip155:1/erc20:0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
          "weight": "100"
        }
      ]
    },
    "schedule": { "type": "interval", "frequency": "daily" },
    "preferences": {
      "swap": {
        "slippageBps": null,
        "priceImpactBps": null,
        "thresholdUsd": null
      }
    },
    "isPublic": true,
    "version": 3,
    "createdAt": "2026-04-01T12:00:00.000Z"
  }
}

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.

Patches the strategy’s display metadata — name, description, visibility. Doesn’t change the allocation, schedule, or preferences (each has its own endpoint).
  • Auth: x-api-key header (required)
  • Required scope: strategies:write

Mutable fields

FieldTypeNullableNotes
namestring (1–256)noDisplay name. Cannot be cleared.
descriptionstring (≤2000)yesSend null to clear.
isPublicbooleannoDiscoverability flag.
The patchable surface mirrors the POST /v2/strategies body — anything you can set at create, you can patch here.

Patch semantics

JSON Merge Patch (RFC 7396):
  • Omit a field — preserve the current value.
  • Send null — clear (only on nullable fields above).
  • Send a value — set.
Empty body {} is a 200 no-op. Body is strict; unknown keys return 400.

Where to make other changes

Cross-tenant access

Returns 404 — strategies you don’t own are not exposed.

Response

Returns the full Strategy shape (same as GET /v2/strategies/{strategyId}).
curl --request PATCH \
  --url 'https://api.glider.fi/v2/strategies/01JWZEE2MF30KVRMRX53N88VA4' \
  --header 'x-api-key: gldr_sk_your_api_key' \
  --header 'content-type: application/json' \
  --data '{ "name": "Conservative Yield v2", "isPublic": true }'
{
  "success": true,
  "data": {
    "strategyId": "01JWZEE2MF30KVRMRX53N88VA4",
    "name": "Conservative Yield v2",
    "description": "Multi-chain balanced allocation strategy",
    "allocation": {
      "assets": [
        {
          "assetId": "eip155:1/erc20:0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
          "weight": "100"
        }
      ]
    },
    "schedule": { "type": "interval", "frequency": "daily" },
    "preferences": {
      "swap": {
        "slippageBps": null,
        "priceImpactBps": null,
        "thresholdUsd": null
      }
    },
    "isPublic": true,
    "version": 3,
    "createdAt": "2026-04-01T12:00:00.000Z"
  }
}