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 Execution
Get detailed information about a specific rebalance execution
GET
/
v1
/
portfolio
/
:portfolioId
/
rebalance
/
status
/
:workflowId
curl --request GET \
--url 'https://api.glider.fi/v1/portfolio/port_abc123/rebalance/status/rebal_def456' \
--header 'X-API-KEY: your_api_key_here'
{
"success": true,
"data": {
"portfolioId": "port_abc123",
"workflowId": "rebal_def456",
"runId": "run_jkl012",
"status": "completed",
"startTime": "2023-05-21T13:30:00.123Z",
"closeTime": "2023-05-21T13:32:45.678Z",
"executionTime": "2023-05-21T13:30:00.123Z",
"taskQueue": "rebalance-queue",
"result": {
"transactionHash": "0xTransactionHash789",
"blockNumber": 12345680,
"gasUsed": "125000",
"effectiveGasPrice": "1000000000",
"status": "success"
},
"error": null,
"historyLength": 32
},
"correlationId": "corr_abc123",
"requestId": "req_xyz789",
"timestamp": "2023-05-21T13:45:12.345Z"
}
Gets detailed information about a specific rebalance execution.
The unique identifier of the portfolio
The ID of the rebalance workflow execution
Your API key for authentication
curl --request GET \
--url 'https://api.glider.fi/v1/portfolio/port_abc123/rebalance/status/rebal_def456' \
--header 'X-API-KEY: your_api_key_here'
{
"success": true,
"data": {
"portfolioId": "port_abc123",
"workflowId": "rebal_def456",
"runId": "run_jkl012",
"status": "completed",
"startTime": "2023-05-21T13:30:00.123Z",
"closeTime": "2023-05-21T13:32:45.678Z",
"executionTime": "2023-05-21T13:30:00.123Z",
"taskQueue": "rebalance-queue",
"result": {
"transactionHash": "0xTransactionHash789",
"blockNumber": 12345680,
"gasUsed": "125000",
"effectiveGasPrice": "1000000000",
"status": "success"
},
"error": null,
"historyLength": 32
},
"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/rebal_def456' \
--header 'X-API-KEY: your_api_key_here'
{
"success": true,
"data": {
"portfolioId": "port_abc123",
"workflowId": "rebal_def456",
"runId": "run_jkl012",
"status": "completed",
"startTime": "2023-05-21T13:30:00.123Z",
"closeTime": "2023-05-21T13:32:45.678Z",
"executionTime": "2023-05-21T13:30:00.123Z",
"taskQueue": "rebalance-queue",
"result": {
"transactionHash": "0xTransactionHash789",
"blockNumber": 12345680,
"gasUsed": "125000",
"effectiveGasPrice": "1000000000",
"status": "success"
},
"error": null,
"historyLength": 32
},
"correlationId": "corr_abc123",
"requestId": "req_xyz789",
"timestamp": "2023-05-21T13:45:12.345Z"
}
Assistant
Responses are generated using AI and may contain mistakes.