Get task execution overview¶
View task execution counts for the last seven days in the current workspace, including running, completed, failed, and pending tasks.
GET https://moi.matrixorigin.cn/newmoi/dashboard/task-execution-overview
Preparation before calling¶
First identify the workspace you want to inspect. Prepare a personal access token with access to that workspace and its workspace ID.
Query parameters¶
curl "https://moi.matrixorigin.cn/newmoi/dashboard/task-execution-overview" \
-H "X-API-Key: $AI_STUDIO_API_KEY" \
-H "X-Workspace-ID: $WORKSPACE_ID"
This API accepts no additional query parameters.
Success response¶
On success, the API returns a count summary for the current workspace in the reporting window, not the details of one task.
{
"code": "OK",
"msg": "OK",
"data": {
"running": 2,
"success": 18,
"failed": 1,
"pending": 3,
"total": 24,
"window_days": 7,
"since": "2026-08-14T09:00:00Z",
"until": "2026-08-21T09:00:00Z"
}
}
Field |
Type |
Description |
|---|---|---|
|
string |
|
|
string |
|
|
integer |
Number of running tasks. |
|
integer |
Number of completed tasks. |
|
integer |
Number of failed tasks. |
|
integer |
Number of pending tasks. |
|
integer |
Total number of tasks in the reporting window. |
|
integer |
Number of days in the reporting window. |
|
string |
Start time of the reporting window. |
|
string |
End time of the reporting window. |
Error response¶
{
"code": "ErrServer",
"msg": "Internal server error",
"data": null
}
Field |
Type |
Description |
|---|---|---|
|
string |
Error code. |
|
string |
Error message. |
|
null |
— |
Next steps¶
To inspect individual SQL or operation records, list SQL execution records or list operation logs.