Query automation task running details¶
Read the current status and generated output of an automated task running record.
GET $CLOUDSIGMA_API_BASE/workspaces/{workspace_id}/agent-automation-runs/{run_id}
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 to run the record ID, personal access token that can access the target workspace, and the target workspace ID.
Request parameters¶
Replace $WORKSPACE_ID, $RUN_ID, $CLOUDSIGMA_API_KEY in the example with actual values.
curl "$CLOUDSIGMA_API_BASE/workspaces/$WORKSPACE_ID/agent-automation-runs/$RUN_ID" \
-H "X-API-Key: $CLOUDSIGMA_API_KEY" \
-H "X-Workspace-ID: $WORKSPACE_ID"
Parameter |
Type |
Required |
Description |
|---|---|---|---|
|
string |
Yes |
workspace ID. |
|
string |
Yes |
Run record ID. |
Successful response¶
{
"code": 0,
"data": {
"id": "run_01",
"workspace_id": "ws_01",
"automation_task_id": "task_01",
"automation_task_version": 1,
"trigger_type": "manual",
"trigger_config_snapshot": {
"mode": "cron"
},
"status": "running",
"created_at": "2026-08-21T07:00:00Z",
"updated_at": "2026-08-21T07:00:00Z"
}
}
Field |
Type |
Description |
|---|---|---|
|
string |
Run, workspace and automation task identification. |
|
string |
Run, workspace and automation task identification. |
|
string |
Run, workspace and automation task identification. |
|
integer |
Create the version of the task used by this runtime. |
|
string |
This trigger type and trigger configuration snapshot. Values: |
|
object |
This trigger type and trigger configuration snapshot. |
|
string |
processing mode. Values: |
|
string |
Cron expressions. |
|
string |
How to handle results. |
|
string |
Service name. |
|
object or null |
Input field structure. |
|
object or null |
Configuration. |
|
string |
Running status. Values: |
|
string |
The final text, structured output, and artifact citations produced. Does not return if not generated. |
|
object or null |
The final text, structured output, and artifact citations produced. Does not return if not generated. |
|
string |
Output verification status. Values: |
|
string |
Output verification errors. |
|
array of object |
The final text, structured output, and artifact citations produced. Does not return if not generated. |
|
string |
type. |
|
string |
logo. |
|
string |
File URI. |
|
string |
Name. |
|
string |
Media type. |
|
object or null |
Extended metadata. |
|
object or null |
Failure details. It can be returned when the operation fails. |
|
string |
Runtime point, using RFC 3339 format. This field is not returned when the corresponding stage has not been reached. |
|
string |
Runtime point, using RFC 3339 format. This field is not returned when the corresponding stage has not been reached. |
|
string |
Runtime point, using RFC 3339 format. This field is not returned when the corresponding stage has not been reached. |
|
string |
Runtime point, using RFC 3339 format. This field is not returned when the corresponding stage has not been reached. |
After the operation enters the final state, Query the automation task running result. When process information is needed Query the automation task running event.
Error response¶
{
"code": 3,
"message": "<错误信息>"
}
Common HTTP errors
HTTP status code |
error code |
Description |
|---|---|---|
|
|
The path parameter is invalid. Recommendation: Check the workspace and run ID. |
|
|
Valid identity credentials are missing. Recommendation: Check the API Key. |
|
|
The running record does not exist. Suggestion: Query the running list first. |
|
|
The automated task service is unavailable. Suggestion: Try again later. |