Query runtime provider Profile¶
Query the configuration (Profile) of a runtime environment provider.
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¶
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 |
|---|---|---|---|
|
string |
Yes |
View the workspace ID of the scope. |
|
string |
Yes |
Runtime provider ID. |
|
string |
Yes |
Provider Profile ID. |
Successful response¶
{
"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 |
|---|---|---|
|
integer |
success code. |
|
object |
The data returned by this operation. |
|
string |
Runtime provider ID. |
|
string |
Profile ID。 |
|
string |
Profile display name. |
|
string |
Profile description. |
|
string |
Profile status. |
|
string |
Adapter status. |
|
boolean |
Whether it is currently available for running. |
|
boolean |
Whether it is for development use only. |
|
object |
Supported streaming, cancellation, tool and file capabilities. |
|
string |
A2A configuration. |
|
string |
Streaming mode. |
|
string |
Cancellation method. |
|
string |
Task snapshot mode. |
|
string |
workspace mode. |
|
string |
External network capabilities. |
|
string |
Checkpoint mode. |
|
string |
Secondary authorization mode. |
|
string |
Enter request mode. |
|
string |
Guardrail mode. |
|
string |
Tracking mode. |
|
string |
Product model. |
|
string |
Permission model. |
|
string |
Tool calling mode. |
|
boolean |
File input capabilities. |
|
boolean |
State change history capability. |
|
boolean |
Native code execution capabilities. |
|
boolean |
Native file editing capabilities. |
|
boolean |
Native shell capabilities. |
|
boolean |
Task handover capabilities. |
|
array of string or null |
Native tool strategy. |
|
object |
Configuration structure. The returned object allows extended keys when present. |
|
string |
The reason why Profile is currently unavailable. Returned when diagnostic information is available. |
Error response¶
{
"code": 3,
"message": "runtime provider not found"
}
Field |
Type |
Description |
|---|---|---|
|
integer |
error code. |
|
string |
Error message for the caller. |
HTTP status code |
error code |
Description |
|---|
Common HTTP errors¶
HTTP status |
Error code |
Common cause |
Recommended action |
|---|---|---|---|
400 |
|
Invalid request field, workspace, or operation precondition. |
Fix the request parameters and submit again. |
403 |
|
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 |
|
The target object or required reference was not found. |
Verify the object identifier, workspace, and current status. |
503 |
|
A business, runtime, or authorization dependency is temporarily unavailable. |
After the dependency recovers, check existing results first instead of blindly repeating writes. |