Query runtime round snapshot

Query the specified runtime round snapshot.

HTTP
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.

Shell
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

workspace_id

string

Yes

Read the workspace ID of the snapshot.

snapshot_id

string

Yes

Round snapshot ID.

Query parameters

Parameter

Type

Required

Description

agent_id

string

No

agent ID.

agent_workspace_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

JSON
{
  "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

data.id

string

Round snapshot ID.

data.workspace_id

string

The workspace ID to which it belongs.

data.task_id

string

The associated runtime task ID.

data.context_id

string

Context ID.

data.kind

string

Snapshot type. Values: turn_input, turn_output, mcp_source_candidates, provider_run_terminal, provider_run_successor, provider_start_delivery_ack, astra_recovery_dispatch.

data.attempt

integer

Number of attempts.

data.turn_index

integer

Interaction round number.

data.manifest_id

string

Run manifest ID.

data.body

object

Request content.

data.committed

boolean

Whether the snapshot has been committed.

data.created_at

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.

JSON
{
  "code": 3,
  "message": "snapshot not found"
}

Field

Type

Description

code

integer

error code.

message

string

Error message for the caller.

Last updated on