Query runtime task details¶
Query the current status of a runtime task.
GET $CLOUDSIGMA_API_BASE/workspaces/{workspace_id}/agent-runtime-tasks/{task_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 a personal access token and target workspace ID that can access the target workspace.
Request parameters¶
Replace $WORKSPACE_ID, $TASK_ID, $CLOUDSIGMA_API_KEY in the example with actual values.
curl "$CLOUDSIGMA_API_BASE/workspaces/$WORKSPACE_ID/agent-runtime-tasks/$TASK_ID" -H "X-API-Key: $CLOUDSIGMA_API_KEY" -H "X-Workspace-ID: $WORKSPACE_ID"
Parameter |
Type |
Required |
Description |
|---|---|---|---|
|
string |
Yes |
Read the workspace ID of the task. |
|
string |
Yes |
Runtime task ID. |
Query parameters
Parameter |
Type |
Required |
Description |
|---|---|---|---|
|
string |
No |
agent ID. |
|
string |
No |
Current workspace or system. When omitted, the agent source is not limited. |
When agent_id or agent_workspace_id is omitted, the agent source is not limited according to the corresponding conditions. When filling in agent_workspace_id, only the current workspace or system is accepted, and null values cannot be passed.
When a parameter with the same name is submitted repeatedly, this interface reads the first value.
Successful response¶
{
"code": 0,
"data": {
"id": "task_01",
"workspace_id": "",
"agent_id": "",
"context_id": "",
"state": "submitted",
"a2a_state": "submitted",
"manifest_id": "",
"provider": "",
"event_cursor": 0,
"created_at": "2026-08-21T07:00:00Z",
"updated_at": "2026-08-21T07:00:00Z"
}
}
Field |
Type |
Description |
|---|---|---|
|
string |
Runtime task ID. |
|
string |
The workspace ID to which it belongs. |
|
string |
agent source workspace. Current workspace or system, not limited when filtering is omitted. |
|
string |
agent ID. |
|
string |
Context ID. |
|
string |
Current running status. Status changes are subject to the current reading results. Values: |
|
string |
A2A task status. Values: |
|
string |
Runtime manifest identifier. |
|
string |
Provider. |
|
string |
Run the provider. |
|
string |
Run configuration. |
|
string |
Run the entry. |
|
string |
Backend implementation. |
|
string |
Backend selection strategy. |
|
string |
Tool mode. |
|
string |
TraceID。 |
|
integer |
Event cursor. |
|
string |
Enter the snapshot ID. Returns if present. |
|
string |
Output snapshot ID. Returns if present. |
|
boolean |
Whether the output of this round has been submitted. |
|
string |
Enter a summary. |
|
string |
Summary. |
|
array of object |
Output fragments. |
|
array of object |
Product reference. |
|
object |
Task instructions. |
|
object |
Model configuration. |
|
array of object |
Skill set. |
|
array of object |
Tool collection. |
|
string |
logo. |
|
string |
Name. |
|
string |
category. |
|
string |
Description. |
|
string |
Side Effect Category. Values: |
|
object |
Input field structure. |
|
object |
Output field structure. |
|
object |
Extended metadata. |
|
string |
Credentials reference. |
|
array of object |
knowledge base reference. |
|
string |
logo. |
|
string |
Name. |
|
string |
Description. |
|
object |
Extended metadata. |
|
array of object |
Catalog asset reference. |
|
object |
Number of attempts. |
|
string |
Snapshot ID. |
|
integer |
Number of attempts. |
|
integer |
Interaction round number. |
|
string |
category. Values: |
|
boolean |
Whether to regenerate. |
|
string |
The task ID to be retried. |
|
boolean |
Whether to use the same run manifest. |
|
object |
error message. |
|
string |
Creation time. RFC 3339 time. |
|
string |
Update time. RFC 3339 time. |
|
string |
code. |
|
object |
Readable reason. |
|
string |
Multilingual description key. |
|
string |
Default description text. |
Error response¶
When the target does not exist or does not match the specified agent source, HTTP 404 is returned and the error code is 3. Permission denied returns HTTP 403 with error code 5. The error envelope of the identity authentication layer is different from the business error envelope of this interface.
{
"code": 3,
"message": "task not found"
}
Field |
Type |
Description |
|---|---|---|
|
integer |
error code. |
|
string |
Error message for the caller. |