curl --request POST \
--url https://api.example.com/api/v1/agents/heartbeat \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"board_id": "<string>",
"status": "<string>"
}
'Record agent liveness or auto-create agent on first heartbeat
curl --request POST \
--url https://api.example.com/api/v1/agents/heartbeat \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"board_id": "<string>",
"status": "<string>"
}
'Updates the agent’sDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/JorgeMedinaArauna/OpenClaw-Mission_control/llms.txt
Use this file to discover all available pages before exploring further.
last_seen_at timestamp to indicate liveness. If the agent doesn’t exist, it will be automatically created and provisioned.
X-Agent-Token header (not Authorization header).
The agent token is provided in the TOOLS.md file in the agent’s workspace.
healthy, offline, degradedAgentRead object with the same structure as List Agents.
last_seen_at to current timestampstatus if providedname and board_idcurl -X POST "https://api.example.com/api/v1/agents/heartbeat" \
-H "X-Agent-Token: agent-token-from-tools-md" \
-H "Content-Type: application/json" \
-d '{
"name": "Financial Operations Lead",
"status": "healthy"
}'
curl -X POST "https://api.example.com/api/v1/agents/heartbeat" \
-H "X-Agent-Token: new-agent-token" \
-H "Content-Type: application/json" \
-d '{
"name": "New Worker Agent",
"board_id": "550e8400-e29b-41d4-a716-446655440000",
"status": "healthy"
}'
{
"id": "c91361ef-6d85-439c-82e1-8f388a302e6a",
"gateway_id": "55cc268a-4b45-400f-accf-201e025232ac",
"board_id": "550e8400-e29b-41d4-a716-446655440000",
"name": "Financial Operations Lead",
"status": "healthy",
"gateway_agent_id": "agent-01JCXYZ123",
"workspace_path": "/home/ubuntu/.openclaw/workspace-mc-c91361ef-6d85-439c-82e1-8f388a302e6a",
"is_mc_agent": true,
"is_board_lead": false,
"is_gateway_main": false,
"openclaw_session_id": "agent:mc-c91361ef-6d85-439c-82e1-8f388a302e6a:main",
"last_seen_at": "2026-03-05T11:30:00Z",
"created_at": "2026-03-01T08:00:00Z",
"updated_at": "2026-03-05T11:30:00Z"
}
heartbeat_config.interval_seconds in agent recordheartbeat_config.missing_tolerance (default: 120 seconds)last_seen_at is older than current_time - missing_tolerance.
# This endpoint infers the agent ID from the X-Agent-Token
curl -X POST "https://api.example.com/api/v1/agent/heartbeat" \
-H "X-Agent-Token: agent-token-from-tools-md"
{} or no body.
last_seen_atstatus field to report degraded states