List the transitions for this machine instance

GET /machines/{machineSlug}/i/{instanceSlug}/events

Query parameters

  • cursor string

    A cursor returned from a previous call to /machines/{machineSlug}/i/{instanceSlug}/events

Responses

GET /machines/{machineSlug}/i/{instanceSlug}/events
curl \
 -X GET https://api.statebacked.dev/machines/{machineSlug}/i/{instanceSlug}/events \
 -H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "transitions": [
    {
      "createdAt": "2023-05-04T09:42:00+00:00",
      "state": "string",
      "event": {
        "type": "string"
      }
    }
  ],
  "cursor": "string"
}
Response examples (200)
{
  "transitions": [
    {
      "createdAt": "2024-05-04T09:42:00+00:00",
      "state": "string",
      "event": {
        "type": "string"
      }
    }
  ],
  "cursor": "string"
}