Event log

We love logs. Anything that happens will be in the logs. Scan results, transport collection and deposits, travel arrival, belt mining site depletion. Everything.

Endpoint

GET /v1/replicants/{code}/events

Query parameters

NameTypeDescription
cursorinteger · optionalPosition in the list to start from, default null.
limitinteger · optionalNumber of events to show, default 20.
latestboolean · optionalShow latest events. Default false.
Incompatible with cursor.
event_typestring · optionalFilter by results by type of event.
device_typestring · optionalFilter results by the type of device.
devicestring · optionalFilter results to a single device code.

Example

GET /v1/replicants/{code}/events 200 OK
$ curl https://api.replicant.space/v1/replicants/8AFE4482/events?latest=true \
    -H "Authorization: Bearer $API_KEY"
response response
{
  "events": [
    {
      "created_at": "2026-05-10T22:31:05+01:00",
      "device_code": "0B086F53",
      "device_type": "ami_mining_controller",
      "event_type": "device_deployed",
      "message": "Deployed ami_mining_controller 0B086F53 at CHAMAKUY-BELT-1",
      "payload": {
        "location": "CHAMAKUY-BELT-1",
        "star": "CHAMAKUY"
      }
    },
    {
      "created_at": "2026-05-10T00:19:02+01:00",
      "device_code": "37C51F74",
      "device_type": "heaven_vessel",
      "event_type": "print_complete",
      "message": "Completed printing ami_mining_controller",
      "payload": {
        "device_type": "ami_mining_controller",
        "location": "CHAMAKUY-BELT-1",
        "new_device_code": "0B086F53"
      }
    }
  ]
}

Event payloads

The payload field shape depends on event_type. The message field is always a human-readable summary.