fbpx
GEThttps://api.spotinst.io/audit/events?fromDate={fromDate}&toDate={toDate}&accountId={ACCOUNT_ID}

Describe all the audit events

URL Parameters

Parameter Type Description
fromDate * Long

Timestamp in milliseconds for the start time

Example: 1511370488000
toDate * Long

Timestamp in milliseconds for the end time

Example: 1511370498000
ACCOUNT_ID String

Your Spotinst accountId associated with your token

Example: act-123abc
Request

Headers
{
    "Authorization": "Bearer ${token}"
}
Response - 200

Headers
{
    "Content-Type": "application/json"
}
Body
Copied!
Downloaded!
{
  "status": {
    "code": 200,
    "message": "OK"
  },
  "items": [
    {
      "user": "USER_MAIL",
      "namespace": "AWS",
      "actionType": "Create",
      "resourceType": "Elastigroup",
      "resourceId": "sig-123456",
      "createdAt": "2017-12-31T16:45:10.000+0000",
      "context": "",
      "responseStatus": 200
    }
  ]
}