APIEngine API
Return current agent states, persisted decisions, persistence mode, market state, and heartbeat.
#Response
{
"states": [AgentRuntimeState],
"decisions": [DecisionEntry],
"persistence": "durable",
"marketAvailable": true,
"updatedAt": "β¦",
"heartbeat": { "workerStartedAt": "β¦", "lastSuccessfulCycle": "β¦", "lastFailedCycle": null, "lastError": null, "observationCount": 120, "decisionCount": 0, "source": "pm2-worker" }
}
#Cache behavior
Cache-Control: no-store. A request-runtime tick may persist observations when the hosted D1 environment has no separate PM2 worker.
#Example request
curl https://overweight.example/api/engine