POST
/
v1
/
portfolio
/
:portfolioId
/
rebalance
/
schedule
/
trigger
curl --request POST \
  --url 'https://api.glider.fi/v1/portfolio/port_abc123/rebalance/schedule/trigger' \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: your_api_key_here' \
  --data '{
    "skipScheduleValidation": false
  }'
{
  "success": true,
  "data": {
    "portfolioId": "port_abc123",
    "scheduleId": "sched_abc123",
    "rebalanceId": "rebal_def456",
    "status": "triggered",
    "message": "Portfolio rebalance triggered successfully",
    "triggerTime": 1684734312
  },
  "correlationId": "corr_abc123",
  "requestId": "req_xyz789",
  "timestamp": "2023-05-21T13:45:12.345Z"
}
Manually triggers a portfolio rebalance.
portfolioId
string
required
The unique identifier of the portfolio
skipScheduleValidation
boolean
default:"false"
Set to true to trigger a rebalance even if no schedule exists
X-API-KEY
string
required
Your API key for authentication
Content-Type
string
default:"application/json"
The format of the request body
curl --request POST \
  --url 'https://api.glider.fi/v1/portfolio/port_abc123/rebalance/schedule/trigger' \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: your_api_key_here' \
  --data '{
    "skipScheduleValidation": false
  }'
{
  "success": true,
  "data": {
    "portfolioId": "port_abc123",
    "scheduleId": "sched_abc123",
    "rebalanceId": "rebal_def456",
    "status": "triggered",
    "message": "Portfolio rebalance triggered successfully",
    "triggerTime": 1684734312
  },
  "correlationId": "corr_abc123",
  "requestId": "req_xyz789",
  "timestamp": "2023-05-21T13:45:12.345Z"
}