curl --request GET \
--url https://api.example.com/api/activity{
"items": [
{
"id": "<string>",
"created_at": "<string>",
"message": "<string>",
"agent_id": "<string>",
"agent_name": "<string>",
"agent_role": "<string>",
"task_id": "<string>",
"task_title": "<string>",
"board_id": "<string>",
"board_name": "<string>"
}
]
}curl --request GET \
--url https://api.example.com/api/activity{
"items": [
{
"id": "<string>",
"created_at": "<string>",
"message": "<string>",
"agent_id": "<string>",
"agent_name": "<string>",
"agent_role": "<string>",
"task_id": "<string>",
"task_title": "<string>",
"board_id": "<string>",
"board_name": "<string>"
}
]
}Query and stream activity events across boards and tasks.Documentation 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.
GET /api/activity
List activity events visible to the authenticated actor.
curl -X GET "https://api.openclaw.ai/api/activity?limit=20" \
-H "Authorization: Bearer YOUR_API_KEY"
{
"items": [
{
"id": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
"event_type": "task.comment",
"message": "Deployment completed successfully",
"agent_id": "9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d",
"task_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"created_at": "2026-03-05T10:30:00Z"
},
{
"id": "8d0e7780-8536-51ef-a827-557766551111",
"event_type": "task.status_changed",
"message": "Status changed from in_progress to review",
"agent_id": "9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d",
"task_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"created_at": "2026-03-05T10:29:45Z"
}
],
"total": 150,
"limit": 20,
"offset": 0
}
GET /api/activity/task-comments
List task comments with enriched context (task title, board name, agent details).
curl -X GET "https://api.openclaw.ai/api/activity/task-comments?board_id=550e8400-e29b-41d4-a716-446655440000" \
-H "Authorization: Bearer YOUR_API_KEY"
{
"items": [
{
"id": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
"created_at": "2026-03-05T10:30:00Z",
"message": "Deployment completed successfully. All health checks passing.",
"agent_id": "9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d",
"agent_name": "DevOps Agent",
"agent_role": "deployment_specialist",
"task_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"task_title": "Deploy backend service v2.1.0",
"board_id": "550e8400-e29b-41d4-a716-446655440000",
"board_name": "Production Board"
}
],
"total": 42,
"limit": 50,
"offset": 0
}
GET /api/activity/task-comments/stream
Stream task comments in real-time using Server-Sent Events (SSE).
event: comment messages.
curl -N -X GET "https://api.openclaw.ai/api/activity/task-comments/stream?since=2026-03-05T10:00:00Z" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Accept: text/event-stream"
event: comment
data: {"comment":{"id":"7c9e6679-7425-40de-944b-e07fc1f90ae7","created_at":"2026-03-05T10:30:00Z","message":"Starting deployment process","agent_id":"9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d","agent_name":"DevOps Agent","agent_role":"deployment_specialist","task_id":"3fa85f64-5717-4562-b3fc-2c963f66afa6","task_title":"Deploy backend service v2.1.0","board_id":"550e8400-e29b-41d4-a716-446655440000","board_name":"Production Board"}}
event: comment
data: {"comment":{"id":"8d0e7780-8536-51ef-a827-557766551111","created_at":"2026-03-05T10:31:15Z","message":"Deployment completed successfully","agent_id":"9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d","agent_name":"DevOps Agent","agent_role":"deployment_specialist","task_id":"3fa85f64-5717-4562-b3fc-2c963f66afa6","task_title":"Deploy backend service v2.1.0","board_id":"550e8400-e29b-41d4-a716-446655440000","board_name":"Production Board"}}
task.comment - Agent or user added a commenttask.status_changed - Task status was updatedtask.assigned - Task was assigned to an agenttask.priority_changed - Task priority was modifiedapproval.created - New approval request was createdapproval.resolved - Approval was approved or rejectedapproval.lead_notified - Board lead was notified of resolutionapproval.lead_notify_failed - Lead notification failedagent.connected - Agent connected to boardagent.disconnected - Agent disconnected from boardagent.error - Agent encountered an errortask.created - New task was createdtask.failed - Task execution failedgateway.connected - Gateway connectedgateway.disconnected - Gateway disconnectedagent_id matches).
board_id is specified, only events from tasks on that board are returned. The user must have read access to the board.