Treasury

Get rebalances

Retrieve a paginated list of all rebalances for the workspace.

get/v1/treasury/rebalances

Request

Query parameters

pageinteger

Page number for pagination (1-based)

limitinteger

Number of items per page (default: 20)

Response

Rebalances retrieved successfully

Example response

{
  "data": [
    {
      "id": "e4a1b7c3-9f2d-4e56-a8b0-3c5d1e7f9a2b",
      "workspace_id": "b53f6690-3242-4942-9907-885779632832",
      "direction": "rebalance",
      "steps": [],
      "created_at": "2024-03-01T10:00:00.000Z",
      "updated_at": "2024-03-01T10:00:00.000Z",
      "expires_at": "2024-03-04T10:00:00.000Z"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.