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.

portfolioId
string
required

The unique identifier of the portfolio

workflowId
string
required

The ID of the rebalance workflow execution

X-API-KEY
string
required

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"
}