diff --git a/server/src/routes/agents.ts b/server/src/routes/agents.ts index 659491cac5..685fe3900c 100644 --- a/server/src/routes/agents.ts +++ b/server/src/routes/agents.ts @@ -3329,7 +3329,7 @@ export function agentRoutes( actorType: actor.actorType, actorId: actor.actorId, agentId: actor.agentId, - runId: actor.runId, + runId: run.id, action: "heartbeat.invoked", entityType: "heartbeat_run", entityId: run.id, @@ -3420,7 +3420,7 @@ export function agentRoutes( actorType: actor.actorType, actorId: actor.actorId, agentId: actor.agentId, - runId: actor.runId, + runId: run.id, action: "heartbeat.invoked", entityType: "heartbeat_run", entityId: run.id,