-
Notifications
You must be signed in to change notification settings - Fork 0
REST API Reference
Sayan edited this page Aug 17, 2026
·
1 revision
ChestLogger includes an embedded, zero-dependency HTTP server running on port 8080 by default. It provides a real-time web dashboard and JSON/CSV endpoints for server networks and custom integrations.
Returns live queue throughput, memory buffer utilization, and indexing statistics.
-
Method:
GET -
Path:
/api/v1/telemetry -
Response Format:
JSON
{
"queueDepth": 0,
"queueCapacity": 65536,
"totalProcessed": 14280,
"activeSegments": 3,
"indexedEntries": 14280,
"uptimeSeconds": 7200
}Fetches filtered transaction records.
-
Method:
GET -
Path:
/api/v1/logs -
Query Parameters:
-
x,y,zβ Container block coordinates (integers). -
dimensionβ Dimension key (e.g.minecraft:overworld). -
playerβ Player name or UUID string filter. -
itemIdβ Item identifier (e.g.minecraft:diamond). -
limitβ Maximum results to return (default:50, max:500).
-
-
Response Format:
JSON
curl "http://localhost:8080/api/v1/logs?x=120&y=64&z=-350&limit=10"[
{
"sequenceId": 1042,
"timestampMs": 1723901234567,
"actionType": "SHIFT_CLICK_EXTRACT",
"actorType": "PLAYER",
"actorName": "Steve",
"actorUuid": "85638e6b-69c5-49c0-988b-1d6db7072c47",
"dimension": "minecraft:overworld",
"x": 120,
"y": 64,
"z": -350,
"slot": 4,
"itemId": "minecraft:diamond",
"delta": -16,
"prevCount": 64,
"newCount": 48
}
]Exports filtered transactions as a downloadable spreadsheet or JSON dump.
-
Method:
GET -
Paths:
-
/api/v1/logs/export.csvβ Comma-Separated Values (Excel / Google Sheets compatible). -
/api/v1/logs/export.jsonβ Raw JSON array.
-
curl -o container_audit.csv "http://localhost:8080/api/v1/logs/export.csv?x=120&y=64&z=-350"-
Default Port:
8080(Configurable inconfig/chestlogger.jsonor Paperconfig.yml). -
Binding: Binds to
0.0.0.0by default. For public servers, restrict access via firewall / reverse proxy (e.g., Nginx or Cloudflare Tunnel) if you do not want public access to container metrics.