Activity
Every action on your account is recorded in an Activity feed: who did it, what they did it to, and when. It is read-only and included on every plan.
Two endpoints read the same feed:
GET /v1/activity # the whole accountGET /v1/machines/{id}/activity # one machineScope: read or full. Both accept the same filters and return the same shape.
The activity entry
Section titled “The activity entry”{ "machine_id": "123e4567-e89b-12d3-a456-426614174000", "action": "exec.finished", "actor": "user", "metadata": { "exec_id": "build-1", "state": "succeeded", "exit_code": 0 }, "created_at": "2026-09-22T10:14:03Z"}| Field | Type | Meaning |
|---|---|---|
machine_id |
string | The machine acted on. Absent for actions with no machine (creating a standalone volume). |
action |
string | What happened — see the table below. |
actor |
string | Who did it: user, or the platform acting on your account (system:…). |
metadata |
object | Action-specific facts. The keys differ per action. |
created_at |
string | RFC 3339 UTC. |
machine_id stays valid after the machine is gone: the feed outlives the
machine. Destroy a machine and you can still read everything it ever
did, including the machine.destroyed entry itself.
Actions and their metadata
Section titled “Actions and their metadata”action |
Category | metadata keys |
|---|---|---|
machine.created |
machine |
stack, vcpus, memory_mb, rootfs_gb, network |
machine.started |
machine |
— |
machine.stopped |
machine |
— |
machine.destroyed |
machine |
preserve_storage, snapshots_deleted |
machine.network_changed |
machine |
network, allow_count — the number of hosts, not the list |
exec.started |
exec |
exec_id, timeout_sec |
exec.finished |
exec |
exec_id, state, exit_code (once known), truncated (only when true). A command still running when its machine is stopped or destroyed is recorded with state: lost |
exec |
exec |
exit_code, timeout_sec — older entries only; no longer written |
volume.created |
volume |
volume_id, size_gb |
volume.attached |
volume |
volume_id |
volume.detached |
volume |
volume_id |
volume.deleted |
volume |
volume_id |
snapshot.created |
snapshot |
snapshot_id |
snapshot.restored |
snapshot |
snapshot_id |
snapshot.deleted |
snapshot |
snapshot_id |
secret.created |
secret |
name, custody |
secret.rotated · secret.deleted |
secret |
name |
secret.bound · secret.unbound |
secret |
name (on the machine it was bound to) |
egress.blocked |
egress |
host — a locked machine’s refused call, about a minute after it happened (at once if the machine is destroyed first) |
machine.destroyed carries snapshots_deleted because destroying a machine can
remove its snapshots too: the entry records how many were deleted with it.
Secret entries carry the secret’s name, never its value or anything derived
from it. Filter them with category=secret; q also matches a secret’s name.
Volume and snapshot metadata carry ids only, never the name you chose. A name is free text you typed; the feed is not the place to store it.
Actors
Section titled “Actors”actor |
Means |
|---|---|
user |
You, through the API or the dashboard. |
system:spend_guard |
Your balance reached €0 and the machine was stopped. |
system:reclaimer |
The grace window after €0 ended and the resource was deleted. |
This is why the feed is worth reading rather than reconstructing from your own logs: a machine you did not stop shows who stopped it, and your client never saw that call. See Usage & billing for when each applies.
Filters
Section titled “Filters”All parameters are optional and combine.
| Parameter | Values | Notes |
|---|---|---|
category |
machine, volume, snapshot, exec, egress, secret, all |
Anything else is a 400. all and omitting it are the same. |
q |
free text | Case-insensitive match on action, actor and resource id. |
from |
RFC 3339 or YYYY-MM-DD |
Inclusive lower bound on created_at. |
to |
RFC 3339 or YYYY-MM-DD |
Must not be before from, or 400. |
limit |
1–200 | Default 50. Outside the range is a 400. |
page_size |
1–200 | The older name for limit, still accepted. Sending both is a 400. |
cursor |
opaque | From a previous response’s next_cursor. |
curl -sS -G https://api.sistemo.io/v1/activity \ -H "Authorization: Bearer $SISTEMO_API_KEY" \ --data-urlencode 'category=machine' \ --data-urlencode 'from=2026-09-01T00:00:00Z'Pagination
Section titled “Pagination”{ "activity": [ … ], "total": 1284, "next_cursor": "MTc1ODUzMTI0MzAwMDAwMDAwMDo0NDE"}Pass next_cursor back as cursor for the next page. When next_cursor is null
you have reached the end.
import os, urllib.parse, urllib.request, json
def activity(**filters): """Yield every activity entry, oldest page last.""" cursor = "" while True: params = {k: v for k, v in filters.items() if v} if cursor: params["cursor"] = cursor url = "https://api.sistemo.io/v1/activity?" + urllib.parse.urlencode(params) req = urllib.request.Request(url, headers={ "Authorization": f"Bearer {os.environ['SISTEMO_API_KEY']}", "User-Agent": "my-app/1.0", # required — see Authentication }) page = json.load(urllib.request.urlopen(req)) yield from page["activity"] cursor = page.get("next_cursor") or "" if not cursor: return
for entry in activity(category="exec", limit=200): print(entry["created_at"], entry["action"], entry["metadata"])Retention
Section titled “Retention”Entries are kept for 365 days by default and then dropped a whole month at a time. If you need them for longer than that, page them out on a schedule and keep them yourself — there is no export endpoint.
What it is not
Section titled “What it is not”- Not a metrics feed. No CPU, memory or network numbers. Use
GET /v1/billing/usagefor consumption. - Not a log stream. It is written after an action succeeds, so a failed call produces no entry and the feed never claims something that did not happen.
- Not tamper-evident. It is an honest record, not a cryptographic one. There are no signatures and no hash chain, and we do not market it as compliance evidence.
Related
Section titled “Related”- Activity log guide — what to use it for, and the dashboard view
- Machines · Volumes · Snapshots