List workspace-creation tasks¶
View workspace creation tasks submitted by the current identity that have not yet been completed or have been completed recently.
GET $CLOUDSIGMA_API_BASE/workspaces/creations
Before you call¶
Configure the CloudSigma regional endpoint and authentication before calling. The endpoint, credentials, workspace, and resource IDs must belong to the same region. Prepare personal access token.
Request parameters¶
Replace $CLOUDSIGMA_API_KEY with the actual value.
curl "$CLOUDSIGMA_API_BASE/workspaces/creations" \
-H "X-API-Key: $CLOUDSIGMA_API_KEY"
X-API-Key in the request header passes in the personal access token.
Successful response¶
{
"code": "OK",
"msg": "OK",
"data": {
"creations": [
{
"id": "creation_01",
"name": "分析工作区",
"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 |
The creation task of the current identity. |
|
string |
Create a task ID. |
|
string |
The name of the workspace to be created. |
|
string |
Task status: |
|
string |
Created workspace ID. Omit if it has not been successfully created. |
|
string |
Error code on failure. Omitted if not failed. |
|
string |
Task creation time. |
|
string |
Task update time. |
|
string |
Description of failure reason. Omitted if not set. |
Error response¶
{
"code": "ErrServer",
"msg": "服务器内部错误",
"data": null
}
Field |
Type |
Description |
|---|---|---|
|
string |
error code. |
|
string |
Readable error message. |
|
null |
The error response is |