GET
/
v1
/
portfolio
/
:portfolioId
/
automation
/
status
curl --request GET \
  --url 'https://api.glider.fi/v1/portfolio/port_abc123/automation/status' \
  --header 'X-API-KEY: your_api_key_here'
{
  "success": true,
  "data": {
    "portfolioId": "port_abc123",
    "status": "active", // or "paused", "inactive", "archived", "error"
    "hasAutomation": true,
    "message": "Portfolio automation is active",
    "rebalanceScheduleId": "sched_abc123",
    "details": {
      "totalExecutions": 5,
      "paused": false,
      "pauseReason": null,
      "recentActions": [
        {
          "workflowId": "rebal_def456",
          "takenAt": "2023-05-21T13:30:00.000Z",
          "scheduledAt": "2023-05-21T13:30:00.000Z"
        },
        {
          "workflowId": "rebal_ghi789",
          "takenAt": "2023-05-21T07:30:00.000Z",
          "scheduledAt": "2023-05-21T07:30:00.000Z"
        }
      ],
      "nextScheduledExecution": "2023-05-21T19:30:00.000Z"
    }
  },
  "correlationId": "corr_abc123",
  "requestId": "req_xyz789",
  "timestamp": "2023-05-21T13:45:12.345Z"
}

Checks the status of portfolio automation.

portfolioId
string
required

The unique identifier of the portfolio

X-API-KEY
string
required

Your API key for authentication

curl --request GET \
  --url 'https://api.glider.fi/v1/portfolio/port_abc123/automation/status' \
  --header 'X-API-KEY: your_api_key_here'
{
  "success": true,
  "data": {
    "portfolioId": "port_abc123",
    "status": "active", // or "paused", "inactive", "archived", "error"
    "hasAutomation": true,
    "message": "Portfolio automation is active",
    "rebalanceScheduleId": "sched_abc123",
    "details": {
      "totalExecutions": 5,
      "paused": false,
      "pauseReason": null,
      "recentActions": [
        {
          "workflowId": "rebal_def456",
          "takenAt": "2023-05-21T13:30:00.000Z",
          "scheduledAt": "2023-05-21T13:30:00.000Z"
        },
        {
          "workflowId": "rebal_ghi789",
          "takenAt": "2023-05-21T07:30:00.000Z",
          "scheduledAt": "2023-05-21T07:30:00.000Z"
        }
      ],
      "nextScheduledExecution": "2023-05-21T19:30:00.000Z"
    }
  },
  "correlationId": "corr_abc123",
  "requestId": "req_xyz789",
  "timestamp": "2023-05-21T13:45:12.345Z"
}