Query runtime task details

Query the current status of a runtime task.

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

Shell
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

workspace_id

string

Yes

Read the workspace ID of the task.

task_id

string

Yes

Runtime task 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.

When a parameter with the same name is submitted repeatedly, this interface reads the first value.

Successful response

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

data.id

string

Runtime task ID.

data.workspace_id

string

The workspace ID to which it belongs.

data.agent_workspace_id

string

agent source workspace. Current workspace or system, not limited when filtering is omitted.

data.agent_id

string

agent ID.

data.context_id

string

Context ID.

data.state

string

Current running status. Status changes are subject to the current reading results. Values: submitted, queued, working, input_required, auth_required, completed, failed, canceled, rejected, cancel_requested, reconciling.

data.a2a_state

string

A2A task status. Values: submitted, working, input-required, auth-required, completed, failed, canceled, rejected.

data.manifest_id

string

Runtime manifest identifier.

data.provider

string

Provider.

data.runtime_provider

string

Run the provider.

data.runtime_profile

string

Run configuration.

data.runtime_facade

string

Run the entry.

data.backend_implementation

string

Backend implementation.

data.backend_selection_policy

string

Backend selection strategy.

data.tool_mode

string

Tool mode.

data.trace_id

string

TraceID。

data.event_cursor

integer

Event cursor.

data.turn_input_snapshot_id

string

Enter the snapshot ID. Returns if present.

data.turn_output_snapshot_id

string

Output snapshot ID. Returns if present.

data.turn_output_committed

boolean

Whether the output of this round has been submitted.

data.input_summary

string

Enter a summary.

data.summary

string

Summary.

data.output_parts

array of object

Output fragments.

data.artifact_refs

array of object

Product reference.

data.instruction

object

Task instructions.

data.model_config

object

Model configuration.

data.skills

array of object

Skill set.

data.tools

array of object

Tool collection.

data.tools[].id

string

logo.

data.tools[].name

string

Name.

data.tools[].kind

string

category.

data.tools[].description

string

Description.

data.tools[].side_effect_class

string

Side Effect Category. Values: read, write, external_effect.

data.tools[].input_schema

object

Input field structure.

data.tools[].output_schema

object

Output field structure.

data.tools[].metadata

object

Extended metadata.

data.tools[].credential_ref

string

Credentials reference.

data.knowledge_bases

array of object

knowledge base reference.

data.knowledge_bases[].id

string

logo.

data.knowledge_bases[].name

string

Name.

data.knowledge_bases[].description

string

Description.

data.knowledge_bases[].metadata

object

Extended metadata.

data.knowledge_bases[].catalog_asset_refs

array of object

Catalog asset reference.

data.attempt

object

Number of attempts.

data.attempt.snapshot_id

string

Snapshot ID.

data.attempt.attempt

integer

Number of attempts.

data.attempt.turn_index

integer

Interaction round number.

data.attempt.kind

string

category. Values: turn_input, turn_output, mcp_source_candidates, provider_run_terminal, provider_run_successor, provider_start_delivery_ack, astra_recovery_dispatch.

data.attempt.regenerate

boolean

Whether to regenerate.

data.attempt.retry_of_task_id

string

The task ID to be retried.

data.attempt.same_manifest

boolean

Whether to use the same run manifest.

data.error

object

error message.

data.created_at

string

Creation time. RFC 3339 time.

data.updated_at

string

Update time. RFC 3339 time.

data.error.code

string

code.

data.error.reason_display

object

Readable reason.

data.error.reason_display.i18n_key

string

Multilingual description key.

data.error.reason_display.default_text

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.

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

Field

Type

Description

code

integer

error code.

message

string

Error message for the caller.

Last updated on