Query runtime provider Profile

Query the configuration (Profile) of a runtime environment provider.

HTTP
GET $CLOUDSIGMA_API_BASE/workspaces/{workspace_id}/agent-runtime-providers/{provider_id}/profiles/{profile_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

Shell
curl "$CLOUDSIGMA_API_BASE/workspaces/$WORKSPACE_ID/agent-runtime-providers/$PROVIDER_ID/profiles/$PROFILE_ID" -H "X-API-Key: $CLOUDSIGMA_API_KEY" -H "X-Workspace-ID: $WORKSPACE_ID"

Field

Type

Required

Description

workspace_id

string

Yes

View the workspace ID of the scope.

provider_id

string

Yes

Runtime provider ID.

profile_id

string

Yes

Provider Profile ID.

Successful response

JSON
{
  "code": 0,
  "data": {
    "provider_id": "astra",
    "profile_id": "default",
    "display_name": "Astra Default",
    "description": "默认运行环境",
    "runtime_available": true,
    "status": "",
    "adapter_status": "",
    "capabilities": {
      "a2a_profile": "",
      "streaming_mode": "",
      "cancel_mode": "",
      "tool_mode": ""
    }
  }
}

Field

Type

Description

code

integer

success code.

data

object

The data returned by this operation.

data.provider_id

string

Runtime provider ID.

data.profile_id

string

Profile ID。

data.display_name

string

Profile display name.

data.description

string

Profile description.

data.status

string

Profile status.

data.adapter_status

string

Adapter status.

data.runtime_available

boolean

Whether it is currently available for running.

data.development_only

boolean

Whether it is for development use only.

data.capabilities

object

Supported streaming, cancellation, tool and file capabilities.

data.capabilities.a2a_profile

string

A2A configuration.

data.capabilities.streaming_mode

string

Streaming mode.

data.capabilities.cancel_mode

string

Cancellation method.

data.capabilities.task_snapshot_mode

string

Task snapshot mode.

data.capabilities.workspace_mode

string

workspace mode.

data.capabilities.external_network

string

External network capabilities.

data.capabilities.checkpoint_mode

string

Checkpoint mode.

data.capabilities.secondary_auth_mode

string

Secondary authorization mode.

data.capabilities.input_request_mode

string

Enter request mode.

data.capabilities.guardrail_mode

string

Guardrail mode.

data.capabilities.trace_mode

string

Tracking mode.

data.capabilities.artifact_mode

string

Product model.

data.capabilities.permission_model

string

Permission model.

data.capabilities.tool_mode

string

Tool calling mode.

data.capabilities.file_input

boolean

File input capabilities.

data.capabilities.state_transition_history

boolean

State change history capability.

data.capabilities.native_code_execution

boolean

Native code execution capabilities.

data.capabilities.native_file_edit

boolean

Native file editing capabilities.

data.capabilities.native_shell

boolean

Native shell capabilities.

data.capabilities.handoff

boolean

Task handover capabilities.

data.capabilities.native_tool_policy

array of string or null

Native tool strategy.

data.config_schema

object

Configuration structure. The returned object allows extended keys when present.

data.reason

string

The reason why Profile is currently unavailable. Returned when diagnostic information is available.

Error response

JSON
{
  "code": 3,
  "message": "runtime provider not found"
}

Field

Type

Description

code

integer

error code.

message

string

Error message for the caller.

HTTP status code

error code

Description

Common HTTP errors

HTTP status

Error code

Common cause

Recommended action

400

2

Invalid request field, workspace, or operation precondition.

Fix the request parameters and submit again.

403

5

The current identity or active role does not have permission for this operation.

Use an authorized identity or contact an administrator to grant access.

404

3

The target object or required reference was not found.

Verify the object identifier, workspace, and current status.

503

15

A business, runtime, or authorization dependency is temporarily unavailable.

After the dependency recovers, check existing results first instead of blindly repeating writes.

Last updated on