REST API Endpoints
- GETPortfolio List
- GETPortfolio Get
- PUTPortfolio Update
- GETPortfolio List By Owner
- POSTPortfolio Create Signature
- POSTPortfolio Create
- POSTPortfolio Create From Template
- POSTPortfolio Resign
- POSTPortfolio Resubmit Signature
- GETPortfolio Get Assets
- GETPortfolio Get Performance
- GETPortfolio Get Transactions
- GETPortfolio Get Deposits Withdrawals
- POSTPortfolio Deposit
- POSTPortfolio Deposit with Simulation
- POSTPortfolio Withdraw
- POSTPortfolio Withdraw as ETH
- POSTPortfolio Automation Start
- POSTPortfolio Automation Pause
- POSTPortfolio Automation Resume
- POSTPortfolio Automation Trigger
- GETPortfolio Automation Status
- GETPortfolio Rebalance Status
- GETPortfolio Rebalance Execution
- POSTPortfolio Schedule Interval
- POSTPortfolio Execute
- POSTPortfolio Archive
REST API Endpoints
Portfolio Rebalance Status
Check the status of portfolio rebalancing
GET
/
v1
/
portfolio
/
:portfolioId
/
rebalance
/
status
curl --request GET \
--url 'https://api.glider.fi/v1/portfolio/port_abc123/rebalance/status?limit=5' \
--header 'X-API-KEY: your_api_key_here'
{
"success": true,
"data": {
"portfolioId": "port_abc123",
"status": "active", // or "paused", "inactive", "error"
"message": "Rebalance schedule is active",
"rebalanceScheduleId": "sched_abc123",
"details": {
"totalExecutions": 5,
"paused": false,
"pauseReason": null,
"nextScheduledExecution": "2023-05-21T19:30:00.000Z"
},
"recentWorkflows": [
{
"workflowId": "rebal_def456",
"runId": "run_jkl012",
"scheduledAt": "2023-05-21T13:30:00.000Z",
"startedAt": "2023-05-21T13:30:00.123Z",
"status": "triggered"
},
{
"workflowId": "rebal_ghi789",
"runId": "run_mno345",
"scheduledAt": "2023-05-21T07:30:00.000Z",
"startedAt": "2023-05-21T07:30:00.456Z",
"status": "triggered"
}
]
},
"correlationId": "corr_abc123",
"requestId": "req_xyz789",
"timestamp": "2023-05-21T13:45:12.345Z"
}
Checks the status of portfolio rebalancing.
The unique identifier of the portfolio
Number of recent workflows to return
Your API key for authentication
curl --request GET \
--url 'https://api.glider.fi/v1/portfolio/port_abc123/rebalance/status?limit=5' \
--header 'X-API-KEY: your_api_key_here'
{
"success": true,
"data": {
"portfolioId": "port_abc123",
"status": "active", // or "paused", "inactive", "error"
"message": "Rebalance schedule is active",
"rebalanceScheduleId": "sched_abc123",
"details": {
"totalExecutions": 5,
"paused": false,
"pauseReason": null,
"nextScheduledExecution": "2023-05-21T19:30:00.000Z"
},
"recentWorkflows": [
{
"workflowId": "rebal_def456",
"runId": "run_jkl012",
"scheduledAt": "2023-05-21T13:30:00.000Z",
"startedAt": "2023-05-21T13:30:00.123Z",
"status": "triggered"
},
{
"workflowId": "rebal_ghi789",
"runId": "run_mno345",
"scheduledAt": "2023-05-21T07:30:00.000Z",
"startedAt": "2023-05-21T07:30:00.456Z",
"status": "triggered"
}
]
},
"correlationId": "corr_abc123",
"requestId": "req_xyz789",
"timestamp": "2023-05-21T13:45:12.345Z"
}
curl --request GET \
--url 'https://api.glider.fi/v1/portfolio/port_abc123/rebalance/status?limit=5' \
--header 'X-API-KEY: your_api_key_here'
{
"success": true,
"data": {
"portfolioId": "port_abc123",
"status": "active", // or "paused", "inactive", "error"
"message": "Rebalance schedule is active",
"rebalanceScheduleId": "sched_abc123",
"details": {
"totalExecutions": 5,
"paused": false,
"pauseReason": null,
"nextScheduledExecution": "2023-05-21T19:30:00.000Z"
},
"recentWorkflows": [
{
"workflowId": "rebal_def456",
"runId": "run_jkl012",
"scheduledAt": "2023-05-21T13:30:00.000Z",
"startedAt": "2023-05-21T13:30:00.123Z",
"status": "triggered"
},
{
"workflowId": "rebal_ghi789",
"runId": "run_mno345",
"scheduledAt": "2023-05-21T07:30:00.000Z",
"startedAt": "2023-05-21T07:30:00.456Z",
"status": "triggered"
}
]
},
"correlationId": "corr_abc123",
"requestId": "req_xyz789",
"timestamp": "2023-05-21T13:45:12.345Z"
}
Assistant
Responses are generated using AI and may contain mistakes.