List workspace-creation tasks¶
View workspace-creation tasks submitted by the current identity that are still in progress or recently completed.
GET https://moi.matrixorigin.cn/newmoi/workspaces/creations
Before you call¶
Prepare a personal access token. You do not need to enter a workspace before calling this API.
Request example¶
Replace $AI_STUDIO_API_KEY with an actual value.
curl "https://moi.matrixorigin.cn/newmoi/workspaces/creations" \
-H "X-API-Key: $AI_STUDIO_API_KEY"
Successful response¶
On success, the API returns 200. If there are no tasks, data.creations is an empty array. A record represents a created workspace only when its status is succeeded and it includes workspace_id.
{
"code": "OK",
"msg": "OK",
"data": {
"creations": [
{
"id": "creation_01",
"name": "Analytics workspace",
"status": "succeeded",
"workspace_id": "ws_01",
"created_at": "2026-08-28T09:00:00Z",
"updated_at": "2026-08-28T09:01:00Z"
}
]
}
}
Field |
Type |
Description |
|---|---|---|
|
string |
|
|
string |
|
|
array of object |
Creation tasks for the current identity. |
|
string |
Workspace-creation task ID. |
|
string |
Name of the workspace to create. |
|
string |
Task status: |
|
string |
Created workspace ID. Omitted if creation has not succeeded. |
|
string |
Error code when creation fails. Omitted otherwise. |
|
string |
Task creation time. |
|
string |
Task update time. |
Error response¶
{
"code": "ErrServer",
"msg": "Internal server error",
"data": null
}
Field |
Type |
Description |
|---|---|---|
|
string |
Error code. |
|
string |
Human-readable error message. |
|
null |
|
Next steps¶
For a successful task that returned workspace_id, list workspaces to confirm that the workspace is accessible.