Query runtime round snapshot¶
Query the specified runtime round snapshot.
GET $CLOUDSIGMA_API_BASE/workspaces/{workspace_id}/agent-runtime-turn-snapshots/{snapshot_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, $SNAPSHOT_ID, $CLOUDSIGMA_API_KEY in the example with actual values.
curl "$CLOUDSIGMA_API_BASE/workspaces/$WORKSPACE_ID/agent-runtime-turn-snapshots/$SNAPSHOT_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 snapshot. |
|
string |
Yes |
Round snapshot 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.
This interface does not accept duplicate agent source parameters.
Successful response¶
{
"code": 0,
"data": {
"id": "snapshot_01",
"workspace_id": "",
"task_id": "",
"context_id": "",
"kind": "turn_input",
"attempt": 0,
"turn_index": 0,
"manifest_id": "",
"committed": false,
"created_at": "2026-08-21T07:00:00Z"
}
}
Field |
Type |
Description |
|---|---|---|
|
string |
Round snapshot ID. |
|
string |
The workspace ID to which it belongs. |
|
string |
The associated runtime task ID. |
|
string |
Context ID. |
|
string |
Snapshot type. Values: |
|
integer |
Number of attempts. |
|
integer |
Interaction round number. |
|
string |
Run manifest ID. |
|
object |
Request content. |
|
boolean |
Whether the snapshot has been committed. |
|
string |
Creation time. RFC 3339 time. |
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": "snapshot not found"
}
Field |
Type |
Description |
|---|---|---|
|
integer |
error code. |
|
string |
Error message for the caller. |