fbpx
GEThttps://api.spotinst.io/spectrum/events/job/{JOB_ID}?accountId={ACCOUNT_ID}

Describe a specific action

URL Parameters

Parameter Type Description
JOB_ID * String

The job ID you want to get

Example: sej-12345678
ACCOUNT_ID String

Account ID from Spotinst console

Example: act-12345
Request

Headers
{
  "Content-Type": "application/json",
  "Authorization": "Bearer ${TOKEN}"
}
Response - 200

Headers
{
  "Content-Type": "application/json"
}
Body
Copied!
Downloaded!
{
  "id": "sej-12345678",
  "resourceId": "fx-1234567",
  "action": "INVOKE_FUNCTION",
  "config": {
    "body": "foo",
    "queryParams": [
      {
        "key": "foo",
        "value": "bar"
      }
    ]
  },
  "isEnabled": true,
  "cronExpression": "0 23 * * *",
  "createdAt": "2017-02-10T15:49:11.911Z"
}