GEThttps://api.spotinst.io/aws/ec2/managedInstance/{MI_ID}/status?accountId={ACCOUNT_ID}

Describes the current status of a specific Managed Instance – entailing information regarding running instance and its status.

URL Parameters

Parameter Type Description
ACCOUNT_ID * String

Your Spotinst accountId associated with your token

Example: act-123abc
MI_ID * String

Managed Instance id you want to describe

Response - 200

Headers
Copied!
Downloaded!
{
    "Content-Type": "application/json"
    "Authorization": "Bearer ${token}"
}
Body
Copied!
Downloaded!
{
  "request": {
    "id": "9ea37b98-32f7-48ea-8ec3-14e3f396e50e",
    "url": "/aws/ec2/managedInstance/smi-111",
    "method": "GET",
    "timestamp": "2019-04-02T11:09:40.652Z"
  },
  "response": {
    "status": {
      "code": 200,
      "message": "OK"
    },
    "kind": "spotinst:aws:ec2:managedInstanceStatus",
    "items": [
      {
       "id": "smi-50739ad2",
       "name": "i-0db00q51ec9069ebf",
       "status": "ACTIVE",
       "instanceId": "i-0vc9530daq19c4aad",
       "instanceType": "t2.micro",
       "imageId": "ami-03238ecdbdc7d6d6a",
       "privateIp": "172.31.10.21",
       "publicIp": "34.212.65.224",
       "createdAt": "2020-05-05T08:53:12.000Z",
       "launchedAt": "2020-06-07T20:10:56.000Z"
      }
    ],
    "count": 1
  }
}