GET
/
rebalanceStatus
/
{jobId}
curl --request GET \
  --url https://dev.startree.ai/rebalanceStatus/{jobId} \
  --header 'Authorization: <api-key>'
{
  "tableRebalanceContext": {
    "jobId": "<string>",
    "originalJobId": "<string>",
    "attemptId": 123,
    "config": {
      "minAvailableReplicas": 1,
      "heartbeatIntervalInMs": 300000,
      "heartbeatTimeoutInMs": 3600000,
      "retryInitialDelayInMs": 300000,
      "externalViewStabilizationTimeoutInMs": 3600000,
      "reassignInstances": false,
      "includeConsuming": false,
      "lowDiskMode": false,
      "bestEfforts": false,
      "updateTargetTier": false,
      "maxAttempts": 3,
      "externalViewCheckIntervalInMs": 1000,
      "dryRun": false,
      "preChecks": false,
      "bootstrap": false,
      "downtime": false
    }
  },
  "timeElapsedSinceStartInSeconds": 123,
  "tableRebalanceProgressStats": {
    "initialToTargetStateConvergence": {
      "_segmentsMissing": 123,
      "_segmentsToRebalance": 123,
      "_percentSegmentsToRebalance": 123,
      "_replicasToRebalance": 123
    },
    "timeToFinishInSeconds": 123,
    "completionStatusMsg": "<string>",
    "startTimeMs": 123,
    "externalViewToIdealStateConvergence": {
      "_segmentsMissing": 123,
      "_segmentsToRebalance": 123,
      "_percentSegmentsToRebalance": 123,
      "_replicasToRebalance": 123
    },
    "currentToTargetConvergence": {
      "_segmentsMissing": 123,
      "_segmentsToRebalance": 123,
      "_percentSegmentsToRebalance": 123,
      "_replicasToRebalance": 123
    },
    "status": "NO_OP"
  }
}

Authorizations

Authorization
string
header
required

The format of the key is "Basic <token>" or "Bearer <token>"

Path Parameters

jobId
string
required

Rebalance Job Id

Response

200 - application/json
successful operation

The response is of type object.