summaryrefslogtreecommitdiff
path: root/data/en_us/agentrun/2025-09-10
diff options
context:
space:
mode:
authorZhineng Li <im@zhineng.li>2026-07-12 17:11:17 +0800
committerZhineng Li <im@zhineng.li>2026-07-12 17:11:17 +0800
commit1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634 (patch)
tree5f0857666365b7e40cdaa3733ebe1f3ba9e13c67 /data/en_us/agentrun/2025-09-10
parent7347bac4ab7e136157fc94777e6cf87ef9e08599 (diff)
downloadafterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.tar.gz
afterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.zip
update APIs 20260712
Diffstat (limited to 'data/en_us/agentrun/2025-09-10')
-rw-r--r--data/en_us/agentrun/2025-09-10/api-docs.php14065
1 files changed, 14063 insertions, 2 deletions
diff --git a/data/en_us/agentrun/2025-09-10/api-docs.php b/data/en_us/agentrun/2025-09-10/api-docs.php
index 19d0733..caa7dea 100644
--- a/data/en_us/agentrun/2025-09-10/api-docs.php
+++ b/data/en_us/agentrun/2025-09-10/api-docs.php
@@ -1,4 +1,14065 @@
<?php return [
- 'code' => 500,
- 'message' => 'server error',
+ 'version' => '1.0',
+ 'info' => ['style' => 'ROA', 'product' => 'AgentRun', 'version' => '2025-09-10'],
+ 'directories' => [
+ [
+ 'children' => ['DeleteFlowVersion', 'DeleteFlow', 'DeleteFlowEndpoint', 'ConvertFlowDSL', 'PublishFlowVersion', 'ListFlows', 'ListFlowVersions', 'ListFlowEndpoints', 'UpdateFlowEndpoint', 'UpdateFlowDraft', 'UpdateFlow', 'GetFlowVersion', 'GetFlowEndpoint', 'GetFlowDraft', 'GetFlow', 'CreateFlowEndpoint', 'CreateFlow'],
+ 'type' => 'directory',
+ 'title' => 'Flow orchestration',
+ ],
+ [
+ 'children' => ['CreateAgentRuntime', 'GetAgentRuntime', 'UpdateAgentRuntime', 'DeleteAgentRuntime', 'ListAgentRuntimes', 'CreateAgentRuntimeEndpoint', 'ListAgentRuntimeEndpoints', 'GetAgentRuntimeEndpoint', 'UpdateAgentRuntimeEndpoint', 'DeleteAgentRuntimeEndpoint', 'PublishRuntimeVersion', 'ListAgentRuntimeVersions'],
+ 'type' => 'directory',
+ 'title' => 'Agent runtime',
+ ],
+ [
+ 'children' => [
+ [
+ 'children' => ['CreateTemplate', 'GetTemplate', 'ListTemplates', 'UpdateTemplate', 'DeleteTemplate', 'StopTemplateMCP', 'ActivateTemplateMCP'],
+ 'type' => 'directory',
+ 'title' => 'Sandbox template management',
+ ],
+ [
+ 'children' => ['CreateSandbox', 'GetSandbox', 'ListSandboxes', 'StopSandbox', 'DeleteSandbox'],
+ 'type' => 'directory',
+ 'title' => 'Sandbox instance management',
+ ],
+ ],
+ 'type' => 'directory',
+ 'title' => 'Sandbox',
+ ],
+ [
+ 'children' => ['CreateModelService', 'UpdateModelService', 'GetModelService', 'DeleteModelService', 'ListModelServices', 'CreateModelProxy', 'UpdateModelProxy', 'GetModelProxy', 'DeleteModelProxy', 'ListModelProxies'],
+ 'type' => 'directory',
+ 'title' => 'Model management',
+ ],
+ [
+ 'children' => ['GetMemoryCollection', 'UpdateMemoryCollection', 'DeleteMemoryCollection', 'CreateMemoryCollection', 'ListMemoryCollections'],
+ 'type' => 'directory',
+ 'title' => 'Memory storage',
+ ],
+ [
+ 'children' => [
+ 'GetCredential', 'UpdateCredential', 'ListCredentials', 'CreateCredential', 'DeleteCredential', 'GetAccessToken', 'CreateKnowledgeBase', 'UpdateKnowledgeBase', 'DeleteKnowledgeBase', 'GetKnowledgeBase', 'ListKnowledgeBases', 'ListModelProviders', 'DeleteCustomDomain', 'ListCustomDomains', 'CreateCustomDomain', 'GetCustomDomain', 'UpdateCustomDomain', 'GetWorkspaceDiscoveryEndpoints', 'UpdateWorkspaceDiscoveryEndpoints', 'DeleteWorkspace',
+ 'UpdateWorkspace', 'ListWorkspaces', 'GetWorkspace', 'CreateWorkspace', 'UpdateTool', 'CreateTool', 'ListTools', 'GetTool', 'DeleteTool', 'ResumeSandbox', 'PauseSandbox', 'CreateIMBot', 'DeleteIMBot', 'GetIMBot', 'ListIMBots', 'UpdateIMBot',
+ ],
+ 'type' => 'directory',
+ 'title' => 'Other',
+ ],
+ [
+ 'children' => [
+ [
+ 'children' => ['CreateBrowser', 'ListBrowsers', 'GetBrowser', 'DeleteBrowser'],
+ 'type' => 'directory',
+ 'title' => 'Browser sandbox',
+ ],
+ [
+ 'children' => ['CreateCodeInterpreter', 'ListCodeInterpreters', 'GetCodeInterpreter', 'DeleteCodeInterpreter'],
+ 'type' => 'directory',
+ 'title' => 'Code interpreter',
+ ],
+ ],
+ 'type' => 'directory',
+ 'title' => 'Deprecated',
+ ],
+ ],
+ 'components' => [
+ 'schemas' => [
+ 'AccessDeniedDetail' => [
+ 'title' => '',
+ 'description' => 'RAM 明确拒绝时返回,结构与现网 403 无权限响应 accessDeniedDetail 对齐',
+ 'type' => 'object',
+ 'properties' => [
+ 'authAction' => ['description' => '被拒绝的 RAM action,如 agentrun:ListTemplates', 'type' => 'string', 'title' => '', 'example' => ''],
+ 'authPrincipalType' => ['description' => '鉴权主体类型,如 SubUser、AssumedRoleUser', 'type' => 'string', 'title' => '', 'example' => ''],
+ 'authPrincipalOwnerId' => ['description' => '鉴权主体所属账号 ID', 'type' => 'string', 'title' => '', 'example' => ''],
+ 'authPrincipalDisplayName' => ['description' => '鉴权主体展示名', 'type' => 'string', 'title' => '', 'example' => ''],
+ 'encodedDiagnosticInfo' => ['description' => 'Base64 编码的诊断信息,可用于 RAM 控制台自诊断', 'type' => 'string', 'title' => '', 'example' => ''],
+ 'noPermissionType' => ['description' => '无权限类型:ImplicitDeny 或 ExplicitDeny', 'type' => 'string', 'title' => '', 'example' => ''],
+ 'policyType' => ['description' => '策略类型,如 ResourceBasedPolicy、IdentityBasedPolicy', 'type' => 'string', 'title' => '', 'example' => ''],
+ ],
+ 'example' => '',
+ ],
+ 'AgentEndpointConfig' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'agentName' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'endpointName' => ['title' => '', 'description' => '端点名称', 'type' => 'string', 'example' => ''],
+ 'endpointUrl' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'customDomainUrl' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'AgentResource' => [
+ 'title' => '',
+ 'description' => '智能体资源的统一表示,可以是智能体运行时(AgentRuntime)或工作流(Flow)。使用 resourceType 字段区分资源类型,并通过 runtime 或 flow 字段获取完整的资源详细信息。',
+ 'type' => 'object',
+ 'properties' => [
+ 'resourceType' => [
+ 'title' => '',
+ 'description' => '资源类型标识符,用于区分资源是智能体运行时(AgentRuntime)还是工作流(Flow)',
+ 'type' => 'string',
+ 'example' => 'AgentRuntime',
+ 'enum' => ['AgentRuntime', 'Flow'],
+ ],
+ 'runtime' => ['title' => '', 'description' => '当 resourceType 为 AgentRuntime 时,此字段包含完整的智能体运行时对象,包括所有配置和状态信息;当 resourceType 为 Flow 时,此字段为空', '$ref' => '#/components/schemas/AgentRuntime', 'example' => ''],
+ 'flow' => ['title' => '', 'description' => '当 resourceType 为 Flow 时,此字段包含完整的工作流对象,包括所有配置和状态信息;当 resourceType 为 AgentRuntime 时,此字段为空', '$ref' => '#/components/schemas/Flow', 'example' => ''],
+ 'latestVersion' => [
+ 'title' => '',
+ 'description' => '资源的最新发布版本摘要,包含版本号、描述和创建时间。如果资源没有已发布版本,则此字段为空',
+ 'type' => 'object',
+ 'properties' => [
+ 'version' => ['title' => '', 'description' => '最新发布的版本号', 'type' => 'string', 'example' => '3'],
+ 'description' => ['title' => '', 'description' => '该版本的描述信息', 'type' => 'string', 'example' => '修复了消息处理的并发问题'],
+ 'createdAt' => ['title' => '', 'description' => '版本发布时间,采用ISO 8601格式', 'type' => 'string', 'example' => '2025-03-15T08:30:00Z'],
+ 'publisher' => ['title' => '', 'description' => '版本发布者(仅 AgentRuntime 类型资源返回)', 'type' => 'string', 'example' => 'admin'],
+ ],
+ 'example' => '',
+ ],
+ ],
+ 'example' => '',
+ ],
+ 'AgentRuntime' => [
+ 'title' => '',
+ 'description' => 'The detailed information about an agent runtime, including all configuration and status information of the runtime.',
+ 'type' => 'object',
+ 'properties' => [
+ 'agentRuntimeId' => ['title' => '', 'description' => 'The unique identifier of the agent runtime.', 'type' => 'string', 'example' => 'ar-1234567890abcdef'],
+ 'agentRuntimeName' => ['title' => '', 'description' => 'The name of the agent runtime, which is used to identify and distinguish different runtime instances.', 'type' => 'string', 'example' => 'my-agent-runtime'],
+ 'agentRuntimeArn' => ['title' => '', 'description' => 'The globally unique Alibaba Cloud Resource Name (ARN) of the agent runtime.', 'type' => 'string', 'example' => 'acs:agentrun:cn-hangzhou:1760720386195983:runtimes/7a1b6d39-9f8f-4ce2-b9c9-6db1b0b9e169'],
+ 'createdAt' => ['title' => '', 'description' => 'The time when the agent runtime was created, in ISO 8601 format.', 'type' => 'string', 'example' => '2025-01-10T10:30:00Z'],
+ 'status' => ['title' => '', 'description' => 'The current status of the agent runtime. Valid values: READY, CREATING, and FAILED.', 'type' => 'string', 'example' => 'READY'],
+ 'statusReason' => ['title' => '', 'description' => 'The reason for the current status, if applicable.', 'type' => 'string', 'example' => 'Runtime is ready for use'],
+ 'lastUpdatedAt' => ['title' => '', 'description' => 'The time when the agent runtime was last updated, in ISO 8601 format.', 'type' => 'string', 'example' => '2025-01-10T11:45:00Z'],
+ 'description' => ['title' => '', 'description' => 'The description of the agent runtime, which explains the purpose and functionality of the runtime.', 'type' => 'string', 'example' => 'AI agent runtime for customer service automation'],
+ 'executionRoleArn' => ['title' => '', 'description' => 'The ARN of the execution role that grants the agent runtime permissions to access cloud services.', 'type' => 'string', 'example' => 'acs:ram::1760720386195983:role/AgentRunExecutionRole'],
+ 'credentialName' => ['title' => '', 'description' => 'The name of the credential used to access the agent. This credential is used to authenticate requests when accessing the agent runtime.', 'type' => 'string', 'example' => 'my-credential'],
+ 'externalAgentEndpointUrl' => ['title' => '', 'description' => 'The endpoint URL of an externally registered agent, which is used to connect to an agent service deployed externally.', 'type' => 'string', 'example' => 'https://external-agent.example.com/api'],
+ 'agentRuntimeVersion' => ['title' => '', 'description' => 'The version number of the agent runtime, which is used for version management and rollback.', 'type' => 'string', 'example' => '1'],
+ 'artifactType' => [
+ 'title' => '',
+ 'description' => 'The deployment type of the agent runtime. Valid values: Code (code mode) and Container (container mode).',
+ 'type' => 'string',
+ 'enum' => ['Code', 'Container'],
+ 'example' => 'Code',
+ ],
+ 'codeConfiguration' => ['title' => '', 'description' => 'The code configuration when artifactType is set to Code.', '$ref' => '#/components/schemas/CodeConfiguration', 'example' => '{}'],
+ 'containerConfiguration' => ['title' => '', 'description' => 'The container configuration when artifactType is set to Container.', '$ref' => '#/components/schemas/ContainerConfiguration', 'example' => '{}'],
+ 'networkConfiguration' => ['title' => '', 'description' => 'The network configuration of the agent runtime.', '$ref' => '#/components/schemas/NetworkConfiguration', 'example' => '{}'],
+ 'protocolConfiguration' => ['title' => '', 'description' => 'The communication protocol configuration of the agent runtime.', '$ref' => '#/components/schemas/ProtocolConfiguration', 'example' => '{}'],
+ 'cpu' => ['title' => '', 'description' => 'The CPU resources allocated to the agent runtime, in number of cores.', 'type' => 'number', 'format' => 'float', 'example' => '2.0'],
+ 'memory' => ['title' => '', 'description' => 'The memory resources allocated to the agent runtime, in MB.', 'type' => 'integer', 'example' => '2048'],
+ 'diskSize' => ['title' => '', 'description' => 'The disk size.', 'type' => 'integer', 'example' => ''],
+ 'port' => ['title' => '', 'description' => 'The port number on which the agent runtime listens.', 'type' => 'integer', 'example' => '8080'],
+ 'sessionConcurrencyLimitPerInstance' => ['title' => '', 'description' => 'The maximum number of concurrent sessions allowed per runtime instance.', 'type' => 'integer', 'maximum' => '200', 'minimum' => '1', 'default' => '1', 'example' => '100'],
+ 'logConfiguration' => ['title' => '', 'description' => 'The Simple Log Service (SLS) configuration.', '$ref' => '#/components/schemas/LogConfiguration', 'example' => '{}'],
+ 'healthCheckConfiguration' => ['title' => '', 'description' => 'The health check configuration of the agent runtime, which is used to monitor the health status of runtime instances.', '$ref' => '#/components/schemas/HealthCheckConfiguration', 'example' => '{}'],
+ 'sessionIdleTimeoutSeconds' => ['title' => '', 'description' => 'The idle timeout period of a session, in seconds. After the instance has no session requests, it enters an idle state and is billed at the idle billing rate. After this timeout period elapses, the session automatically expires and can no longer be used.', 'type' => 'integer', 'format' => 'int32', 'example' => '3600'],
+ 'enableSessionIsolation' => ['title' => '', 'description' => 'Specifies whether to enable session isolation. If enabled, each session runs in an independent environment.', 'type' => 'boolean', 'example' => 'false'],
+ 'disableOndemand' => ['title' => '', 'description' => 'Specifies whether to disable on-demand elastic scaling. Default value: false. Set this parameter to true to disable on-demand elastic scaling.', 'type' => 'boolean', 'example' => 'false'],
+ 'disableSessionAffinity' => ['title' => '', 'description' => 'Specifies whether to disable session affinity. Default value: false, which indicates that session affinity is enabled by default. Set this parameter to true to disable session affinity.', 'type' => 'boolean', 'example' => 'false'],
+ 'sessionAffinityType' => [
+ 'title' => '',
+ 'description' => 'The session affinity mode. Valid values: NONE (session affinity is disabled), HEADER_FIELD (session affinity based on request headers), GENERATED_COOKIE (session affinity using cookies generated by Function Compute), and COOKIE (a compatibility alias that the server normalizes to GENERATED_COOKIE).',
+ 'type' => 'string',
+ 'example' => 'GENERATED_COOKIE',
+ 'enum' => ['NONE', 'HEADER_FIELD', 'GENERATED_COOKIE', 'COOKIE'],
+ ],
+ 'headerFieldName' => ['title' => '', 'description' => 'The name of the request header used for session affinity when sessionAffinityType is set to HEADER_FIELD.', 'type' => 'string', 'example' => 'x-agentrun-session-id', 'maxLength' => 128],
+ 'resourceGroupId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => '', 'deprecated' => true],
+ 'workspaceId' => ['title' => '', 'description' => 'The identifier of the workspace to which the agent runtime belongs, which is used for resource isolation and permission management.', 'type' => 'string', 'example' => 'ws-1234567890abcdef'],
+ 'nasConfig' => ['title' => '', 'description' => 'The Apsara File Storage NAS configuration, which is used to mount a NAS file system to the agent runtime.', 'example' => '{}', '$ref' => '#/components/schemas/NASConfig'],
+ 'ossMountConfig' => ['title' => '', 'description' => 'The Object Storage Service (OSS) mount configuration, which is used to mount an OSS bucket to the agent runtime.', 'example' => '{}', '$ref' => '#/components/schemas/OSSMountConfig'],
+ 'environmentVariables' => [
+ 'title' => '',
+ 'description' => 'The environment variable configuration of the agent runtime.',
+ 'type' => 'object',
+ 'additionalProperties' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'example' => 'ENV_VAR1=value1,ENV_VAR2=value2',
+ ],
+ 'systemTags' => [
+ 'title' => '',
+ 'description' => 'The system tags of the agent runtime, which are used for system-level resource categorization and management.',
+ 'type' => 'array',
+ 'items' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'example' => 'system-tag-1,system-tag-2',
+ ],
+ 'agentIdentityEnabled' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'agentIdentityConfig' => ['description' => '', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/RuntimeAgentIdentityConfig'],
+ 'edition' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'example' => '',
+ ],
+ 'AgentRuntimeEndpoint' => [
+ 'title' => '',
+ 'description' => 'Describes an agent runtime endpoint.',
+ 'type' => 'object',
+ 'properties' => [
+ 'agentRuntimeId' => ['title' => '', 'description' => 'The unique identifier of the agent runtime.', 'type' => 'string', 'example' => 'ar-1234567890abcdef'],
+ 'agentRuntimeEndpointId' => ['title' => '', 'description' => 'The unique identifier of the agent runtime endpoint.', 'type' => 'string', 'example' => 'are-1234567890abcdef'],
+ 'agentRuntimeEndpointArn' => ['title' => '', 'description' => 'The Alibaba Cloud Resource Name (ARN) of the agent runtime endpoint.', 'type' => 'string', 'example' => 'acs:agentrun:cn-hangzhou:1760720386195983:runtime-endpoints/e56d483c-db80-4116-9ec4-25f16f5facfd'],
+ 'agentRuntimeEndpointName' => ['title' => '', 'description' => 'The name of the agent runtime endpoint.', 'type' => 'string', 'example' => 'production-endpoint'],
+ 'description' => ['title' => '', 'description' => 'The description of the agent runtime endpoint.', 'type' => 'string', 'example' => 'Production endpoint for customer service agent'],
+ 'status' => ['title' => '', 'description' => 'The current status of the agent runtime endpoint.', 'type' => 'string', 'example' => 'ACTIVE'],
+ 'statusReason' => ['title' => '', 'description' => 'The reason for the current status of the endpoint.', 'type' => 'string', 'example' => 'Endpoint is active and ready'],
+ 'targetVersion' => ['title' => '', 'description' => 'The agent version that the endpoint targets.', 'type' => 'string', 'example' => 'LATEST'],
+ 'routingConfiguration' => ['title' => '', 'description' => 'The configuration for weight-based routing across multiple agent versions.', '$ref' => '#/components/schemas/RoutingConfiguration', 'example' => ''],
+ 'endpointPublicUrl' => ['title' => '', 'description' => 'The public access address for the agent runtime endpoint.', 'type' => 'string', 'example' => 'https://ar-1234567890abcdef.cn-hangzhou.agentrun.aliyuncs.com'],
+ 'disablePublicNetworkAccess' => ['title' => '', 'description' => 'If `true`, public access for this endpoint is disabled.', 'type' => 'boolean', 'example' => ''],
+ 'scalingStatus' => ['title' => '', 'description' => '端点的弹性伸缩状态,包括最小/目标/当前实例数及定时策略(复用 ScalingStatus)', '$ref' => '#/components/schemas/ScalingStatus', 'example' => ''],
+ ],
+ 'example' => '',
+ ],
+ 'AgentRuntimeEndpointResult' => [
+ 'title' => '',
+ 'description' => 'Unified result format for creating and retrieving agent runtime endpoints ',
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => ['title' => '', 'description' => 'SUCCESS indicates success. In case of failure, the corresponding error type is returned, such as ERR_BAD_REQUEST, ERR_VALIDATION_FAILED, or ERR_INTERNAL_SERVER_ERROR. ', 'type' => 'string', 'example' => ''],
+ 'requestId' => ['title' => '', 'description' => 'A unique request identifier used for troubleshooting ', 'type' => 'string', 'example' => ''],
+ 'data' => ['title' => '', 'description' => 'Detailed information about the agent runtime endpoint ', '$ref' => '#/components/schemas/AgentRuntimeEndpoint', 'example' => ''],
+ ],
+ 'example' => '',
+ ],
+ 'AgentRuntimeResult' => [
+ 'title' => '',
+ 'description' => 'A unified response object for creating and retrieving an agent runtime.',
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => ['title' => '', 'description' => 'Returns `SUCCESS` if the operation is successful; otherwise, returns an error code such as `ERR_BAD_REQUEST`, `ERR_VALIDATION_FAILED`, or `ERR_INTERNAL_SERVER_ERROR`.', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'requestId' => ['title' => '', 'description' => 'A unique request ID for issue tracking.', 'type' => 'string', 'example' => 'F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E'],
+ 'data' => ['title' => '', 'description' => 'Detailed information about the agent runtime.', '$ref' => '#/components/schemas/AgentRuntime', 'example' => '{}'],
+ ],
+ 'example' => '',
+ ],
+ 'AgentRuntimeVersion' => [
+ 'title' => '',
+ 'description' => 'Contains the properties of an agent runtime version.',
+ 'type' => 'object',
+ 'properties' => [
+ 'agentRuntimeArn' => ['title' => '', 'description' => 'The ARN of the agent runtime.', 'type' => 'string', 'example' => 'acs:agentrun:cn-hangzhou:1760720386195983:runtimes/7a1b6d39-9f8f-4ce2-b9c9-6db1b0b9e169'],
+ 'agentRuntimeId' => ['title' => '', 'description' => 'The ID of the agent runtime.', 'type' => 'string', 'example' => 'ar-1234567890abcdef'],
+ 'agentRuntimeName' => ['title' => '', 'description' => 'The name of the agent runtime.', 'type' => 'string', 'example' => 'my-agent-runtime'],
+ 'agentRuntimeVersion' => ['title' => '', 'description' => 'The version of the agent runtime.', 'type' => 'string', 'example' => 'LATEST'],
+ 'description' => ['title' => '', 'description' => 'The description of the agent runtime version.', 'type' => 'string', 'example' => 'Initial release with basic functionality'],
+ 'lastUpdatedAt' => ['title' => '', 'description' => 'The timestamp of the agent runtime version\'s last update.', 'type' => 'string', 'example' => '2025-01-10T10:30:00Z'],
+ ],
+ 'example' => '',
+ ],
+ 'AgentRuntimeVersionResult' => [
+ 'title' => '',
+ 'description' => 'Unified response format for creating and retrieving agent runtime versions ',
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => ['title' => '', 'description' => 'SUCCESS indicates success. In case of failure, the corresponding error type is returned, such as ERR_BAD_REQUEST, ERR_VALIDATION_FAILED, or ERR_INTERNAL_SERVER_ERROR. ', 'type' => 'string', 'example' => ''],
+ 'requestId' => ['title' => '', 'description' => 'A unique request identifier used for troubleshooting ', 'type' => 'string', 'example' => ''],
+ 'data' => ['title' => '', 'description' => 'Detailed information about the agent runtime version ', '$ref' => '#/components/schemas/AgentRuntimeVersion', 'example' => ''],
+ ],
+ 'example' => '',
+ ],
+ 'AiFallbackConfig' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'serviceConfigs' => [
+ 'type' => 'array',
+ 'items' => ['$ref' => '#/components/schemas/AiFallbackServiceConfig', 'description' => '', 'title' => '', 'example' => ''],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'AiFallbackServiceConfig' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'serviceId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'targetModelName' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'passThroughModelName' => ['type' => 'boolean', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'AiServiceConfig' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'provider' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'address' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'enableHealthCheck' => ['type' => 'boolean', 'description' => '', 'title' => '', 'example' => ''],
+ 'protocols' => [
+ 'type' => 'array',
+ 'items' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'apiKeys' => [
+ 'type' => 'array',
+ 'items' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'ApigLLMModel' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'modelId' => ['type' => 'string'],
+ 'tenantId' => ['type' => 'string'],
+ 'name' => ['type' => 'string'],
+ 'provider' => ['type' => 'string'],
+ 'type' => ['type' => 'string'],
+ 'address' => ['type' => 'string'],
+ 'apiKey' => ['type' => 'string'],
+ 'models' => ['type' => 'string'],
+ 'modelsWeight' => ['type' => 'string'],
+ 'desc' => ['type' => 'string'],
+ 'createdTime' => ['type' => 'string'],
+ 'updateTime' => ['type' => 'string'],
+ 'gatewayId' => ['type' => 'string'],
+ 'targetId' => ['type' => 'string'],
+ ],
+ ],
+ 'ArmsConfiguration' => [
+ 'title' => '',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [],
+ 'example' => '',
+ ],
+ 'AttachPolicyConfig' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'className' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'name' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'config' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'BatchEvaluateWorkspacePermissionsInput' => [
+ 'title' => '',
+ 'description' => '控制面前端批量鉴权探测入参;workspaceIds 与 actions 均不可为空数组;两者乘积不超过 200',
+ 'type' => 'object',
+ 'properties' => [
+ 'workspaceIds' => [
+ 'description' => 'Workspace 资源 ID 列表(UUID 字符串);顺序与响应 results 一致;上限 50 条',
+ 'type' => 'array',
+ 'items' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'required' => true,
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'actions' => [
+ 'description' => 'RAM List 类 action 列表;支持带 agentrun: 前缀或不带(服务端归一化);顺序与每条 permissions 一致;上限 20 条',
+ 'type' => 'array',
+ 'items' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'required' => true,
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'example' => '',
+ ],
+ 'BatchEvaluateWorkspacePermissionsOutput' => [
+ 'title' => '',
+ 'description' => '成功响应外层 data 字段;results 顺序与请求 workspaceIds 一致',
+ 'type' => 'object',
+ 'properties' => [
+ 'results' => [
+ 'description' => '各 workspace 的权限校验结果列表;顺序与请求 workspaceIds 一致',
+ 'type' => 'array',
+ 'items' => ['$ref' => '#/components/schemas/WorkspacePermissionEvaluateResult', 'description' => '', 'title' => '', 'example' => ''],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'example' => '',
+ ],
+ 'BatchEvaluateWorkspacePermissionsResult' => [
+ 'title' => '',
+ 'description' => '成功:code=OK,data 为 BatchEvaluateWorkspacePermissionsOutput;失败见统一错误 JSON(与 respond.go 一致)',
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => ['description' => 'OK 表示成功', 'type' => 'string', 'title' => '', 'example' => ''],
+ 'requestId' => ['description' => '与响应头 x-funagent-request-id 对应', 'type' => 'string', 'title' => '', 'example' => ''],
+ 'data' => ['$ref' => '#/components/schemas/BatchEvaluateWorkspacePermissionsOutput', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'example' => '',
+ ],
+ 'BoundConfiguration' => [
+ 'title' => '',
+ 'description' => '工具的绑定配置,定义工具与 HTTP 路径和方法的映射关系列表,用于实现工具的路由和调用。',
+ 'type' => 'object',
+ 'properties' => [
+ 'boundTools' => [
+ 'title' => '',
+ 'description' => '绑定的工具配置列表,每个配置项定义一个工具与特定 HTTP 路径和方法的绑定关系',
+ 'type' => 'array',
+ 'items' => ['$ref' => '#/components/schemas/BoundTool', 'description' => '', 'title' => '', 'example' => ''],
+ 'example' => '',
+ ],
+ ],
+ 'example' => '',
+ ],
+ 'BoundTool' => [
+ 'title' => '',
+ 'description' => '绑定工具配置,用于定义工具与特定 HTTP 路径和方法的绑定关系,实现工具的路由映射。',
+ 'type' => 'object',
+ 'properties' => [
+ 'toolName' => ['title' => '', 'description' => '要绑定的工具名称', 'type' => 'string', 'example' => 'my-tool'],
+ 'method' => [
+ 'title' => '',
+ 'description' => '绑定的 HTTP 请求方法,支持:GET、PUT、POST、PATCH、DELETE、OPTIONS',
+ 'type' => 'string',
+ 'deprecated' => true,
+ 'enumValueTitles' => ['GET' => 'GET 方法 - 用于获取资源', 'PUT' => 'PUT 方法 - 用于更新资源', 'POST' => 'POST 方法 - 用于创建资源', 'PATCH' => 'PATCH 方法 - 用于部分更新资源', 'DELETE' => 'DELETE 方法 - 用于删除资源', 'OPTIONS' => 'OPTIONS 方法 - 用于获取资源支持的方法'],
+ 'example' => 'POST',
+ 'enum' => ['GET', 'PUT', 'POST', 'PATCH', 'DELETE', 'OPTIONS'],
+ ],
+ 'path' => ['title' => '', 'description' => '绑定的 URL 路径,用于路由匹配', 'type' => 'string', 'deprecated' => true, 'example' => '/api/v1/tools'],
+ 'apis' => [
+ 'type' => 'array',
+ 'items' => ['$ref' => '#/components/schemas/BoundToolApi', 'description' => '', 'title' => '', 'example' => ''],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'example' => '',
+ ],
+ 'BoundToolApi' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'method' => [
+ 'type' => 'string',
+ 'enum' => ['GET', 'POST', 'DELETE', 'PUT', 'PATCH', 'OPTIONS'],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'path' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'Browser' => [
+ 'title' => '',
+ 'description' => 'The details of the browser resource.',
+ 'type' => 'object',
+ 'properties' => [
+ 'browserId' => ['title' => '', 'description' => 'The unique identifier of the browser.', 'type' => 'string', 'example' => 'browser-1234567890abcdef'],
+ 'browserName' => ['title' => '', 'description' => 'The name of the browser.', 'type' => 'string', 'example' => 'my-browser'],
+ 'description' => ['title' => '', 'description' => 'A user-defined description for the browser.', 'type' => 'string', 'example' => 'Web automation browser for testing'],
+ 'status' => [
+ 'title' => '',
+ 'description' => 'The current status of the browser.',
+ 'type' => 'string',
+ 'enum' => ['CREATING', 'CREATE_FAILED', 'READY', 'DELETING', 'DELETED', 'DELETE_FAILED'],
+ 'example' => 'READY',
+ ],
+ 'statusReason' => ['title' => '', 'description' => 'The reason for the current status, if any.', 'type' => 'string', 'example' => 'Browser is ready for use'],
+ 'createdAt' => ['title' => '', 'description' => 'The time the browser was created, in ISO 8601 format.', 'type' => 'string', 'example' => '2025-01-10T10:30:00Z'],
+ 'lastUpdatedAt' => ['title' => '', 'description' => 'The time the browser was last updated, in ISO 8601 format.', 'type' => 'string', 'example' => '2025-01-10T11:45:00Z'],
+ 'executionRoleArn' => ['title' => '', 'description' => 'The Alibaba Cloud Resource Name (ARN) of the execution role used by the browser.', 'type' => 'string', 'example' => 'acs:ram::1760720386195983:role/BrowserExecutionRole'],
+ 'networkConfiguration' => ['title' => '', 'description' => 'The network configuration for the browser.', '$ref' => '#/components/schemas/NetworkConfiguration', 'example' => ''],
+ 'recording' => ['title' => '', 'description' => 'The recording configuration for the browser.', '$ref' => '#/components/schemas/BrowserRecordingConfiguration', 'example' => ''],
+ 'memory' => ['title' => '', 'description' => 'The memory allocated to the browser, in megabytes (MB).', 'type' => 'integer', 'format' => 'int32', 'example' => '2048'],
+ 'credentialId' => ['title' => '', 'description' => 'The unique identifier for the credential associated with the browser.', 'type' => 'string', 'example' => 'cred-1234567890abcdef'],
+ 'cpu' => ['title' => '', 'description' => 'The number of CPU cores allocated to the browser.', 'type' => 'number', 'format' => 'float', 'example' => '2.0'],
+ 'tenantId' => ['title' => '', 'description' => 'The unique identifier of the tenant that owns the browser.', 'type' => 'string', 'example' => 'tenant-1234567890abcdef'],
+ ],
+ 'example' => '',
+ ],
+ 'BrowserAutomationStream' => [
+ 'title' => '浏览器自动化流',
+ 'description' => 'Represents a browser automation stream.',
+ 'type' => 'object',
+ 'properties' => [
+ 'streamEndpoint' => ['title' => '流端点', 'description' => 'The WebSocket URL for the stream endpoint.', 'type' => 'string', 'example' => 'wss://browser-automation.cn-hangzhou.agentrun.aliyuncs.com/stream/bs-1234567890abcdef'],
+ 'streamStatus' => ['title' => '流状态', 'description' => 'The status of the stream.', 'type' => 'string', 'example' => 'ACTIVE'],
+ ],
+ 'example' => '',
+ ],
+ 'BrowserLiveViewStream' => [
+ 'title' => '浏览器实时视图流',
+ 'description' => 'Contains connection details for the live view.',
+ 'type' => 'object',
+ 'properties' => [
+ 'streamEndpoint' => ['title' => '流端点', 'description' => 'The WebSocket (WSS) stream endpoint.', 'type' => 'string', 'example' => 'wss://browser-liveview.cn-hangzhou.agentrun.aliyuncs.com/stream/bs-1234567890abcdef'],
+ ],
+ 'example' => '',
+ ],
+ 'BrowserMetricsResult' => [
+ 'title' => '浏览器指标结果',
+ 'description' => 'A standard response structure for browser metrics.',
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => ['title' => '响应状态码', 'description' => 'The HTTP status code. A value of 200 indicates success.', 'type' => 'integer', 'example' => ''],
+ 'success' => ['title' => '请求是否成功', 'description' => 'Indicates whether the request completed successfully.', 'type' => 'boolean', 'example' => ''],
+ 'requestId' => ['title' => '请求ID', 'description' => 'A unique request ID used for issue tracking.', 'type' => 'string', 'example' => ''],
+ 'data' => ['title' => '指标数据', 'description' => 'Contains browser performance and runtime metrics.', 'type' => 'any', 'example' => ''],
+ ],
+ 'example' => '',
+ ],
+ 'BrowserOssLocation' => [
+ 'title' => '',
+ 'description' => 'The OSS storage location for browser output.',
+ 'type' => 'object',
+ 'properties' => [
+ 'bucket' => ['title' => '', 'description' => 'The name of the OSS bucket.', 'type' => 'string', 'example' => ''],
+ 'prefix' => ['title' => '', 'description' => 'The storage prefix within the bucket.', 'type' => 'string', 'example' => ''],
+ ],
+ 'example' => '',
+ ],
+ 'BrowserRecordingConfiguration' => [
+ 'title' => '',
+ 'description' => 'Browser recording configuration ',
+ 'type' => 'object',
+ 'properties' => [
+ 'enabled' => ['title' => '', 'description' => 'Is recording enabled ', 'type' => 'boolean', 'example' => ''],
+ 'ossLocation' => ['title' => '', 'description' => 'OSS storage location ', '$ref' => '#/components/schemas/BrowserOssLocation', 'example' => ''],
+ ],
+ 'example' => '',
+ ],
+ 'BrowserResult' => [
+ 'title' => '',
+ 'description' => 'A standard response object for browser creation and retrieval operations.',
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => ['title' => '', 'description' => 'The operation status code. `SUCCESS` indicates success. A failed operation returns an error code, such as `ERR_BAD_REQUEST`, `ERR_VALIDATION_FAILED`, or `ERR_INTERNAL_SERVER_ERROR`.', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'requestId' => ['title' => '', 'description' => 'The unique request identifier. Use it for troubleshooting.', 'type' => 'string', 'example' => 'F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E'],
+ 'data' => ['title' => '', 'description' => 'The returned browser object.', '$ref' => '#/components/schemas/Browser', 'example' => '{}'],
+ ],
+ 'example' => '',
+ ],
+ 'BrowserSession' => [
+ 'title' => '浏览器会话',
+ 'description' => 'Browser session ',
+ 'type' => 'object',
+ 'properties' => [
+ 'browserId' => ['title' => '浏览器ID', 'description' => 'Browser ID ', 'type' => 'string', 'example' => ''],
+ 'sessionId' => ['title' => '会话ID', 'description' => 'Session ID ', 'type' => 'string', 'example' => ''],
+ 'name' => ['title' => '会话名称', 'description' => 'Session name ', 'type' => 'string', 'example' => ''],
+ 'status' => [
+ 'title' => '状态',
+ 'description' => 'Status ',
+ 'type' => 'string',
+ 'enum' => ['READY', 'TERMINATED'],
+ 'example' => '',
+ ],
+ 'createdAt' => ['title' => '创建时间', 'description' => 'Creation Time ', 'type' => 'string', 'example' => ''],
+ 'lastUpdatedAt' => ['title' => '最后更新时间', 'description' => 'Update Time ', 'type' => 'string', 'example' => ''],
+ 'sessionTimeoutSeconds' => ['title' => '会话超时时间', 'description' => 'Session timeout (seconds) ', 'type' => 'integer', 'example' => ''],
+ 'sessionReplayartifactType' => ['title' => '会话回放制品类型', 'description' => 'Session replay artifact type ', 'type' => 'string', 'example' => ''],
+ 'viewPort' => ['title' => '视口配置', 'description' => 'Viewport configuration ', '$ref' => '#/components/schemas/BrowserViewPort', 'example' => ''],
+ 'streams' => ['title' => '流配置', 'description' => 'Stream configuration ', '$ref' => '#/components/schemas/BrowserStreams', 'example' => ''],
+ ],
+ 'example' => '',
+ ],
+ 'BrowserSessionConfig' => [
+ 'title' => '浏览器会话配置',
+ 'description' => 'Browser session configuration ',
+ 'type' => 'object',
+ 'properties' => [
+ 'initialUrl' => ['title' => '初始URL', 'description' => 'Initial URL ', 'type' => 'string', 'example' => ''],
+ 'viewport' => ['title' => '视口配置', 'description' => 'Viewport configuration ', '$ref' => '#/components/schemas/BrowserViewPort', 'example' => ''],
+ 'timeout' => ['title' => '超时时间(秒)', 'description' => 'Timeout (seconds) ', 'type' => 'integer', 'format' => 'int32', 'example' => ''],
+ ],
+ 'example' => '',
+ ],
+ 'BrowserSessionItem' => [
+ 'title' => '浏览器会话项',
+ 'description' => 'Browser session item ',
+ 'type' => 'object',
+ 'properties' => [
+ 'sessionId' => ['title' => '会话ID', 'description' => 'Session ID ', 'type' => 'string', 'example' => ''],
+ 'browserId' => ['title' => '浏览器ID', 'description' => 'Browser ID ', 'type' => 'string', 'example' => ''],
+ 'status' => ['title' => '状态', 'description' => 'Status ', 'type' => 'string', 'example' => ''],
+ 'createdAt' => ['title' => '创建时间', 'description' => 'Creation Time ', 'type' => 'string', 'example' => ''],
+ 'updatedAt' => ['title' => '更新时间', 'description' => 'Update Time ', 'type' => 'string', 'example' => ''],
+ ],
+ 'example' => '',
+ ],
+ 'BrowserSessionListOut' => [
+ 'title' => '',
+ 'description' => 'A paginated list of browser sessions.',
+ 'type' => 'object',
+ 'properties' => [
+ 'total' => ['title' => '', 'description' => 'The total number of sessions.', 'type' => 'integer', 'format' => 'int64', 'example' => '2'],
+ 'pageNumber' => ['title' => '', 'description' => 'The current page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'pageSize' => ['title' => '', 'description' => 'The number of sessions per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
+ 'items' => [
+ 'title' => '',
+ 'description' => 'An array of browser session objects.',
+ 'type' => 'array',
+ 'items' => ['description' => 'A browser session object.', '$ref' => '#/components/schemas/BrowserSessionOut', 'title' => '', 'example' => ''],
+ 'example' => '[]',
+ ],
+ ],
+ 'example' => '',
+ ],
+ 'BrowserSessionOut' => [
+ 'title' => '',
+ 'description' => 'Details of the browser session.',
+ 'type' => 'object',
+ 'properties' => [
+ 'sessionId' => ['title' => '', 'description' => 'The unique identifier for the session.', 'type' => 'string', 'required' => true, 'example' => 'bs-1234567890abcdef'],
+ 'browserId' => ['title' => '', 'description' => 'The unique identifier for the browser.', 'type' => 'string', 'example' => 'browser-1234567890abcdef'],
+ 'status' => ['title' => '', 'description' => 'The session status.', 'type' => 'string', 'example' => 'RUNNING'],
+ 'createdAt' => ['title' => '', 'description' => 'The time the session was created.', 'type' => 'string', 'example' => '2025-01-10T10:30:00Z'],
+ 'lastUpdatedAt' => ['title' => '', 'description' => 'The time the session was last updated.', 'type' => 'string', 'example' => '2025-01-10T11:45:00Z'],
+ 'browserName' => ['title' => '', 'description' => 'The browser name.', 'type' => 'string', 'example' => 'my-browser-session'],
+ 'sessionIdleTimeoutSeconds' => ['title' => '', 'description' => 'The session idle timeout, in seconds.', 'type' => 'integer', 'format' => 'int32', 'example' => '3600'],
+ ],
+ 'required' => true,
+ 'example' => '',
+ ],
+ 'BrowserSessionResult' => [
+ 'title' => '浏览器会话结果',
+ 'description' => 'Unified response format for creating and retrieving browser sessions ',
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => ['title' => '响应状态码', 'description' => 'HTTP status code. A value of 200 indicates success. ', 'type' => 'integer', 'example' => ''],
+ 'success' => ['title' => '请求是否成功', 'description' => 'true indicates that the request succeeded; false indicates that it failed ', 'type' => 'boolean', 'example' => ''],
+ 'requestId' => ['title' => '请求ID', 'description' => 'A unique request identifier used for troubleshooting ', 'type' => 'string', 'example' => ''],
+ 'data' => ['title' => '浏览器会话数据', 'description' => 'Detailed information about the browser session ', '$ref' => '#/components/schemas/BrowserSession', 'example' => ''],
+ ],
+ 'example' => '',
+ ],
+ 'BrowserStreams' => [
+ 'title' => '浏览器流',
+ 'description' => 'browser stream ',
+ 'type' => 'object',
+ 'properties' => [
+ 'automationStream' => ['title' => '自动化流', 'description' => 'automation stream ', '$ref' => '#/components/schemas/BrowserAutomationStream', 'example' => '{}'],
+ 'liveViewStream' => ['title' => '实时视图流', 'description' => 'real-time view stream ', '$ref' => '#/components/schemas/BrowserLiveViewStream', 'example' => '{}'],
+ ],
+ 'example' => '',
+ ],
+ 'BrowserViewPort' => [
+ 'title' => '浏览器视口',
+ 'description' => 'Specifies the dimensions of the browser viewport.',
+ 'type' => 'object',
+ 'properties' => [
+ 'height' => ['title' => '高度', 'description' => 'The height of the browser viewport in pixels.', 'type' => 'number', 'format' => 'double', 'example' => '1080'],
+ 'width' => ['title' => '宽度', 'description' => 'The width of the browser viewport in pixels.', 'type' => 'number', 'format' => 'double', 'example' => '1920'],
+ ],
+ 'example' => '',
+ ],
+ 'CAPConfig' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'name' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'functionName' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'templateId' => ['type' => 'integer', 'format' => 'int32', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'CertConfig' => [
+ 'title' => '',
+ 'description' => 'HTTPS证书的配置信息,包括证书名称、证书内容和私钥',
+ 'type' => 'object',
+ 'properties' => [
+ 'certName' => ['title' => '', 'description' => '证书的名称。支持字母、数字、下划线(_)和短划线(-),不能以数字和短划线(-)开头。长度范围为 1~128 个字符。', 'type' => 'string', 'maximum' => '128', 'minimum' => '1', 'example' => 'my-cert'],
+ 'certificate' => ['title' => '', 'description' => '证书,如果是证书链,则需要依次填写多个证书。', 'type' => 'string', 'example' => '-----BEGIN CERTIFICATE-----\\nxxxxx\\n-----END CERTIFICATE-----'],
+ 'privateKey' => ['title' => '', 'description' => '私钥。', 'type' => 'string', 'example' => '-----BEGIN RSA PRIVATE KEY-----\\nxxxxx\\n-----END RSA PRIVATE KEY-----'],
+ ],
+ 'example' => '',
+ ],
+ 'ChangeResourceGroupInput' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'resourceId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'newResourceGroupId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'resourceType' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'ChangeResourceGroupOutput' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'resourceId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'newResourceGroupId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'oldResourceGroupId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'CodeConfiguration' => [
+ 'title' => '',
+ 'description' => 'The code configuration for the function.',
+ 'type' => 'object',
+ 'properties' => [
+ 'zipFile' => ['title' => '', 'description' => 'The base64-encoded content of the agent\'s code package.', 'type' => 'string', 'example' => 'UEsDBAoAAAAAANF'],
+ 'ossBucketName' => ['title' => '', 'description' => 'The name of the OSS bucket that contains the function\'s code package.', 'type' => 'string', 'example' => 'my-agent-code-bucket'],
+ 'ossObjectName' => ['title' => '', 'description' => 'The name of the OSS object for the function\'s code package.', 'type' => 'string', 'example' => 'agent-code-v1.0.zip'],
+ 'checksum' => ['title' => '', 'description' => 'The CRC-64 checksum of the code package. If you provide `checksum`, Function Compute verifies that the code package\'s computed checksum matches this value.', 'type' => 'string', 'example' => '1234567890123456789'],
+ 'language' => [
+ 'title' => '',
+ 'description' => 'The programming language for the function\'s runtime, such as python3 or nodejs.',
+ 'type' => 'string',
+ 'enum' => ['python3.10', 'python3.12', 'nodejs18', 'nodejs20', 'nodejs22', 'java8', 'java11'],
+ 'example' => 'python3.12',
+ ],
+ 'command' => [
+ 'title' => '',
+ 'description' => 'The command and arguments to run in the runtime.',
+ 'type' => 'array',
+ 'items' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'example' => 'python,main.py',
+ ],
+ ],
+ 'example' => '',
+ ],
+ 'CodeInfo' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'ossBucketName' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'ossObjectName' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'CodeInterpreter' => [
+ 'title' => '',
+ 'description' => 'Contains all configuration and status information.',
+ 'type' => 'object',
+ 'properties' => [
+ 'codeInterpreterId' => ['title' => '', 'description' => 'The unique identifier for the CodeInterpreter.', 'type' => 'string', 'example' => 'ci-1234567890abcdef'],
+ 'codeInterpreterName' => ['title' => '', 'description' => 'A user-defined name for the CodeInterpreter instance.', 'type' => 'string', 'example' => 'my-code-interpreter'],
+ 'description' => ['title' => '', 'description' => 'The description of the CodeInterpreter.', 'type' => 'string', 'example' => 'Python code interpreter for data analysis'],
+ 'executionRoleArn' => ['title' => '', 'description' => 'The ARN of the execution role for this CodeInterpreter.', 'type' => 'string', 'example' => 'acs:ram::1760720386195983:role/CodeInterpreterExecutionRole'],
+ 'createdAt' => ['title' => '', 'description' => 'The creation timestamp for the CodeInterpreter, in ISO 8601 format.', 'type' => 'string', 'example' => '2025-01-10T10:30:00Z'],
+ 'lastUpdatedAt' => ['title' => '', 'description' => 'The last update timestamp for the CodeInterpreter, in ISO 8601 format.', 'type' => 'string', 'example' => '2025-01-10T11:45:00Z'],
+ 'status' => [
+ 'title' => '',
+ 'description' => 'The current status of the CodeInterpreter, such as READY or TERMINATED.',
+ 'type' => 'string',
+ 'enum' => ['READY', 'TERMINATED'],
+ 'example' => 'READY',
+ ],
+ 'statusReason' => ['title' => '', 'description' => 'The reason for the current status, if applicable.', 'type' => 'string', 'example' => 'Code interpreter is ready for use'],
+ 'networkConfiguration' => ['title' => '', 'description' => 'The network configuration for the CodeInterpreter.', '$ref' => '#/components/schemas/NetworkConfiguration', 'example' => ''],
+ 'memory' => ['title' => '', 'description' => 'The memory allocated to the instance, in MB.', 'type' => 'integer', 'format' => 'int32', 'example' => '2048'],
+ 'cpu' => ['title' => '', 'description' => 'The number of CPU cores allocated to the instance.', 'type' => 'number', 'format' => 'float', 'example' => '2.0'],
+ 'tenantId' => ['title' => '', 'description' => 'The unique identifier for the tenant.', 'type' => 'string', 'example' => 'tenant-1234567890abcdef'],
+ ],
+ 'example' => '',
+ ],
+ 'CodeInterpreterResult' => [
+ 'title' => '',
+ 'description' => 'The unified result format for creating and retrieving a code interpreter.',
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => ['title' => '', 'description' => 'The result code of the operation. A value of `SUCCESS` indicates success, while a failed operation returns an error type such as `ERR_BAD_REQUEST`, `ERR_VALIDATION_FAILED`, or `ERR_INTERNAL_SERVER_ERROR`.', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'requestId' => ['title' => '', 'description' => 'The unique request identifier, used for troubleshooting.', 'type' => 'string', 'example' => 'F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E'],
+ 'data' => ['title' => '', 'description' => 'Details about the code interpreter.', '$ref' => '#/components/schemas/CodeInterpreter', 'example' => '{}'],
+ ],
+ 'example' => '',
+ ],
+ 'CodeInterpreterSession' => [
+ 'title' => '代码解释器会话',
+ 'description' => 'Code interpreter session ',
+ 'type' => 'object',
+ 'properties' => [
+ 'id' => ['title' => 'ID', 'description' => 'ID', 'type' => 'string', 'example' => ''],
+ 'codeInterpreterId' => ['title' => '代码解释器ID', 'description' => 'Code Interpreter ID ', 'type' => 'string', 'example' => ''],
+ 'sessionId' => ['title' => '会话ID', 'description' => 'Session ID ', 'type' => 'string', 'example' => ''],
+ 'name' => ['title' => '会话名称', 'description' => 'Session Name ', 'type' => 'string', 'example' => ''],
+ 'description' => ['title' => '描述', 'description' => 'Description ', 'type' => 'string', 'example' => ''],
+ 'sessionTimeoutSeconds' => ['title' => '会话超时时间', 'description' => 'Session timeout (seconds) ', 'type' => 'integer', 'example' => ''],
+ 'execTargetUri' => ['title' => '执行目标URI', 'description' => 'Execution target URI ', 'type' => 'string', 'example' => ''],
+ 'status' => ['title' => '状态', 'description' => 'Status ', 'type' => 'string', 'example' => ''],
+ 'createdAt' => ['title' => '创建时间', 'description' => 'Creation Time ', 'type' => 'string', 'example' => ''],
+ 'endedAt' => ['title' => '结束时间', 'description' => 'End Time ', 'type' => 'string', 'example' => ''],
+ 'updatedAt' => ['title' => '更新时间', 'description' => 'Update Time ', 'type' => 'string', 'example' => ''],
+ 'interpreter' => ['title' => '解释器', 'description' => 'Interpreter ', '$ref' => '#/components/schemas/CodeInterpreter', 'example' => ''],
+ ],
+ 'example' => '',
+ ],
+ 'CodeInterpreterSessionConfig' => [
+ 'title' => '代码解释器会话配置',
+ 'description' => 'Configuration parameters for a code interpreter session.',
+ 'type' => 'object',
+ 'properties' => [
+ 'timeout' => ['title' => '超时时间(秒)', 'description' => 'The timeout for the session, in seconds.', 'type' => 'integer', 'format' => 'int32', 'example' => '3600'],
+ 'environment' => [
+ 'title' => '环境变量',
+ 'description' => 'The environment variables for the session, specified as key-value pairs.',
+ 'type' => 'object',
+ 'additionalProperties' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'example' => 'PYTHONPATH=/app,DEBUG=true',
+ ],
+ 'workingDirectory' => ['title' => '工作目录', 'description' => 'The working directory path for the session.', 'type' => 'string', 'example' => '/app'],
+ ],
+ 'example' => '',
+ ],
+ 'CodeInterpreterSessionItem' => [
+ 'title' => '代码解释器会话项',
+ 'description' => 'Code interpreter session item ',
+ 'type' => 'object',
+ 'properties' => [
+ 'sessionId' => ['title' => '会话ID', 'description' => 'Session ID ', 'type' => 'string', 'example' => ''],
+ 'codeInterpreterId' => ['title' => '代码解释器ID', 'description' => 'Code interpreter ID ', 'type' => 'string', 'example' => ''],
+ 'status' => ['title' => '状态', 'description' => 'Status ', 'type' => 'string', 'example' => ''],
+ 'createdAt' => ['title' => '创建时间', 'description' => 'Creation Time ', 'type' => 'string', 'example' => ''],
+ 'updatedAt' => ['title' => '更新时间', 'description' => 'Update Time ', 'type' => 'string', 'example' => ''],
+ ],
+ 'example' => '',
+ ],
+ 'CodeInterpreterSessionListOut' => [
+ 'title' => '',
+ 'description' => 'Represents a paginated list of Code Interpreter session objects.',
+ 'type' => 'object',
+ 'properties' => [
+ 'total' => ['title' => '', 'description' => 'The total number of sessions.', 'type' => 'integer', 'format' => 'int64', 'example' => '100'],
+ 'pageNumber' => ['title' => '', 'description' => 'The page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'pageSize' => ['title' => '', 'description' => 'The number of sessions per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
+ 'items' => [
+ 'title' => '',
+ 'description' => 'A list of Code Interpreter session objects.',
+ 'type' => 'array',
+ 'items' => ['$ref' => '#/components/schemas/CodeInterpreterSessionOut', 'description' => '', 'title' => '', 'example' => ''],
+ 'example' => '[]',
+ ],
+ ],
+ 'example' => '',
+ ],
+ 'CodeInterpreterSessionOut' => [
+ 'title' => '',
+ 'description' => 'Details of the code interpreter session ',
+ 'type' => 'object',
+ 'properties' => [
+ 'sessionId' => ['title' => '', 'description' => 'The Unique Identifier of the code interpreter session ', 'type' => 'string', 'required' => true, 'example' => ''],
+ 'codeInterpreterId' => ['title' => '', 'description' => 'The Unique Identifier of the associated code interpreter ', 'type' => 'string', 'required' => true, 'example' => ''],
+ 'status' => ['title' => '', 'description' => 'The current status of the code interpreter session ', 'type' => 'string', 'required' => true, 'example' => ''],
+ 'createdAt' => ['title' => '', 'description' => 'The creation time of the code interpreter session, in ISO 8601 format ', 'type' => 'string', 'example' => ''],
+ 'lastUpdatedAt' => ['title' => '', 'description' => 'The last update time of the code interpreter session, in ISO 8601 format ', 'type' => 'string', 'example' => ''],
+ 'sessionIdleTimeoutSeconds' => ['title' => '', 'description' => 'The idle timeout duration of the code interpreter session, in seconds. After the instance receives no session requests, it enters an idle state, which is billed under the idle billing model. If the idle duration exceeds this timeout, the session automatically expires and can no longer be used. ', 'type' => 'integer', 'format' => 'int32', 'example' => ''],
+ 'codeInterpreterName' => ['title' => '', 'description' => 'The name of the code interpreter session ', 'type' => 'string', 'example' => ''],
+ ],
+ 'example' => '',
+ ],
+ 'CodeInterpreterSessionResult' => [
+ 'title' => '代码解释器会话结果',
+ 'description' => 'Unified result format for creating and retrieving code interpreter sessions ',
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => ['title' => '响应状态码', 'description' => 'HTTP status code. A value of 200 indicates success. ', 'type' => 'integer', 'example' => ''],
+ 'success' => ['title' => '请求是否成功', 'description' => 'true indicates that the request succeeded; false indicates failure ', 'type' => 'boolean', 'example' => ''],
+ 'requestId' => ['title' => '请求ID', 'description' => 'A unique request identifier used for troubleshooting ', 'type' => 'string', 'example' => ''],
+ 'data' => ['title' => '代码解释器会话数据', 'description' => 'Detailed information about the code interpreter session ', '$ref' => '#/components/schemas/CodeInterpreterSession', 'example' => ''],
+ ],
+ 'example' => '',
+ ],
+ 'CodeInterpreterSessionSummary' => [
+ 'title' => '代码解释器会话摘要',
+ 'description' => 'Code Interpreter Session Summary ',
+ 'type' => 'object',
+ 'properties' => [
+ 'codeInterpreterId' => ['title' => '代码解释器ID', 'description' => 'Code Interpreter ID ', 'type' => 'string', 'example' => ''],
+ 'sessionId' => ['title' => '会话ID', 'description' => 'Session ID ', 'type' => 'string', 'example' => ''],
+ 'name' => ['title' => '会话名称', 'description' => 'Session Name ', 'type' => 'string', 'example' => ''],
+ 'createdAt' => ['title' => '创建时间', 'description' => 'Creation Time ', 'type' => 'string', 'example' => ''],
+ 'status' => [
+ 'title' => '状态',
+ 'description' => 'Status ',
+ 'type' => 'string',
+ 'enum' => ['READY', 'TERMINATED'],
+ 'example' => '',
+ ],
+ ],
+ 'example' => '',
+ ],
+ 'CommonResult' => [
+ 'title' => '',
+ 'description' => 'The unified result format for API responses.',
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => ['title' => '', 'description' => 'Indicates the request status. A value of `SUCCESS` indicates success. On failure, an error code is returned, such as `ERR_BAD_REQUEST`, `ERR_VALIDATION_FAILED`, or `ERR_INTERNAL_SERVER_ERROR`.', 'type' => 'string', 'example' => ''],
+ 'requestId' => ['title' => '', 'description' => 'A unique request identifier for issue tracking.', 'type' => 'string', 'example' => ''],
+ 'data' => ['title' => '', 'description' => 'The returned business data.', 'type' => 'any', 'example' => ''],
+ ],
+ 'example' => '',
+ ],
+ 'ConsumerAPIKey' => [
+ 'title' => '',
+ 'description' => 'A consumer API key for authenticating requests with the AI Gateway.',
+ 'type' => 'object',
+ 'properties' => [
+ 'consumerApiKeyId' => ['title' => '', 'description' => 'The unique identifier of the consumer API key.', 'type' => 'string', 'example' => '12345678-1234-1234-1234-123456789abc'],
+ 'maskedKey' => ['title' => '', 'description' => 'The masked API key, showing only the first and last few characters.', 'type' => 'string', 'example' => 'sk-****1234'],
+ 'modelConnectionId' => ['title' => '', 'description' => 'The identifier of the associated model connection.', 'type' => 'string', 'example' => 'mc-1234567890abcdef'],
+ 'description' => ['title' => '', 'description' => 'A user-defined description for the consumer API key.', 'type' => 'string', 'example' => '用于生产环境的API密钥'],
+ 'active' => ['title' => '', 'description' => 'Specifies if the key is enabled (true) or disabled (false).', 'type' => 'boolean', 'example' => 'true'],
+ 'createdAt' => ['title' => '', 'description' => 'The creation time of the consumer API key, in ISO 8601 format.', 'type' => 'string', 'example' => '2025-01-10T10:30:00Z'],
+ 'lastUpdatedAt' => ['title' => '', 'description' => 'The last update time of the consumer API key, in ISO 8601 format.', 'type' => 'string', 'example' => '2025-01-10T11:45:00Z'],
+ ],
+ 'example' => '',
+ ],
+ 'ConsumerAPIKeyResult' => [
+ 'title' => '',
+ 'description' => 'The unified result for retrieving, updating, or deleting a consumer API key.',
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => ['title' => '', 'description' => '`SUCCESS` indicates that the request was successful. If the request fails, this field returns an error type, such as `ERR_BAD_REQUEST`, `ERR_VALIDATION_FAILED`, or `ERR_INTERNAL_SERVER_ERROR`.', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'requestId' => ['title' => '', 'description' => 'A unique request ID for troubleshooting.', 'type' => 'string', 'example' => 'F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E'],
+ 'data' => ['title' => '', 'description' => 'Details of the consumer API key.', 'example' => '{}', '$ref' => '#/components/schemas/ConsumerAPIKey'],
+ ],
+ 'example' => '',
+ ],
+ 'ContainerConfiguration' => [
+ 'title' => '',
+ 'description' => 'Specifies the container configuration.',
+ 'type' => 'object',
+ 'properties' => [
+ 'image' => ['title' => '', 'description' => 'The container image URI.', 'type' => 'string', 'example' => 'registry.cn-hangzhou.aliyuncs.com/my-namespace/agent-runtime:latest'],
+ 'imageRegistryType' => [
+ 'title' => '',
+ 'description' => 'The source of the container image. Valid values: ACR (Alibaba Cloud Container Registry), ACREE (Alibaba Cloud Container Registry Enterprise Edition), and CUSTOM (a custom image repository).',
+ 'type' => 'string',
+ 'example' => 'ACR',
+ 'enum' => ['ACR', 'ACREE', 'CUSTOM'],
+ ],
+ 'acrInstanceId' => ['title' => '', 'description' => 'The instance ID or name of Alibaba Cloud Container Registry (ACR).', 'type' => 'string', 'example' => 'cri-xxxxx'],
+ 'command' => [
+ 'title' => '',
+ 'description' => 'The sandbox entrypoint command. For example: \\[\'python3\', \'app.py\'].',
+ 'type' => 'array',
+ 'items' => ['description' => 'An element of the entrypoint command.', 'type' => 'string', 'title' => '', 'example' => '/usr/local/bin/entrypoint.sh'],
+ 'example' => 'python3,app.py',
+ ],
+ 'registryConfig' => ['title' => '', 'description' => '自定义镜像仓库的配置信息,当imageRegistryType为CUSTOM时使用', 'example' => '{}', '$ref' => '#/components/schemas/RegistryConfig'],
+ 'port' => ['description' => 'The listening port for the sandbox runtime.', 'type' => 'integer', 'title' => '', 'example' => '5000', 'format' => 'int32'],
+ ],
+ 'example' => '',
+ ],
+ 'ConvertFlowDSLData' => [
+ 'title' => '',
+ 'description' => '工作流DSL转换的业务数据,包含转换后的Flow配置、兼容性分析和插件信息',
+ 'type' => 'object',
+ 'properties' => [
+ 'flow' => [
+ 'title' => '',
+ 'description' => '转换后的AgentRun Flow配置信息',
+ 'type' => 'object',
+ 'properties' => [
+ 'flowName' => ['title' => '', 'description' => '转换后的工作流名称', 'type' => 'string', 'required' => true, 'example' => 'dify-flow'],
+ 'description' => ['title' => '', 'description' => '工作流的描述信息', 'type' => 'string', 'example' => 'Converted from external workflow'],
+ 'definition' => ['title' => '', 'description' => '工作流的FnF State Machine定义(YAML格式)', 'type' => 'string', 'required' => true, 'example' => ''],
+ 'environmentConfiguration' => ['title' => '', 'description' => '工作流的环境变量配置', '$ref' => '#/components/schemas/EnvironmentConfiguration', 'example' => ''],
+ ],
+ 'required' => true,
+ 'example' => '',
+ ],
+ 'conversionPlan' => [
+ 'title' => '',
+ 'description' => 'DSL兼容性分析和转换计划',
+ 'type' => 'object',
+ 'properties' => [
+ 'summary' => [
+ 'title' => '',
+ 'description' => '节点兼容性统计摘要',
+ 'type' => 'object',
+ 'properties' => [
+ 'totalNodes' => ['title' => '', 'description' => 'Dify DSL中的总节点数', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '10'],
+ 'compatibleNodes' => ['title' => '', 'description' => '完全兼容的节点数', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '7'],
+ 'nodesNeedConfig' => ['title' => '', 'description' => '需要手动配置的节点数', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '2'],
+ 'nodesNeedConversion' => ['title' => '', 'description' => '需要特殊转换处理的节点数', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '0'],
+ 'unsupportedNodes' => ['title' => '', 'description' => '不支持的节点数', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'],
+ ],
+ 'required' => true,
+ 'example' => '',
+ ],
+ 'issues' => [
+ 'title' => '',
+ 'description' => '节点兼容性问题详情',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'nodeId' => ['title' => '', 'description' => 'Dify DSL中的节点标识符', 'type' => 'string', 'required' => true, 'example' => '1760514991682'],
+ 'nodeType' => ['title' => '', 'description' => '节点类型', 'type' => 'string', 'required' => true, 'example' => 'tool'],
+ 'nodeTitle' => ['title' => '', 'description' => '节点显示名称', 'type' => 'string', 'example' => 'Google Search'],
+ 'level' => ['title' => '', 'description' => '问题严重程度:info, warning, error', 'type' => 'string', 'required' => true, 'example' => 'warning'],
+ 'issueType' => ['title' => '', 'description' => '问题类型:needs_config, needs_conversion, unsupported', 'type' => 'string', 'required' => true, 'example' => 'needs_config'],
+ 'description' => ['title' => '', 'description' => '问题描述', 'type' => 'string', 'required' => true, 'example' => 'Tool node requires Toolset installation'],
+ 'suggestion' => ['title' => '', 'description' => '解决建议', 'type' => 'string', 'example' => 'Install Toolset \'google\' before using this flow'],
+ 'details' => [
+ 'title' => '',
+ 'description' => '问题的详细信息(JSON对象)',
+ 'type' => 'object',
+ 'additionalProperties' => ['type' => 'any', 'description' => '', 'title' => '', 'example' => ''],
+ 'example' => '',
+ ],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'example' => '',
+ ],
+ ],
+ 'example' => '',
+ ],
+ 'toolsetInstallations' => [
+ 'title' => '',
+ 'description' => '需要安装的Toolset配置列表',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'name' => ['title' => '', 'description' => 'Toolset名称', 'type' => 'string', 'required' => true, 'example' => 'google'],
+ 'description' => ['title' => '', 'description' => 'Toolset描述', 'type' => 'string', 'example' => 'Google Search Plugin'],
+ 'spec' => [
+ 'title' => '',
+ 'description' => 'Toolset规格配置(JSON对象)',
+ 'type' => 'object',
+ 'required' => true,
+ 'additionalProperties' => ['type' => 'any', 'description' => '', 'title' => '', 'example' => ''],
+ 'example' => '',
+ ],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'example' => '',
+ ],
+ 'pluginErrors' => [
+ 'title' => '',
+ 'description' => '插件识别或转换过程中的错误信息',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'nodeId' => ['title' => '', 'description' => '相关节点的标识符', 'type' => 'string', 'example' => '1760514996015'],
+ 'providerName' => ['title' => '', 'description' => '插件提供商名称', 'type' => 'string', 'required' => true, 'example' => 'langgenius'],
+ 'toolName' => ['title' => '', 'description' => '工具名称', 'type' => 'string', 'example' => 'google_search'],
+ 'reason' => ['title' => '', 'description' => '错误原因描述', 'type' => 'string', 'required' => true, 'example' => 'Plugin not found in marketplace'],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'example' => '',
+ ],
+ ],
+ 'example' => '',
+ ],
+ 'ConvertFlowDSLInput' => [
+ 'title' => '',
+ 'description' => '工作流DSL转换所需的输入参数,支持多种DSL格式(如Dify、n8n等),包含DSL来源和转换选项',
+ 'type' => 'object',
+ 'properties' => [
+ 'dslSource' => [
+ 'title' => '',
+ 'description' => '工作流DSL的来源配置,支持inline和base64两种格式',
+ 'type' => 'object',
+ 'properties' => [
+ 'provider' => ['title' => '', 'description' => '源DSL的提供商类型,如:dify、n8n、zapier等', 'type' => 'string', 'required' => true, 'example' => 'dify'],
+ 'content' => ['title' => '', 'description' => 'DSL内容,可以是原始JSON字符串,或根据encoding字段指定的编码格式', 'type' => 'string', 'required' => true, 'example' => '{"app":{"name":"My Flow"}}'],
+ 'encoding' => ['title' => '', 'description' => 'DSL内容的编码方式。不填表示内容为原始字符串;base64表示内容经过Base64编码;base64+gzip表示内容经过gzip压缩后再Base64编码', 'type' => 'string', 'example' => 'base64'],
+ ],
+ 'required' => true,
+ 'example' => '',
+ ],
+ 'options' => [
+ 'title' => '',
+ 'description' => 'DSL转换的可选配置参数',
+ 'type' => 'object',
+ 'properties' => [
+ 'compatibilityCheck' => ['title' => '', 'description' => '是否执行兼容性检查,默认为true', 'type' => 'boolean', 'example' => 'true'],
+ 'credentialName' => ['title' => '', 'description' => '调用方指定的 AgentRun 凭证资源名称。转换后会替换模型相关节点访问凭证', 'type' => 'string', 'example' => ''],
+ 'vpcEndpointName' => ['title' => '', 'description' => '全局VPC端点名称,对所有节点统一生效。如果指定了vpcEndpoints映射,则映射中的节点优先使用映射值', 'type' => 'string', 'example' => ''],
+ 'vpcEndpoints' => [
+ 'title' => '',
+ 'description' => '按节点名称指定VPC端点,key为节点名称(stateName),value为该节点使用的VPC端点名称。优先级高于vpcEndpointName',
+ 'type' => 'object',
+ 'additionalProperties' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'example' => '{"LLM节点":"vpc-endpoint-1","Agent节点":"vpc-endpoint-2"}',
+ ],
+ 'flowName' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''],
+ ],
+ 'example' => '',
+ ],
+ ],
+ 'example' => '',
+ ],
+ 'ConvertFlowDSLResult' => [
+ 'title' => '',
+ 'description' => '工作流DSL转换操作的统一结果格式',
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => ['title' => '', 'description' => 'SUCCESS 为成功,失败情况返回对应错误类型,比如 ERR_BAD_REQUEST ERR_VALIDATION_FAILED ERR_INTERNAL_SERVER_ERROR', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'requestId' => ['title' => '', 'description' => '唯一的请求标识符,用于问题追踪', 'type' => 'string', 'example' => 'F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E'],
+ 'data' => ['title' => '', 'description' => '工作流DSL转换的详细结果数据', '$ref' => '#/components/schemas/ConvertFlowDSLData', 'example' => ''],
+ ],
+ 'example' => '',
+ ],
+ 'CreateAgentRuntimeEndpointInput' => [
+ 'title' => '',
+ 'description' => 'Specifies the parameters for creating an agent runtime endpoint.',
+ 'type' => 'object',
+ 'properties' => [
+ 'targetVersion' => ['title' => '', 'description' => 'The target version of the agent runtime.', 'type' => 'string', 'example' => 'LATEST'],
+ 'agentRuntimeEndpointName' => ['title' => '', 'description' => 'The name of the agent runtime endpoint.', 'type' => 'string', 'example' => 'production-endpoint'],
+ 'description' => ['title' => '', 'description' => 'The description of the agent runtime endpoint.', 'type' => 'string', 'example' => 'Production endpoint for customer service agent'],
+ 'routingConfiguration' => ['title' => '', 'description' => 'The routing configuration for the agent runtime endpoint. This configuration distributes traffic to multiple versions based on weights.', '$ref' => '#/components/schemas/RoutingConfiguration', 'example' => '{}'],
+ 'disablePublicNetworkAccess' => ['title' => '', 'description' => 'Specifies whether to disable public network access for the endpoint.', 'type' => 'boolean', 'example' => ''],
+ 'scalingConfig' => ['title' => '', 'description' => '端点的弹性伸缩配置,包括最小实例数和定时扩容策略(复用 ScalingConfig)', '$ref' => '#/components/schemas/ScalingConfig', 'example' => ''],
+ ],
+ 'example' => '',
+ ],
+ 'CreateAgentRuntimeInput' => [
+ 'title' => '',
+ 'description' => 'The input parameters required to create an agent runtime.',
+ 'type' => 'object',
+ 'properties' => [
+ 'agentRuntimeName' => ['description' => 'A unique name for the agent runtime.', 'type' => 'string', 'title' => '', 'required' => true, 'example' => 'my-agent-runtime'],
+ 'description' => ['description' => 'A description of the agent runtime.', 'type' => 'string', 'title' => '', 'example' => 'AI agent runtime for customer service automation'],
+ 'artifactType' => [
+ 'description' => 'The deployment type for the agent runtime. Valid values: Code and Container.',
+ 'type' => 'string',
+ 'title' => '',
+ 'required' => true,
+ 'enum' => ['Code', 'Container'],
+ 'example' => 'Code',
+ ],
+ 'codeConfiguration' => ['description' => 'The code configuration, including the code source and entrypoint. This parameter is required when artifactType is Code.', 'title' => '', '$ref' => '#/components/schemas/CodeConfiguration', 'example' => '{}'],
+ 'containerConfiguration' => ['description' => 'The container configuration, including the image URL and startup command. This parameter is required when artifactType is Container.', 'title' => '', '$ref' => '#/components/schemas/ContainerConfiguration', 'example' => '{}'],
+ 'credentialId' => ['description' => 'The ID of the credential used to authenticate with external services.', 'type' => 'string', 'title' => '', 'example' => 'cred-1234567890abcdef', 'deprecated' => true],
+ 'credentialName' => ['description' => 'The name of the credential used to access the agent runtime.', 'type' => 'string', 'title' => '', 'example' => 'my-credential'],
+ 'externalAgentEndpointUrl' => ['description' => 'The endpoint URL of an external agent service.', 'type' => 'string', 'title' => '', 'example' => 'https://external-agent.example.com/api'],
+ 'networkConfiguration' => ['description' => 'The network configuration for the agent runtime, including VPC and security group settings.', 'title' => '', 'required' => true, '$ref' => '#/components/schemas/NetworkConfiguration', 'example' => '{}'],
+ 'protocolConfiguration' => ['description' => 'The communication protocol configuration for the agent runtime.', 'title' => '', '$ref' => '#/components/schemas/ProtocolConfiguration', 'example' => '{}'],
+ 'executionRoleArn' => ['description' => 'The ARN of the execution role that the agent runtime uses to access cloud services.', 'type' => 'string', 'title' => '', 'example' => 'acs:ram::1760720386195983:role/AgentRunExecutionRole'],
+ 'cpu' => ['description' => 'The amount of CPU allocated to the agent runtime, in cores.', 'type' => 'number', 'title' => '', 'format' => 'float', 'required' => true, 'example' => '2.0'],
+ 'memory' => ['description' => 'The amount of memory allocated to the agent runtime, in MB.', 'type' => 'integer', 'title' => '', 'format' => 'int32', 'required' => true, 'example' => '2048'],
+ 'diskSize' => ['description' => 'The disk size allocated to the agent runtime.', 'type' => 'integer', 'title' => '', 'example' => '', 'format' => 'int32'],
+ 'port' => ['description' => 'The port on which the agent runtime listens for external requests.', 'type' => 'integer', 'title' => '', 'format' => 'int32', 'required' => true, 'example' => '8080'],
+ 'sessionConcurrencyLimitPerInstance' => ['description' => 'The maximum number of concurrent sessions allowed per runtime instance.', 'type' => 'integer', 'title' => '', 'format' => 'int32', 'maximum' => '200', 'minimum' => '1', 'example' => '100'],
+ 'logConfiguration' => ['description' => 'The Log Service configuration.', 'title' => '', '$ref' => '#/components/schemas/LogConfiguration', 'example' => '{}'],
+ 'sessionIdleTimeoutSeconds' => ['description' => 'The time in seconds that a session can remain idle before it expires and is terminated.', 'type' => 'integer', 'title' => '', 'format' => 'int32', 'example' => '3600'],
+ 'enableSessionIsolation' => ['description' => 'Specifies whether to enable session isolation. If enabled, each session runs in an isolated environment.', 'type' => 'boolean', 'title' => '', 'example' => 'false'],
+ 'disableOndemand' => ['description' => 'Specifies whether to disable on-demand elasticity. By default, on-demand elasticity is enabled.', 'type' => 'boolean', 'title' => '', 'example' => 'false'],
+ 'disableSessionAffinity' => ['description' => 'Specifies whether to disable session affinity. By default, session affinity is enabled.', 'type' => 'boolean', 'title' => '', 'example' => 'false'],
+ 'sessionAffinityType' => [
+ 'description' => 'The session affinity mode. NONE disables session affinity. HEADER\\_FIELD enables session affinity based on a request header. GENERATED\\_COOKIE uses a service-generated cookie to maintain session affinity. COOKIE is a compatibility alias that the server normalizes to GENERATED\\_COOKIE.',
+ 'type' => 'string',
+ 'title' => '',
+ 'example' => 'GENERATED_COOKIE',
+ 'enum' => ['NONE', 'HEADER_FIELD', 'GENERATED_COOKIE', 'COOKIE'],
+ ],
+ 'headerFieldName' => ['description' => 'The name of the request header used for session affinity when sessionAffinityType is HEADER\\_FIELD.', 'type' => 'string', 'title' => '', 'example' => 'x-agentrun-session-id', 'maxLength' => 128],
+ 'healthCheckConfiguration' => ['description' => 'The health check configuration for the agent runtime, used to monitor the health of its instances.', 'title' => '', '$ref' => '#/components/schemas/HealthCheckConfiguration', 'example' => '{}'],
+ 'resourceGroupId' => ['description' => 'The ID of the resource group for the agent runtime.', 'type' => 'string', 'title' => '', 'example' => '', 'deprecated' => true],
+ 'workspaceId' => ['description' => 'The ID of the workspace for the agent runtime, used for resource isolation and access control.', 'type' => 'string', 'title' => '', 'example' => 'ws-1234567890abcdef'],
+ 'nasConfig' => ['description' => 'The configuration for mounting a NAS file system to the agent runtime.', 'title' => '', 'example' => '{}', '$ref' => '#/components/schemas/NASConfig'],
+ 'ossMountConfig' => ['description' => 'The configuration for mounting an OSS bucket to the agent runtime.', 'title' => '', 'example' => '{}', '$ref' => '#/components/schemas/OSSMountConfig'],
+ 'agentIdentityEnabled' => ['type' => 'boolean', 'description' => '', 'title' => '', 'example' => ''],
+ 'agentIdentityConfig' => ['$ref' => '#/components/schemas/RuntimeAgentIdentityConfig', 'description' => '', 'title' => '', 'example' => ''],
+ 'environmentVariables' => [
+ 'title' => '',
+ 'description' => 'A key-value map of environment variables to set for the agent runtime.',
+ 'type' => 'object',
+ 'additionalProperties' => ['description' => 'The value of the environment variable.', 'type' => 'string', 'title' => '', 'example' => ''],
+ 'example' => 'ENV_VAR1=value1,ENV_VAR2=value2',
+ ],
+ 'systemTags' => [
+ 'title' => '',
+ 'description' => 'The system tags for the agent runtime, used for system-level resource classification and management.',
+ 'type' => 'array',
+ 'items' => ['description' => 'A system tag.', 'type' => 'string', 'title' => '', 'example' => ''],
+ 'example' => 'system-tag-1,system-tag-2',
+ ],
+ 'edition' => ['description' => 'The edition of the agent runtime.', 'type' => 'string', 'title' => '', 'example' => ''],
+ ],
+ 'example' => '',
+ ],
+ 'CreateAgentRuntimeVersionInput' => [
+ 'title' => '创建智能体运行时版本输入',
+ 'description' => 'The request parameters for creating an agent runtime version.',
+ 'type' => 'object',
+ 'properties' => [
+ 'description' => ['title' => '描述', 'description' => 'A description of the agent runtime version.', 'type' => 'string', 'example' => 'Version 1.0.0 release with new features'],
+ ],
+ 'example' => '',
+ ],
+ 'CreateApigLLMModelInput' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'name' => ['type' => 'string'],
+ 'provider' => ['type' => 'string'],
+ 'type' => ['type' => 'string'],
+ 'address' => ['type' => 'string'],
+ 'apiKey' => ['type' => 'string'],
+ 'desc' => ['type' => 'string'],
+ 'models' => [
+ 'type' => 'array',
+ 'items' => ['type' => 'string'],
+ ],
+ ],
+ ],
+ 'CreateBrowserInput' => [
+ 'title' => '',
+ 'description' => 'The input parameters for creating a browser instance.',
+ 'type' => 'object',
+ 'properties' => [
+ 'browserName' => ['title' => '', 'description' => 'The name of the browser.', 'type' => 'string', 'required' => true, 'example' => 'my-browser'],
+ 'description' => ['title' => '', 'description' => 'A description of the browser instance.', 'type' => 'string', 'example' => 'Web automation browser for testing'],
+ 'networkConfiguration' => ['title' => '', 'description' => 'The network configuration for the browser instance.', 'required' => true, '$ref' => '#/components/schemas/NetworkConfiguration', 'example' => ''],
+ 'executionRoleArn' => ['title' => '', 'description' => 'The ARN of the execution role.', 'type' => 'string', 'example' => 'acs:ram::1760720386195983:role/BrowserExecutionRole'],
+ 'memory' => ['title' => '', 'description' => 'The memory (in MB) to allocate to the browser instance.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'maximum' => '16384', 'minimum' => '1024', 'default' => '2048', 'example' => '2048'],
+ 'cpu' => ['title' => '', 'description' => 'The CPU cores to allocate to the browser instance.', 'type' => 'number', 'format' => 'float', 'required' => true, 'example' => '2.0'],
+ 'sessionIdleTimeoutSeconds' => ['title' => '', 'description' => 'The idle time in seconds before a session expires. When a session is idle, the instance enters an idle billing mode.', 'type' => 'integer', 'format' => 'int32', 'example' => '3600'],
+ 'credentialId' => ['title' => '', 'description' => 'The credential ID used for authentication.', 'type' => 'string', 'example' => 'cred-1234567890abcdef'],
+ ],
+ 'example' => '',
+ ],
+ 'CreateCodeInterpreterInput' => [
+ 'title' => '',
+ 'description' => 'The input parameters for creating a code interpreter.',
+ 'type' => 'object',
+ 'properties' => [
+ 'codeInterpreterName' => ['title' => '', 'description' => 'The name of the code interpreter. Use this to identify and distinguish code interpreter instances.', 'type' => 'string', 'required' => true, 'example' => 'my-code-interpreter'],
+ 'description' => ['title' => '', 'description' => 'A description of the code interpreter.', 'type' => 'string', 'example' => 'Python code interpreter for data analysis'],
+ 'networkConfiguration' => ['title' => '', 'description' => 'Specifies the network configuration for the code interpreter, including VPC and security group settings.', 'required' => true, '$ref' => '#/components/schemas/NetworkConfiguration', 'example' => '{}'],
+ 'memory' => ['title' => '', 'description' => 'The amount of memory to allocate, in megabytes (MB).', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'maximum' => '16384', 'minimum' => '128', 'default' => '1024', 'example' => '1024'],
+ 'executionRoleArn' => ['title' => '', 'description' => 'The Alibaba Cloud Resource Name (ARN) of the execution role for the code interpreter.', 'type' => 'string', 'example' => 'acs:ram::1760720386195983:role/CodeInterpreterExecutionRole'],
+ 'cpu' => ['title' => '', 'description' => 'The amount of CPU to allocate, in cores.', 'type' => 'number', 'format' => 'float', 'required' => true, 'maximum' => '16.0', 'minimum' => '2.0', 'example' => '2.0'],
+ 'sessionIdleTimeoutSeconds' => ['title' => '', 'description' => 'The idle timeout for a session, in seconds. If an instance has no new requests for this duration, its session expires and cannot be reused.', 'type' => 'integer', 'format' => 'int32', 'example' => '3600'],
+ 'credentialId' => ['title' => '', 'description' => 'The credential ID used for authentication.', 'type' => 'string', 'example' => 'cred-1234567890abcdef'],
+ ],
+ 'example' => '',
+ ],
+ 'CreateConsumerAPIKeyInput' => [
+ 'title' => '',
+ 'description' => 'Input parameters for creating a consumer API key.',
+ 'type' => 'object',
+ 'properties' => [
+ 'apiKey' => ['title' => '', 'description' => 'A custom API key. If omitted, the service generates one automatically.', 'type' => 'string', 'example' => 'sk-xxxxxxxxxxxxxxxxxxxx'],
+ 'modelConnectionId' => ['title' => '', 'description' => 'The identifier for the model connection.', 'type' => 'string', 'required' => true, 'example' => 'mc-1234567890abcdef'],
+ 'description' => ['title' => '', 'description' => 'A description for the consumer API key.', 'type' => 'string', 'example' => '用于生产环境的API密钥'],
+ ],
+ 'example' => '',
+ ],
+ 'CreateConsumerAPIKeyOutput' => [
+ 'title' => '',
+ 'description' => 'The output of a request to create a consumer API key. It includes the complete plaintext API key, which is returned only once.',
+ 'type' => 'object',
+ 'properties' => [
+ 'consumerApiKeyId' => ['title' => '', 'description' => 'The unique identifier of the consumer API key.', 'type' => 'string', 'example' => '12345678-1234-1234-1234-123456789abc'],
+ 'maskedKey' => ['title' => '', 'description' => 'A masked version of the API key for display purposes.', 'type' => 'string', 'example' => 'sk-****1234'],
+ 'modelConnectionId' => ['title' => '', 'description' => 'The associated model connection identifier.', 'type' => 'string', 'example' => 'mc-1234567890abcdef'],
+ 'description' => ['title' => '', 'description' => 'A description of the consumer API key.', 'type' => 'string', 'example' => '用于生产环境的API密钥'],
+ 'active' => ['title' => '', 'description' => 'Indicates whether the consumer API key is active.', 'type' => 'boolean', 'example' => 'true'],
+ 'apiKey' => ['title' => '', 'description' => 'The complete plaintext API key. This key is returned only upon creation and cannot be retrieved again. Store it securely.', 'type' => 'string', 'example' => 'sk-xxxxxxxxxxxxxxxxxxxx'],
+ 'createdAt' => ['title' => '', 'description' => 'The creation time, in ISO 8601 format.', 'type' => 'string', 'example' => '2025-01-10T10:30:00Z'],
+ 'lastUpdatedAt' => ['title' => '', 'description' => 'The last update time, in ISO 8601 format.', 'type' => 'string', 'example' => '2025-01-10T10:30:00Z'],
+ ],
+ 'example' => '',
+ ],
+ 'CreateConsumerAPIKeyResult' => [
+ 'title' => '',
+ 'description' => 'The result of creating a consumer API key, which includes the complete key (returned only once upon creation).',
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => ['title' => '', 'description' => '`SUCCESS` for a successful operation; otherwise, the corresponding error type.', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'requestId' => ['title' => '', 'description' => 'A unique request id for issue tracking.', 'type' => 'string', 'example' => 'F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E'],
+ 'data' => ['title' => '', 'description' => 'Details of the new consumer API key, including the complete key.', 'example' => '{}', '$ref' => '#/components/schemas/CreateConsumerAPIKeyOutput'],
+ ],
+ 'example' => '',
+ ],
+ 'CreateCredentialInput' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'credentialName' => ['type' => 'string', 'required' => true, 'description' => '', 'title' => '', 'example' => ''],
+ 'description' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'credentialAuthType' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'enum' => ['jwt', 'api_key', 'basic', 'ak_sk', 'custom_header'],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'credentialSourceType' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'enum' => ['external_llm', 'external_tool', 'internal'],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'credentialSecret' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'enabled' => ['type' => 'boolean', 'description' => '', 'title' => '', 'example' => ''],
+ 'credentialPublicConfig' => ['$ref' => '#/components/schemas/CredentialPublicConfig', 'description' => '', 'title' => '', 'example' => ''],
+ 'workspaceId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'CreateCredentialOutput' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'credentialId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'credentialName' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'description' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'credentialAuthType' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'credentialSourceType' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'enabled' => ['type' => 'boolean', 'description' => '', 'title' => '', 'example' => ''],
+ 'credentialSecret' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'credentialPublicConfig' => [
+ 'type' => 'object',
+ 'additionalProperties' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'createdAt' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'updatedAt' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'relatedResources' => [
+ 'type' => 'array',
+ 'items' => ['$ref' => '#/components/schemas/RelatedResource', 'description' => '', 'title' => '', 'example' => ''],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'CreateCustomDomainInput' => [
+ 'title' => '',
+ 'description' => '创建自定义域名所需的输入参数',
+ 'type' => 'object',
+ 'properties' => [
+ 'domainName' => ['title' => '', 'description' => '域名。填写已在阿里云备案或接入备案的自定义域名名称。', 'type' => 'string', 'required' => true, 'example' => 'example.com'],
+ 'description' => ['title' => '', 'description' => '描述', 'type' => 'string', 'example' => ''],
+ 'protocol' => [
+ 'title' => '',
+ 'description' => '域名支持的协议类型:● HTTP:仅支持 HTTP 协议。● HTTPS:仅支持 HTTPS 协议。● HTTP,HTTPS:支持 HTTP 及 HTTPS 协议。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'HTTP',
+ 'enum' => ['HTTP', 'HTTPS', 'HTTP,HTTPS'],
+ ],
+ 'routeConfig' => ['title' => '', 'description' => '路由表:自定义域名访问时的 PATH 到 资源 的映射。', 'example' => '{}', '$ref' => '#/components/schemas/RouteConfig'],
+ 'certConfig' => ['title' => '', 'description' => 'HTTPS 证书的信息。', 'example' => '{}', '$ref' => '#/components/schemas/CertConfig'],
+ 'tlsConfig' => ['title' => '', 'description' => 'TLS 配置信息。', 'example' => '{}', '$ref' => '#/components/schemas/TLSConfig'],
+ 'domainType' => [
+ 'type' => 'string',
+ 'enum' => ['STANDARD', 'SANDBOX'],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'example' => '',
+ ],
+ 'CreateDomainInput' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'name' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'protocol' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'certIdentifier' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'CreateFlowEndpointInput' => [
+ 'title' => '',
+ 'description' => 'The parameters for creating a flow endpoint.',
+ 'type' => 'object',
+ 'properties' => [
+ 'flowEndpointName' => ['title' => '', 'description' => 'The unique name of the flow endpoint.', 'type' => 'string', 'example' => 'my-flow-endpoint', 'required' => true],
+ 'description' => ['title' => '', 'description' => 'The description of the flow endpoint.', 'type' => 'string', 'example' => 'Production endpoint for flow'],
+ 'targetVersion' => ['title' => '', 'description' => 'The target version for the flow endpoint.', 'type' => 'string', 'example' => '1'],
+ 'routingConfiguration' => [
+ 'title' => '',
+ 'description' => 'The routing configuration that defines traffic distribution across different flow versions.',
+ 'type' => 'array',
+ 'items' => ['description' => '', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/FlowEndpointRoutingConfig'],
+ 'example' => '[]',
+ ],
+ 'disablePublicNetworkAccess' => ['title' => '', 'description' => 'Whether to disable public network access for the endpoint. If unspecified, the endpoint inherits this setting from its parent workflow.', 'type' => 'boolean', 'example' => ''],
+ ],
+ 'example' => '',
+ ],
+ 'CreateFlowInput' => [
+ 'title' => '',
+ 'description' => 'The input parameters required to create a workflow.',
+ 'type' => 'object',
+ 'properties' => [
+ 'flowName' => ['title' => '', 'description' => 'The unique name of the workflow, which is used to distinguish different workflow instances.', 'type' => 'string', 'example' => 'my-flow', 'required' => true],
+ 'description' => ['title' => '', 'description' => 'The description of the workflow, which explains the purpose and functionality of the workflow.', 'type' => 'string', 'example' => 'Customer service automation flow'],
+ 'definition' => ['title' => '', 'description' => 'The definition of the workflow in JSON or YAML format.', 'type' => 'string', 'example' => '{}'],
+ 'executionRoleArn' => ['title' => '', 'description' => 'The Alibaba Cloud Resource Name (ARN) of the execution role that grants the workflow permissions to access cloud services.', 'type' => 'string', 'example' => 'acs:ram::123456789012:role/FlowExecutionRole'],
+ 'environmentConfiguration' => ['title' => '', 'description' => 'The environment variable configuration of the workflow, which contains a list of named variables.', 'example' => '', '$ref' => '#/components/schemas/EnvironmentConfiguration'],
+ 'externalStorageLocation' => ['title' => '', 'description' => 'The external storage location of the workflow, such as an OSS path.', 'type' => 'string', 'example' => 'oss://bucket/path'],
+ 'resourceGroupId' => ['title' => '', 'description' => 'The ID of the resource group to which the workflow belongs.', 'type' => 'string', 'example' => 'rg-acfmxsn4m4a4b4a'],
+ 'tracingConfiguration' => ['title' => '', 'description' => 'The Tracing Analysis configuration of the workflow.', 'example' => '', '$ref' => '#/components/schemas/TracingConfiguration'],
+ 'loggingConfiguration' => ['title' => '', 'description' => 'The logging configuration of the workflow.', 'example' => '', '$ref' => '#/components/schemas/LoggingConfiguration'],
+ 'workspaceId' => ['title' => '', 'description' => 'The ID of the workspace to which the workflow belongs. This parameter is used for resource isolation and permission management.', 'type' => 'string', 'example' => 'ws-1234567890abcdef'],
+ 'disablePublicNetworkAccess' => ['title' => '', 'description' => 'Specifies whether to disable public network access for the workflow. This value serves as the default policy at the workflow level. If FlowEndpoint is not specified, this value is inherited.', 'type' => 'boolean', 'example' => ''],
+ ],
+ 'example' => '',
+ ],
+ 'CreateFunagentInput' => [
+ 'title' => '',
+ 'description' => '与 funagent-core `CreateFunAgentRequest` 一致,但 **不含** `version`(由 POP 后端/适配层填默认值或 core 侧策略决定)。除 `regionId` 外均为非指针值类型,`@required` 同 core 必填语义。`regionId` 可选(`omitempty`)。`vswitchIds` 为 JSON 数组字符串,必填。不含服务端字段:`funAgentId`、`status`、`tenantId`、`endpoint`、`imageUrl`。',
+ 'type' => 'object',
+ 'properties' => [
+ 'funAgentName' => ['title' => '', 'description' => '`string`,必填', 'type' => 'string', 'required' => true, 'example' => ''],
+ 'description' => ['title' => '', 'description' => '`string`,必填', 'type' => 'string', 'required' => true, 'example' => ''],
+ 'regionId' => ['title' => '', 'description' => '可选; `omitempty`', 'type' => 'string', 'example' => ''],
+ 'vpcId' => ['title' => '', 'description' => '`string`,必填', 'type' => 'string', 'required' => true, 'example' => ''],
+ 'vswitchIds' => ['title' => '', 'description' => '`string`,必填;JSON 数组 [{vswitchId, zoneId}](core 解码为 `*string` 但校验非空)', 'type' => 'string', 'required' => true, 'example' => ''],
+ 'securityGroupId' => ['title' => '', 'description' => '`string`,必填', 'type' => 'string', 'required' => true, 'example' => ''],
+ 'cpu' => ['title' => '', 'description' => '`float64`,必填', 'type' => 'number', 'format' => 'float', 'required' => true, 'example' => ''],
+ 'memory' => ['title' => '', 'description' => '`int32`,必填', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => ''],
+ 'replicas' => ['title' => '', 'description' => '`int32`,必填', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => ''],
+ 'adminName' => ['title' => '', 'description' => '`string`,必填', 'type' => 'string', 'required' => true, 'example' => ''],
+ 'adminSecret' => ['title' => '', 'description' => '`string`,必填', 'type' => 'string', 'required' => true, 'example' => ''],
+ 'dbType' => ['title' => '', 'description' => '`string`,必填', 'type' => 'string', 'required' => true, 'example' => ''],
+ 'dbName' => ['title' => '', 'description' => '`string`,必填', 'type' => 'string', 'required' => true, 'example' => ''],
+ 'dbInstanceId' => ['title' => '', 'description' => '`string`,必填', 'type' => 'string', 'required' => false, 'example' => ''],
+ 'dbHost' => ['title' => '', 'description' => '`string`,必填', 'type' => 'string', 'required' => true, 'example' => ''],
+ 'dbPort' => ['title' => '', 'description' => '`int32`,必填', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => ''],
+ 'dbUsername' => ['title' => '', 'description' => '`string`,必填', 'type' => 'string', 'required' => true, 'example' => ''],
+ 'dbPassword' => ['title' => '', 'description' => '`string`,必填', 'type' => 'string', 'required' => true, 'example' => ''],
+ 'dbConnections' => ['title' => '', 'description' => '`int32`,必填', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => ''],
+ ],
+ 'example' => '',
+ ],
+ 'CreateGatewayInput' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'name' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'type' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'identityId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'networkConfiguration' => ['$ref' => '#/components/schemas/GatewayNetworkConfiguration', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'CreateGatewayTargetInput' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'name' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'domainId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'targetConfiguration' => ['$ref' => '#/components/schemas/TargetConfiguration', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'CreateIMBotInput' => [
+ 'title' => '',
+ 'description' => '创建成功后状态恒为 running,请求体无 status;botMode 为 standard 时 metadata 必填且须通过标准运行时绑定校验',
+ 'type' => 'object',
+ 'properties' => [
+ 'botName' => ['type' => 'string', 'required' => true, 'maxLength' => 128, 'description' => '', 'title' => '', 'example' => ''],
+ 'botBizId' => ['type' => 'string', 'required' => true, 'maxLength' => 128, 'description' => '', 'title' => '', 'example' => ''],
+ 'botBizSecret' => ['type' => 'string', 'required' => true, 'maxLength' => 2048, 'description' => '', 'title' => '', 'example' => ''],
+ 'botBizType' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'enum' => ['dingtalk', 'wecom', 'feishu', 'custom'],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'botMode' => [
+ 'description' => 'standard、custom;不传时可能继承租户已有部署模式',
+ 'type' => 'string',
+ 'enum' => ['standard', 'custom'],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'minInstances' => ['description' => 'FC 最小实例数,≥ 1;与租户账号级配置相关', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => ''],
+ 'description' => ['description' => 'Bot 描述信息', 'type' => 'string', 'maxLength' => 512, 'title' => '', 'example' => ''],
+ 'metadata' => ['description' => 'botMode 为 standard 时条件必填;custom 模式不进行标准运行时绑定校验', '$ref' => '#/components/schemas/IMBotMetadata', 'title' => '', 'example' => ''],
+ ],
+ 'example' => '',
+ ],
+ 'CreateKnowledgeBaseInput' => [
+ 'title' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'knowledgeBaseName' => ['title' => '', 'type' => 'string', 'required' => true, 'description' => '', 'example' => ''],
+ 'description' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''],
+ 'provider' => ['title' => '', 'type' => 'string', 'required' => true, 'description' => '', 'example' => ''],
+ 'credentialName' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''],
+ 'providerSettings' => [
+ 'title' => '',
+ 'type' => 'object',
+ 'required' => true,
+ 'additionalProperties' => ['type' => 'any', 'description' => '', 'title' => '', 'example' => ''],
+ 'description' => '',
+ 'example' => '',
+ ],
+ 'retrieveSettings' => [
+ 'title' => '',
+ 'type' => 'object',
+ 'required' => false,
+ 'additionalProperties' => ['type' => 'any', 'description' => '', 'title' => '', 'example' => ''],
+ 'description' => '',
+ 'example' => '',
+ ],
+ 'workspaceId' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''],
+ ],
+ 'description' => '',
+ 'example' => '',
+ ],
+ 'CreateMemoryCollectionInput' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'memoryCollectionName' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'description' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'llmConfig' => ['$ref' => '#/components/schemas/LLMConfig', 'description' => '', 'title' => '', 'example' => ''],
+ 'embedderConfig' => ['$ref' => '#/components/schemas/EmbedderConfig', 'description' => '', 'title' => '', 'example' => ''],
+ 'vectorStoreConfig' => ['$ref' => '#/components/schemas/VectorStoreConfig', 'description' => '', 'title' => '', 'example' => ''],
+ 'networkConfiguration' => ['$ref' => '#/components/schemas/NetworkConfiguration', 'description' => '', 'title' => '', 'example' => ''],
+ 'type' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'executionRoleArn' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'enableConversationHistory' => ['type' => 'boolean', 'description' => '', 'title' => '', 'example' => ''],
+ 'enableConversationState' => ['type' => 'boolean', 'description' => '', 'title' => '', 'example' => ''],
+ 'workspaceId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'CreateModelConnectionInput' => [
+ 'title' => '',
+ 'description' => 'Parameters for creating a model connection.',
+ 'type' => 'object',
+ 'properties' => [
+ 'modelConnectionName' => ['title' => '', 'description' => 'A unique name for the model connection.', 'type' => 'string', 'example' => 'my-openai-connection', 'required' => true],
+ 'description' => ['title' => '', 'description' => 'A description of the model connection.', 'type' => 'string', 'example' => 'OpenAI GPT-4 connection for production'],
+ 'provider' => ['title' => '', 'description' => 'The model provider name.', 'type' => 'string', 'example' => 'openai', 'required' => true],
+ 'providerSettings' => ['title' => '', 'description' => 'Configuration settings for the model provider, such as the base URL and a list of models.', 'example' => '{}', 'required' => true, '$ref' => '#/components/schemas/ModelConnectionProviderSettings'],
+ 'workspaceId' => ['title' => '', 'description' => 'The ID of the workspace containing the model connection.', 'type' => 'string', 'example' => 'ws-1234567890abcdef'],
+ 'modelInfoConfigs' => [
+ 'title' => '',
+ 'description' => 'A list of model metadata configurations.',
+ 'type' => 'array',
+ 'items' => ['description' => '', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/ModelInfoConfig'],
+ 'example' => '',
+ ],
+ 'consumerApiKeys' => [
+ 'title' => '',
+ 'description' => 'A list of consumer API keys for the model connection. If this list is empty, the connection enters open mode.',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'apiKeyId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'value' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'example' => '',
+ ],
+ ],
+ 'example' => '',
+ ],
+ 'CreateModelInput' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'name' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'provider' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'type' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'address' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'apiKey' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'models' => [
+ 'type' => 'array',
+ 'items' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'desc' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'CreateModelProxyInput' => [
+ 'description' => 'Defines the parameters for creating a model proxy.',
+ 'type' => 'object',
+ 'properties' => [
+ 'modelProxyName' => ['description' => 'The unique name for the model proxy.', 'type' => 'string', 'required' => true, 'example' => 'modelProxyName', 'title' => ''],
+ 'description' => ['description' => 'Optional. A custom description for the model proxy.', 'type' => 'string', 'example' => '1', 'title' => ''],
+ 'modelType' => ['description' => 'The model type. Valid values:'."\n"
+ ."\n"
+ .'- `system`: Specifies a system model.'."\n"
+ ."\n"
+ .'- `deployment`: Specifies a custom deployment model.', 'type' => 'string', 'example' => 'system', 'title' => ''],
+ 'proxyMode' => ['description' => 'Specifies the operational mode of the proxy.', 'type' => 'string', 'required' => true, 'example' => 'proxyMode', 'title' => ''],
+ 'proxyConfig' => ['description' => 'The configuration settings for the proxy.', 'required' => true, '$ref' => '#/components/schemas/ProxyConfig', 'title' => '', 'example' => ''],
+ 'credentialName' => ['description' => 'The name of the credential for accessing the model service.', 'type' => 'string', 'example' => 'credentialName', 'title' => ''],
+ 'serviceRegionId' => ['description' => 'The ID of the region for the model service.', 'type' => 'string', 'example' => 'serviceRegionId', 'title' => ''],
+ 'litellmVersion' => ['description' => 'The version of LiteLLM for the proxy.', 'type' => 'string', 'example' => 'litellmVersion', 'title' => ''],
+ 'cpu' => ['description' => 'The number of CPU cores for the proxy.', 'type' => 'number', 'format' => 'float', 'required' => true, 'example' => '1', 'title' => ''],
+ 'memory' => ['description' => 'The memory size for the proxy, in GiB.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '31', 'title' => ''],
+ 'networkConfiguration' => ['description' => 'Specifies the network configuration for the proxy.', '$ref' => '#/components/schemas/NetworkConfiguration', 'title' => '', 'example' => ''],
+ 'logConfiguration' => ['description' => 'The Log Service (SLS) configuration for the Agent runtime.', '$ref' => '#/components/schemas/LogConfiguration', 'title' => '', 'example' => ''],
+ 'armsConfiguration' => ['description' => 'Specifies the configuration for Application Real-Time Monitoring Service (ARMS).', '$ref' => '#/components/schemas/ArmsConfiguration', 'title' => '', 'example' => ''],
+ 'executionRoleArn' => ['description' => 'The ARN of the execution role the service assumes to act on your behalf.', 'type' => 'string', 'example' => 'executionRoleArn', 'title' => ''],
+ 'workspaceId' => ['description' => 'The ID of the workspace that contains the model proxy.', 'type' => 'string', 'title' => '', 'example' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'CreateModelServiceInput' => [
+ 'description' => 'Input parameters for creating a model service.',
+ 'type' => 'object',
+ 'properties' => [
+ 'modelServiceName' => ['description' => 'The name of the model service.', 'type' => 'string', 'required' => true, 'example' => 'modelServiceName', 'title' => ''],
+ 'description' => ['description' => 'An optional description of the model service.', 'type' => 'string', 'example' => 'Auto generate task: Pipeline[pipeline-run-1742178254775] pipelineTemplate[data-export-service-online-iVnQB5] taskTemplate[serverless-runner-task], time[2025-03-17T02:24:36Z]', 'title' => ''],
+ 'modelType' => ['description' => 'The model type. Valid values include:'."\n"
+ ."\n"
+ .'- `system`: A built-in model that the service provides.'."\n"
+ ."\n"
+ .'- `deployment`: A custom model that a user deploys.', 'type' => 'string', 'required' => true, 'example' => 'system', 'title' => ''],
+ 'provider' => ['description' => 'The cloud provider for the model service. Currently, only Alibaba Cloud is supported.', 'type' => 'string', 'required' => true, 'example' => 'Aliyun', 'title' => ''],
+ 'providerSettings' => ['description' => 'Provider-specific configuration settings. See `ProviderSettings` for details.', 'required' => true, '$ref' => '#/components/schemas/ProviderSettings', 'title' => '', 'example' => ''],
+ 'credentialName' => ['description' => 'The credential name for authenticating with the cloud provider.', 'type' => 'string', 'example' => 'credentialName', 'title' => ''],
+ 'networkConfiguration' => ['description' => 'The network configuration for the model service. See `NetworkConfiguration` for details.', '$ref' => '#/components/schemas/NetworkConfiguration', 'title' => '', 'example' => ''],
+ 'modelInfoConfigs' => [
+ 'description' => 'A list of configurations for models in the service.',
+ 'type' => 'array',
+ 'items' => ['description' => 'A configuration object for a single model. See `ModelInfoConfig` for details.', '$ref' => '#/components/schemas/ModelInfoConfig', 'title' => '', 'example' => ''],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'workspaceId' => ['description' => 'The ID of the workspace in which to create the model service.', 'type' => 'string', 'title' => '', 'example' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'CreateRateLimitRuleInput' => [
+ 'title' => '',
+ 'description' => 'The input parameters for creating a rate limit rule.',
+ 'type' => 'object',
+ 'properties' => [
+ 'descriptorType' => [
+ 'title' => '',
+ 'description' => 'The descriptor type for the rate limit rule, such as `model` or `user`.',
+ 'type' => 'string',
+ 'example' => 'model',
+ 'required' => true,
+ 'enum' => ['key', 'model_connection'],
+ ],
+ 'descriptorId' => ['title' => '', 'description' => 'The descriptor ID for the rate limit rule. This parameter is required if the descriptor type is not `model`. For `model` types, the server assembles the ID.', 'type' => 'string', 'example' => 'model:gpt-4'],
+ 'enabled' => ['title' => '', 'description' => 'Whether to enable the rate limit rule.', 'type' => 'boolean', 'example' => 'true'],
+ 'windows' => [
+ 'title' => '',
+ 'description' => 'A list of time window configurations. At least one window is required.',
+ 'type' => 'array',
+ 'items' => ['description' => '', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/WindowLimit'],
+ 'required' => true,
+ 'example' => '',
+ ],
+ ],
+ 'example' => '',
+ ],
+ 'CreateSandboxInput' => [
+ 'title' => '',
+ 'description' => 'The parameters required to create a sandbox.',
+ 'type' => 'object',
+ 'properties' => [
+ 'templateName' => ['title' => '', 'description' => 'The template name.', 'type' => 'string', 'required' => true, 'example' => 'templateName'],
+ 'sandboxIdleTimeoutSeconds' => ['title' => '', 'description' => 'The idle timeout for the sandbox, in seconds.', 'type' => 'integer', 'format' => 'int32', 'maximum' => '21600', 'minimum' => '1', 'example' => '1800', 'deprecated' => true],
+ 'sandboxId' => ['title' => '', 'description' => 'The unique identifier of the sandbox instance.', 'type' => 'string', 'example' => '01KE8DAJ35JC8SKP9CNFRZ8CW7'],
+ 'nasConfig' => ['description' => 'The NAS configuration.', '$ref' => '#/components/schemas/NASConfig', 'title' => '', 'example' => ''],
+ 'ossMountConfig' => ['description' => 'The OSS mount configuration.', '$ref' => '#/components/schemas/OSSMountConfig', 'title' => '', 'example' => ''],
+ 'polarFsConfig' => ['description' => 'The PolarFS configuration.', '$ref' => '#/components/schemas/PolarFsConfig', 'title' => '', 'example' => ''],
+ 'sandboxIdleTimeoutInSeconds' => ['title' => '', 'description' => 'The idle timeout for the sandbox, in seconds.', 'type' => 'integer', 'example' => '', 'format' => 'int32', 'maximum' => '21600'],
+ ],
+ 'example' => '',
+ ],
+ 'CreateServiceInput' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'serviceConfigs' => [
+ 'type' => 'array',
+ 'items' => ['$ref' => '#/components/schemas/ServiceConfig', 'description' => '', 'title' => '', 'example' => ''],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'CreateTemplateInput' => [
+ 'title' => '',
+ 'description' => 'Input parameters required for creating a template',
+ 'type' => 'object',
+ 'properties' => [
+ 'templateName' => ['title' => '', 'description' => 'Template name (must be unique within the account)', 'type' => 'string', 'required' => true, 'example' => 'browser-1766687911567'],
+ 'templateType' => [
+ 'title' => '',
+ 'description' => 'Template type',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'Browser',
+ 'enum' => ['Browser', 'CodeInterpreter', 'AllInOnePreview', 'AllInOne', 'CustomImage', 'ComputerUse'],
+ ],
+ 'description' => ['title' => '', 'description' => 'Template description', 'type' => 'string', 'example' => '模板描述'],
+ 'cpu' => ['title' => '', 'description' => 'CPU resource configuration (unit: cores)', 'type' => 'number', 'format' => 'float', 'required' => true, 'example' => '2'],
+ 'memory' => ['title' => '', 'description' => 'Memory resource configuration (unit: MB)', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '2048'],
+ 'diskSize' => ['title' => '', 'description' => 'Disk size', 'type' => 'integer', 'format' => 'int32', 'example' => '10240'],
+ 'containerConfiguration' => ['title' => '', 'description' => 'Container configuration, only images based on Browser/Code Interpreter base images are allowed', '$ref' => '#/components/schemas/ContainerConfiguration', 'example' => ''],
+ 'networkConfiguration' => ['title' => '', 'description' => 'Network configuration', 'required' => true, '$ref' => '#/components/schemas/NetworkConfiguration', 'example' => ''],
+ 'credentialConfiguration' => ['title' => '', 'description' => 'Credential configuration', '$ref' => '#/components/schemas/CredentialConfiguration', 'example' => ''],
+ 'logConfiguration' => ['title' => '', 'description' => 'Log configuration', '$ref' => '#/components/schemas/LogConfiguration', 'example' => ''],
+ 'executionRoleArn' => ['title' => '', 'description' => 'Execution role ARN', 'type' => 'string', 'example' => 'acs:ram::123456789:role/aliyunfcdefaultrole'],
+ 'sandboxIdleTimeoutInSeconds' => ['title' => '', 'description' => 'Sandbox idle timeout (in seconds)', 'type' => 'integer', 'format' => 'int32', 'maximum' => '21600', 'minimum' => '1', 'example' => '1800'],
+ 'sandboxTTLInSeconds' => ['title' => '', 'description' => 'Sandbox time-to-live (in seconds)', 'type' => 'integer', 'format' => 'int32', 'deprecated' => false, 'maximum' => '604800', 'minimum' => '1', 'example' => '26000'],
+ 'armsConfiguration' => ['title' => '', 'description' => 'ARMS configuration', '$ref' => '#/components/schemas/ArmsConfiguration', 'example' => ''],
+ 'allowAnonymousManage' => ['title' => '', 'description' => 'Whether to allow data channel to call create/stop/delete sandbox APIs', 'type' => 'boolean', 'example' => 'true'],
+ 'nasConfig' => ['title' => '', 'description' => 'NAS mount configuration', 'example' => '', '$ref' => '#/components/schemas/NASConfig'],
+ 'enableAgent' => ['title' => '', 'description' => 'Sandbox Agent switch', 'type' => 'boolean', 'example' => '', 'required' => false],
+ 'workspaceId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'scalingConfig' => ['title' => '', 'description' => 'Scaling configuration', 'example' => '', '$ref' => '#/components/schemas/ScalingConfig'],
+ 'enablePreStop' => ['title' => '', 'type' => 'boolean', 'description' => '', 'example' => ''],
+ 'preStopTimeoutInSeconds' => ['title' => '', 'type' => 'integer', 'description' => '', 'example' => '', 'format' => 'int32'],
+ 'ossConfiguration' => [
+ 'title' => '',
+ 'description' => 'OSS configuration',
+ 'type' => 'array',
+ 'items' => ['title' => '', 'description' => 'OSS configuration item', '$ref' => '#/components/schemas/OssConfiguration', 'example' => ''],
+ 'example' => '',
+ ],
+ 'environmentVariables' => [
+ 'title' => '',
+ 'description' => 'Environment variables',
+ 'type' => 'object',
+ 'additionalProperties' => ['description' => 'Environment variables map', 'type' => 'string', 'example' => '{\'FCTEST_IDE_ENV\': \'IDE\'}', 'title' => ''],
+ 'example' => '',
+ ],
+ 'templateConfiguration' => [
+ 'title' => '',
+ 'description' => 'Template configuration (flexible object structure that varies depending on templateType)',
+ 'type' => 'object',
+ 'additionalProperties' => ['description' => 'Template configuration (flexible object structure that varies depending on templateType)', 'type' => 'any', 'example' => '{"example":"value"}', 'title' => ''],
+ 'example' => '',
+ ],
+ ],
+ 'example' => '',
+ ],
+ 'CreateToolData' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'id' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'name' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'toolType' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'createdAt' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'sourceType' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'CreateToolInput' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'name' => ['type' => 'string', 'required' => true, 'description' => '', 'title' => '', 'example' => ''],
+ 'description' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'toolType' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'enum' => ['function_call', 'mcp'],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'sourceType' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'enum' => ['template', 'custom', 'schema'],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'schema' => ['type' => 'string', 'required' => true, 'description' => '', 'title' => '', 'example' => ''],
+ 'CAPConfig' => ['$ref' => '#/components/schemas/CAPConfig', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'CreateToolInputV2' => [
+ 'title' => '',
+ 'description' => 'The parameter information required when creating a new tool, including basic information, type, deployment configuration, and resource configuration of the tool.',
+ 'type' => 'object',
+ 'properties' => [
+ 'toolName' => ['title' => '', 'description' => 'The name of the tool. This parameter is required. The name is used to identify and reference the tool and must be unique within the workspace.', 'type' => 'string', 'required' => true, 'example' => 'my-mcp-tool'],
+ 'workspaceId' => ['title' => '', 'description' => 'The identifier of the workspace to which the tool belongs. This parameter is optional. If not specified, the default workspace is used.', 'type' => 'string', 'example' => 'workspace-xyz789'],
+ 'description' => ['title' => '', 'description' => 'The detailed description of the tool, explaining its features and purposes.', 'type' => 'string', 'example' => '这是一个用于处理文档的 MCP 工具'],
+ 'toolType' => [
+ 'title' => '',
+ 'description' => 'The type of the tool. This parameter is required. Valid values:'."\n"
+ .'- MCP: Model Context Protocol tool.'."\n"
+ .'- FUNCTIONCALL: function calling tool.'."\n"
+ .'- SKILL: skill tool.',
+ 'enumValueTitles' => ['MCP' => 'MCP 工具 - 基于 Model Context Protocol 的工具', 'FUNCTIONCALL' => '函数调用工具 - 通过函数调用方式实现的工具', 'SKILL' => '技能工具 - 预定义的技能类型工具'],
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'MCP',
+ 'enum' => ['MCP', 'FUNCTIONCALL', 'SKILL'],
+ ],
+ 'createMethod' => [
+ 'title' => '',
+ 'description' => 'The creation method of the tool. This parameter is required. Valid values:'."\n"
+ .'- MCP_REMOTE: remote MCP server.'."\n"
+ .'- MCP_LOCAL_STDIO: local MCP standard input/output.'."\n"
+ .'- MCP_BUNDLE: MCP bundled deployment.'."\n"
+ .'- CODE_PACKAGE: code package deployment.'."\n"
+ .'- OPENAPI_IMPORT: OpenAPI import.',
+ 'enumValueTitles' => ['MCP_REMOTE' => '远程 MCP 服务器 - 连接到远程运行的 MCP 服务器', 'MCP_LOCAL_STDIO' => '本地 MCP 标准输入输出 - 通过标准输入输出与本地 MCP 进程通信', 'MCP_BUNDLE' => 'MCP 打包部署 - 将 MCP 工具打包后部署', 'CODE_PACKAGE' => '代码包部署 - 通过代码包方式部署工具', 'OPENAPI_IMPORT' => 'OpenAPI 导入 - 从 OpenAPI 规范导入工具定义'],
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'MCP_REMOTE',
+ 'enum' => ['MCP_REMOTE', 'MCP_LOCAL_STDIO', 'MCP_BUNDLE', 'CODE_PACKAGE', 'OPENAPI_IMPORT'],
+ ],
+ 'protocolSpec' => ['title' => '', 'description' => 'The protocol specification definition used by the tool. The value is a JSON-formatted string that defines the interface and interaction method of the tool.', 'type' => 'string', 'example' => ''],
+ 'mcpConfig' => ['title' => '', 'description' => 'The configuration information of the MCP tool, including session affinity, proxy configuration, and binding configuration. This parameter is required only when the tool type is MCP.', '$ref' => '#/components/schemas/McpConfig', 'example' => ''],
+ 'executionRoleArn' => ['title' => '', 'description' => 'The ARN of the RAM role used when the tool is executed. This parameter is used for permission control. Example: acs:ram::123456789:role/AliyunFCDefaultRole.', 'type' => 'string', 'example' => 'acs:ram::123456789:role/AliyunFCDefaultRole'],
+ 'artifactType' => [
+ 'title' => '',
+ 'description' => 'The artifact type for tool deployment. Valid values:'."\n"
+ .'- Code: code package.'."\n"
+ .'- Container: container image.',
+ 'enumValueTitles' => ['Code' => '代码包 - 使用代码包形式部署工具', 'Container' => '容器镜像 - 使用容器镜像形式部署工具'],
+ 'type' => 'string',
+ 'example' => 'Code',
+ 'enum' => ['Code', 'Container'],
+ ],
+ 'networkConfiguration' => ['title' => '', 'description' => 'The network configuration of the tool, including VPC, security group, and vSwitch information. This parameter is used to configure the network access capability of the tool.', '$ref' => '#/components/schemas/NetworkConfiguration', 'example' => ''],
+ 'codeConfiguration' => ['title' => '', 'description' => 'The configuration information for code package type tools, including code location, entry function, and runtime. This parameter is required only when the artifact type is Code.', '$ref' => '#/components/schemas/CodeConfiguration', 'example' => ''],
+ 'containerConfiguration' => ['title' => '', 'description' => 'The configuration information for container type tools, including image address, startup command, and port mapping. This parameter is required only when the artifact type is Container.', '$ref' => '#/components/schemas/ContainerConfiguration', 'example' => ''],
+ 'logConfiguration' => ['title' => '', 'description' => 'The log configuration of the tool, including log storage location (SLS) and log level.', '$ref' => '#/components/schemas/LogConfiguration', 'example' => ''],
+ 'ossMountConfig' => ['title' => '', 'description' => 'The mount configuration for Object Storage Service (OSS), used for the tool to access files in OSS buckets.', '$ref' => '#/components/schemas/OSSMountConfig', 'example' => ''],
+ 'nasConfig' => ['title' => '', 'description' => 'The configuration information for Apsara File Storage NAS, used for the tool to access NAS file systems and achieve persistent storage.', '$ref' => '#/components/schemas/NASConfig', 'example' => ''],
+ 'cpu' => ['title' => '', 'description' => 'The number of CPU cores for the tool instance, in cores. Decimal values are supported. For example, 0.5 indicates half a core.', 'type' => 'number', 'format' => 'float', 'example' => '0.5'],
+ 'memory' => ['title' => '', 'description' => 'The memory size of the tool instance, in MB. Set this parameter based on the actual requirements of the tool.', 'type' => 'integer', 'format' => 'int32', 'example' => '512'],
+ 'port' => ['title' => '', 'description' => 'The port number on which the tool service listens to receive requests.', 'type' => 'integer', 'format' => 'int32', 'example' => '8080'],
+ 'credentialName' => ['title' => '', 'description' => 'The name of the credential used by the tool to access external services that require authentication. The credential must be created in the system in advance.', 'type' => 'string', 'example' => 'my-credential'],
+ 'timeout' => ['title' => '', 'description' => 'The timeout period for tool execution, in seconds. The tool invocation is stopped if this period is exceeded.', 'type' => 'integer', 'format' => 'int32', 'example' => '300'],
+ 'environmentVariables' => [
+ 'title' => '',
+ 'description' => 'The environment variable configuration for the tool runtime, in key-value pair format. This parameter is used to pass configuration information to the tool runtime environment.',
+ 'type' => 'object',
+ 'additionalProperties' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'example' => '{"ENV": "production", "LOG_LEVEL": "info"}',
+ ],
+ 'agentIdentityEnabled' => ['type' => 'boolean', 'description' => '', 'title' => '', 'example' => ''],
+ 'agentIdentityConfig' => ['$ref' => '#/components/schemas/ToolAgentIdentityConfig', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'example' => '',
+ ],
+ 'CreateToolOutput' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'success' => ['type' => 'boolean', 'description' => '', 'title' => '', 'example' => ''],
+ 'message' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'data' => ['$ref' => '#/components/schemas/CreateToolData', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'CreateWorkspaceInput' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'name' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'description' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'resourceGroupId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'enablePresetModel' => ['type' => 'boolean', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'Credential' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'credentialId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'credentialName' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'description' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'credentialAuthType' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'credentialSourceType' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'enabled' => ['type' => 'boolean', 'description' => '', 'title' => '', 'example' => ''],
+ 'credentialSecret' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'createdAt' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'updatedAt' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'credentialPublicConfig' => [
+ 'deprecated' => false,
+ 'required' => false,
+ '$ref' => '#/components/schemas/CredentialPublicConfig',
+ 'type' => 'object',
+ 'additionalProperties' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'relatedResources' => [
+ 'type' => 'array',
+ 'items' => ['$ref' => '#/components/schemas/RelatedResource', 'description' => '', 'title' => '', 'example' => ''],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'workspaceId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'CredentialConfiguration' => [
+ 'title' => '',
+ 'description' => 'Specifies the configuration for credentials used to access external services.',
+ 'type' => 'object',
+ 'properties' => [
+ 'credentialName' => ['title' => '', 'description' => 'The unique identifier for the credential.', 'type' => 'string', 'example' => 'deepagent-key'],
+ ],
+ 'example' => '',
+ ],
+ 'CredentialListItem' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'credentialId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'credentialName' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'credentialAuthType' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'credentialSourceType' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'enabled' => ['type' => 'boolean', 'description' => '', 'title' => '', 'example' => ''],
+ 'createdAt' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'updatedAt' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'relatedResourceCount' => ['type' => 'integer', 'format' => 'int32', 'description' => '', 'title' => '', 'example' => ''],
+ 'description' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'workspaceId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'CredentialPublicConfig' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'headerKey' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'provider' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'authType' => [
+ 'type' => 'string',
+ 'enum' => ['static_jwks', 'remote_jwks'],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'remoteConfig' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'uri' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'timeout' => ['type' => 'integer', 'format' => 'int32', 'description' => '', 'title' => '', 'example' => ''],
+ 'ttl' => ['type' => 'integer', 'format' => 'int32', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'prefix' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'jwks' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'users' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'username' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'password' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'authConfig' => [
+ 'type' => 'object',
+ 'additionalProperties' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'CredentialResult' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => ['type' => 'string'],
+ 'requestId' => ['type' => 'string'],
+ 'data' => ['$ref' => '#/components/schemas/Credential'],
+ ],
+ ],
+ 'CustomDomain' => [
+ 'title' => '',
+ 'description' => '自定义域名的详细信息,包含域名的所有配置和状态信息',
+ 'type' => 'object',
+ 'properties' => [
+ 'domainName' => ['title' => '', 'description' => '域名。填写已在阿里云备案或接入备案的自定义域名名称。', 'type' => 'string', 'example' => 'example.com'],
+ 'description' => ['title' => '', 'description' => '描述', 'type' => 'string', 'example' => ''],
+ 'protocol' => [
+ 'title' => '',
+ 'description' => '域名支持的协议类型:● HTTP:仅支持 HTTP 协议。● HTTPS:仅支持 HTTPS 协议。● HTTP,HTTPS:支持 HTTP 及 HTTPS 协议。',
+ 'type' => 'string',
+ 'example' => 'HTTP',
+ 'enum' => ['HTTP', 'HTTPS', 'HTTP,HTTPS'],
+ ],
+ 'routeConfig' => ['title' => '', 'description' => '路由表:自定义域名访问时的 PATH 到 资源 的映射。', 'example' => '{}', '$ref' => '#/components/schemas/RouteConfig'],
+ 'certConfig' => ['title' => '', 'description' => 'HTTPS 证书的信息。', 'example' => '{}', '$ref' => '#/components/schemas/CertConfig'],
+ 'tlsConfig' => ['title' => '', 'description' => 'TLS 配置信息。', 'example' => '{}', '$ref' => '#/components/schemas/TLSConfig'],
+ 'createdAt' => ['title' => '', 'description' => '创建时间', 'type' => 'string', 'example' => '2025-01-10T10:30:00Z'],
+ 'updatedAt' => ['title' => '', 'description' => '更新时间', 'type' => 'string', 'example' => '2025-01-10T11:45:00Z'],
+ 'domainType' => [
+ 'type' => 'string',
+ 'enum' => ['STANDARD', 'SANDBOX'],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'example' => '',
+ ],
+ 'CustomDomainResult' => [
+ 'title' => '',
+ 'description' => '创建、获取自定义域名的统一结果格式',
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => ['title' => '', 'description' => 'SUCCESS 为成功,失败情况返回对应错误类型,比如 ERR_BAD_REQUEST ERR_VALIDATION_FAILED ERR_INTERNAL_SERVER_ERROR', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'requestId' => ['title' => '', 'description' => '唯一的请求标识符,用于问题追踪', 'type' => 'string', 'example' => 'F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E'],
+ 'data' => ['title' => '', 'description' => '自定义域名的详细信息', 'example' => '{}', '$ref' => '#/components/schemas/CustomDomain'],
+ ],
+ 'example' => '',
+ ],
+ 'CustomRuntimeConfig' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'port' => ['type' => 'integer', 'format' => 'int32', 'description' => '', 'title' => '', 'example' => ''],
+ 'command' => [
+ 'type' => 'array',
+ 'items' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'args' => [
+ 'type' => 'array',
+ 'items' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'DeleteBrowserOut' => [
+ 'title' => '',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'browserId' => ['title' => '浏览器 ID'."\n", 'description' => 'The browser ID.', 'type' => 'string', 'example' => ''],
+ 'browserName' => ['title' => '浏览器名称', 'description' => 'The browser name.', 'type' => 'string', 'example' => ''],
+ 'status' => ['title' => '状态', 'description' => 'The operation status.', 'type' => 'string', 'example' => ''],
+ ],
+ 'example' => '',
+ ],
+ 'DeleteBrowserResult' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => ['title' => '', 'description' => 'A unique request ID for troubleshooting.', 'type' => 'string', 'example' => 'F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E'],
+ 'code' => ['title' => '', 'description' => 'The operation result code. `SUCCESS` indicates a successful operation. Other values indicate an error type, such as `ERR_BAD_REQUEST`, `ERR_VALIDATION_FAILED`, or `ERR_INTERNAL_SERVER_ERROR`.', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'data' => ['title' => '', 'description' => 'Details about the deleted browser.', '$ref' => '#/components/schemas/Browser', 'example' => '{}'],
+ ],
+ 'description' => 'The response from the DeleteBrowser operation.',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'DeleteCodeInterpreterOut' => [
+ 'title' => '',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'codeInterpreterId' => ['title' => '代码解释器 ID', 'description' => 'ID of the code interpreter.', 'type' => 'string', 'example' => ''],
+ 'codeInterpreterName' => ['title' => '代码解释器名称', 'description' => 'Name of the code interpreter.', 'type' => 'string', 'example' => ''],
+ 'status' => ['title' => '状态', 'description' => 'Status of the code interpreter.', 'type' => 'string', 'example' => ''],
+ ],
+ 'example' => '',
+ ],
+ 'DeleteCodeInterpreterResult' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => ['title' => '', 'description' => 'Returns `SUCCESS` if the operation is successful. On failure, returns an error code, such as `ERR_BAD_REQUEST`, `ERR_VALIDATION_FAILED`, or `ERR_INTERNAL_SERVER_ERROR`.', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'requestId' => ['title' => '', 'description' => 'A unique request ID for troubleshooting.', 'type' => 'string', 'example' => 'F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E'],
+ 'data' => ['title' => '', 'description' => 'Details of the deleted code interpreter.', '$ref' => '#/components/schemas/CodeInterpreter', 'example' => '{}'],
+ ],
+ 'description' => 'The response object for deleting a code interpreter.',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'DeleteIMBotNoContent' => [
+ 'title' => '',
+ 'description' => 'HTTP 204 无 JSON;占位便于部分生成链路',
+ 'type' => 'object',
+ 'properties' => [],
+ 'example' => '',
+ ],
+ 'DeleteKnowledgeBaseResult' => [
+ 'title' => '删除知识库返回结构',
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => ['title' => '返回码', 'type' => 'string'],
+ 'requestId' => ['title' => '请求Id', 'type' => 'string'],
+ 'data' => ['title' => '删除的知识库实体', '$ref' => '#/components/schemas/KnowledgeBase'],
+ ],
+ ],
+ 'DeleteModelProxyResult' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => ['type' => 'string'],
+ 'requestId' => ['type' => 'string'],
+ 'data' => ['$ref' => '#/components/schemas/ModelProxy'],
+ ],
+ ],
+ 'DeleteModelServiceResult' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => ['type' => 'string'],
+ 'requestId' => ['type' => 'string'],
+ 'data' => ['$ref' => '#/components/schemas/ModelService'],
+ ],
+ ],
+ 'DeleteSandboxResult' => [
+ 'title' => '删除沙箱结果',
+ 'description' => '删除沙箱操作的统一结果格式',
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => ['title' => '结果码', 'description' => 'SUCCESS 为成功', 'type' => 'string'],
+ 'requestId' => ['title' => '请求ID', 'description' => '唯一的请求标识符,用于问题追踪', 'type' => 'string'],
+ 'data' => ['$ref' => '#/components/schemas/Sandbox'],
+ ],
+ ],
+ 'DeleteTemplateResult' => [
+ 'title' => '删除模板结果',
+ 'description' => '删除模板操作的统一结果格式',
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => ['title' => '结果码', 'description' => 'SUCCESS 为成功', 'type' => 'string'],
+ 'requestId' => ['title' => '请求ID', 'description' => '唯一的请求标识符,用于问题追踪', 'type' => 'string'],
+ 'data' => ['$ref' => '#/components/schemas/Template'],
+ ],
+ ],
+ 'DeregisterServiceInput' => [
+ 'title' => '注销服务输入',
+ 'description' => '注销外部服务所需的输入参数',
+ 'type' => 'object',
+ 'properties' => [
+ 'serviceName' => ['title' => '服务名称', 'description' => '要注销的服务名称(UUID格式)', 'type' => 'string', 'required' => true, 'example' => '12345678-1234-1234-1234-123456789abc'],
+ ],
+ ],
+ 'DiscoveryEndpoint' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'name' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'agentEndpointConfigs' => [
+ 'type' => 'array',
+ 'items' => ['$ref' => '#/components/schemas/AgentEndpointConfig', 'description' => '', 'title' => '', 'example' => ''],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'credentialName' => ['title' => '', 'description' => '该发现端点使用的凭证名称', 'type' => 'string', 'required' => false, 'example' => ''],
+ 'returnAgentCredentialContent' => ['title' => '', 'description' => '是否在发现结果中返回 agent 的凭证内容', 'type' => 'boolean', 'required' => false, 'example' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'DomainInfo' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'domainId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'name' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'protocol' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'certIdentifier' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'EmbedderConfig' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'config' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'model' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'modelServiceName' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'EnvironmentConfiguration' => [
+ 'title' => '',
+ 'description' => '工作流的环境配置,包含一组命名环境变量',
+ 'type' => 'object',
+ 'properties' => [
+ 'variables' => [
+ 'title' => '',
+ 'description' => '环境变量条目列表,每个条目包含 name、value 和可选 description',
+ 'type' => 'array',
+ 'items' => ['$ref' => '#/components/schemas/EnvironmentVariable', 'description' => '', 'title' => '', 'example' => ''],
+ 'required' => true,
+ 'example' => '',
+ ],
+ ],
+ 'example' => '',
+ ],
+ 'EnvironmentVariable' => [
+ 'title' => '',
+ 'description' => '工作流环境变量条目',
+ 'type' => 'object',
+ 'properties' => [
+ 'name' => ['title' => '', 'description' => '环境变量的名称', 'type' => 'string', 'required' => true, 'example' => 'MY_KEY'],
+ 'value' => ['title' => '', 'description' => '环境变量的值', 'type' => 'string', 'required' => true, 'example' => 'my-value'],
+ 'description' => ['title' => '', 'description' => '环境变量的描述信息', 'type' => 'string', 'example' => 'A configuration key'],
+ ],
+ 'example' => '',
+ ],
+ 'ErrorResult' => [
+ 'title' => '',
+ 'description' => 'The error response structure.',
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => ['title' => '', 'description' => 'The error code. SUCCESS indicates the request was successful. Otherwise, a specific error code is returned, such as ERR\\_BAD\\_REQUEST, ERR\\_VALIDATION\\_FAILED, or ERR\\_INTERNAL\\_SERVER\\_ERROR.', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'requestId' => ['title' => '', 'description' => 'The unique request identifier, used for troubleshooting.', 'type' => 'string', 'example' => '55D4BE40-2811-5CFB-8482-E0E98D575B1E'],
+ 'message' => ['title' => '', 'description' => 'A human-readable description of the error.', 'type' => 'string', 'example' => 'Conflict Transaction, process failed'],
+ ],
+ 'example' => '',
+ ],
+ 'FCLinkConfig' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'functionName' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'version' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'Flow' => [
+ 'title' => '',
+ 'description' => 'The detailed information about a workflow, including all configurations and status information.',
+ 'type' => 'object',
+ 'properties' => [
+ 'flowId' => ['title' => '', 'description' => 'The unique identifier of the workflow.', 'type' => 'string', 'example' => 'flow-1234567890abcdef'],
+ 'flowArn' => ['title' => '', 'description' => 'The globally unique Alibaba Cloud Resource Name (ARN) of the workflow.', 'type' => 'string', 'example' => 'acs:agentrun:cn-hangzhou:123456789012:workspaces/ws-xxx/flows/flow-xxx'],
+ 'flowName' => ['title' => '', 'description' => 'The name of the workflow, which is used to identify and distinguish different workflow instances.', 'type' => 'string', 'example' => 'my-flow'],
+ 'description' => ['title' => '', 'description' => 'The description of the workflow, which explains the purpose and functionality of the workflow.', 'type' => 'string', 'example' => 'Customer service automation flow'],
+ 'definition' => ['title' => '', 'description' => 'The definition of the workflow.', 'type' => 'string', 'example' => '{}'],
+ 'executionRoleArn' => ['title' => '', 'description' => 'The ARN of the execution role that grants the workflow permissions to access cloud services.', 'type' => 'string', 'example' => 'acs:ram::123456789012:role/FlowExecutionRole'],
+ 'environmentConfiguration' => ['title' => '', 'description' => 'The environment variable configuration of the workflow, which contains a list of named variables.', 'example' => '', '$ref' => '#/components/schemas/EnvironmentConfiguration'],
+ 'externalStorageLocation' => ['title' => '', 'description' => 'The external storage location of the workflow.', 'type' => 'string', 'example' => 'oss://bucket/path'],
+ 'resourceGroupId' => ['title' => '', 'description' => 'The ID of the resource group to which the workflow belongs.', 'type' => 'string', 'example' => 'rg-acfmxsn4m4a4b4a'],
+ 'tracingConfiguration' => ['title' => '', 'description' => 'The Tracing Analysis configuration of the workflow.', 'example' => '', '$ref' => '#/components/schemas/TracingConfiguration'],
+ 'loggingConfiguration' => ['title' => '', 'description' => 'The logging configuration of the workflow.', 'example' => '', '$ref' => '#/components/schemas/LoggingConfiguration'],
+ 'workspaceId' => ['title' => '', 'description' => 'The ID of the workspace to which the workflow belongs.', 'type' => 'string', 'example' => 'ws-1234567890abcdef'],
+ 'createdAt' => ['title' => '', 'description' => 'The time when the workflow was created, in ISO 8601 format.', 'type' => 'string', 'example' => '2025-01-10T10:30:00Z'],
+ 'lastUpdatedAt' => ['title' => '', 'description' => 'The time when the workflow was last updated, in ISO 8601 format.', 'type' => 'string', 'example' => '2025-01-10T11:45:00Z'],
+ 'disablePublicNetworkAccess' => ['title' => '', 'description' => 'Specifies whether to disable public network access for the workflow. This setting serves as the default policy at the workflow level.', 'type' => 'boolean', 'example' => ''],
+ ],
+ 'example' => '',
+ ],
+ 'FlowEndpoint' => [
+ 'title' => '',
+ 'description' => 'Details about a flow endpoint.',
+ 'type' => 'object',
+ 'properties' => [
+ 'flowId' => ['title' => '', 'description' => 'The unique identifier of the flow.', 'type' => 'string', 'example' => 'flow-1234567890abcdef'],
+ 'flowEndpointId' => ['title' => '', 'description' => 'The unique identifier of the flow endpoint.', 'type' => 'string', 'example' => 'fe-1234567890abcdef'],
+ 'flowEndpointArn' => ['title' => '', 'description' => 'The Alibaba Cloud Resource Name (ARN) of the flow endpoint.', 'type' => 'string', 'example' => 'acs:agentrun:cn-hangzhou:123456789012:workspaces/ws-xxx/flows/flow-xxx/endpoints/fe-xxx'],
+ 'flowEndpointName' => ['title' => '', 'description' => 'The name of the flow endpoint.', 'type' => 'string', 'example' => 'my-flow-endpoint'],
+ 'description' => ['title' => '', 'description' => 'The description of the flow endpoint.', 'type' => 'string', 'example' => 'Production endpoint for flow'],
+ 'targetVersion' => ['title' => '', 'description' => 'The flow version targeted by the endpoint.', 'type' => 'string', 'example' => '1'],
+ 'createdAt' => ['title' => '', 'description' => 'The creation timestamp for the flow endpoint, in ISO 8601 format.', 'type' => 'string', 'example' => '2025-01-10T10:30:00Z'],
+ 'lastUpdatedAt' => ['title' => '', 'description' => 'The last update timestamp for the flow endpoint, in ISO 8601 format.', 'type' => 'string', 'example' => '2025-01-10T11:45:00Z'],
+ 'routingConfiguration' => [
+ 'title' => '',
+ 'description' => 'The routing configuration that distributes traffic to different versions of the flow.',
+ 'type' => 'array',
+ 'items' => ['description' => '', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/FlowEndpointRoutingConfig'],
+ 'example' => '[]',
+ ],
+ 'disablePublicNetworkAccess' => ['title' => '', 'description' => 'Set to true to disable public network access for this endpoint.', 'type' => 'boolean', 'example' => ''],
+ ],
+ 'example' => '',
+ ],
+ 'FlowEndpointResult' => [
+ 'title' => '',
+ 'description' => '创建、获取、更新工作流端点的统一结果格式',
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => ['title' => '', 'description' => 'SUCCESS 为成功,失败情况返回对应错误类型', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'requestId' => ['title' => '', 'description' => '唯一的请求标识符,用于问题追踪', 'type' => 'string', 'example' => 'F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E'],
+ 'data' => ['title' => '', 'description' => '工作流端点的详细信息', 'example' => '{}', '$ref' => '#/components/schemas/FlowEndpoint'],
+ ],
+ 'example' => '',
+ ],
+ 'FlowEndpointRoutingConfig' => [
+ 'title' => '',
+ 'description' => '工作流端点的版本路由配置,用于流量分配',
+ 'type' => 'object',
+ 'properties' => [
+ 'version' => ['title' => '', 'description' => '目标工作流版本号', 'type' => 'string', 'example' => '1'],
+ 'weight' => ['title' => '', 'description' => '该版本在流量分配中的权重,0-100', 'type' => 'integer', 'example' => '100'],
+ ],
+ 'example' => '',
+ ],
+ 'FlowResult' => [
+ 'title' => '',
+ 'description' => '创建、获取、更新工作流的统一结果格式',
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => ['title' => '', 'description' => 'SUCCESS 为成功,失败情况返回对应错误类型,比如 ERR_BAD_REQUEST ERR_VALIDATION_FAILED ERR_INTERNAL_SERVER_ERROR', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'requestId' => ['title' => '', 'description' => '唯一的请求标识符,用于问题追踪', 'type' => 'string', 'example' => 'F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E'],
+ 'data' => ['title' => '', 'description' => '工作流的详细信息', 'example' => '{}', '$ref' => '#/components/schemas/Flow'],
+ ],
+ 'example' => '',
+ ],
+ 'FlowVersion' => [
+ 'title' => '',
+ 'description' => '工作流版本的详细信息',
+ 'type' => 'object',
+ 'properties' => [
+ 'flowId' => ['title' => '', 'description' => '工作流的唯一标识符', 'type' => 'string', 'example' => 'flow-1234567890abcdef'],
+ 'flowVersion' => ['title' => '', 'description' => '工作流版本号', 'type' => 'string', 'example' => '1'],
+ 'description' => ['title' => '', 'description' => '工作流版本的描述信息', 'type' => 'string', 'example' => 'Version 1.0 - Initial release'],
+ 'createdAt' => ['title' => '', 'description' => '工作流版本的创建时间,采用ISO 8601格式', 'type' => 'string', 'example' => '2025-01-10T10:30:00Z'],
+ 'flowName' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'definition' => ['title' => '', 'description' => '工作流版本的定义内容(完整快照,仅在 GetFlowVersion 时返回)', 'type' => 'string', 'example' => 'Type: StateMachine\\nName: my-flow\\n...'],
+ 'environmentConfiguration' => ['title' => '', 'description' => '工作流版本的环境变量配置(完整快照,仅在 GetFlowVersion 时返回)', '$ref' => '#/components/schemas/EnvironmentConfiguration', 'example' => ''],
+ 'externalStorageLocation' => ['title' => '', 'description' => '工作流版本的外部存储位置(完整快照,仅在 GetFlowVersion 时返回)', 'type' => 'string', 'example' => 'oss://bucket/path'],
+ 'tracingConfiguration' => ['title' => '', 'description' => '工作流版本的链路追踪配置(完整快照,仅在 GetFlowVersion 时返回)', '$ref' => '#/components/schemas/TracingConfiguration', 'example' => ''],
+ 'loggingConfiguration' => ['title' => '', 'description' => '工作流版本的日志配置(完整快照,仅在 GetFlowVersion 时返回)', '$ref' => '#/components/schemas/LoggingConfiguration', 'example' => ''],
+ ],
+ 'example' => '',
+ ],
+ 'FlowVersionResult' => [
+ 'title' => '',
+ 'description' => '发布工作流版本的统一结果格式',
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => ['title' => '', 'description' => 'SUCCESS 为成功,失败情况返回对应错误类型', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'requestId' => ['title' => '', 'description' => '唯一的请求标识符,用于问题追踪', 'type' => 'string', 'example' => 'F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E'],
+ 'data' => ['title' => '', 'description' => '工作流版本的详细信息', 'example' => '{}', '$ref' => '#/components/schemas/FlowVersion'],
+ ],
+ 'example' => '',
+ ],
+ 'Funagent' => [
+ 'title' => '',
+ 'description' => '与 funagent-core metastore.FunAgent 字段集对齐;公共 JSON 键采用 camelCase。当前 core 处理器仅序列化子集(funagentId、funagentName、status、endpoint、createdAt、updatedAt),完整字段需后续扩展 core 的 FunAgentJSON/toJSON 或由 POP 适配层填充。adminSecret、dbPassword 在响应中应脱敏(omit 或 null)。时间字段为 ISO 8601 字符串。',
+ 'type' => 'object',
+ 'properties' => [
+ 'funagentId' => ['title' => '', 'description' => 'UUID 字符串', 'type' => 'string', 'example' => ''],
+ 'funagentName' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''],
+ 'regionId' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''],
+ 'vpcId' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''],
+ 'vswitchIds' => ['title' => '', 'description' => '与存储一致时为 JSON 字符串', 'type' => 'string', 'example' => ''],
+ 'securityGroupId' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''],
+ 'cpu' => ['title' => '', 'type' => 'number', 'format' => 'float', 'description' => '', 'example' => ''],
+ 'memory' => ['title' => '', 'type' => 'integer', 'format' => 'int32', 'description' => '', 'example' => ''],
+ 'replicas' => ['title' => '', 'type' => 'integer', 'format' => 'int32', 'description' => '', 'example' => ''],
+ 'adminName' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''],
+ 'adminSecret' => ['title' => '', 'description' => '敏感;响应中应脱敏', 'type' => 'string', 'example' => ''],
+ 'dbType' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''],
+ 'dbName' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''],
+ 'dbInstanceId' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''],
+ 'dbHost' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''],
+ 'dbPort' => ['title' => '', 'type' => 'integer', 'format' => 'int32', 'description' => '', 'example' => ''],
+ 'dbUsername' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''],
+ 'dbPassword' => ['title' => '', 'description' => '敏感;响应中应脱敏', 'type' => 'string', 'example' => ''],
+ 'dbConnections' => ['title' => '', 'type' => 'integer', 'format' => 'int32', 'description' => '', 'example' => ''],
+ 'endpoint' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''],
+ 'version' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''],
+ 'status' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''],
+ 'description' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''],
+ 'tenantId' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''],
+ 'createdAt' => ['title' => '', 'description' => 'ISO 8601', 'type' => 'string', 'example' => ''],
+ 'updatedAt' => ['title' => '', 'description' => 'ISO 8601', 'type' => 'string', 'example' => ''],
+ 'imageUrl' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''],
+ ],
+ 'example' => '',
+ ],
+ 'FunagentResult' => [
+ 'title' => '',
+ 'description' => '创建、获取、删除 Funagent 的统一结果格式',
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => ['title' => '', 'description' => 'SUCCESS 为成功,失败情况返回对应错误类型,比如 ERR_BAD_REQUEST ERR_VALIDATION_FAILED ERR_INTERNAL_SERVER_ERROR', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'requestId' => ['title' => '', 'description' => '唯一的请求标识符,用于问题追踪', 'type' => 'string', 'example' => 'F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E'],
+ 'data' => ['title' => '', '$ref' => '#/components/schemas/Funagent', 'description' => '', 'example' => ''],
+ ],
+ 'example' => '',
+ ],
+ 'FunagentVersionItem' => [
+ 'title' => '',
+ 'description' => '单次发布的版本号、更新说明列表、发布时间与描述',
+ 'type' => 'object',
+ 'properties' => [
+ 'version' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''],
+ 'publishContent' => [
+ 'title' => '',
+ 'description' => '多条更新说明',
+ 'type' => 'array',
+ 'items' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'example' => '',
+ ],
+ 'publishTime' => ['title' => '', 'description' => '日期或 ISO 8601 字符串', 'type' => 'string', 'example' => ''],
+ 'description' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''],
+ ],
+ 'example' => '',
+ ],
+ 'Gateway' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'name' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'gatewayId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'internetUrl' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'intranetUrl' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'createdAt' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'updatedAt' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'status' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'GatewayNetworkConfiguration' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'networkMode' => ['title' => '网络模式', 'description' => 'Network mode', 'type' => 'string', 'example' => ''],
+ 'vpcId' => ['title' => '专有网络ID', 'description' => 'Virtual private cloud (VPC) ID', 'type' => 'string', 'example' => ''],
+ 'vswitchIds' => [
+ 'type' => 'array',
+ 'items' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'GetBrowserSessionResult' => [
+ 'title' => '',
+ 'description' => 'The response object for retrieving a browser session.',
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => ['title' => '', 'description' => '`SUCCESS` for a successful request; otherwise, an error type such as `ERR_BAD_REQUEST`, `ERR_VALIDATION_FAILED`, or `ERR_INTERNAL_SERVER_ERROR`.', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'requestId' => ['title' => '', 'description' => 'A unique identifier for the request.', 'type' => 'string', 'example' => 'F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E'],
+ 'data' => ['title' => '', 'description' => 'The details of the browser session.', '$ref' => '#/components/schemas/BrowserSessionOut', 'example' => '{}'],
+ ],
+ 'example' => '',
+ ],
+ 'GetCodeInterpreterSessionResult' => [
+ 'title' => '',
+ 'description' => 'Obtain the result of a code interpreter session ',
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => ['title' => '', 'description' => 'SUCCESS indicates success. In case of failure, the corresponding error type is returned, such as ERR_BAD_REQUEST, ERR_VALIDATION_FAILED, or ERR_INTERNAL_SERVER_ERROR. ', 'type' => 'string', 'example' => ''],
+ 'requestId' => ['title' => '', 'description' => 'Request ID ', 'type' => 'string', 'example' => ''],
+ 'data' => ['title' => '', 'description' => 'Data ', '$ref' => '#/components/schemas/CodeInterpreterSessionOut', 'example' => ''],
+ ],
+ 'example' => '',
+ ],
+ 'GetCredentialOutput' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'credentialId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'credentialName' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'description' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'credentialAuthType' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'credentialSourceType' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'enabled' => ['type' => 'boolean', 'description' => '', 'title' => '', 'example' => ''],
+ 'credentialSecret' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'credentialPublicConfig' => [
+ 'type' => 'object',
+ 'additionalProperties' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'createdAt' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'updatedAt' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'relatedResources' => [
+ 'type' => 'array',
+ 'items' => ['$ref' => '#/components/schemas/RelatedResource', 'description' => '', 'title' => '', 'example' => ''],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'GetDiscoveryEndpointsOutput' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'credentialName' => ['type' => 'string', 'deprecated' => true, 'description' => '', 'title' => '', 'example' => ''],
+ 'discoveryEndpoints' => [
+ 'type' => 'array',
+ 'items' => ['$ref' => '#/components/schemas/DiscoveryEndpoint', 'description' => '', 'title' => '', 'example' => ''],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'GetDiscoveryEndpointsResult' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'requestId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'data' => ['$ref' => '#/components/schemas/GetDiscoveryEndpointsOutput', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'GetFunagentVersionsOutput' => [
+ 'title' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'items' => [
+ 'title' => '',
+ 'type' => 'array',
+ 'items' => ['$ref' => '#/components/schemas/FunagentVersionItem', 'description' => '', 'title' => '', 'example' => ''],
+ 'description' => '',
+ 'example' => '',
+ ],
+ ],
+ 'description' => '',
+ 'example' => '',
+ ],
+ 'GetFunagentVersionsResult' => [
+ 'title' => '',
+ 'description' => '与 ListFunagentsResult 一致的信封:code、requestId、data',
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => ['title' => '', 'description' => 'SUCCESS 为成功,失败情况返回对应错误类型,比如 ERR_BAD_REQUEST ERR_VALIDATION_FAILED ERR_INTERNAL_SERVER_ERROR', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'requestId' => ['title' => '', 'description' => '唯一的请求标识符,用于问题追踪', 'type' => 'string', 'example' => 'F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E'],
+ 'data' => ['title' => '', '$ref' => '#/components/schemas/GetFunagentVersionsOutput', 'description' => '', 'example' => ''],
+ ],
+ 'example' => '',
+ ],
+ 'GetToolOutput' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'success' => ['type' => 'boolean', 'description' => '', 'title' => '', 'example' => ''],
+ 'data' => ['$ref' => '#/components/schemas/ToolInfo', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'GrayTrafficWeight' => [
+ 'title' => '灰度流量权重',
+ 'description' => 'The traffic weight configuration for a single gray version.',
+ 'type' => 'object',
+ 'properties' => [
+ 'version' => ['title' => '版本号', 'description' => 'The identifier of the gray version.', 'type' => 'string', 'example' => ''],
+ 'weight' => ['title' => '权重', 'description' => 'The traffic weight, a value from 0.0 to 1.0.', 'type' => 'number', 'format' => 'float', 'maximum' => '1', 'minimum' => '0', 'example' => ''],
+ ],
+ 'example' => '',
+ ],
+ 'HealthCheckConfig' => [
+ 'title' => '健康检查配置',
+ 'description' => 'Health check configuration for the agent runtime, used to monitor the health status of runtime instances ',
+ 'type' => 'object',
+ 'properties' => [
+ 'httpGetUrl' => ['title' => 'HTTP GET URL', 'description' => 'The URL address for the HTTP GET request used in health checks ', 'type' => 'string', 'maximum' => '2048', 'example' => ''],
+ 'initialDelaySeconds' => ['title' => '初始延迟秒数', 'description' => 'The delay time (in seconds) after the container starts before the first health check is executed ', 'type' => 'integer', 'format' => 'int32', 'maximum' => '120', 'minimum' => '0', 'example' => ''],
+ 'periodSeconds' => ['title' => '检查周期秒数', 'description' => 'The time interval (in seconds) between health checks ', 'type' => 'integer', 'format' => 'int32', 'maximum' => '120', 'minimum' => '1', 'example' => ''],
+ 'timeoutSeconds' => ['title' => '超时秒数', 'description' => 'The timeout duration (in seconds) for health checks ', 'type' => 'integer', 'format' => 'int32', 'maximum' => '3', 'minimum' => '1', 'example' => ''],
+ 'failureThreshold' => ['title' => '失败阈值', 'description' => 'The number of consecutive failed health checks before the container is considered unhealthy ', 'type' => 'integer', 'format' => 'int32', 'maximum' => '120', 'minimum' => '1', 'example' => ''],
+ 'successThreshold' => ['title' => '成功阈值', 'description' => 'The number of consecutive successful health checks required before the container is considered healthy ', 'type' => 'integer', 'format' => 'int32', 'maximum' => '120', 'minimum' => '1', 'example' => ''],
+ ],
+ 'example' => '',
+ ],
+ 'HealthCheckConfiguration' => [
+ 'title' => '',
+ 'description' => 'Specifies the health check configuration for an agent runtime, used to monitor the health of the runtime instance.',
+ 'type' => 'object',
+ 'properties' => [
+ 'httpGetUrl' => ['title' => '', 'description' => 'The URL path for the HTTP GET health check.', 'type' => 'string', 'maximum' => '2048', 'example' => '/ready'],
+ 'initialDelaySeconds' => ['title' => '', 'description' => 'The delay in seconds after the container starts before the first health check runs.', 'type' => 'integer', 'format' => 'int32', 'maximum' => '120', 'minimum' => '0', 'example' => '30'],
+ 'periodSeconds' => ['title' => '', 'description' => 'The interval in seconds between health checks.', 'type' => 'integer', 'format' => 'int32', 'maximum' => '120', 'minimum' => '1', 'example' => '30'],
+ 'timeoutSeconds' => ['title' => '', 'description' => 'The duration in seconds before a health check times out.', 'type' => 'integer', 'format' => 'int32', 'maximum' => '3', 'minimum' => '1', 'example' => '3'],
+ 'failureThreshold' => ['title' => '', 'description' => 'The number of consecutive failed health checks after which the container is considered unhealthy.', 'type' => 'integer', 'format' => 'int32', 'maximum' => '120', 'minimum' => '1', 'example' => '3'],
+ 'successThreshold' => ['title' => '', 'description' => 'The number of consecutive successful health checks after which an unhealthy container is considered healthy.', 'type' => 'integer', 'format' => 'int32', 'maximum' => '120', 'minimum' => '1', 'example' => '1'],
+ ],
+ 'example' => '',
+ ],
+ 'Hook' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'url' => ['type' => 'string', 'required' => true, 'description' => '', 'title' => '', 'example' => ''],
+ 'description' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'apiVersion' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'enabled' => ['type' => 'boolean', 'description' => '', 'title' => '', 'example' => ''],
+ 'timeout' => ['type' => 'integer', 'format' => 'int32', 'description' => '', 'title' => '', 'example' => ''],
+ 'event' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'enum' => ['PRE_LIST_TOOLS', 'PRE_CALL_TOOL', 'POST_LIST_TOOLS', 'POST_CALL_TOOL'],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'headers' => [
+ 'type' => 'object',
+ 'additionalProperties' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'IMBotInfo' => [
+ 'title' => '',
+ 'description' => '成功响应 data 中单条;不包含 botBizSecret、完整 metadata(与 io.IMBotInfo 一致)',
+ 'type' => 'object',
+ 'properties' => [
+ 'id' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'tenantId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'imChannelServerResourceName' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'botBizId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'botName' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'agentRuntimeId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'botBizType' => [
+ 'description' => 'dingtalk、wecom、feishu、custom',
+ 'type' => 'string',
+ 'enum' => ['dingtalk', 'wecom', 'feishu', 'custom'],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'botMode' => [
+ 'description' => 'standard、custom',
+ 'type' => 'string',
+ 'enum' => ['standard', 'custom'],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'status' => [
+ 'type' => 'string',
+ 'enum' => ['running', 'stopped'],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'lastMessageTime' => ['description' => '可选', 'type' => 'string', 'title' => '', 'example' => ''],
+ 'currentInstances' => ['description' => '可选;来自账号元数据 scaling.currentInstances,同一租户下各 Bot 响应中值相同', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => ''],
+ 'description' => ['description' => 'Bot 描述信息', 'type' => 'string', 'title' => '', 'example' => ''],
+ 'metadata' => ['$ref' => '#/components/schemas/IMBotMetadata', 'description' => '', 'title' => '', 'example' => ''],
+ 'createdAt' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'updatedAt' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'example' => '',
+ ],
+ 'IMBotMetadata' => [
+ 'title' => '',
+ 'description' => '创建、更新请求体中 metadata;标准模式下须满足运行时绑定校验;解码兼容历史字段名见 IMBotMetadata.UnmarshalJSON;IMBotInfo 不返回完整 metadata',
+ 'type' => 'object',
+ 'properties' => [
+ 'agentRuntimeId' => ['description' => '绑定的 Agent Runtime UUID', 'type' => 'string', 'title' => '', 'example' => ''],
+ 'agentRuntimeEndpointId' => ['description' => '可选', 'type' => 'string', 'title' => '', 'example' => ''],
+ 'agentRuntimeEndpointUrl' => ['description' => '标准模式下必填:下游 Agent 可调用的 URL;custom 模式可省略', 'type' => 'string', 'title' => '', 'example' => ''],
+ 'protocolType' => ['description' => '标准模式下必填,与 ValidateAgentRuntimeProtocolTypeValue 一致(大小写敏感);custom 模式可省略', 'type' => 'string', 'title' => '', 'example' => ''],
+ 'role' => ['description' => '不写入单 Bot 持久化 JSON;用于首次/更新时设置租户级 FC RAM 执行角色 ARN(acs:ram::...);FC 启用且非 custom 时按服务逻辑校验', 'type' => 'string', 'maxLength' => 2048, 'title' => '', 'example' => ''],
+ 'customFunctionMeta' => ['description' => '自定义函数元信息;可选;与后端 IMBotMetadata 持久化字段一致', 'type' => 'string', 'maxLength' => 128, 'title' => '', 'example' => ''],
+ ],
+ 'example' => '',
+ ],
+ 'IMBotResult' => [
+ 'title' => '',
+ 'description' => '成功:code=OK,data 为 IMBotInfo;失败见统一错误 JSON(含 message 等,与 respond.go 一致)',
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => ['description' => 'OK 表示成功', 'type' => 'string', 'title' => '', 'example' => ''],
+ 'requestId' => ['description' => '与响应头 x-funagent-request-id 对应', 'type' => 'string', 'title' => '', 'example' => ''],
+ 'data' => ['$ref' => '#/components/schemas/IMBotInfo', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'example' => '',
+ ],
+ 'KnowledgeBase' => [
+ 'title' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'knowledgeBaseId' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''],
+ 'knowledgeBaseName' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''],
+ 'description' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''],
+ 'provider' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''],
+ 'credentialName' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''],
+ 'createdAt' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''],
+ 'lastUpdatedAt' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''],
+ 'providerSettings' => [
+ 'title' => '',
+ 'type' => 'object',
+ 'additionalProperties' => ['type' => 'any', 'description' => '', 'title' => '', 'example' => ''],
+ 'description' => '',
+ 'example' => '',
+ ],
+ 'retrieveSettings' => [
+ 'type' => 'object',
+ 'additionalProperties' => ['type' => 'any', 'description' => '', 'title' => '', 'example' => ''],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'workspaceId' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''],
+ ],
+ 'description' => '',
+ 'example' => '',
+ ],
+ 'KnowledgeBaseResult' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'requestId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'data' => ['$ref' => '#/components/schemas/KnowledgeBase', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'ListAgentResourcesOutput' => [
+ 'title' => '',
+ 'description' => '获取智能体资源列表的输出数据结构',
+ 'type' => 'object',
+ 'properties' => [
+ 'pageNumber' => ['title' => '', 'description' => '当前页码,从 1 开始计数', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'pageSize' => ['title' => '', 'description' => '每页返回的记录数量', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
+ 'total' => ['title' => '', 'description' => '符合条件的资源总数', 'type' => 'integer', 'format' => 'int64', 'example' => '100'],
+ 'items' => [
+ 'title' => '',
+ 'description' => '智能体资源的列表',
+ 'type' => 'array',
+ 'items' => ['$ref' => '#/components/schemas/AgentResource', 'description' => '', 'title' => '', 'example' => ''],
+ 'example' => '',
+ ],
+ ],
+ 'example' => '',
+ ],
+ 'ListAgentResourcesResult' => [
+ 'title' => '',
+ 'description' => '获取智能体资源列表的统一结果格式',
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => ['title' => '', 'description' => 'SUCCESS 为成功,失败情况返回对应错误类型,比如 ERR_BAD_REQUEST ERR_VALIDATION_FAILED ERR_INTERNAL_SERVER_ERROR', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'requestId' => ['title' => '', 'description' => '唯一的请求标识符,用于问题追踪', 'type' => 'string', 'example' => 'F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E'],
+ 'data' => ['title' => '', 'description' => '智能体资源列表的详细信息', 'example' => '{}', '$ref' => '#/components/schemas/ListAgentResourcesOutput'],
+ ],
+ 'example' => '',
+ ],
+ 'ListAgentRuntimeEndpointsInput' => [
+ 'title' => '列出智能体运行时端点输入',
+ 'description' => 'Request parameters for listing agent runtime endpoints ',
+ 'type' => 'object',
+ 'properties' => [
+ 'endpointName' => ['title' => '端点名称', 'description' => 'Filter by endpoint name ', 'type' => 'string', 'example' => ''],
+ 'statuses' => [
+ 'title' => '状态列表',
+ 'description' => 'Filter by status ',
+ 'type' => 'array',
+ 'items' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'example' => '',
+ ],
+ 'pageNumber' => ['title' => '页码', 'description' => 'Page number ', 'type' => 'integer', 'example' => ''],
+ 'pageSize' => ['title' => '页面大小', 'description' => 'Number of records per page ', 'type' => 'integer', 'example' => ''],
+ ],
+ 'example' => '',
+ ],
+ 'ListAgentRuntimeEndpointsOutput' => [
+ 'title' => '',
+ 'description' => 'List of agent runtime endpoints Outputs ',
+ 'type' => 'object',
+ 'properties' => [
+ 'items' => [
+ 'title' => '',
+ 'description' => 'List of projects ',
+ 'type' => 'array',
+ 'items' => ['$ref' => '#/components/schemas/AgentRuntimeEndpoint', 'description' => '', 'title' => '', 'example' => ''],
+ 'example' => '',
+ ],
+ 'pageNumber' => ['title' => '', 'description' => 'Page number ', 'type' => 'integer', 'example' => ''],
+ 'pageSize' => ['title' => '', 'description' => 'Page size ', 'type' => 'integer', 'example' => ''],
+ 'total' => ['title' => '', 'description' => 'Total number ', 'type' => 'integer', 'example' => ''],
+ ],
+ 'example' => '',
+ ],
+ 'ListAgentRuntimeEndpointsResult' => [
+ 'title' => '',
+ 'description' => 'The standard response object for listing agent runtime endpoints.',
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => ['title' => '', 'description' => 'The status code of the response. `SUCCESS` indicates that the operation succeeded. If the operation fails, an error code is returned, such as `ERR_BAD_REQUEST`, `ERR_VALIDATION_FAILED`, or `ERR_INTERNAL_SERVER_ERROR`.', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'requestId' => ['title' => '', 'description' => 'A unique request identifier for troubleshooting purposes.', 'type' => 'string', 'example' => 'F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E'],
+ 'data' => ['title' => '', 'description' => 'Detailed information about the agent runtime endpoints.', '$ref' => '#/components/schemas/ListAgentRuntimeEndpointsOutput', 'example' => '{}'],
+ ],
+ 'example' => '',
+ ],
+ 'ListAgentRuntimesInput' => [
+ 'title' => '列出智能体运行时输入',
+ 'description' => 'Request parameters for listing agent runtimes.',
+ 'type' => 'object',
+ 'properties' => [
+ 'agentRuntimeName' => ['title' => '智能体运行时名称', 'description' => 'Filters the results by agent runtime name.', 'type' => 'string', 'example' => 'my-agent-runtime'],
+ 'statuses' => [
+ 'title' => '状态列表',
+ 'description' => 'Filters the results by status.',
+ 'type' => 'array',
+ 'items' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'example' => 'READY,CREATING',
+ ],
+ 'systemTags' => [
+ 'title' => '系统标签',
+ 'description' => '按系统标签过滤',
+ 'type' => 'array',
+ 'items' => ['type' => 'string'],
+ 'example' => 'acs:ecs:tag1,acs:ecs:tag2',
+ ],
+ 'pageNumber' => ['title' => '页码', 'description' => 'The page number for pagination.', 'type' => 'integer', 'example' => '1'],
+ 'pageSize' => ['title' => '页面大小', 'description' => 'The maximum number of results to return per page.', 'type' => 'integer', 'example' => '20'],
+ ],
+ 'example' => '',
+ ],
+ 'ListAgentRuntimesOutput' => [
+ 'title' => '',
+ 'description' => 'Agent runtime list Outputs ',
+ 'type' => 'object',
+ 'properties' => [
+ 'pageNumber' => ['title' => '', 'description' => 'Page number ', 'type' => 'integer', 'example' => ''],
+ 'pageSize' => ['title' => '', 'description' => 'Page size ', 'type' => 'integer', 'example' => ''],
+ 'total' => ['title' => '', 'description' => 'Total count ', 'type' => 'integer', 'example' => ''],
+ 'items' => [
+ 'title' => '',
+ 'description' => 'Project List ',
+ 'type' => 'array',
+ 'items' => ['$ref' => '#/components/schemas/AgentRuntime', 'description' => '', 'title' => '', 'example' => ''],
+ 'example' => '',
+ ],
+ ],
+ 'example' => '',
+ ],
+ 'ListAgentRuntimesResult' => [
+ 'title' => '',
+ 'description' => 'The response object for listing agent runtimes.',
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => ['title' => '', 'description' => 'The status of the request. A value of `SUCCESS` indicates success. Otherwise, this field returns an error type, such as `ERR_BAD_REQUEST`, `ERR_VALIDATION_FAILED`, or `ERR_INTERNAL_SERVER_ERROR`.', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'requestId' => ['title' => '', 'description' => 'The unique ID of the request, used for troubleshooting.', 'type' => 'string', 'example' => 'F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E'],
+ 'data' => ['title' => '', 'description' => 'The list of agent runtimes.', '$ref' => '#/components/schemas/ListAgentRuntimesOutput', 'example' => '{}'],
+ ],
+ 'example' => '',
+ ],
+ 'ListAgentRuntimeVersionsInput' => [
+ 'title' => '列出智能体运行时版本输入',
+ 'description' => 'The parameters for listing agent runtime versions.',
+ 'type' => 'object',
+ 'properties' => [
+ 'pageNumber' => ['title' => '页码', 'description' => 'The page number to retrieve.', 'type' => 'integer', 'example' => ''],
+ 'pageSize' => ['title' => '页面大小', 'description' => 'The maximum number of results to return per page.', 'type' => 'integer', 'example' => ''],
+ ],
+ 'example' => '',
+ ],
+ 'ListAgentRuntimeVersionsOutput' => [
+ 'title' => '',
+ 'description' => 'List output of agent runtime versions ',
+ 'type' => 'object',
+ 'properties' => [
+ 'items' => [
+ 'title' => '',
+ 'description' => 'List of projects ',
+ 'type' => 'array',
+ 'items' => ['$ref' => '#/components/schemas/AgentRuntimeVersion', 'description' => '', 'title' => '', 'example' => ''],
+ 'example' => '',
+ ],
+ 'pageNumber' => ['title' => '', 'description' => 'Page number ', 'type' => 'integer', 'example' => ''],
+ 'pageSize' => ['title' => '', 'description' => 'Page size ', 'type' => 'integer', 'example' => ''],
+ 'total' => ['title' => '', 'description' => 'Total count ', 'type' => 'integer', 'example' => ''],
+ ],
+ 'example' => '',
+ ],
+ 'ListAgentRuntimeVersionsResult' => [
+ 'title' => '',
+ 'description' => 'The response to a request to list agent runtime versions.',
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => ['title' => '', 'description' => 'Indicates whether the request succeeded. A value of `SUCCESS` is returned on success. Otherwise, an error type is returned, such as `ERR_BAD_REQUEST`, `ERR_VALIDATION_FAILED`, or `ERR_INTERNAL_SERVER_ERROR`.', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'requestId' => ['title' => '', 'description' => 'A unique request ID for troubleshooting.', 'type' => 'string', 'example' => 'F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E'],
+ 'data' => ['title' => '', 'description' => 'Contains the list of agent runtime versions.', '$ref' => '#/components/schemas/ListAgentRuntimeVersionsOutput', 'example' => '{}'],
+ ],
+ 'example' => '',
+ ],
+ 'ListBrowserSessionResult' => [
+ 'title' => '',
+ 'description' => 'The response object for the list browser session operation.',
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => ['title' => '', 'description' => 'The response code. A value of SUCCESS indicates the request succeeded. On failure, an error code is returned, such as ERR\\_BAD\\_REQUEST, ERR\\_VALIDATION\\_FAILED, or ERR\\_INTERNAL\\_SERVER\\_ERROR.', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'requestId' => ['title' => '', 'description' => 'The unique identifier for the request.', 'type' => 'string', 'example' => 'F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E'],
+ 'data' => ['title' => '', 'description' => 'The operation\'s payload.', '$ref' => '#/components/schemas/BrowserSessionListOut', 'example' => '{}'],
+ ],
+ 'example' => '',
+ ],
+ 'ListBrowserSessionsData' => [
+ 'title' => '浏览器会话列表数据',
+ 'description' => 'Browser session list data ',
+ 'type' => 'object',
+ 'properties' => [
+ 'sessions' => [
+ 'title' => '会话列表',
+ 'description' => 'Session list ',
+ 'type' => 'array',
+ 'items' => ['$ref' => '#/components/schemas/BrowserSessionItem', 'description' => '', 'title' => '', 'example' => ''],
+ 'example' => '',
+ ],
+ 'total' => ['title' => '总数', 'description' => 'Total count ', 'type' => 'integer', 'format' => 'int64', 'example' => ''],
+ 'pageNumber' => ['title' => '页码', 'description' => 'Page number ', 'type' => 'integer', 'format' => 'int32', 'example' => ''],
+ 'pageSize' => ['title' => '页大小', 'description' => 'Page size ', 'type' => 'integer', 'format' => 'int32', 'example' => ''],
+ 'maxResults' => ['title' => '最大结果数', 'description' => 'Maximum number of results ', 'type' => 'integer', 'format' => 'int32', 'example' => ''],
+ 'nextToken' => ['title' => '下一页标记', 'description' => 'Next page mark ', 'type' => 'string', 'example' => ''],
+ ],
+ 'example' => '',
+ ],
+ 'ListBrowserSessionsOutput' => [
+ 'title' => '浏览器会话列表输出',
+ 'description' => 'Outputs of browser session List',
+ 'type' => 'object',
+ 'properties' => [
+ 'items' => [
+ 'title' => '项目列表',
+ 'description' => 'List of projects',
+ 'type' => 'array',
+ 'items' => ['$ref' => '#/components/schemas/BrowserSession', 'description' => '', 'title' => '', 'example' => ''],
+ 'example' => '',
+ ],
+ 'pageNumber' => ['title' => '页码', 'description' => 'Page number', 'type' => 'integer', 'example' => ''],
+ 'pageSize' => ['title' => '页面大小', 'description' => 'Page size', 'type' => 'integer', 'example' => ''],
+ 'total' => ['title' => '总数', 'description' => 'Total count', 'type' => 'integer', 'example' => ''],
+ ],
+ 'example' => '',
+ ],
+ 'ListBrowserSessionsResult' => [
+ 'title' => '浏览器会话列表结果',
+ 'description' => 'Unified response format for retrieving the browser session list ',
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => ['title' => '响应状态码', 'description' => 'HTTP status code. A value of 200 indicates success. ', 'type' => 'integer', 'example' => ''],
+ 'success' => ['title' => '请求是否成功', 'description' => 'true indicates the request succeeded; false indicates it failed ', 'type' => 'boolean', 'example' => ''],
+ 'requestId' => ['title' => '请求ID', 'description' => 'Unique request identifier used for troubleshooting ', 'type' => 'string', 'example' => ''],
+ 'data' => ['title' => '浏览器会话列表数据', 'description' => 'Detailed information about the browser session list ', '$ref' => '#/components/schemas/ListBrowserSessionsOutput', 'example' => ''],
+ ],
+ 'example' => '',
+ ],
+ 'ListBrowsersInput' => [
+ 'title' => '列出浏览器输入',
+ 'description' => 'Contains the parameters for the ListBrowsers operation.',
+ 'type' => 'object',
+ 'properties' => [
+ 'browserName' => ['title' => '浏览器名称', 'description' => 'Filters the results by browser name.', 'type' => 'string', 'example' => 'my-browser'],
+ 'pageSize' => ['title' => '页面大小', 'description' => 'The maximum number of results to return per page.', 'type' => 'integer', 'example' => '20'],
+ 'pageNumber' => ['title' => '页码', 'description' => 'The page number of the results to return.', 'type' => 'integer', 'example' => '1'],
+ ],
+ 'example' => '',
+ ],
+ 'ListBrowsersOutput' => [
+ 'title' => '',
+ 'description' => 'List browser outputs ',
+ 'type' => 'object',
+ 'properties' => [
+ 'pageNumber' => ['title' => '', 'description' => 'Page number ', 'type' => 'integer', 'format' => 'int32', 'example' => ''],
+ 'pageSize' => ['title' => '', 'description' => 'Page size ', 'type' => 'integer', 'format' => 'int32', 'example' => ''],
+ 'total' => ['title' => '', 'description' => 'Total count ', 'type' => 'integer', 'format' => 'int64', 'example' => ''],
+ 'items' => [
+ 'title' => '',
+ 'description' => 'Browser list ',
+ 'type' => 'array',
+ 'items' => ['$ref' => '#/components/schemas/Browser', 'description' => '', 'title' => '', 'example' => ''],
+ 'example' => '',
+ ],
+ ],
+ 'example' => '',
+ ],
+ 'ListBrowsersResult' => [
+ 'title' => '',
+ 'description' => 'The standardized response object for a request to list browsers.',
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => ['title' => '', 'description' => 'The request status. A value of SUCCESS indicates success. On failure, this field contains an error type, such as ERR\\_BAD\\_REQUEST, ERR\\_VALIDATION\\_FAILED, or ERR\\_INTERNAL\\_SERVER\\_ERROR.', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'requestId' => ['title' => '', 'description' => 'A unique request identifier for issue tracking.', 'type' => 'string', 'example' => 'F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E'],
+ 'data' => ['title' => '', 'description' => 'The detailed browser list.', '$ref' => '#/components/schemas/ListBrowsersOutput', 'example' => '{}'],
+ ],
+ 'example' => '',
+ ],
+ 'ListCodeInterpreterSessionResult' => [
+ 'title' => '',
+ 'description' => 'The response object containing the list of code interpreter sessions.',
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => ['title' => '', 'description' => 'The request status. A value of SUCCESS indicates that the request succeeded. Other values include error codes such as `ERR_BAD_REQUEST`, `ERR_VALIDATION_FAILED`, and `ERR_INTERNAL_SERVER_ERROR`.', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'requestId' => ['title' => '', 'description' => 'Unique identifier for the request.', 'type' => 'string', 'example' => 'F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E'],
+ 'data' => ['title' => '', 'description' => 'Contains the list of code interpreter sessions.', '$ref' => '#/components/schemas/CodeInterpreterSessionListOut', 'example' => '{}'],
+ ],
+ 'example' => '',
+ ],
+ 'ListCodeInterpreterSessionsData' => [
+ 'title' => '代码解释器会话列表数据',
+ 'description' => 'Code interpreter session list data ',
+ 'type' => 'object',
+ 'properties' => [
+ 'sessions' => [
+ 'title' => '会话列表',
+ 'description' => 'Session list ',
+ 'type' => 'array',
+ 'items' => ['$ref' => '#/components/schemas/CodeInterpreterSessionItem', 'description' => '', 'title' => '', 'example' => ''],
+ 'example' => '',
+ ],
+ 'total' => ['title' => '总数', 'description' => 'Total count ', 'type' => 'integer', 'format' => 'int64', 'example' => ''],
+ 'pageNumber' => ['title' => '页码', 'description' => 'Page number ', 'type' => 'integer', 'format' => 'int32', 'example' => ''],
+ 'pageSize' => ['title' => '页大小', 'description' => 'Page size ', 'type' => 'integer', 'format' => 'int32', 'example' => ''],
+ 'maxResults' => ['title' => '最大结果数', 'description' => 'Maximum number of results ', 'type' => 'integer', 'format' => 'int32', 'example' => ''],
+ 'nextToken' => ['title' => '下一页标记', 'description' => 'Next page mark ', 'type' => 'string', 'example' => ''],
+ ],
+ 'example' => '',
+ ],
+ 'ListCodeInterpreterSessionsOutput' => [
+ 'title' => '代码解释器会话列表输出',
+ 'description' => 'Outputs of the code interpreter session list ',
+ 'type' => 'object',
+ 'properties' => [
+ 'items' => [
+ 'title' => '项目列表',
+ 'description' => 'List of projects ',
+ 'type' => 'array',
+ 'items' => ['$ref' => '#/components/schemas/CodeInterpreterSession', 'description' => '', 'title' => '', 'example' => ''],
+ 'example' => '',
+ ],
+ 'pageNumber' => ['title' => '页码', 'description' => 'Page number ', 'type' => 'integer', 'example' => ''],
+ 'pageSize' => ['title' => '页面大小', 'description' => 'Page size ', 'type' => 'integer', 'example' => ''],
+ 'total' => ['title' => '总数', 'description' => 'Total count ', 'type' => 'integer', 'example' => ''],
+ ],
+ 'example' => '',
+ ],
+ 'ListCodeInterpreterSessionsResult' => [
+ 'title' => '代码解释器会话列表结果',
+ 'description' => 'Unified response format for retrieving the list of code interpreter sessions ',
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => ['title' => '响应状态码', 'description' => 'HTTP status code. A value of 200 indicates success. ', 'type' => 'integer', 'example' => ''],
+ 'success' => ['title' => '请求是否成功', 'description' => 'true indicates that the request succeeded; false indicates failure ', 'type' => 'boolean', 'example' => ''],
+ 'requestId' => ['title' => '请求ID', 'description' => 'A unique request identifier used for troubleshooting ', 'type' => 'string', 'example' => ''],
+ 'data' => ['title' => '代码解释器会话列表数据', 'description' => 'Detailed information about the list of code interpreter sessions ', '$ref' => '#/components/schemas/ListCodeInterpreterSessionsOutput', 'example' => ''],
+ ],
+ 'example' => '',
+ ],
+ 'ListCodeInterpretersInput' => [
+ 'title' => '列出代码解释器输入',
+ 'description' => 'Parameters for listing code interpreters.',
+ 'type' => 'object',
+ 'properties' => [
+ 'codeInterpreterName' => ['title' => '代码解释器名称', 'description' => 'Filters results by code interpreter name.', 'type' => 'string', 'example' => ''],
+ 'pageNumber' => ['title' => '页码', 'description' => 'The page number of the results to return. Default: 1.', 'type' => 'integer', 'minimum' => '1', 'default' => '1', 'example' => ''],
+ 'pageSize' => ['title' => '页面大小', 'description' => 'Maximum number of results to return per page. Valid values: 1 to 100. Default: 20.', 'type' => 'integer', 'minimum' => '1', 'default' => '20', 'example' => ''],
+ ],
+ 'example' => '',
+ ],
+ 'ListCodeInterpretersOutput' => [
+ 'title' => '',
+ 'description' => 'List code interpreter outputs ',
+ 'type' => 'object',
+ 'properties' => [
+ 'pageNumber' => ['title' => '', 'description' => 'Page number ', 'type' => 'integer', 'format' => 'int32', 'example' => ''],
+ 'pageSize' => ['title' => '', 'description' => 'Page size ', 'type' => 'integer', 'format' => 'int32', 'example' => ''],
+ 'total' => ['title' => '', 'description' => 'Total count ', 'type' => 'integer', 'format' => 'int64', 'example' => ''],
+ 'items' => [
+ 'title' => '',
+ 'description' => 'List of code interpreters ',
+ 'type' => 'array',
+ 'items' => ['$ref' => '#/components/schemas/CodeInterpreter', 'description' => '', 'title' => '', 'example' => ''],
+ 'example' => '',
+ ],
+ ],
+ 'example' => '',
+ ],
+ 'ListCodeInterpretersResult' => [
+ 'title' => '',
+ 'description' => 'A standard response structure for listing code interpreters.',
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => ['title' => '', 'description' => 'The response status code. `SUCCESS` indicates the request was successful. If the request fails, this field contains an error type, such as `ERR_BAD_REQUEST`, `ERR_VALIDATION_FAILED`, or `ERR_INTERNAL_SERVER_ERROR`.', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'requestId' => ['title' => '', 'description' => 'The unique request ID, used for troubleshooting.', 'type' => 'string', 'example' => 'F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E'],
+ 'data' => ['title' => '', 'description' => 'A list of code interpreter objects.', '$ref' => '#/components/schemas/ListCodeInterpretersOutput', 'example' => '{}'],
+ ],
+ 'example' => '',
+ ],
+ 'ListConsumerAPIKeysOutput' => [
+ 'title' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'pageNumber' => ['title' => '', 'description' => 'The current page number.', 'type' => 'integer', 'example' => '1'],
+ 'pageSize' => ['title' => '', 'description' => 'The number of entries per page.', 'type' => 'integer', 'example' => '20'],
+ 'total' => ['title' => '', 'description' => 'The total number of matching consumer API keys.', 'type' => 'integer', 'example' => '10'],
+ 'items' => [
+ 'title' => '',
+ 'description' => 'A list of consumer API keys.',
+ 'type' => 'array',
+ 'items' => ['description' => '', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/ConsumerAPIKey'],
+ 'example' => '',
+ ],
+ ],
+ 'description' => '',
+ 'example' => '',
+ ],
+ 'ListConsumerAPIKeysResult' => [
+ 'title' => '',
+ 'description' => 'The response format for listing consumer API keys.',
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => ['title' => '', 'description' => 'The request status. `SUCCESS` indicates that the request was successful. Otherwise, this field returns the error type.', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'requestId' => ['title' => '', 'description' => 'The unique request ID. Use this ID for issue tracking.', 'type' => 'string', 'example' => 'F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E'],
+ 'data' => ['title' => '', 'description' => 'The list of consumer API keys.', 'example' => '{}', '$ref' => '#/components/schemas/ListConsumerAPIKeysOutput'],
+ ],
+ 'example' => '',
+ ],
+ 'ListCredentialsOutput' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'total' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'pageSize' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'pageNumber' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'items' => [
+ '$ref' => '#/components/schemas/CredentialListItem',
+ 'type' => 'array',
+ 'items' => ['$ref' => '#/components/schemas/CredentialListItem', 'description' => '', 'title' => '', 'example' => ''],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'ListCredentialsResult' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => ['type' => 'string'],
+ 'requestId' => ['type' => 'string'],
+ 'data' => ['$ref' => '#/components/schemas/ListCredentialsOutput'],
+ ],
+ ],
+ 'ListCustomDomainsOutput' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'pageSize' => ['type' => 'integer', 'format' => 'int32', 'description' => '', 'title' => '', 'example' => ''],
+ 'pageNumber' => ['type' => 'integer', 'format' => 'int32', 'description' => '', 'title' => '', 'example' => ''],
+ 'total' => ['type' => 'integer', 'format' => 'int32', 'description' => '', 'title' => '', 'example' => ''],
+ 'items' => [
+ 'type' => 'array',
+ 'items' => ['$ref' => '#/components/schemas/CustomDomain', 'description' => '', 'title' => '', 'example' => ''],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'ListCustomDomainsResult' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'requestId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'data' => ['$ref' => '#/components/schemas/ListCustomDomainsOutput', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'ListDomainsOutput' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'items' => [
+ 'type' => 'array',
+ 'items' => ['$ref' => '#/components/schemas/DomainInfo', 'description' => '', 'title' => '', 'example' => ''],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'pageNumber' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'pageSize' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'totalCount' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'ListFlowEndpointsOutput' => [
+ 'title' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'pageNumber' => ['title' => '', 'type' => 'integer', 'description' => '', 'example' => ''],
+ 'pageSize' => ['title' => '', 'type' => 'integer', 'description' => '', 'example' => ''],
+ 'total' => ['title' => '', 'type' => 'integer', 'description' => '', 'example' => ''],
+ 'items' => [
+ 'title' => '',
+ 'type' => 'array',
+ 'items' => ['$ref' => '#/components/schemas/FlowEndpoint', 'description' => '', 'title' => '', 'example' => ''],
+ 'description' => '',
+ 'example' => '',
+ ],
+ ],
+ 'description' => '',
+ 'example' => '',
+ ],
+ 'ListFlowEndpointsResult' => [
+ 'title' => '',
+ 'description' => '获取工作流端点列表的统一结果格式',
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => ['title' => '', 'description' => 'SUCCESS 为成功,失败情况返回对应错误类型', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'requestId' => ['title' => '', 'description' => '唯一的请求标识符,用于问题追踪', 'type' => 'string', 'example' => 'F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E'],
+ 'data' => ['title' => '', 'description' => '工作流端点列表的详细信息', 'example' => '{}', '$ref' => '#/components/schemas/ListFlowEndpointsOutput'],
+ ],
+ 'example' => '',
+ ],
+ 'ListFlowsOutput' => [
+ 'title' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'pageNumber' => ['title' => '', 'type' => 'integer', 'description' => '', 'example' => ''],
+ 'pageSize' => ['title' => '', 'type' => 'integer', 'description' => '', 'example' => ''],
+ 'total' => ['title' => '', 'type' => 'integer', 'description' => '', 'example' => ''],
+ 'items' => [
+ 'title' => '',
+ 'type' => 'array',
+ 'items' => ['$ref' => '#/components/schemas/Flow', 'description' => '', 'title' => '', 'example' => ''],
+ 'description' => '',
+ 'example' => '',
+ ],
+ ],
+ 'description' => '',
+ 'example' => '',
+ ],
+ 'ListFlowsResult' => [
+ 'title' => '',
+ 'description' => '获取工作流列表的统一结果格式',
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => ['title' => '', 'description' => 'SUCCESS 为成功,失败情况返回对应错误类型,比如 ERR_BAD_REQUEST ERR_VALIDATION_FAILED ERR_INTERNAL_SERVER_ERROR', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'requestId' => ['title' => '', 'description' => '唯一的请求标识符,用于问题追踪', 'type' => 'string', 'example' => 'F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E'],
+ 'data' => ['title' => '', 'description' => '工作流列表的详细信息', 'example' => '{}', '$ref' => '#/components/schemas/ListFlowsOutput'],
+ ],
+ 'example' => '',
+ ],
+ 'ListFlowVersionsOutput' => [
+ 'title' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'pageNumber' => ['title' => '', 'type' => 'integer', 'description' => '', 'example' => ''],
+ 'pageSize' => ['title' => '', 'type' => 'integer', 'description' => '', 'example' => ''],
+ 'total' => ['title' => '', 'type' => 'integer', 'description' => '', 'example' => ''],
+ 'items' => [
+ 'title' => '',
+ 'type' => 'array',
+ 'items' => ['$ref' => '#/components/schemas/FlowVersion', 'description' => '', 'title' => '', 'example' => ''],
+ 'description' => '',
+ 'example' => '',
+ ],
+ ],
+ 'description' => '',
+ 'example' => '',
+ ],
+ 'ListFlowVersionsResult' => [
+ 'title' => '',
+ 'description' => '获取工作流版本列表的统一结果格式',
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => ['title' => '', 'description' => 'SUCCESS 为成功,失败情况返回对应错误类型', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'requestId' => ['title' => '', 'description' => '唯一的请求标识符,用于问题追踪', 'type' => 'string', 'example' => 'F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E'],
+ 'data' => ['title' => '', 'description' => '工作流版本列表的详细信息', 'example' => '{}', '$ref' => '#/components/schemas/ListFlowVersionsOutput'],
+ ],
+ 'example' => '',
+ ],
+ 'ListFunagentsInput' => [
+ 'title' => '列出 Funagent 输入',
+ 'description' => 'POP 使用 pageNumber/pageSize;转发 funagent-core 时映射为 limit=pageSize、offset=(pageNumber-1)*pageSize',
+ 'type' => 'object',
+ 'properties' => [
+ 'funagentName' => ['title' => '按名称过滤', 'type' => 'string'],
+ 'status' => ['title' => '按状态过滤', 'type' => 'string'],
+ 'pageNumber' => ['title' => '页码', 'type' => 'integer', 'example' => '1'],
+ 'pageSize' => ['title' => '页面大小', 'type' => 'integer', 'example' => '20'],
+ ],
+ ],
+ 'ListFunagentsOutput' => [
+ 'title' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'pageNumber' => ['title' => '', 'type' => 'integer', 'description' => '', 'example' => ''],
+ 'pageSize' => ['title' => '', 'type' => 'integer', 'description' => '', 'example' => ''],
+ 'total' => ['title' => '', 'type' => 'integer', 'description' => '', 'example' => ''],
+ 'items' => [
+ 'title' => '',
+ 'type' => 'array',
+ 'items' => ['$ref' => '#/components/schemas/Funagent', 'description' => '', 'title' => '', 'example' => ''],
+ 'description' => '',
+ 'example' => '',
+ ],
+ ],
+ 'description' => '',
+ 'example' => '',
+ ],
+ 'ListFunagentsResult' => [
+ 'title' => '',
+ 'description' => '获取 Funagent 列表的统一结果格式',
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => ['title' => '', 'description' => 'SUCCESS 为成功,失败情况返回对应错误类型,比如 ERR_BAD_REQUEST ERR_VALIDATION_FAILED ERR_INTERNAL_SERVER_ERROR', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'requestId' => ['title' => '', 'description' => '唯一的请求标识符,用于问题追踪', 'type' => 'string', 'example' => 'F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E'],
+ 'data' => ['title' => '', '$ref' => '#/components/schemas/ListFunagentsOutput', 'description' => '', 'example' => ''],
+ ],
+ 'example' => '',
+ ],
+ 'ListGatewaysOutput' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'items' => ['$ref' => '#/components/schemas/Gateway', 'description' => '', 'title' => '', 'example' => ''],
+ 'pageNumber' => ['type' => 'integer', 'format' => 'int32', 'description' => '', 'title' => '', 'example' => ''],
+ 'pageSize' => ['type' => 'integer', 'format' => 'int32', 'description' => '', 'title' => '', 'example' => ''],
+ 'total' => ['type' => 'integer', 'format' => 'int32', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'ListIMBotsOutput' => [
+ 'title' => '',
+ 'description' => '成功响应中 data 为 items + pageNumber + pageSize + total',
+ 'type' => 'object',
+ 'properties' => [
+ 'items' => [
+ 'type' => 'array',
+ 'items' => ['$ref' => '#/components/schemas/IMBotInfo', 'description' => '', 'title' => '', 'example' => ''],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'pageNumber' => ['type' => 'integer', 'format' => 'int32', 'description' => '', 'title' => '', 'example' => ''],
+ 'pageSize' => ['type' => 'integer', 'format' => 'int32', 'description' => '', 'title' => '', 'example' => ''],
+ 'total' => ['type' => 'integer', 'format' => 'int32', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'example' => '',
+ ],
+ 'ListIMBotsResult' => [
+ 'title' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'requestId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'data' => ['$ref' => '#/components/schemas/ListIMBotsOutput', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'description' => '',
+ 'example' => '',
+ ],
+ 'ListKnowledgeBasesOutput' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'pageNumber' => ['title' => '', 'type' => 'integer', 'format' => 'int32', 'description' => '', 'example' => ''],
+ 'pageSize' => ['title' => '', 'type' => 'integer', 'format' => 'int32', 'description' => '', 'example' => ''],
+ 'total' => ['title' => '', 'type' => 'integer', 'format' => 'int64', 'description' => '', 'example' => ''],
+ 'items' => [
+ 'title' => '',
+ 'type' => 'array',
+ 'items' => ['$ref' => '#/components/schemas/KnowledgeBase', 'description' => '', 'title' => '', 'example' => ''],
+ 'description' => '',
+ 'example' => '',
+ ],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'ListKnowledgeBasesResult' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''],
+ 'requestId' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''],
+ 'data' => ['title' => '', '$ref' => '#/components/schemas/ListKnowledgeBasesOutput', 'description' => '', 'example' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'ListMemoryCollectionsOutput' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'pageNumber' => ['type' => 'integer', 'format' => 'int32', 'description' => '', 'title' => '', 'example' => ''],
+ 'pageSize' => ['type' => 'integer', 'format' => 'int32', 'description' => '', 'title' => '', 'example' => ''],
+ 'total' => ['type' => 'integer', 'format' => 'int64', 'description' => '', 'title' => '', 'example' => ''],
+ 'items' => [
+ 'type' => 'array',
+ 'items' => ['$ref' => '#/components/schemas/MemoryCollection', 'description' => '', 'title' => '', 'example' => ''],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'ListMemoryCollectionsResult' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'requestId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'data' => ['$ref' => '#/components/schemas/ListMemoryCollectionsOutput', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'ListModelConnectionsOutput' => [
+ 'title' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'pageNumber' => ['title' => '', 'description' => 'The current page number.', 'type' => 'integer', 'example' => '1'],
+ 'pageSize' => ['title' => '', 'description' => 'The number of entries per page.', 'type' => 'integer', 'example' => '20'],
+ 'total' => ['title' => '', 'description' => 'The total number of matching ModelConnection objects.', 'type' => 'integer', 'example' => '10'],
+ 'items' => [
+ 'title' => '',
+ 'description' => 'A list of ModelConnection objects.',
+ 'type' => 'array',
+ 'items' => ['description' => '', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/ModelConnection'],
+ 'example' => '',
+ ],
+ ],
+ 'description' => '',
+ 'example' => '',
+ ],
+ 'ListModelConnectionsResult' => [
+ 'title' => '',
+ 'description' => 'The unified response format for listing model connections.',
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => ['title' => '', 'description' => 'Indicates the request status. A value of SUCCESS means the request was successful. For failed requests, this field contains the corresponding error type.', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'requestId' => ['title' => '', 'description' => 'The unique request ID, used for troubleshooting.', 'type' => 'string', 'example' => 'F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E'],
+ 'data' => ['title' => '', 'description' => 'The list of model connections.', 'example' => '{}', '$ref' => '#/components/schemas/ListModelConnectionsOutput'],
+ ],
+ 'example' => '',
+ ],
+ 'ListModelProxiesOutput' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'pageNumber' => ['type' => 'integer', 'format' => 'int32'],
+ 'pageSize' => ['type' => 'integer', 'format' => 'int32'],
+ 'total' => ['type' => 'integer', 'format' => 'int64'],
+ 'items' => [
+ 'type' => 'array',
+ 'items' => ['$ref' => '#/components/schemas/ModelProxy'],
+ ],
+ ],
+ ],
+ 'ListModelProxiesResult' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => ['type' => 'string'],
+ 'requestId' => ['type' => 'string'],
+ 'data' => ['$ref' => '#/components/schemas/ListModelProxiesOutput'],
+ ],
+ ],
+ 'ListModelServicesOutput' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'pageNumber' => ['type' => 'integer', 'format' => 'int32'],
+ 'pageSize' => ['type' => 'integer', 'format' => 'int32'],
+ 'total' => ['type' => 'integer', 'format' => 'int64'],
+ 'items' => [
+ 'type' => 'array',
+ 'items' => ['$ref' => '#/components/schemas/ModelService'],
+ ],
+ ],
+ ],
+ 'ListModelServicesResult' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => ['type' => 'string'],
+ 'requestId' => ['type' => 'string'],
+ 'data' => ['$ref' => '#/components/schemas/ListModelServicesOutput'],
+ ],
+ ],
+ 'ListRateLimitRulesOutput' => [
+ 'title' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'pageNumber' => ['title' => '', 'description' => 'The current page number.', 'type' => 'integer', 'example' => '1'],
+ 'pageSize' => ['title' => '', 'description' => 'The number of entries per page.', 'type' => 'integer', 'example' => '20'],
+ 'total' => ['title' => '', 'description' => 'The total number of matching rate-limiting rules.', 'type' => 'integer', 'example' => '10'],
+ 'items' => [
+ 'title' => '',
+ 'description' => 'The list of rate-limiting rules.',
+ 'type' => 'array',
+ 'items' => ['description' => '', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/RateLimitRule'],
+ 'example' => '',
+ ],
+ ],
+ 'description' => '',
+ 'example' => '',
+ ],
+ 'ListRateLimitRulesResult' => [
+ 'title' => '',
+ 'description' => 'Standard response format for listing rate limit rules.',
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => ['title' => '', 'description' => 'A value of `SUCCESS` indicates a successful request. If the request fails, an error code is returned.', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'requestId' => ['title' => '', 'description' => 'The unique request ID, used for troubleshooting.', 'type' => 'string', 'example' => 'F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E'],
+ 'data' => ['title' => '', 'description' => 'Detailed information about the rate limit rules.', 'example' => '{}', '$ref' => '#/components/schemas/ListRateLimitRulesOutput'],
+ ],
+ 'example' => '',
+ ],
+ 'ListSandboxesOutput' => [
+ 'title' => '沙箱列表输出',
+ 'description' => '沙箱列表查询结果',
+ 'type' => 'object',
+ 'properties' => [
+ 'nextToken' => ['title' => '分页Token', 'type' => 'string'],
+ 'items' => [
+ 'title' => '沙箱列表项目',
+ 'type' => 'array',
+ 'items' => ['title' => '沙箱列表', '$ref' => '#/components/schemas/Sandbox'],
+ 'required' => true,
+ ],
+ ],
+ ],
+ 'ListSandboxesResult' => [
+ 'title' => '',
+ 'description' => 'The response format for a request to list sandboxes.',
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => ['title' => '', 'description' => 'The status of the request. A value of \'SUCCESS\' indicates that the request was successful. If the request fails, an error code is returned, such as \'ERR\\_BAD\\_REQUEST\', \'ERR\\_VALIDATION\\_FAILED\', or \'ERR\\_INTERNAL\\_SERVER\\_ERROR\'.', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'requestId' => ['title' => '', 'description' => 'The unique request ID used for issue tracking.', 'type' => 'string', 'example' => '55D4BE40-2811-5CFB-8482-E0E98D575B1E'],
+ 'data' => ['title' => '', 'description' => 'Contains the list of sandboxes.', '$ref' => '#/components/schemas/ListSandboxesOutput', 'example' => ''],
+ ],
+ 'example' => '',
+ ],
+ 'ListServicesOutput' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'pageNumber' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'pageSize' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'totalCount' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'items' => [
+ 'type' => 'array',
+ 'items' => ['$ref' => '#/components/schemas/ServiceInfo', 'description' => '', 'title' => '', 'example' => ''],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'ListTemplatesOutput' => [
+ 'title' => '',
+ 'description' => 'Contains a list of templates and pagination details.',
+ 'type' => 'object',
+ 'properties' => [
+ 'pageNumber' => ['title' => '', 'description' => 'The page number of the returned results.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'],
+ 'pageSize' => ['title' => '', 'description' => 'The maximum number of items to return per page.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '10'],
+ 'total' => ['title' => '', 'description' => 'The total number of templates available.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '10'],
+ 'items' => [
+ 'title' => '',
+ 'description' => 'An array of template objects.',
+ 'type' => 'array',
+ 'items' => ['title' => '', 'description' => 'A template object.', '$ref' => '#/components/schemas/Template', 'example' => ''],
+ 'required' => true,
+ 'example' => '',
+ ],
+ ],
+ 'example' => '',
+ ],
+ 'ListTemplatesResult' => [
+ 'title' => '',
+ 'description' => 'The unified response format for a template list.',
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => ['title' => '', 'description' => 'A value of `SUCCESS` indicates the request was successful. On failure, this parameter returns an error type, such as `ERR_BAD_REQUEST`, `ERR_VALIDATION_FAILED`, or `ERR_INTERNAL_SERVER_ERROR`.', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'requestId' => ['title' => '', 'description' => 'A unique request ID for troubleshooting and tracking.', 'type' => 'string', 'example' => 'C0595DB0-D1EE-55C3-8DDD-790872C7EC2F'],
+ 'data' => ['title' => '', 'description' => 'Details about the template list.', '$ref' => '#/components/schemas/ListTemplatesOutput', 'example' => ''],
+ ],
+ 'example' => '',
+ ],
+ 'ListToolsOutput' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'data' => [
+ 'type' => 'array',
+ 'items' => ['$ref' => '#/components/schemas/ToolListItem', 'description' => '', 'title' => '', 'example' => ''],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'pageSize' => ['type' => 'integer', 'format' => 'int32', 'description' => '', 'title' => '', 'example' => ''],
+ 'pageNum' => ['type' => 'integer', 'format' => 'int32', 'description' => '', 'title' => '', 'example' => ''],
+ 'total' => ['type' => 'integer', 'format' => 'int32', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'ListToolsOutputV2' => [
+ 'title' => '',
+ 'description' => '工具列表查询的返回结果,包含分页信息和工具列表数据。',
+ 'type' => 'object',
+ 'properties' => [
+ 'pageSize' => ['title' => '', 'description' => '每页返回的工具数量', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'pageNumber' => ['title' => '', 'description' => '当前页码,从 1 开始', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'total' => ['title' => '', 'description' => '符合条件的工具总数', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
+ 'items' => [
+ 'title' => '',
+ 'description' => '当前页的工具详细信息列表',
+ 'type' => 'array',
+ 'items' => ['$ref' => '#/components/schemas/Tool', 'description' => '', 'title' => '', 'example' => ''],
+ 'example' => '',
+ ],
+ ],
+ 'example' => '',
+ ],
+ 'ListToolsResult' => [
+ 'title' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''],
+ 'requestId' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''],
+ 'data' => ['title' => '', '$ref' => '#/components/schemas/ListToolsOutputV2', 'description' => '', 'example' => ''],
+ ],
+ 'description' => '',
+ 'example' => '',
+ ],
+ 'ListWorkspacesOutput' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'workspaces' => [
+ 'type' => 'array',
+ 'items' => ['$ref' => '#/components/schemas/Workspace', 'description' => '', 'title' => '', 'example' => ''],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'total' => ['type' => 'integer', 'format' => 'int64', 'description' => '', 'title' => '', 'example' => ''],
+ 'pageNumber' => ['type' => 'integer', 'format' => 'int32', 'description' => '', 'title' => '', 'example' => ''],
+ 'pageSize' => ['type' => 'integer', 'format' => 'int32', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'ListWorkspacesResult' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'requestId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'data' => ['$ref' => '#/components/schemas/ListWorkspacesOutput', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'LLMAPIConfiguration' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'removeBasePathOnForward' => ['type' => 'boolean', 'description' => '', 'title' => '', 'example' => ''],
+ 'basePath' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'type' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'modelCategory' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'aiProtocols' => [
+ 'type' => 'array',
+ 'items' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'deployConfigs' => [
+ 'type' => 'array',
+ 'items' => ['$ref' => '#/components/schemas/LLMDeployConfig', 'description' => '', 'title' => '', 'example' => ''],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'attachPolicyConfigs' => [
+ 'type' => 'array',
+ 'items' => ['$ref' => '#/components/schemas/AttachPolicyConfig', 'description' => '', 'title' => '', 'example' => ''],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'LLMConfig' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'config' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'model' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'modelServiceName' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'LLMDeployConfig' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'backendScene' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'autoDeploy' => ['type' => 'boolean', 'description' => '', 'title' => '', 'example' => ''],
+ 'gatewayType' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'serviceConfigs' => [
+ 'type' => 'array',
+ 'items' => ['$ref' => '#/components/schemas/TargetServiceConfig', 'description' => '', 'title' => '', 'example' => ''],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'policyConfigs' => [
+ 'type' => 'array',
+ 'items' => ['$ref' => '#/components/schemas/PolicyConfig', 'description' => '', 'title' => '', 'example' => ''],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'customDomainIds' => [
+ 'type' => 'array',
+ 'items' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'LogConfiguration' => [
+ 'title' => '',
+ 'description' => 'Simple Log Service (SLS) configuration for the agent runtime.',
+ 'type' => 'object',
+ 'properties' => [
+ 'project' => ['title' => '', 'description' => 'The name of the SLS project.', 'type' => 'string', 'example' => 'agent-runtime-logs'],
+ 'logstore' => ['title' => '', 'description' => 'The name of the SLS logstore.', 'type' => 'string', 'example' => 'agent-runtime-logs'],
+ ],
+ 'example' => '',
+ ],
+ 'LogDestination' => [
+ 'title' => '',
+ 'description' => '日志输出的目标配置',
+ 'type' => 'object',
+ 'properties' => [
+ 'slsLogDestination' => ['title' => '', 'description' => '阿里云日志服务(SLS)的日志目标配置', '$ref' => '#/components/schemas/SLSLogDestination', 'example' => ''],
+ ],
+ 'example' => '',
+ ],
+ 'LoggingConfiguration' => [
+ 'title' => '',
+ 'description' => '工作流的日志配置信息',
+ 'type' => 'object',
+ 'properties' => [
+ 'destinations' => [
+ 'title' => '',
+ 'description' => '日志输出的目标配置列表',
+ 'type' => 'array',
+ 'items' => ['$ref' => '#/components/schemas/LogDestination', 'description' => '', 'title' => '', 'example' => ''],
+ 'example' => '',
+ ],
+ ],
+ 'example' => '',
+ ],
+ 'MCPAPI' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'description' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'toolId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'match' => ['$ref' => '#/components/schemas/MCPMatch', 'description' => '', 'title' => '', 'example' => ''],
+ 'backendConfig' => ['$ref' => '#/components/schemas/MCPBackendConfig', 'description' => '', 'title' => '', 'example' => ''],
+ 'protocol' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'exposedUriPath' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'mcpStatisticsEnable' => ['type' => 'boolean', 'description' => '', 'title' => '', 'example' => ''],
+ 'toolsConfig' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'MCPAPIConfiguration' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'toolId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'description' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'protocol' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'exposedUriPath' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'mcpStatisticsEnable' => ['type' => 'boolean', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'MCPBackendConfig' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'scene' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'services' => [
+ 'type' => 'array',
+ 'items' => ['$ref' => '#/components/schemas/MCPServiceConfig', 'description' => '', 'title' => '', 'example' => ''],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'McpConfig' => [
+ 'title' => '',
+ 'description' => 'Model Context Protocol (MCP) 工具的配置信息,用于定义 MCP 工具的会话管理、代理设置和绑定关系等核心配置。',
+ 'type' => 'object',
+ 'properties' => [
+ 'sessionAffinity' => [
+ 'title' => '',
+ 'description' => '会话亲和性策略,用于控制请求的路由方式。NONE:无亲和性,MCP_SSE:基于 SSE 的会话亲和性,MCP_STREAMABLE:基于流式 HTTP 的会话亲和性',
+ 'type' => 'string',
+ 'enumValueTitles' => ['NONE' => '无亲和性 - 请求可以路由到任意实例', 'MCP_SSE' => 'MCP SSE 亲和性 - 基于 SSE 连接的会话保持', 'MCP_STREAMABLE' => 'MCP 流式亲和性 - 基于流式 HTTP 连接的会话保持'],
+ 'example' => 'MCP_STREAMABLE',
+ 'enum' => ['NONE', 'MCP_SSE', 'MCP_STREAMABLE'],
+ ],
+ 'sessionAffinityConfig' => ['title' => '', 'description' => '会话亲和性的详细配置信息,JSON 格式字符串,包含会话保持的具体参数', 'type' => 'string', 'example' => ''],
+ 'proxyEnabled' => ['title' => '', 'description' => '是否启用 MCP 代理功能,启用后可以通过代理配置对 MCP 请求进行拦截和处理', 'type' => 'boolean', 'example' => 'true'],
+ 'mcpProxyConfiguration' => ['title' => '', 'description' => 'MCP 代理的详细配置,包括钩子函数等,用于在 MCP 请求处理过程中执行自定义逻辑', '$ref' => '#/components/schemas/McpProxyConfiguration', 'example' => ''],
+ 'boundConfiguration' => ['title' => '', 'description' => '工具的绑定配置,定义工具与 HTTP 路径和方法的映射关系', '$ref' => '#/components/schemas/BoundConfiguration', 'example' => ''],
+ ],
+ 'example' => '',
+ ],
+ 'MCPMatch' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'path' => ['$ref' => '#/components/schemas/MCPPathMatch', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'MCPPathMatch' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'type' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'value' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'McpProxyConfiguration' => [
+ 'title' => '',
+ 'description' => 'MCP 代理的配置信息,用于在 MCP 请求处理流程中注入自定义的钩子函数,实现请求拦截、修改和增强等功能。',
+ 'type' => 'object',
+ 'properties' => [
+ 'hooks' => [
+ 'title' => '',
+ 'description' => 'MCP 代理的钩子函数配置列表,每个钩子可以在请求处理的不同阶段执行自定义逻辑',
+ 'type' => 'array',
+ 'items' => ['$ref' => '#/components/schemas/Hook', 'description' => '', 'title' => '', 'example' => ''],
+ 'example' => '',
+ ],
+ ],
+ 'example' => '',
+ ],
+ 'MCPServerConfig' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'transportType' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'serverUrl' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'ssePath' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'MCPServiceConfig' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'serviceId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'MemoryCollection' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'memoryCollectionName' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'memoryCollectionId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'description' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'llmConfig' => ['$ref' => '#/components/schemas/LLMConfig', 'description' => '', 'title' => '', 'example' => ''],
+ 'embedderConfig' => ['$ref' => '#/components/schemas/EmbedderConfig', 'description' => '', 'title' => '', 'example' => ''],
+ 'vectorStoreConfig' => ['$ref' => '#/components/schemas/VectorStoreConfig', 'description' => '', 'title' => '', 'example' => ''],
+ 'networkConfiguration' => ['$ref' => '#/components/schemas/NetworkConfiguration', 'description' => '', 'title' => '', 'example' => ''],
+ 'executionRoleArn' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'createdAt' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'lastUpdatedAt' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'enableConversationHistory' => ['type' => 'boolean', 'description' => '', 'title' => '', 'example' => ''],
+ 'enableConversationState' => ['type' => 'boolean', 'description' => '', 'title' => '', 'example' => ''],
+ 'workspaceId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'MemoryCollectionResult' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'requestId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'data' => ['$ref' => '#/components/schemas/MemoryCollection', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'Model' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'modelId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'tenantId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'name' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'provider' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'type' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'address' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'apiKey' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'models' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'modelsWeight' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'desc' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'createdTime' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'updateTime' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'gatewayId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'targetId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'ModelConnection' => [
+ 'title' => '',
+ 'description' => 'Contains the configuration for a model connection between an AI gateway and a model provider.',
+ 'type' => 'object',
+ 'properties' => [
+ 'modelConnectionId' => ['title' => '', 'description' => 'The model connection\'s unique identifier.', 'type' => 'string', 'example' => 'mc-1234567890abcdef'],
+ 'modelConnectionName' => ['title' => '', 'description' => 'A unique name identifying the model connection.', 'type' => 'string', 'example' => 'my-openai-connection'],
+ 'description' => ['title' => '', 'description' => 'A description of the model connection.', 'type' => 'string', 'example' => 'OpenAI GPT-4 connection for production'],
+ 'provider' => ['title' => '', 'description' => 'The model provider\'s name.', 'type' => 'string', 'example' => 'openai'],
+ 'providerSettings' => ['title' => '', 'description' => 'The settings for the model provider.', 'example' => '{}', '$ref' => '#/components/schemas/ModelConnectionProviderSettings'],
+ 'createdAt' => ['title' => '', 'description' => 'The time the model connection was created, in ISO 8601 format.', 'type' => 'string', 'example' => '2025-01-10T10:30:00Z'],
+ 'lastUpdatedAt' => ['title' => '', 'description' => 'The time the model connection was last updated, in ISO 8601 format.', 'type' => 'string', 'example' => '2025-01-10T11:45:00Z'],
+ 'workspaceId' => ['title' => '', 'description' => 'The identifier of the workspace containing the model connection.', 'type' => 'string', 'example' => 'ws-1234567890abcdef'],
+ 'modelInfoConfigs' => [
+ 'title' => '',
+ 'description' => 'A list of model metadata configurations. Each configuration includes the features and parameter rules for a specific model.',
+ 'type' => 'array',
+ 'items' => ['description' => '', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/ModelInfoConfig'],
+ 'example' => '',
+ ],
+ 'consumerApiKeys' => [
+ 'title' => '',
+ 'description' => 'A list of consumer API keys bound to this model connection.',
+ 'type' => 'array',
+ 'items' => ['description' => '', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/ModelConnectionConsumerAPIKey'],
+ 'example' => '',
+ ],
+ ],
+ 'example' => '',
+ ],
+ 'ModelConnectionConsumerAPIKey' => [
+ 'title' => '',
+ 'description' => 'Binding information for the consumer API key in the model connection response.',
+ 'type' => 'object',
+ 'properties' => [
+ 'apiKeyId' => ['title' => '', 'description' => 'The unique identifier for the consumer API key.', 'type' => 'string', 'example' => '12345678-1234-1234-1234-123456789abc'],
+ 'value' => ['description' => 'The value of the consumer API key.', 'type' => 'string', 'title' => '', 'example' => ''],
+ ],
+ 'example' => '',
+ ],
+ 'ModelConnectionProviderSettings' => [
+ 'title' => '',
+ 'description' => 'The provider configuration for the model connection.',
+ 'type' => 'object',
+ 'properties' => [
+ 'baseUrl' => ['title' => '', 'description' => 'The default API base URL for the model provider.', 'type' => 'string', 'example' => 'https://api.openai.com/v1'],
+ 'modelNames' => [
+ 'title' => '',
+ 'description' => 'The list of model names supported by this connection.',
+ 'type' => 'array',
+ 'items' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'example' => '',
+ ],
+ ],
+ 'example' => '',
+ ],
+ 'ModelConnectionResult' => [
+ 'title' => '',
+ 'description' => 'A unified response format for creating, retrieving, updating, and deleting model connections.',
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => ['title' => '', 'description' => '`SUCCESS` indicates a successful request. On failure, this field returns the error type.', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'requestId' => ['title' => '', 'description' => 'The unique request ID used for troubleshooting.', 'type' => 'string', 'example' => 'F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E'],
+ 'data' => ['title' => '', 'description' => 'The resulting model connection object.', 'example' => '{}', '$ref' => '#/components/schemas/ModelConnection'],
+ ],
+ 'example' => '',
+ ],
+ 'ModelFeatures' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'vision' => ['type' => 'boolean'],
+ 'agentThought' => ['type' => 'boolean'],
+ 'toolCall' => ['type' => 'boolean'],
+ 'multiToolCall' => ['type' => 'boolean'],
+ 'streamToolCall' => ['type' => 'boolean'],
+ ],
+ ],
+ 'ModelInfoConfig' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'modelName' => ['type' => 'string'],
+ 'modelFeatures' => ['$ref' => '#/components/schemas/ModelFeatures'],
+ 'modelProperties' => ['$ref' => '#/components/schemas/ModelProperties'],
+ 'modelParameterRules' => [
+ 'type' => 'array',
+ 'items' => ['$ref' => '#/components/schemas/ModelParameterRule'],
+ ],
+ ],
+ ],
+ 'ModelParameterRule' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'name' => ['type' => 'string'],
+ 'type' => ['type' => 'string'],
+ 'default' => ['type' => 'any'],
+ 'min' => ['type' => 'integer', 'format' => 'int32'],
+ 'max' => ['type' => 'integer', 'format' => 'int32'],
+ 'required' => ['type' => 'boolean'],
+ ],
+ ],
+ 'ModelProperties' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'contextSize' => ['type' => 'integer', 'format' => 'int32'],
+ ],
+ ],
+ 'ModelProxy' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'modelProxyId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'modelProxyName' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'description' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'modelType' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'proxyMode' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'proxyConfig' => ['$ref' => '#/components/schemas/ProxyConfig', 'description' => '', 'title' => '', 'example' => ''],
+ 'functionName' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'status' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'credentialName' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'serviceRegionId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'endpoint' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'litellmVersion' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'cpu' => ['type' => 'number', 'format' => 'float', 'description' => '', 'title' => '', 'example' => ''],
+ 'memory' => ['type' => 'integer', 'format' => 'int32', 'description' => '', 'title' => '', 'example' => ''],
+ 'createdAt' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'lastUpdatedAt' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'networkConfiguration' => ['$ref' => '#/components/schemas/NetworkConfiguration', 'description' => '', 'title' => '', 'example' => ''],
+ 'statusReason' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'logConfiguration' => ['$ref' => '#/components/schemas/LogConfiguration', 'description' => '', 'title' => '', 'example' => ''],
+ 'executionRoleArn' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'workspaceId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'ModelProxyResult' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => ['type' => 'string'],
+ 'requestId' => ['type' => 'string'],
+ 'data' => ['$ref' => '#/components/schemas/ModelProxy'],
+ ],
+ ],
+ 'ModelService' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'modelServiceName' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'description' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'modelType' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'provider' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'providerSettings' => ['$ref' => '#/components/schemas/ProviderSettings', 'description' => '', 'title' => '', 'example' => ''],
+ 'status' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'credentialName' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'createdAt' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'lastUpdatedAt' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'networkConfiguration' => ['$ref' => '#/components/schemas/NetworkConfiguration', 'description' => '', 'title' => '', 'example' => ''],
+ 'statusReason' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'modelServiceId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'modelInfoConfigs' => [
+ 'type' => 'array',
+ 'items' => ['$ref' => '#/components/schemas/ModelInfoConfig', 'description' => '', 'title' => '', 'example' => ''],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'workspaceId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'ModelServiceResult' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => ['type' => 'string'],
+ 'requestId' => ['type' => 'string'],
+ 'data' => ['$ref' => '#/components/schemas/ModelService'],
+ ],
+ ],
+ 'NASConfig' => [
+ 'title' => '',
+ 'description' => 'The NAS configuration.',
+ 'type' => 'object',
+ 'properties' => [
+ 'groupId' => ['title' => '', 'description' => 'The group ID for file system access.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '100'],
+ 'mountPoints' => [
+ 'title' => '',
+ 'description' => 'A list of mount point configurations.',
+ 'type' => 'array',
+ 'items' => ['description' => 'A mount point configuration.', '$ref' => '#/components/schemas/NASMountConfig', 'title' => '', 'example' => ''],
+ 'required' => false,
+ 'maxItems' => 5,
+ 'example' => '',
+ ],
+ 'userId' => ['title' => '', 'description' => 'The user ID for file system access.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '100'],
+ ],
+ 'example' => '',
+ ],
+ 'NASMountConfig' => [
+ 'title' => '',
+ 'description' => 'The configuration for a NAS mount point.',
+ 'type' => 'object',
+ 'properties' => [
+ 'enableTLS' => ['title' => '', 'description' => 'Specifies whether to enable encryption in transit. This option is supported only for general-purpose NAS.', 'type' => 'boolean', 'required' => false, 'example' => ''],
+ 'mountDir' => ['title' => '', 'description' => 'Specifies the local mount directory.', 'type' => 'string', 'required' => false, 'example' => '/home/test', 'maxLength' => 64],
+ 'serverAddr' => ['title' => '', 'description' => 'Specifies the NAS server address.', 'type' => 'string', 'required' => false, 'example' => '***-uni85.cn-hangzhou.nas.com:/', 'maxLength' => 128],
+ ],
+ 'example' => '',
+ ],
+ 'NetworkConfiguration' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'networkMode' => [
+ 'title' => '',
+ 'description' => 'The network mode.',
+ 'type' => 'string',
+ 'enum' => ['PUBLIC', 'PRIVATE', 'PUBLIC_AND_PRIVATE'],
+ 'example' => 'PRIVATE',
+ ],
+ 'vpcId' => ['title' => '', 'description' => 'The VPC ID.', 'type' => 'string', 'example' => 'vpc-1234567890abcdef0'],
+ 'securityGroupId' => ['title' => '', 'description' => 'The security group ID.', 'type' => 'string', 'example' => 'sg-1234567890abcdef0'],
+ 'vswitchIds' => [
+ 'title' => '',
+ 'description' => 'An array of VSwitch IDs.',
+ 'type' => 'array',
+ 'items' => ['description' => 'The VSwitch ID.', 'type' => 'string', 'title' => '', 'example' => 'vsw-sg-1234567890abcdef0'],
+ 'example' => 'vsw-1234567890abcdef0,vsw-abcdef1234567890',
+ ],
+ ],
+ 'description' => 'The network configuration.',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'OssConfiguration' => [
+ 'title' => '',
+ 'description' => 'The OSS configuration for the code interpreter or browser.',
+ 'type' => 'object',
+ 'properties' => [
+ 'bucketName' => ['description' => 'The name of the OSS bucket.', 'type' => 'string', 'title' => '', 'required' => true, 'example' => 'a-test-oss'],
+ 'prefix' => ['description' => 'The object prefix or path within the OSS bucket.', 'type' => 'string', 'title' => '', 'required' => true, 'example' => '/'],
+ 'mountPoint' => ['description' => 'The mount point for the OSS bucket.', 'type' => 'string', 'title' => '', 'required' => true, 'example' => '/mnt/oss1'],
+ 'permission' => [
+ 'description' => 'The access permission for the mount point.',
+ 'type' => 'string',
+ 'title' => '',
+ 'example' => 'READ_WRITE',
+ 'enum' => ['READ_ONLY', 'READ_WRITE'],
+ ],
+ 'region' => ['description' => 'The region where the OSS bucket is located.', 'type' => 'string', 'title' => '', 'example' => 'ch-hangzhou', 'default' => 'cn-hangzhou'],
+ 'endpoint' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'example' => '',
+ ],
+ 'OSSMountConfig' => [
+ 'title' => '',
+ 'description' => 'Specifies the mount configuration for OSS.',
+ 'type' => 'object',
+ 'properties' => [
+ 'mountPoints' => [
+ 'title' => '',
+ 'description' => 'An array of OSS mount points.',
+ 'type' => 'array',
+ 'items' => ['description' => 'An OSS mount point.', '$ref' => '#/components/schemas/OSSMountPoint', 'title' => '', 'example' => ''],
+ 'required' => false,
+ 'maxItems' => 5,
+ 'example' => '',
+ ],
+ ],
+ 'example' => '',
+ ],
+ 'OSSMountPoint' => [
+ 'title' => '',
+ 'description' => 'Specifies the configuration for an OSS mount point.',
+ 'type' => 'object',
+ 'properties' => [
+ 'bucketName' => ['title' => '', 'description' => 'The OSS bucket to mount.', 'type' => 'string', 'required' => false, 'example' => 'my-bucket', 'maxLength' => 64, 'minLength' => 3],
+ 'bucketPath' => ['title' => '', 'description' => 'The directory path within the bucket to mount.', 'type' => 'string', 'required' => false, 'example' => '/my-dir', 'maxLength' => 128],
+ 'endpoint' => ['title' => '', 'description' => 'The OSS endpoint.', 'type' => 'string', 'required' => false, 'example' => 'http://oss-cn-shanghai.aliyuncs.com', 'maxLength' => 128],
+ 'mountDir' => ['title' => '', 'description' => 'The local directory path where the bucket is mounted.', 'type' => 'string', 'required' => false, 'example' => '/mnt/dir', 'maxLength' => 64, 'minLength' => 2],
+ 'readOnly' => ['title' => '', 'description' => 'Specifies whether to mount the OSS bucket as read-only.', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
+ ],
+ 'example' => '',
+ ],
+ 'PaginationInfo' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'page' => ['type' => 'integer', 'format' => 'int32', 'description' => '', 'title' => '', 'example' => ''],
+ 'limit' => ['type' => 'integer', 'format' => 'int32', 'description' => '', 'title' => '', 'example' => ''],
+ 'total' => ['type' => 'integer', 'format' => 'int32', 'description' => '', 'title' => '', 'example' => ''],
+ 'totalPages' => ['type' => 'integer', 'format' => 'int32', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'PathConfig' => [
+ 'title' => '',
+ 'description' => 'The PathConfig object defines the path, supported methods, and resource information for a routing rule.',
+ 'type' => 'object',
+ 'properties' => [
+ 'path' => ['title' => '', 'description' => 'The path for this routing rule.', 'type' => 'string', 'example' => '/login'],
+ 'resourceName' => ['title' => '', 'description' => 'The resource name.', 'type' => 'string', 'example' => ''],
+ 'resourceType' => [
+ 'title' => '',
+ 'description' => 'The resource type. This type must match the one associated with the credential.',
+ 'type' => 'string',
+ 'example' => 'runtime',
+ 'enum' => ['runtime', 'flow'],
+ ],
+ 'agentRuntimeEndpointName' => ['title' => '', 'description' => 'The agent runtime version. This parameter takes effect only when `resourceType` is `runtime`.', 'type' => 'string', 'example' => ''],
+ 'compatibleProtocol' => [
+ 'title' => '',
+ 'description' => 'The compatible protocol, used to convert the backend response format. This parameter is required only when `resourceType` is `flow`. Valid values: `native` indicates an FnF native call; `openai`, `dify-workflow`, and `dify-chatflow` map to their corresponding compatible APIs.',
+ 'type' => 'string',
+ 'example' => 'native',
+ 'enum' => ['native', 'openai', 'dify-workflow', 'dify-chatflow'],
+ ],
+ 'flowEndpointName' => ['title' => '', 'description' => 'The Flow version/alias. This parameter takes effect only when `resourceType` is `flow`. Default value: `Default`.', 'type' => 'string', 'example' => 'Default'],
+ 'methods' => [
+ 'title' => '',
+ 'description' => 'Supported methods: HEAD, GET, POST, PUT, DELETE, PATCH, and OPTIONS.',
+ 'type' => 'array',
+ 'items' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'example' => '[\'GET\']',
+ ],
+ 'removeBasePathOnForward' => ['type' => 'boolean', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'example' => '',
+ ],
+ 'PolarFsConfig' => [
+ 'description' => 'The mount configuration for PFS.',
+ 'type' => 'object',
+ 'properties' => [
+ 'groupId' => ['description' => 'The ID of the group.', 'type' => 'integer', 'format' => 'int32', 'example' => '1000', 'title' => ''],
+ 'userId' => ['description' => 'The ID of the user.', 'type' => 'integer', 'format' => 'int32', 'example' => '1000', 'title' => ''],
+ 'mountPoints' => [
+ 'description' => 'The mount points for PFS.',
+ 'type' => 'array',
+ 'items' => ['description' => 'Information about a PFS mount point.', '$ref' => '#/components/schemas/PolarFsMountConfig', 'title' => '', 'example' => ''],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'PolarFsMountConfig' => [
+ 'description' => 'PFS file mount configuration ',
+ 'type' => 'object',
+ 'properties' => [
+ 'instanceId' => ['description' => 'Instance ID. ', 'type' => 'string', 'example' => 'pfs-cn-6sa48a6gk001', 'title' => ''],
+ 'mountDir' => ['description' => 'Local mount folder. ', 'type' => 'string', 'example' => '/', 'title' => ''],
+ 'remoteDir' => ['description' => 'Remote mount folder ', 'type' => 'string', 'example' => '/mnt/pfs', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'PolicyConfig' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'type' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'enable' => ['type' => 'boolean', 'description' => '', 'title' => '', 'example' => ''],
+ 'aiFallbackConfig' => ['$ref' => '#/components/schemas/AiFallbackConfig', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'ProtocolConfiguration' => [
+ 'title' => '',
+ 'description' => 'Protocol Configuration ',
+ 'type' => 'object',
+ 'properties' => [
+ 'type' => [
+ 'title' => '',
+ 'description' => 'Protocol Type ',
+ 'type' => 'string',
+ 'enum' => ['HTTP', 'MCP'],
+ 'deprecated' => true,
+ 'example' => 'HTTP',
+ ],
+ 'protocolSettings' => [
+ 'description' => 'Detailed protocol configuration information ',
+ 'title' => '',
+ 'type' => 'array',
+ 'items' => ['description' => 'Protocol settings item ', 'title' => '', '$ref' => '#/components/schemas/ProtocolSettings', 'example' => ''],
+ 'example' => '',
+ ],
+ ],
+ 'example' => '',
+ ],
+ 'ProtocolSettings' => [
+ 'title' => '',
+ 'description' => '协议设置表示详细的协议配置信息',
+ 'type' => 'object',
+ 'properties' => [
+ 'type' => ['title' => '', 'description' => '协议类型标识,用于校验与去重;合法取值由后端校验', 'type' => 'string', 'example' => ''],
+ 'name' => ['title' => '', 'description' => '可选展示名/别名,不再作为协议类型标识', 'type' => 'string', 'required' => false, 'example' => ''],
+ 'config' => ['title' => '', 'description' => '协议配置的 JSON 字符串', 'type' => 'string', 'required' => false, 'example' => ''],
+ 'path' => ['title' => '', 'description' => '协议路径', 'type' => 'string', 'deprecated' => true, 'example' => ''],
+ 'pathPrefix' => ['title' => '', 'description' => '协议路径前缀,建议使用 config', 'type' => 'string', 'deprecated' => true, 'example' => ''],
+ 'headers' => ['title' => '', 'description' => '请求头', 'type' => 'string', 'deprecated' => true, 'example' => ''],
+ 'method' => ['title' => '', 'description' => 'HTTP方法', 'type' => 'string', 'deprecated' => true, 'example' => ''],
+ 'inputBodyJsonSchema' => ['title' => '', 'description' => '请求体JSON模式', 'type' => 'string', 'deprecated' => true, 'example' => ''],
+ 'outputBodyJsonSchema' => ['title' => '', 'description' => '响应体JSON模式', 'type' => 'string', 'deprecated' => true, 'example' => ''],
+ 'requestContentType' => ['title' => '', 'description' => '请求内容类型', 'type' => 'string', 'deprecated' => true, 'example' => ''],
+ 'responseContentType' => ['title' => '', 'description' => '响应内容类型', 'type' => 'string', 'deprecated' => true, 'example' => ''],
+ 'A2AAgentCard' => ['type' => 'string', 'deprecated' => true, 'description' => '', 'title' => '', 'example' => ''],
+ 'a2aAgentCard' => ['type' => 'string', 'deprecated' => true, 'description' => '', 'title' => '', 'example' => ''],
+ 'a2aAgentCardUrl' => ['type' => 'string', 'deprecated' => true, 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'example' => '',
+ ],
+ 'ProviderSettings' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'baseUrl' => ['type' => 'string'],
+ 'apiKey' => ['type' => 'string'],
+ 'modelNames' => [
+ 'type' => 'array',
+ 'items' => ['type' => 'string'],
+ ],
+ ],
+ ],
+ 'ProxyConfig' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'policies' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'requestTimeout' => ['type' => 'integer', 'format' => 'int32', 'description' => '', 'title' => '', 'example' => ''],
+ 'numRetries' => ['type' => 'integer', 'format' => 'int32', 'description' => '', 'title' => '', 'example' => ''],
+ 'cache' => ['type' => 'boolean', 'description' => '', 'title' => '', 'example' => ''],
+ 'concurrencyLimit' => ['type' => 'integer', 'format' => 'int32', 'description' => '', 'title' => '', 'example' => ''],
+ 'fallbacks' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'modelServiceName' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'modelName' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'tokenRateLimiter' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'tps' => ['type' => 'integer', 'format' => 'int32', 'description' => '', 'title' => '', 'example' => ''],
+ 'tpm' => ['type' => 'integer', 'format' => 'int32', 'description' => '', 'title' => '', 'example' => ''],
+ 'tph' => ['type' => 'integer', 'format' => 'int32', 'description' => '', 'title' => '', 'example' => ''],
+ 'tpd' => ['type' => 'integer', 'format' => 'int32', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'aiGuardrailConfig' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'checkRequest' => ['type' => 'boolean', 'description' => '', 'title' => '', 'example' => ''],
+ 'checkResponse' => ['type' => 'boolean', 'description' => '', 'title' => '', 'example' => ''],
+ 'level' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'maxTextLength' => ['type' => 'integer', 'format' => 'int32', 'description' => '', 'title' => '', 'example' => ''],
+ 'blockOnContentModeration' => ['type' => 'boolean', 'description' => '', 'title' => '', 'example' => ''],
+ 'blockOnSensitiveData' => ['type' => 'boolean', 'description' => '', 'title' => '', 'example' => ''],
+ 'blockOnPromptAttack' => ['type' => 'boolean', 'description' => '', 'title' => '', 'example' => ''],
+ 'blockOnMaliciousUrl' => ['type' => 'boolean', 'description' => '', 'title' => '', 'example' => ''],
+ 'blockOnModelHallucination' => ['type' => 'boolean', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'endpoints' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'modelServiceName' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'weight' => ['type' => 'integer', 'format' => 'int32', 'description' => '', 'title' => '', 'example' => ''],
+ 'baseUrl' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'modelNames' => [
+ 'type' => 'array',
+ 'items' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'PublishFlowVersionInput' => [
+ 'title' => '',
+ 'description' => '发布工作流版本所需的输入参数',
+ 'type' => 'object',
+ 'properties' => [
+ 'description' => ['title' => '', 'description' => '工作流版本的描述信息', 'type' => 'string', 'example' => 'Version 1.0 - Initial release'],
+ ],
+ 'example' => '',
+ ],
+ 'PublishRuntimeVersionInput' => [
+ 'title' => '',
+ 'description' => 'Publish runtime version input ',
+ 'type' => 'object',
+ 'properties' => [
+ 'description' => ['title' => '', 'description' => 'Description of this version ', 'type' => 'string', 'example' => ''],
+ 'publisher' => ['description' => 'Identity of the user or system that publishes this version ', 'title' => '', 'type' => 'string', 'example' => 'user123'],
+ ],
+ 'example' => '',
+ ],
+ 'RateLimitRule' => [
+ 'title' => '',
+ 'description' => 'Represents a rate limit rule that controls the request rate for the AI Gateway.',
+ 'type' => 'object',
+ 'properties' => [
+ 'rateLimitRuleId' => ['title' => '', 'description' => 'The unique identifier for the rate limit rule.', 'type' => 'string', 'example' => '12345678-1234-1234-1234-123456789abc'],
+ 'descriptorType' => ['title' => '', 'description' => 'The descriptor type for the rate limit rule, such as \'model\' or \'user\'.', 'type' => 'string', 'example' => 'model'],
+ 'descriptorId' => ['title' => '', 'description' => 'The descriptor ID for the rate limit rule, which associates the rule with a specific throttling target.', 'type' => 'string', 'example' => 'model:gpt-4'],
+ 'enabled' => ['title' => '', 'description' => 'Indicates whether the rate limit rule is enabled.', 'type' => 'boolean', 'example' => 'true'],
+ 'createdAt' => ['title' => '', 'description' => 'The creation time of the rate limit rule, in ISO 8601 format.', 'type' => 'string', 'example' => '2025-01-10T10:30:00Z'],
+ 'lastUpdatedAt' => ['title' => '', 'description' => 'The last update time of the rate limit rule, in ISO 8601 format.', 'type' => 'string', 'example' => '2025-01-10T11:45:00Z'],
+ 'windows' => [
+ 'title' => '',
+ 'description' => 'A list of time window configurations. Multiple windows can be used to enforce layered rate limiting.',
+ 'type' => 'array',
+ 'items' => ['description' => '', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/WindowLimit'],
+ 'example' => '',
+ ],
+ ],
+ 'example' => '',
+ ],
+ 'RateLimitRuleResult' => [
+ 'title' => '',
+ 'description' => 'The unified response format for creating, retrieving, updating, and deleting rate limit rules.',
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => ['title' => '', 'description' => 'A value of `SUCCESS` indicates the request succeeded. On failure, this field returns the corresponding error type.', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'requestId' => ['title' => '', 'description' => 'A unique request identifier for troubleshooting.', 'type' => 'string', 'example' => 'F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E'],
+ 'data' => ['title' => '', 'description' => 'The details of the rate limit rule.', 'example' => '{}', '$ref' => '#/components/schemas/RateLimitRule'],
+ ],
+ 'example' => '',
+ ],
+ 'RegisterServiceInput' => [
+ 'title' => '注册服务输入',
+ 'description' => '注册外部服务所需的输入参数',
+ 'type' => 'object',
+ 'properties' => [
+ 'tenantId' => ['title' => '租户ID', 'description' => '租户ID,用于多租户隔离', 'type' => 'string', 'required' => true, 'example' => '1234567890123456'],
+ 'serviceName' => ['title' => '服务名称', 'description' => '服务名称,在租户内唯一', 'type' => 'string', 'required' => true, 'example' => 'my-service'],
+ 'serviceType' => ['title' => '服务类型', 'description' => '服务类型', 'type' => 'string', 'required' => true, 'example' => 'FC'],
+ 'protocol' => [
+ 'title' => '协议类型',
+ 'description' => '服务的协议类型',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'HTTP',
+ 'enum' => ['HTTP', 'MCP-SSE', 'MCP-STREAMABLE-HTTP'],
+ ],
+ 'serviceBackendEndpoint' => ['title' => '服务后端端点', 'description' => '转发的下游服务端点URL,必须是有效的HTTP/HTTPS地址(这里是 FC trigger endpoint)', 'type' => 'string', 'required' => true, 'example' => 'https://123456789.cn-hangzhou.fc.aliyuncs.com/2016-08-15/proxy/my-service/my-function/'],
+ 'resourceName' => ['title' => '资源名称', 'description' => '关联的资源名称', 'type' => 'string', 'example' => 'my-resource'],
+ 'credentialName' => ['title' => '凭证名称', 'description' => '关联的凭证ID,用于服务认证', 'type' => 'string', 'example' => 'my-credential'],
+ ],
+ ],
+ 'RegistryAuthConfig' => [
+ 'title' => '',
+ 'description' => '自定义容器镜像仓库的认证配置信息',
+ 'type' => 'object',
+ 'properties' => [
+ 'userName' => ['title' => '', 'description' => '镜像仓库的登录用户名', 'type' => 'string', 'example' => 'admin'],
+ 'password' => ['title' => '', 'description' => '镜像仓库的登录密码', 'type' => 'string', 'example' => 'abc***'],
+ ],
+ 'example' => '',
+ ],
+ 'RegistryCertConfig' => [
+ 'title' => '',
+ 'description' => '自定义容器镜像仓库的证书配置信息',
+ 'type' => 'object',
+ 'properties' => [
+ 'insecure' => ['title' => '', 'description' => '是否跳过TLS证书验证,设置为true时将不验证镜像仓库的证书', 'type' => 'boolean', 'example' => 'false'],
+ 'rootCaCertBase64' => ['title' => '', 'description' => '镜像仓库的根CA证书Base64编码,用于自签名证书的验证', 'type' => 'string', 'example' => 'cm9vdF9jYV9jZXJ0X2Jhc2U2NA=='],
+ ],
+ 'example' => '',
+ ],
+ 'RegistryConfig' => [
+ 'title' => '',
+ 'description' => '自定义容器镜像仓库的配置信息,包括认证、证书和网络配置',
+ 'type' => 'object',
+ 'properties' => [
+ 'authConfig' => ['title' => '', 'description' => '镜像仓库的认证配置信息', 'example' => '{}', '$ref' => '#/components/schemas/RegistryAuthConfig'],
+ 'certConfig' => ['title' => '', 'description' => '镜像仓库的证书配置信息', 'example' => '{}', '$ref' => '#/components/schemas/RegistryCertConfig'],
+ 'networkConfig' => ['title' => '', 'description' => '镜像仓库的网络配置信息', 'example' => '{}', '$ref' => '#/components/schemas/RegistryNetworkConfig'],
+ ],
+ 'example' => '',
+ ],
+ 'RegistryNetworkConfig' => [
+ 'title' => '',
+ 'description' => '自定义容器镜像仓库的网络配置信息',
+ 'type' => 'object',
+ 'properties' => [
+ 'vpcId' => ['title' => '', 'description' => '镜像仓库所在的VPC ID', 'type' => 'string', 'example' => 'vpc-xxxxxxxxxxxxx'],
+ 'vSwitchId' => ['title' => '', 'description' => '镜像仓库所在的交换机ID', 'type' => 'string', 'example' => 'vsw-xxxxxxxxxxxxx'],
+ 'securityGroupId' => ['title' => '', 'description' => '镜像仓库的安全组ID', 'type' => 'string', 'example' => 'sg-xxxxxxxxxxxxx'],
+ ],
+ 'example' => '',
+ ],
+ 'RelatedResource' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'resourceId' => ['type' => 'string'],
+ 'resourceName' => ['type' => 'string'],
+ 'resourceType' => [
+ 'type' => 'string',
+ 'enum' => ['litellm', 'model', 'runtime', 'template', 'model'],
+ ],
+ ],
+ ],
+ 'RelatedWorkload' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'resourceId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'resourceName' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'resourceType' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'RouteConfig' => [
+ 'title' => '',
+ 'description' => '路由表:自定义域名访问时的 PATH 到 Function 的映射列表。',
+ 'type' => 'object',
+ 'properties' => [
+ 'routes' => [
+ 'title' => '',
+ 'description' => '路由表:自定义域名访问时的 PATH 到 Function 的映射列表。',
+ 'type' => 'array',
+ 'items' => ['$ref' => '#/components/schemas/PathConfig', 'description' => '', 'title' => '', 'example' => ''],
+ 'example' => '[]',
+ ],
+ ],
+ 'example' => '',
+ ],
+ 'RoutingConfiguration' => [
+ 'title' => '',
+ 'description' => 'Ingress configuration for agent runtime endpoints, supporting weight assignment across multiple versions ',
+ 'type' => 'object',
+ 'properties' => [
+ 'versionWeights' => [
+ 'title' => '',
+ 'description' => 'Traffic weight configuration for different versions ',
+ 'type' => 'array',
+ 'items' => ['$ref' => '#/components/schemas/VersionWeight', 'description' => '', 'title' => '', 'example' => ''],
+ 'example' => '',
+ ],
+ ],
+ 'example' => '',
+ ],
+ 'RuntimeAgentIdentityConfig' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'identityProviderName' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'workloadIdentityName' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'Sandbox' => [
+ 'title' => '',
+ 'description' => 'AgentRun sandbox instance ',
+ 'type' => 'object',
+ 'properties' => [
+ 'sandboxId' => ['title' => '', 'description' => 'Sandbox ID ', 'type' => 'string', 'required' => true, 'example' => '01KAWBP6JQD0J3Z34BP4WMX1KG'],
+ 'templateId' => ['title' => '', 'description' => 'Template ID ', 'type' => 'string', 'required' => true, 'example' => '8d409d30-cac1-445a-95d5-476c47780336.schema'],
+ 'templateName' => ['title' => '', 'description' => 'Template Name ', 'type' => 'string', 'example' => 'my-template'],
+ 'status' => [
+ 'title' => '',
+ 'description' => 'Status ',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'READY',
+ 'enum' => ['READY', 'TERMINATED'],
+ ],
+ 'createdAt' => ['title' => '', 'description' => 'Sandbox Creation Time ', 'type' => 'string', 'required' => true, 'example' => '2025-11-26T10:54:17.770719+08:00'],
+ 'lastUpdatedAt' => ['title' => '', 'description' => 'Last Update Time ', 'type' => 'string', 'example' => '2025-11-26T10:54:17.770719+08:00'],
+ 'sandboxIdleTimeoutSeconds' => ['title' => '', 'description' => 'Sandbox idle timeout (seconds) ', 'type' => 'integer', 'format' => 'int32', 'maximum' => '21600', 'minimum' => '1', 'example' => '1800'],
+ 'endedAt' => ['title' => '', 'description' => 'Sandbox stop time ', 'type' => 'string', 'example' => '2025-11-26T10:54:17.770719+08:00'],
+ 'sandboxArn' => ['title' => '', 'description' => 'Sandbox resource ARN ', 'type' => 'string', 'example' => 'acs:ram::1760720386195983:role/aliyunfcdefaultrole'],
+ 'sandboxIdleTTLInSeconds' => ['title' => '', 'description' => 'Sandbox lifecycle duration (deprecated) ', 'type' => 'integer', 'format' => 'int32', 'example' => '已弃用'],
+ 'metadata' => ['title' => '', 'description' => 'Sandbox metadata ', 'type' => 'object', 'example' => '{}'],
+ ],
+ 'example' => '',
+ ],
+ 'SandboxResult' => [
+ 'title' => '',
+ 'description' => 'Unified result format for sandbox operations ',
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => ['title' => '', 'description' => 'SUCCESS indicates success. In case of failure, the corresponding Error Type is returned. ', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'requestId' => ['title' => '', 'description' => 'Unique request ID used for troubleshooting ', 'type' => 'string', 'example' => 'F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E'],
+ 'data' => ['title' => '', 'description' => 'Detailed information about the sandbox ', 'required' => true, '$ref' => '#/components/schemas/Sandbox', 'example' => ''],
+ ],
+ 'example' => '',
+ ],
+ 'ScalingConfig' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'minInstances' => ['title' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '2', 'description' => ''],
+ 'scheduledPolicies' => [
+ 'title' => '',
+ 'type' => 'array',
+ 'items' => ['$ref' => '#/components/schemas/ScheduledPolicy', 'description' => '', 'title' => '', 'example' => ''],
+ 'description' => '',
+ 'example' => '',
+ ],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'ScalingStatus' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'minInstances' => ['title' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'description' => ''],
+ 'targetInstances' => ['title' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '2', 'description' => ''],
+ 'currentInstances' => ['title' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '2', 'description' => ''],
+ 'scheduledPolicies' => [
+ 'title' => '',
+ 'type' => 'array',
+ 'items' => ['$ref' => '#/components/schemas/ScheduledPolicy', 'description' => '', 'title' => '', 'example' => ''],
+ 'description' => '',
+ 'example' => '',
+ ],
+ 'currentError' => ['title' => '', 'type' => 'string', 'example' => 'error', 'description' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'ScheduledPolicy' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'name' => ['title' => '', 'type' => 'string', 'example' => 'scale-up-morning', 'description' => ''],
+ 'startTime' => ['title' => '', 'type' => 'string', 'example' => '2024-01-01T08:00:00', 'description' => ''],
+ 'endTime' => ['title' => '', 'type' => 'string', 'example' => '2024-01-01T08:00:00', 'description' => ''],
+ 'scheduleExpression' => ['title' => '', 'type' => 'string', 'example' => 'cron(0 8 * * ? *)', 'description' => ''],
+ 'timeZone' => ['title' => '', 'type' => 'string', 'example' => 'Asia/Shanghai', 'description' => ''],
+ 'target' => ['title' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '20', 'description' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'ServiceConfig' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'name' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'aiServiceConfig' => ['$ref' => '#/components/schemas/AiServiceConfig', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'ServiceInfo' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'serviceID' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'gatewayID' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'name' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'aiServiceConfig' => ['$ref' => '#/components/schemas/AiServiceConfig', 'description' => '', 'title' => '', 'example' => ''],
+ 'createdAt' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'updatedAt' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'ServiceResult' => [
+ 'title' => '服务结果',
+ 'description' => '外部服务操作的统一结果格式',
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => ['title' => '结果码', 'description' => 'SUCCESS 为成功,失败情况返回对应错误类型,比如 ERR_BAD_REQUEST ERR_VALIDATION_FAILED ERR_INTERNAL_SERVER_ERROR', 'type' => 'string'],
+ 'requestId' => ['title' => '请求ID', 'description' => '唯一的请求标识符,用于问题追踪', 'type' => 'string'],
+ 'data' => ['title' => '服务数据', 'description' => '服务的详细信息', 'type' => 'any'],
+ ],
+ ],
+ 'SessionConfig' => [
+ 'title' => '会话配置',
+ 'description' => 'Session configuration ',
+ 'type' => 'object',
+ 'properties' => [
+ 'timeout' => ['title' => '超时时间(秒)', 'description' => 'Timeout (seconds) ', 'type' => 'integer', 'format' => 'int32', 'example' => ''],
+ 'environment' => [
+ 'title' => '环境变量',
+ 'description' => 'Environment variables ',
+ 'type' => 'object',
+ 'additionalProperties' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'example' => '',
+ ],
+ 'workingDirectory' => ['title' => '工作目录', 'description' => 'Working directory ', 'type' => 'string', 'example' => ''],
+ ],
+ 'example' => '',
+ ],
+ 'SLSLogDestination' => [
+ 'title' => '',
+ 'description' => '阿里云日志服务(SLS)的日志目标配置',
+ 'type' => 'object',
+ 'properties' => [
+ 'project' => ['title' => '', 'description' => 'SLS项目名称', 'type' => 'string', 'example' => 'my-sls-project'],
+ 'logStore' => ['title' => '', 'description' => 'SLS日志库名称', 'type' => 'string', 'example' => 'my-logstore'],
+ ],
+ 'example' => '',
+ ],
+ 'StartBrowserSessionInput' => [
+ 'title' => '',
+ 'description' => 'Start browser session request ',
+ 'type' => 'object',
+ 'properties' => [
+ 'name' => ['title' => '', 'description' => 'Browser session name ', 'type' => 'string', 'example' => 'my-browser-session'],
+ ],
+ 'example' => '',
+ ],
+ 'StartBrowserSessionResult' => [
+ 'title' => '',
+ 'description' => 'Start browser session result ',
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => ['title' => '', 'description' => 'SUCCESS indicates success. In case of failure, the corresponding error type is returned, such as ERR_BAD_REQUEST, ERR_VALIDATION_FAILED, or ERR_INTERNAL_SERVER_ERROR. ', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'requestId' => ['title' => '', 'description' => 'Request ID ', 'type' => 'string', 'example' => 'F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E'],
+ 'data' => ['title' => '', 'description' => 'Data ', '$ref' => '#/components/schemas/BrowserSessionOut', 'example' => '{}'],
+ ],
+ 'example' => '',
+ ],
+ 'StartCodeInterpreterSessionInput' => [
+ 'title' => '',
+ 'description' => 'Request parameters required to start a code interpreter session ',
+ 'type' => 'object',
+ 'properties' => [
+ 'name' => ['title' => '', 'description' => 'The name of the code interpreter session, used to identify and distinguish between different session instances ', 'type' => 'string', 'example' => ''],
+ ],
+ 'example' => '',
+ ],
+ 'StartCodeInterpreterSessionResult' => [
+ 'title' => '',
+ 'description' => 'Result of starting a code interpreter session ',
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => ['title' => '', 'description' => 'SUCCESS indicates success. In case of failure, the corresponding error type is returned, such as ERR_BAD_REQUEST, ERR_VALIDATION_FAILED, or ERR_INTERNAL_SERVER_ERROR. ', 'type' => 'string', 'example' => ''],
+ 'requestId' => ['title' => '', 'description' => 'Request ID ', 'type' => 'string', 'example' => ''],
+ 'data' => ['title' => '', 'description' => 'Data ', '$ref' => '#/components/schemas/CodeInterpreterSessionOut', 'example' => ''],
+ ],
+ 'example' => '',
+ ],
+ 'StartSessionInput' => [
+ 'title' => '启动会话输入',
+ 'description' => 'Start session input ',
+ 'type' => 'object',
+ 'properties' => [
+ 'config' => ['title' => '会话配置', 'description' => 'Session configuration ', '$ref' => '#/components/schemas/SessionConfig', 'example' => ''],
+ ],
+ 'example' => '',
+ ],
+ 'StopCodeInterpreterSessionResult' => [
+ 'title' => '停止代码解释器会话结果',
+ 'description' => 'Result of stopping a code interpreter session ',
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => ['title' => '结果码', 'description' => 'SUCCESS indicates success. In case of failure, the corresponding error type is returned, such as ERR_BAD_REQUEST, ERR_VALIDATION_FAILED, or ERR_INTERNAL_SERVER_ERROR. ', 'type' => 'string', 'example' => ''],
+ 'requestId' => ['title' => '请求ID', 'description' => 'Request ID ', 'type' => 'string', 'example' => ''],
+ ],
+ 'example' => '',
+ ],
+ 'StopSandboxResult' => [
+ 'description' => 'Stop code interpreter result ',
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => ['title' => '', 'description' => 'Result code ', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'requestId' => ['title' => '', 'description' => 'Request ID ', 'type' => 'string', 'example' => 'F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E'],
+ 'data' => ['description' => 'Details of the code interpreter, including all configuration and status information of the interpreter ', '$ref' => '#/components/schemas/Sandbox', 'title' => '', 'example' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'Target' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'targetType' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'llmConfig' => ['$ref' => '#/components/schemas/LLMAPIConfiguration', 'description' => '', 'title' => '', 'example' => ''],
+ 'mcpAPI' => ['$ref' => '#/components/schemas/MCPAPI', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'TargetConfiguration' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'targetType' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'llmAPIConfig' => ['$ref' => '#/components/schemas/LLMAPIConfiguration', 'description' => '', 'title' => '', 'example' => ''],
+ 'mcpAPIConfig' => ['$ref' => '#/components/schemas/MCPAPIConfiguration', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'TargetServiceConfig' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'weight' => ['type' => 'integer', 'format' => 'int64', 'description' => '', 'title' => '', 'example' => ''],
+ 'modelName' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'modelNamePattern' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'modelId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'Template' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'templateId' => ['description' => 'Template ID ', 'title' => '', 'type' => 'string', 'required' => true, 'example' => '996ffd5e-003f-4700-9f24-9e2a1c19019b.schema'],
+ 'templateName' => ['description' => 'Template Name', 'title' => '', 'type' => 'string', 'required' => true, 'example' => 'browser-1767874121726'],
+ 'templateVersion' => ['type' => 'string', 'description' => 'Template Version', 'title' => '', 'example' => '预留'],
+ 'cpu' => ['description' => 'Number of CPU cores ', 'title' => '', 'type' => 'number', 'format' => 'float', 'required' => true, 'example' => '4'],
+ 'memory' => ['description' => 'Memory specification ', 'title' => '', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '4096'],
+ 'templateArn' => ['description' => 'Template ARN', 'title' => '', 'type' => 'string', 'example' => 'acs:agentrun:cn-hangzhou:12345678:templates/efb6de2f-1814-42a2-b7f3-474a0e0b3a48'],
+ 'createdAt' => ['description' => 'Creation Time ', 'title' => '', 'type' => 'string', 'example' => '2026-01-15T17:12:59.375168+08:00'],
+ 'lastUpdatedAt' => ['description' => 'Update Time ', 'title' => '', 'type' => 'string', 'example' => '2026-01-15T17:12:59.375168+08:00'],
+ 'status' => ['description' => 'Status', 'title' => '', 'type' => 'string', 'example' => 'READY'],
+ 'statusReason' => ['description' => 'Status reason ', 'title' => '', 'type' => 'string', 'example' => 'SDK Error'],
+ 'executionRoleArn' => ['description' => 'Execution role', 'title' => '', 'type' => 'string', 'example' => 'acs:agentrun:cn-hangzhou:12345678:templates/efb6de2f-1814-42a2-b7f3-474a0e0b3a48'],
+ 'templateType' => ['description' => 'templatetype ', 'title' => '', 'type' => 'string', 'example' => 'Browser'],
+ 'containerConfiguration' => ['description' => 'Custom image configuration', 'title' => '', '$ref' => '#/components/schemas/ContainerConfiguration', 'example' => ''],
+ 'networkConfiguration' => ['description' => 'Network configuration ', 'title' => '', '$ref' => '#/components/schemas/NetworkConfiguration', 'example' => ''],
+ 'credentialConfiguration' => ['description' => 'Authentication configuration ', 'title' => '', '$ref' => '#/components/schemas/CredentialConfiguration', 'example' => ''],
+ 'logConfiguration' => ['description' => 'Log configuration ', 'title' => '', '$ref' => '#/components/schemas/LogConfiguration', 'example' => ''],
+ 'sandboxIdleTimeoutInSeconds' => ['description' => 'Sandbox idle timeout ', 'title' => '', 'type' => 'string', 'example' => '1800'],
+ 'sandboxTTLInSeconds' => ['description' => 'Sandbox lifecycle time to live (deprecated) ', 'title' => '', 'type' => 'string', 'deprecated' => false, 'example' => '已弃用'],
+ 'resourceName' => ['description' => 'Resource Name ', 'title' => '', 'type' => 'string', 'example' => 'agentrun-f2570dd4-c8a2-452c-8bd5-4ef74b0a69b5'],
+ 'mcpOptions' => [
+ 'description' => 'MCP options',
+ 'title' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'transport' => ['description' => 'Transport type ', 'title' => '', 'type' => 'string', 'example' => 'streamable-http'],
+ 'enabledTools' => [
+ 'description' => 'List of enabled tools ',
+ 'title' => '',
+ 'type' => 'array',
+ 'items' => ['description' => 'Enabled tool ', 'type' => 'string', 'example' => 'execute_code', 'title' => ''],
+ 'example' => '',
+ ],
+ ],
+ 'example' => '',
+ ],
+ 'mcpState' => [
+ 'description' => 'MCP server status ',
+ 'title' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'status' => ['description' => 'MCP Status ', 'title' => '', 'type' => 'string', 'example' => 'CREATING'],
+ 'statusReason' => ['description' => 'Status reason ', 'title' => '', 'type' => 'string', 'example' => 'SDK Error'],
+ 'accessEndpoint' => ['description' => 'Access Endpoint ', 'title' => '', 'type' => 'string', 'example' => '/mcp'],
+ ],
+ 'example' => '',
+ ],
+ 'diskSize' => ['description' => 'Disk size ', 'title' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '10240'],
+ 'description' => ['description' => 'Description ', 'title' => '', 'type' => 'string', 'example' => 'template描述'],
+ 'allowAnonymousManage' => ['description' => 'Indicates whether the data link can invoke APIs to create, stop, or delete sandbox instances ', 'title' => '', 'type' => 'boolean', 'example' => 'true'],
+ 'nasConfig' => ['description' => 'NAS mount configuration item ', 'title' => '', '$ref' => '#/components/schemas/NASConfig', 'example' => ''],
+ 'enableAgent' => ['description' => 'Sandbox Agent Toggle ', 'title' => '', 'type' => 'boolean', 'example' => ''],
+ 'workspaceId' => ['description' => 'Associated Space ID ', 'title' => '', 'type' => 'string', 'example' => ''],
+ 'scalingStatus' => ['description' => 'Elasticity Status ', 'title' => '', '$ref' => '#/components/schemas/ScalingStatus', 'example' => ''],
+ 'environmentVariables' => [
+ 'description' => 'Environment variable configuration for the agent runtime',
+ 'additionalProperties' => ['description' => 'Environment variable configuration for the agent runtime', 'type' => 'string', 'example' => '{\'FCTEST_IDE_ENV\': \'IDE\'}', 'title' => ''],
+ 'type' => 'object',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'templateConfiguration' => [
+ 'description' => 'Template Configuration (flexible object structure that varies based on templateType) ',
+ 'additionalProperties' => ['description' => 'Template Configuration (flexible object structure that varies based on templateType) ', 'type' => 'any', 'example' => '{"example":"test"}', 'title' => ''],
+ 'type' => 'object',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'ossConfiguration' => [
+ 'description' => 'OSS configuration ',
+ 'title' => '',
+ 'type' => 'array',
+ 'items' => ['description' => 'OSS configuration ', 'title' => '', '$ref' => '#/components/schemas/OssConfiguration', 'example' => ''],
+ 'example' => '',
+ ],
+ 'enablePreStop' => ['title' => '', 'type' => 'boolean', 'description' => '', 'example' => ''],
+ 'preStopTimeoutInSeconds' => ['title' => '', 'type' => 'integer', 'format' => 'int32', 'description' => '', 'example' => ''],
+ ],
+ 'description' => 'Template Data ',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'TemplateResult' => [
+ 'title' => '',
+ 'description' => 'Unified result format for template operations ',
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => ['title' => '', 'description' => 'SUCCESS indicates success. In case of failure, the corresponding Error Type is returned. ', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'requestId' => ['title' => '', 'description' => 'Unique request ID used for troubleshooting ', 'type' => 'string', 'example' => 'F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E'],
+ 'data' => ['title' => '', 'description' => 'Detailed information about the template ', 'required' => true, '$ref' => '#/components/schemas/Template', 'example' => ''],
+ ],
+ 'example' => '',
+ ],
+ 'TLSConfig' => [
+ 'title' => '',
+ 'description' => 'TLS配置信息,包括TLS版本和加密套件',
+ 'type' => 'object',
+ 'properties' => [
+ 'minVersion' => [
+ 'title' => '',
+ 'description' => 'TLS 最小版本号。',
+ 'type' => 'string',
+ 'example' => 'TLSv1.2',
+ 'enum' => ['TLSv1.3', 'TLSv1.2'],
+ ],
+ 'cipherSuites' => [
+ 'title' => '',
+ 'description' => 'TLS 加密套件列表。',
+ 'type' => 'array',
+ 'items' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'example' => '[\'TLS_RSA_WITH_RC4_128_SHA\']',
+ ],
+ 'maxVersion' => [
+ 'title' => '',
+ 'description' => 'TLS 最大版本号。',
+ 'type' => 'string',
+ 'example' => 'TLSv1.3',
+ 'enum' => ['TLSv1.3', 'TLSv1.2'],
+ ],
+ ],
+ 'example' => '',
+ ],
+ 'Tool' => [
+ 'title' => '',
+ 'description' => 'A tool is a core component in AgentRun that extends Agent capabilities. It supports multiple types, including MCP (Model Context Protocol), function calling, and skills. Tools can be deployed through various creation methods, such as remote MCP servers, local MCP processes, code packages, and containers.',
+ 'type' => 'object',
+ 'properties' => [
+ 'toolId' => ['title' => '', 'description' => 'The unique identifier of the tool, automatically generated by the system.', 'type' => 'string', 'example' => 'tool-abc123'],
+ 'toolName' => ['title' => '', 'description' => 'The name of the tool, used to identify and reference the tool.', 'type' => 'string', 'example' => 'my-mcp-tool'],
+ 'workspaceId' => ['title' => '', 'description' => 'The ID of the workspace to which the tool belongs.', 'type' => 'string', 'example' => 'workspace-xyz789'],
+ 'description' => ['title' => '', 'description' => 'The detailed description of the tool, explaining its functionality and purpose.', 'type' => 'string', 'example' => '这是一个用于处理文档的 MCP 工具'],
+ 'toolType' => [
+ 'title' => '',
+ 'description' => 'The type of the tool. Valid values:'."\n"
+ .'- MCP: Model Context Protocol tool.'."\n"
+ .'- FUNCTIONCALL: function calling tool.'."\n"
+ .'- SKILL: skill tool.',
+ 'enumValueTitles' => ['MCP' => 'MCP 工具 - 基于 Model Context Protocol 的工具', 'FUNCTIONCALL' => '函数调用工具 - 通过函数调用方式实现的工具', 'SKILL' => '技能工具 - 预定义的技能类型工具'],
+ 'type' => 'string',
+ 'example' => 'MCP',
+ 'enum' => ['MCP', 'FUNCTIONCALL', 'SKILL'],
+ ],
+ 'createMethod' => [
+ 'title' => '',
+ 'description' => 'The creation method of the tool. Valid values:'."\n"
+ .'- MCP_REMOTE: remote MCP server.'."\n"
+ .'- MCP_LOCAL_STDIO: local MCP standard input/output.'."\n"
+ .'- MCP_BUNDLE: MCP bundle deployment.'."\n"
+ .'- CODE_PACKAGE: code package deployment.'."\n"
+ .'- OPENAPI_IMPORT: OpenAPI import.',
+ 'enumValueTitles' => ['MCP_REMOTE' => '远程 MCP 服务器 - 连接到远程运行的 MCP 服务器', 'MCP_LOCAL_STDIO' => '本地 MCP 标准输入输出 - 通过标准输入输出与本地 MCP 进程通信', 'MCP_BUNDLE' => 'MCP 打包部署 - 将 MCP 工具打包后部署', 'CODE_PACKAGE' => '代码包部署 - 通过代码包方式部署工具', 'OPENAPI_IMPORT' => 'OpenAPI 导入 - 从 OpenAPI 规范导入工具定义'],
+ 'type' => 'string',
+ 'example' => 'MCP_REMOTE',
+ 'enum' => ['MCP_REMOTE', 'MCP_LOCAL_STDIO', 'MCP_BUNDLE', 'CODE_PACKAGE', 'OPENAPI_IMPORT'],
+ ],
+ 'protocolSpec' => ['title' => '', 'description' => 'The protocol specification used by the tool, in JSON string format.', 'type' => 'string', 'example' => ''],
+ 'mcpConfig' => ['title' => '', 'description' => 'The configuration of the MCP tool, including session affinity and proxy settings.', '$ref' => '#/components/schemas/McpConfig', 'example' => ''],
+ 'status' => ['title' => '', 'description' => 'The current running status of the tool. Valid values:'."\n"
+ .'- Running: the tool is running.'."\n"
+ .'- Stopped: the tool is stopped.'."\n"
+ .'- Failed: the tool has failed.', 'type' => 'string', 'example' => 'Running'],
+ 'statusReason' => ['title' => '', 'description' => 'The detailed reason for the tool status, which provides the error message when the tool is in a failed or abnormal state.', 'type' => 'string', 'example' => ''],
+ 'executionRoleArn' => ['title' => '', 'description' => 'The ARN of the RAM role used when the tool is executed, for access control purposes.', 'type' => 'string', 'example' => 'acs:ram::123456789:role/AliyunFCDefaultRole'],
+ 'artifactType' => [
+ 'title' => '',
+ 'description' => 'The artifact type for tool deployment. Valid values:'."\n"
+ .'- Code: code package.'."\n"
+ .'- Container: container image.',
+ 'enumValueTitles' => ['Code' => '代码包 - 使用代码包形式部署', 'Container' => '容器镜像 - 使用容器镜像形式部署'],
+ 'type' => 'string',
+ 'example' => 'Code',
+ 'enum' => ['Code', 'Container'],
+ ],
+ 'networkConfiguration' => ['title' => '', 'description' => 'The network configuration of the tool, including VPC and security group information.', '$ref' => '#/components/schemas/NetworkConfiguration', 'example' => ''],
+ 'codeConfiguration' => ['title' => '', 'description' => 'The configuration of a code package-based tool, including the code location and entry function.', '$ref' => '#/components/schemas/CodeConfiguration', 'example' => ''],
+ 'containerConfiguration' => ['title' => '', 'description' => 'The configuration of a container-based tool, including the image address and startup command.', '$ref' => '#/components/schemas/ContainerConfiguration', 'example' => ''],
+ 'logConfiguration' => ['title' => '', 'description' => 'The log configuration of the tool, including the log storage location and log level.', '$ref' => '#/components/schemas/LogConfiguration', 'example' => ''],
+ 'ossMountConfig' => ['title' => '', 'description' => 'The OSS mount configuration for the tool to access Object Storage Service (OSS).', '$ref' => '#/components/schemas/OSSMountConfig', 'example' => ''],
+ 'nasConfig' => ['title' => '', 'description' => 'The NAS configuration for the tool to access the NAS file system.', '$ref' => '#/components/schemas/NASConfig', 'example' => ''],
+ 'cpu' => ['title' => '', 'description' => 'The number of CPU cores for the tool instance, in cores.', 'type' => 'number', 'format' => 'float', 'example' => '0.5'],
+ 'memory' => ['title' => '', 'description' => 'The memory size of the tool instance, in MB.', 'type' => 'integer', 'format' => 'int32', 'example' => '512'],
+ 'port' => ['title' => '', 'description' => 'The port number on which the tool service listens.', 'type' => 'integer', 'format' => 'int32', 'example' => '8080'],
+ 'createdAt' => ['title' => '', 'description' => 'The time when the tool was created, in ISO 8601 format.', 'type' => 'string', 'example' => '2025-09-10T10:00:00Z'],
+ 'updatedAt' => ['title' => '', 'description' => 'The time when the tool was last updated, in ISO 8601 format.', 'type' => 'string', 'example' => '2025-09-10T12:00:00Z'],
+ 'credentialName' => ['title' => '', 'description' => 'The name of the credential used by the tool to access external services that require authentication.', 'type' => 'string', 'example' => 'my-credential'],
+ 'timeout' => ['title' => '', 'description' => 'The timeout period for tool execution, in seconds.', 'type' => 'integer', 'format' => 'int32', 'example' => '300'],
+ 'environmentVariables' => [
+ 'title' => '',
+ 'description' => 'The environment variables for the tool runtime, in key-value pair format.',
+ 'type' => 'object',
+ 'additionalProperties' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'example' => '{"ENV": "production", "LOG_LEVEL": "info"}',
+ ],
+ 'agentIdentityEnabled' => ['type' => 'boolean', 'description' => '', 'title' => '', 'example' => ''],
+ 'agentIdentityConfig' => ['$ref' => '#/components/schemas/ToolAgentIdentityConfig', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'example' => '',
+ ],
+ 'ToolAgentIdentityConfig' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'authorizationEnabled' => ['type' => 'boolean', 'description' => '', 'title' => '', 'example' => ''],
+ 'credentialProviderType' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'credentialProviderArn' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'ToolInfo' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'id' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'name' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'description' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'toolType' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'schema' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'createdAt' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'updatedAt' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'sourceType' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'CAPConfig' => ['$ref' => '#/components/schemas/CAPConfig', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'ToolListItem' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'id' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'name' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'description' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'toolType' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'createdAt' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'updatedAt' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'sourceType' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'schema' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'CAPConfig' => ['$ref' => '#/components/schemas/CAPConfig', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'ToolResult' => [
+ 'title' => '',
+ 'description' => '创建、获取工具的统一结果格式',
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => ['title' => '', 'description' => 'SUCCESS 为成功,失败情况返回对应错误类型,比如 ERR_BAD_REQUEST ERR_VALIDATION_FAILED ERR_INTERNAL_SERVER_ERROR', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'requestId' => ['title' => '', 'description' => '唯一的请求标识符,用于问题追踪', 'type' => 'string', 'example' => 'F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E'],
+ 'data' => ['title' => '', 'description' => '工具的详细信息', 'example' => '{}', '$ref' => '#/components/schemas/Tool'],
+ ],
+ 'example' => '',
+ ],
+ 'TracingConfiguration' => [
+ 'title' => '',
+ 'description' => '工作流的链路追踪配置信息',
+ 'type' => 'object',
+ 'properties' => [
+ 'enabled' => ['title' => '', 'description' => '是否启用链路追踪功能', 'type' => 'boolean', 'example' => 'true'],
+ ],
+ 'example' => '',
+ ],
+ 'TriggerConfig' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'authType' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'methods' => [
+ 'type' => 'array',
+ 'items' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'UpdateAgentRuntimeEndpointInput' => [
+ 'title' => '',
+ 'description' => 'Update the agent runtime endpoint input ',
+ 'type' => 'object',
+ 'properties' => [
+ 'agentRuntimeEndpointName' => ['title' => '', 'description' => 'Agent runtime endpoint Name ', 'type' => 'string', 'example' => 'production-endpoint'],
+ 'targetVersion' => ['title' => '', 'description' => 'Target Version of the agent runtime ', 'type' => 'string', 'example' => 'LATEST'],
+ 'description' => ['title' => '', 'description' => 'Description ', 'type' => 'string', 'example' => 'Updated endpoint configuration'],
+ 'routingConfiguration' => ['title' => '', 'description' => 'The Ingress configuration of the agent runtime endpoint, which supports weight assignment across multiple versions ', '$ref' => '#/components/schemas/RoutingConfiguration', 'example' => '{}'],
+ 'disablePublicNetworkAccess' => ['description' => 'Whether to disable public network access for this endpoint ', 'title' => '', 'type' => 'boolean', 'example' => ''],
+ 'scalingConfig' => ['title' => '', 'description' => '端点的弹性伸缩配置,包括最小实例数和定时扩容策略(复用 ScalingConfig)', '$ref' => '#/components/schemas/ScalingConfig', 'example' => ''],
+ 'deleteScalingConfig' => ['title' => '', 'description' => '为 true 时删除该端点的弹性配置', 'type' => 'boolean', 'example' => ''],
+ ],
+ 'example' => '',
+ ],
+ 'UpdateAgentRuntimeInput' => [
+ 'title' => '',
+ 'description' => 'The input parameters for updating an agent runtime.',
+ 'type' => 'object',
+ 'properties' => [
+ 'agentRuntimeName' => ['description' => 'The name of the agent runtime.', 'type' => 'string', 'title' => '', 'example' => 'my-agent-runtime'],
+ 'description' => ['description' => 'The description of the agent runtime.', 'type' => 'string', 'title' => '', 'example' => '更新后的智能体运行时描述'],
+ 'artifactType' => [
+ 'description' => 'The artifact type.',
+ 'type' => 'string',
+ 'title' => '',
+ 'enum' => ['Code', 'Container'],
+ 'example' => 'Code',
+ ],
+ 'codeConfiguration' => ['description' => 'The code configuration.', 'title' => '', '$ref' => '#/components/schemas/CodeConfiguration', 'example' => '{}'],
+ 'containerConfiguration' => ['description' => 'The container configuration.', 'title' => '', '$ref' => '#/components/schemas/ContainerConfiguration', 'example' => '{}'],
+ 'credentialName' => ['description' => 'The name of the credential that the agent runtime uses to authenticate requests.', 'type' => 'string', 'title' => '', 'example' => 'my-credential'],
+ 'externalAgentEndpointUrl' => ['description' => 'The endpoint URL for an externally registered agent. The platform uses this URL to connect to an agent service deployed outside the platform.', 'type' => 'string', 'title' => '', 'example' => 'https://external-agent.example.com/api'],
+ 'networkConfiguration' => ['description' => 'The network configuration.', 'title' => '', '$ref' => '#/components/schemas/NetworkConfiguration', 'example' => '{}'],
+ 'protocolConfiguration' => ['description' => 'The protocol configuration.', 'title' => '', '$ref' => '#/components/schemas/ProtocolConfiguration', 'example' => '{}'],
+ 'executionRoleArn' => ['description' => 'The execution role ARN that grants the agent runtime permissions to access cloud services.', 'type' => 'string', 'title' => '', 'example' => 'acs:ram::1760720386195983:role/AgentRunExecutionRole'],
+ 'cpu' => ['description' => 'The number of CPU cores.', 'type' => 'number', 'title' => '', 'format' => 'float', 'required' => true, 'example' => '1.0'],
+ 'memory' => ['description' => 'The amount of memory in megabytes (MB).', 'type' => 'integer', 'title' => '', 'format' => 'int32', 'example' => '1024'],
+ 'diskSize' => ['description' => 'The disk size in gigabytes (GB).', 'type' => 'integer', 'title' => '', 'example' => '', 'format' => 'int32'],
+ 'port' => ['description' => 'The port on which the agent service listens.', 'type' => 'integer', 'title' => '', 'format' => 'int32', 'example' => '8080'],
+ 'sessionConcurrencyLimitPerInstance' => ['description' => 'The maximum number of concurrent sessions allowed per runtime instance.', 'type' => 'integer', 'title' => '', 'format' => 'int32', 'maximum' => '200', 'minimum' => '1', 'example' => '100'],
+ 'logConfiguration' => ['description' => 'The configuration for Simple Log Service (SLS).', 'title' => '', '$ref' => '#/components/schemas/LogConfiguration', 'example' => '{}'],
+ 'sessionIdleTimeoutSeconds' => ['description' => 'The idle timeout for a session, in seconds. If an instance remains idle longer than this timeout after receiving no requests, the session expires.', 'type' => 'integer', 'title' => '', 'format' => 'int32', 'example' => '3600'],
+ 'enableSessionIsolation' => ['description' => 'Specifies whether to enable session isolation. If enabled, each session runs in an isolated environment.', 'type' => 'boolean', 'title' => '', 'example' => 'false'],
+ 'disableOndemand' => ['description' => 'Specifies whether to disable on-demand elasticity. Set to true to disable. Default: false.', 'type' => 'boolean', 'title' => '', 'example' => 'false'],
+ 'disableSessionAffinity' => ['description' => 'Specifies whether to disable session affinity. Set to true to disable. Default: false.', 'type' => 'boolean', 'title' => '', 'example' => 'false'],
+ 'sessionAffinityType' => [
+ 'description' => 'The session affinity mode. Valid values: NONE (disables session affinity), HEADER\\_FIELD (routes requests based on a request header), and GENERATED\\_COOKIE (routes requests using a cookie generated by Function Compute (FC)). The value COOKIE is an alias for GENERATED\\_COOKIE.',
+ 'type' => 'string',
+ 'title' => '',
+ 'example' => 'GENERATED_COOKIE',
+ 'enum' => ['NONE', 'HEADER_FIELD', 'GENERATED_COOKIE', 'COOKIE'],
+ ],
+ 'headerFieldName' => ['description' => 'The name of the request header used for session affinity when sessionAffinityType is set to "HEADER\\_FIELD".', 'type' => 'string', 'title' => '', 'example' => 'x-agentrun-session-id', 'maxLength' => 128],
+ 'forceEvictInstances' => ['description' => 'Specifies whether to perform a best-effort eviction of active Function Compute (FC) sessions when the configuration is updated. This helps the new settings take effect faster.', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
+ 'healthCheckConfiguration' => ['description' => 'The health check configuration for monitoring the health of agent runtime instances.', 'title' => '', '$ref' => '#/components/schemas/HealthCheckConfiguration', 'example' => '{}'],
+ 'nasConfig' => ['description' => 'Configuration for mounting a NAS file system to the agent runtime.', 'title' => '', 'example' => '{}', '$ref' => '#/components/schemas/NASConfig'],
+ 'ossMountConfig' => ['description' => 'Configuration for mounting an OSS bucket to the agent runtime.', 'title' => '', 'example' => '{}', '$ref' => '#/components/schemas/OSSMountConfig'],
+ 'workspaceId' => ['description' => 'The ID of the workspace.', 'type' => 'string', 'title' => '', 'example' => ''],
+ 'environmentVariables' => [
+ 'title' => '',
+ 'description' => 'Environment variables for the agent runtime.',
+ 'type' => 'object',
+ 'additionalProperties' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'example' => 'ENV_VAR1=value1,ENV_VAR2=value2',
+ ],
+ 'systemTags' => [
+ 'title' => '',
+ 'description' => 'The system tags for the agent runtime, used for resource classification and management.',
+ 'type' => 'array',
+ 'items' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'example' => 'system-tag-1,system-tag-2',
+ ],
+ 'agentIdentityEnabled' => ['type' => 'boolean', 'description' => '', 'title' => '', 'example' => ''],
+ 'agentIdentityConfig' => ['$ref' => '#/components/schemas/RuntimeAgentIdentityConfig', 'description' => '', 'title' => '', 'example' => ''],
+ 'edition' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'example' => '',
+ ],
+ 'UpdateApigLLMModelInput' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'name' => ['type' => 'string'],
+ 'provider' => ['type' => 'string'],
+ 'type' => ['type' => 'string'],
+ 'address' => ['type' => 'string'],
+ 'apiKey' => ['type' => 'string'],
+ 'desc' => ['type' => 'string'],
+ 'models' => [
+ 'type' => 'array',
+ 'items' => ['type' => 'string'],
+ ],
+ ],
+ ],
+ 'UpdateConsumerAPIKeyInput' => [
+ 'title' => '',
+ 'description' => 'Input parameters for updating a consumer API key. All fields are optional; only the fields you provide are updated.',
+ 'type' => 'object',
+ 'properties' => [
+ 'active' => ['title' => '', 'description' => 'Indicates if the key is active.', 'type' => 'boolean', 'example' => 'false'],
+ 'description' => ['title' => '', 'description' => 'A new description for the key.', 'type' => 'string', 'example' => '更新后的密钥描述'],
+ ],
+ 'example' => '',
+ ],
+ 'UpdateCredentialInput' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'credentialSecret' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'description' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'enabled' => ['type' => 'boolean', 'description' => '', 'title' => '', 'example' => ''],
+ 'credentialPublicConfig' => ['$ref' => '#/components/schemas/CredentialPublicConfig', 'description' => '', 'title' => '', 'example' => ''],
+ 'workspaceId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'UpdateCredentialOutput' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'credentialId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'credentialName' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'description' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'credentialAuthType' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'credentialSourceType' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'enabled' => ['type' => 'boolean', 'description' => '', 'title' => '', 'example' => ''],
+ 'credentialSecret' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'credentialPublicConfig' => [
+ 'type' => 'object',
+ 'additionalProperties' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'createdAt' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'updatedAt' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'relatedResources' => [
+ 'type' => 'array',
+ 'items' => ['$ref' => '#/components/schemas/RelatedResource', 'description' => '', 'title' => '', 'example' => ''],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'UpdateCustomDomainInput' => [
+ 'title' => '',
+ 'description' => '更新自定义域名所需的输入参数',
+ 'type' => 'object',
+ 'properties' => [
+ 'description' => ['title' => '', 'description' => '描述', 'type' => 'string', 'example' => ''],
+ 'protocol' => [
+ 'title' => '',
+ 'description' => '域名支持的协议类型:● HTTP:仅支持 HTTP 协议。● HTTPS:仅支持 HTTPS 协议。● HTTP,HTTPS:支持 HTTP 及 HTTPS 协议。',
+ 'type' => 'string',
+ 'example' => 'HTTP',
+ 'enum' => ['HTTP', 'HTTPS', 'HTTP,HTTPS'],
+ ],
+ 'routeConfig' => ['title' => '', 'description' => '路由表:自定义域名访问时的 PATH 到 资源 的映射。', 'example' => '{}', '$ref' => '#/components/schemas/RouteConfig'],
+ 'certConfig' => ['title' => '', 'description' => 'HTTPS 证书的信息。', 'example' => '{}', '$ref' => '#/components/schemas/CertConfig'],
+ 'tlsConfig' => ['title' => '', 'description' => 'TLS 配置信息。', 'example' => '{}', '$ref' => '#/components/schemas/TLSConfig'],
+ ],
+ 'example' => '',
+ ],
+ 'UpdateDiscoveryEndpointsInput' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'credentialName' => ['type' => 'string', 'deprecated' => true, 'description' => '', 'title' => '', 'example' => ''],
+ 'discoveryEndpoints' => [
+ 'type' => 'array',
+ 'items' => ['$ref' => '#/components/schemas/DiscoveryEndpoint', 'description' => '', 'title' => '', 'example' => ''],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'UpdateDomainInput' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'protocol' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'certIdentifier' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'UpdateFlowDraftInput' => [
+ 'title' => '',
+ 'description' => '更新工作流草稿的输入参数',
+ 'type' => 'object',
+ 'properties' => [
+ 'description' => ['title' => '', 'description' => '工作流的描述信息', 'type' => 'string', 'example' => ''],
+ 'definition' => ['title' => '', 'description' => '工作流的 FDL 定义', 'type' => 'string', 'example' => ''],
+ 'executionRoleArn' => ['title' => '', 'description' => '工作流执行时使用的 RAM 角色 ARN', 'type' => 'string', 'example' => ''],
+ 'environmentConfiguration' => ['title' => '', 'description' => '工作流执行期间可以访问的环境变量配置,包含一组命名变量列表', '$ref' => '#/components/schemas/EnvironmentConfiguration', 'example' => ''],
+ 'externalStorageLocation' => ['title' => '', 'description' => '工作流执行历史的外部存储位置', 'type' => 'string', 'example' => ''],
+ ],
+ 'example' => '',
+ ],
+ 'UpdateFlowEndpointInput' => [
+ 'title' => '',
+ 'description' => 'The parameters for updating a flow endpoint.',
+ 'type' => 'object',
+ 'properties' => [
+ 'flowEndpointName' => ['title' => '', 'description' => 'The unique name of the flow endpoint.', 'type' => 'string', 'example' => 'my-flow-endpoint'],
+ 'description' => ['title' => '', 'description' => 'The description of the flow endpoint.', 'type' => 'string', 'example' => 'Production endpoint for flow'],
+ 'targetVersion' => ['title' => '', 'description' => 'The target version for the flow endpoint.', 'type' => 'string', 'example' => '1'],
+ 'routingConfiguration' => [
+ 'title' => '',
+ 'description' => 'The routing configuration that defines traffic distribution for the flow endpoint.',
+ 'type' => 'array',
+ 'items' => ['description' => '', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/FlowEndpointRoutingConfig'],
+ 'example' => '[]',
+ ],
+ 'disablePublicNetworkAccess' => ['title' => '', 'description' => 'Specifies whether to disable public network access for the flow endpoint.', 'type' => 'boolean', 'example' => ''],
+ ],
+ 'example' => '',
+ ],
+ 'UpdateFlowInput' => [
+ 'title' => '',
+ 'description' => 'Input parameters required for updating a workflow',
+ 'type' => 'object',
+ 'properties' => [
+ 'flowName' => ['title' => '', 'description' => 'The unique identifier name of the workflow, used to distinguish different workflow instances', 'type' => 'string', 'example' => 'my-flow'],
+ 'description' => ['title' => '', 'description' => 'The description of the workflow, used to explain its purpose and functionality', 'type' => 'string', 'example' => 'Customer service automation flow'],
+ 'definition' => ['title' => '', 'description' => 'The definition content of the workflow, in JSON or YAML format', 'type' => 'string', 'example' => '{}'],
+ 'executionRoleArn' => ['title' => '', 'description' => 'The execution role ARN that grants the workflow access permissions to cloud services', 'type' => 'string', 'example' => 'acs:ram::123456789012:role/FlowExecutionRole'],
+ 'environmentConfiguration' => ['title' => '', 'description' => 'The environment variable configuration of the workflow, containing a list of named variables', 'example' => '', '$ref' => '#/components/schemas/EnvironmentConfiguration'],
+ 'externalStorageLocation' => ['title' => '', 'description' => 'The external storage location of the workflow, such as an OSS path', 'type' => 'string', 'example' => 'oss://bucket/path'],
+ 'resourceGroupId' => ['title' => '', 'description' => 'The resource group identifier to which the workflow belongs', 'type' => 'string', 'example' => 'rg-acfmxsn4m4a4b4a'],
+ 'tracingConfiguration' => ['title' => '', 'description' => 'The distributed tracing configuration of the workflow', 'example' => '', '$ref' => '#/components/schemas/TracingConfiguration'],
+ 'loggingConfiguration' => ['title' => '', 'description' => 'The logging configuration of the workflow', 'example' => '', '$ref' => '#/components/schemas/LoggingConfiguration'],
+ 'workspaceId' => ['title' => '', 'description' => 'The workspace identifier to which the workflow belongs, used for resource isolation and permission management', 'type' => 'string', 'example' => 'ws-1234567890abcdef'],
+ 'disablePublicNetworkAccess' => ['title' => '', 'description' => 'Whether to disable public network access for the workflow, serving as the default policy at the workflow level. When FlowEndpoint is not specified, this value will be inherited', 'type' => 'boolean', 'example' => ''],
+ ],
+ 'example' => '',
+ ],
+ 'UpdateFunagentInput' => [
+ 'title' => '',
+ 'description' => 'PATCH 语义的可选字段;未传字段不修改。JSON omitempty。',
+ 'type' => 'object',
+ 'properties' => [
+ 'description' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''],
+ 'version' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''],
+ 'cpu' => ['title' => '', 'type' => 'number', 'format' => 'float', 'description' => '', 'example' => ''],
+ 'memory' => ['title' => '', 'type' => 'integer', 'format' => 'int32', 'description' => '', 'example' => ''],
+ 'replicas' => ['title' => '', 'type' => 'integer', 'format' => 'int32', 'description' => '', 'example' => ''],
+ 'adminName' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''],
+ 'adminSecret' => ['title' => '', 'description' => '敏感字段', 'type' => 'string', 'example' => ''],
+ 'dbType' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''],
+ 'dbName' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''],
+ 'dbInstanceId' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''],
+ 'dbHost' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''],
+ 'dbPort' => ['title' => '', 'type' => 'integer', 'format' => 'int32', 'description' => '', 'example' => ''],
+ 'dbUsername' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''],
+ 'dbPassword' => ['title' => '', 'description' => '敏感字段', 'type' => 'string', 'example' => ''],
+ 'dbConnections' => ['title' => '', 'type' => 'integer', 'format' => 'int32', 'description' => '', 'example' => ''],
+ ],
+ 'example' => '',
+ ],
+ 'UpdateIMBotInput' => [
+ 'title' => '',
+ 'description' => '字段均可选;metadata 合并入现有 metadata(非整包替换);合并结果含非空 role 时更新租户 FC 执行角色;更新后仍校验标准模式运行时绑定',
+ 'type' => 'object',
+ 'properties' => [
+ 'botName' => ['type' => 'string', 'maxLength' => 128, 'description' => '', 'title' => '', 'example' => ''],
+ 'botBizId' => ['type' => 'string', 'maxLength' => 128, 'description' => '', 'title' => '', 'example' => ''],
+ 'botBizSecret' => ['description' => '若提供则不可为空字符串', 'type' => 'string', 'maxLength' => 2048, 'title' => '', 'example' => ''],
+ 'botBizType' => [
+ 'type' => 'string',
+ 'enum' => ['dingtalk', 'wecom', 'feishu', 'custom'],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'botMode' => [
+ 'description' => '不可与租户已固定的 deployment 模式冲突',
+ 'type' => 'string',
+ 'enum' => ['standard', 'custom'],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'status' => [
+ 'type' => 'string',
+ 'enum' => ['running', 'stopped'],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'minInstances' => ['description' => '≥ 1,更新账号级 FC 最小实例', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => ''],
+ 'description' => ['description' => 'Bot 描述信息', 'type' => 'string', 'maxLength' => 512, 'title' => '', 'example' => ''],
+ 'metadata' => ['$ref' => '#/components/schemas/IMBotMetadata', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'example' => '',
+ ],
+ 'UpdateKnowledgeBaseInput' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'description' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''],
+ 'credentialName' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''],
+ 'providerSettings' => [
+ 'title' => '',
+ 'type' => 'object',
+ 'additionalProperties' => ['type' => 'any', 'description' => '', 'title' => '', 'example' => ''],
+ 'description' => '',
+ 'example' => '',
+ ],
+ 'retrieveSettings' => [
+ 'title' => '',
+ 'type' => 'object',
+ 'additionalProperties' => ['type' => 'any', 'description' => '', 'title' => '', 'example' => ''],
+ 'description' => '',
+ 'example' => '',
+ ],
+ 'workspaceId' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'UpdateMemoryCollectionInput' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'description' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'llmConfig' => ['$ref' => '#/components/schemas/LLMConfig', 'description' => '', 'title' => '', 'example' => ''],
+ 'embedderConfig' => ['$ref' => '#/components/schemas/EmbedderConfig', 'description' => '', 'title' => '', 'example' => ''],
+ 'vectorStoreConfig' => ['$ref' => '#/components/schemas/VectorStoreConfig', 'description' => '', 'title' => '', 'example' => ''],
+ 'networkConfiguration' => ['$ref' => '#/components/schemas/NetworkConfiguration', 'description' => '', 'title' => '', 'example' => ''],
+ 'executionRoleArn' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'enableConversationHistory' => ['type' => 'boolean', 'description' => '', 'title' => '', 'example' => ''],
+ 'enableConversationState' => ['type' => 'boolean', 'description' => '', 'title' => '', 'example' => ''],
+ 'workspaceId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'UpdateModelConnectionInput' => [
+ 'title' => '',
+ 'description' => 'Parameters to update a model connection. All fields are optional, and only provided fields are updated.',
+ 'type' => 'object',
+ 'properties' => [
+ 'description' => ['title' => '', 'description' => 'A new description for the model connection.', 'type' => 'string', 'example' => 'Updated connection description'],
+ 'providerSettings' => ['title' => '', 'description' => 'A new configuration for the model provider.', 'example' => '{}', '$ref' => '#/components/schemas/ModelConnectionProviderSettings'],
+ 'modelInfoConfigs' => [
+ 'title' => '',
+ 'description' => 'A new list of model metadata configurations.',
+ 'type' => 'array',
+ 'items' => ['description' => '', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/ModelInfoConfig'],
+ 'example' => '',
+ ],
+ 'consumerApiKeys' => [
+ 'title' => '',
+ 'description' => 'A list of consumer API keys to associate with the model connection.',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'apiKeyId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'value' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'example' => '',
+ ],
+ ],
+ 'example' => '',
+ ],
+ 'UpdateModelInput' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'name' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'provider' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'type' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'address' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'apiKey' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'models' => [
+ 'type' => 'array',
+ 'items' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'desc' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'UpdateModelProxyInput' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'description' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'proxyConfig' => ['$ref' => '#/components/schemas/ProxyConfig', 'description' => '', 'title' => '', 'example' => ''],
+ 'credentialName' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'networkConfiguration' => ['$ref' => '#/components/schemas/NetworkConfiguration', 'description' => '', 'title' => '', 'example' => ''],
+ 'logConfiguration' => ['$ref' => '#/components/schemas/LogConfiguration', 'description' => '', 'title' => '', 'example' => ''],
+ 'armsConfiguration' => ['$ref' => '#/components/schemas/ArmsConfiguration', 'description' => '', 'title' => '', 'example' => ''],
+ 'executionRoleArn' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'workspaceId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'UpdateModelServiceInput' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'description' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'credentialName' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'providerSettings' => ['$ref' => '#/components/schemas/ProviderSettings', 'description' => '', 'title' => '', 'example' => ''],
+ 'networkConfiguration' => ['$ref' => '#/components/schemas/NetworkConfiguration', 'description' => '', 'title' => '', 'example' => ''],
+ 'status' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'statusReason' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'modelInfoConfigs' => [
+ 'type' => 'array',
+ 'items' => ['$ref' => '#/components/schemas/ModelInfoConfig', 'description' => '', 'title' => '', 'example' => ''],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'workspaceId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'UpdateRateLimitRuleInput' => [
+ 'title' => '',
+ 'description' => 'Specifies the parameters for updating a rate limit rule. You can only modify the counting mode, enabled status, and time window.',
+ 'type' => 'object',
+ 'properties' => [
+ 'enabled' => ['title' => '', 'description' => 'Specifies whether to enable the rate limit rule.', 'type' => 'boolean', 'example' => 'false'],
+ 'windows' => [
+ 'title' => '',
+ 'description' => 'A list of time window configurations. Providing this parameter replaces the entire existing list.',
+ 'type' => 'array',
+ 'items' => ['description' => '', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/WindowLimit'],
+ 'example' => '',
+ ],
+ ],
+ 'example' => '',
+ ],
+ 'UpdateServiceInput' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'aiServiceConfig' => ['$ref' => '#/components/schemas/AiServiceConfig', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'UpdateTargetConfigurationInput' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'domainId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'targetConfiguration' => ['$ref' => '#/components/schemas/TargetConfiguration', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'UpdateTemplateInput' => [
+ 'title' => '',
+ 'description' => 'Input parameters required to update a template ',
+ 'type' => 'object',
+ 'properties' => [
+ 'description' => ['title' => '', 'description' => 'Template description ', 'type' => 'string', 'example' => 'demo description'],
+ 'containerConfiguration' => ['title' => '', 'description' => 'Container configuration (built-in and immutable) ', '$ref' => '#/components/schemas/ContainerConfiguration', 'example' => ''],
+ 'credentialConfiguration' => ['title' => '', 'description' => 'Credential configuration', '$ref' => '#/components/schemas/CredentialConfiguration', 'example' => ''],
+ 'networkConfiguration' => ['title' => '', 'description' => 'Network configuration ', '$ref' => '#/components/schemas/NetworkConfiguration', 'example' => ''],
+ 'logConfiguration' => ['title' => '', 'description' => 'Log configuration ', '$ref' => '#/components/schemas/LogConfiguration', 'example' => ''],
+ 'executionRoleArn' => ['title' => '', 'description' => 'Execution role ARN ', 'type' => 'string', 'example' => 'arn:acs:agentrun:cn-hangzhou:123456789:xxx/test'],
+ 'cpu' => ['title' => '', 'description' => 'CPU resource configuration (unit: core) ', 'type' => 'number', 'format' => 'float', 'example' => '2'],
+ 'memory' => ['title' => '', 'description' => 'Memory resource configuration (unit: MB) ', 'type' => 'integer', 'format' => 'int32', 'example' => '4'],
+ 'sandboxIdleTimeoutInSeconds' => ['title' => '', 'description' => 'Sandbox idle timeout (seconds) ', 'type' => 'integer', 'format' => 'int32', 'maximum' => '21600', 'minimum' => '1', 'example' => '21600'],
+ 'sandboxTTLInSeconds' => ['title' => '', 'description' => 'Sandbox time to live (seconds) ', 'type' => 'integer', 'format' => 'int32', 'deprecated' => false, 'maximum' => '604800', 'minimum' => '1', 'example' => '86400'],
+ 'armsConfiguration' => ['description' => 'Configuration information for Application Real-Time Monitoring Service (ARMS) ', '$ref' => '#/components/schemas/ArmsConfiguration', 'title' => '', 'example' => ''],
+ 'allowAnonymousManage' => ['title' => '', 'description' => 'Specifies whether the data link is allowed to invoke APIs to create, stop, or delete sandboxes ', 'type' => 'boolean', 'example' => 'true'],
+ 'nasConfig' => ['title' => '', 'description' => 'NAS mount configuration item ', '$ref' => '#/components/schemas/NASConfig', 'example' => ''],
+ 'enableAgent' => ['title' => '', 'description' => 'Sandbox Agent toggle ', 'type' => 'boolean', 'example' => 'true'],
+ 'workspaceId' => ['title' => '', 'description' => 'Associated Space ID ', 'type' => 'string', 'example' => 'ws-1234567890abcdef'],
+ 'scalingConfig' => ['title' => '', 'description' => 'Elasticity configuration ', '$ref' => '#/components/schemas/ScalingConfig', 'example' => ''],
+ 'enablePreStop' => ['title' => '', 'type' => 'boolean', 'description' => '', 'example' => ''],
+ 'preStopTimeoutInSeconds' => ['title' => '', 'type' => 'integer', 'format' => 'int32', 'description' => '', 'example' => ''],
+ 'ossConfiguration' => [
+ 'description' => 'OSS mount configuration ',
+ 'type' => 'array',
+ 'items' => ['description' => 'OSS mount configuration ', '$ref' => '#/components/schemas/OssConfiguration', 'title' => '', 'example' => ''],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'environmentVariables' => [
+ 'title' => '',
+ 'description' => 'Environment variables ',
+ 'type' => 'object',
+ 'additionalProperties' => ['description' => 'Environment variable configuration ', 'type' => 'string', 'example' => '{\'HOME\': \'/tmp/\', \'POC_DIR_PREFIX\': \'/app/\'}', 'title' => ''],
+ 'example' => '',
+ ],
+ 'templateConfiguration' => [
+ 'title' => '',
+ 'description' => 'Template configuration (a flexible object structure that varies based on templateType) ',
+ 'type' => 'object',
+ 'additionalProperties' => ['description' => 'Template configuration (a flexible object structure that varies based on templateType) ', 'type' => 'any', 'example' => '{"templateCustomConfiguration":"demo"}', 'title' => ''],
+ 'example' => '',
+ ],
+ ],
+ 'example' => '',
+ ],
+ 'UpdateToolData' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'id' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'name' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'sourceType' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'toolType' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'updatedAt' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'UpdateToolInput' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'name' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'description' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'schema' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'UpdateToolInputV2' => [
+ 'title' => '',
+ 'description' => 'The parameter information required when updating an existing tool. All fields are optional. Specify only the fields that you want to update. Fields that are not specified retain their existing values.',
+ 'type' => 'object',
+ 'properties' => [
+ 'workspaceId' => ['title' => '', 'description' => 'The workspace ID to which the tool belongs.', 'type' => 'string', 'example' => 'workspace-xyz789'],
+ 'description' => ['title' => '', 'description' => 'The description of the tool.', 'type' => 'string', 'example' => '更新后的工具描述'],
+ 'createMethod' => [
+ 'title' => '',
+ 'description' => 'The creation method of the tool. Valid values: MCP_REMOTE, MCP_LOCAL_STDIO, MCP_BUNDLE, CODE_PACKAGE, and OPENAPI_IMPORT.',
+ 'enumValueTitles' => ['MCP_REMOTE' => '远程 MCP 服务器 - 连接到远程运行的 MCP 服务器', 'MCP_LOCAL_STDIO' => '本地 MCP 标准输入输出 - 通过标准输入输出与本地 MCP 进程通信', 'MCP_BUNDLE' => 'MCP 打包部署 - 将 MCP 工具打包后部署', 'CODE_PACKAGE' => '代码包部署 - 通过代码包方式部署工具', 'OPENAPI_IMPORT' => 'OpenAPI 导入 - 从 OpenAPI 规范导入工具定义'],
+ 'type' => 'string',
+ 'example' => 'MCP_REMOTE',
+ 'enum' => ['MCP_REMOTE', 'MCP_LOCAL_STDIO', 'MCP_BUNDLE', 'CODE_PACKAGE', 'OPENAPI_IMPORT'],
+ ],
+ 'protocolSpec' => ['title' => '', 'description' => 'The protocol specification definition used by the tool.', 'type' => 'string', 'example' => ''],
+ 'mcpConfig' => ['title' => '', 'description' => 'The configuration of the MCP tool, including session affinity and proxy settings.', '$ref' => '#/components/schemas/McpConfig', 'example' => ''],
+ 'executionRoleArn' => ['title' => '', 'description' => 'The Alibaba Cloud Resource Name (ARN) of the RAM role used when the tool is executed.', 'type' => 'string', 'example' => 'acs:ram::123456789:role/AliyunFCDefaultRole'],
+ 'artifactType' => [
+ 'title' => '',
+ 'description' => 'The artifact type for tool deployment. Valid values: Code (code package) and Container (container image).',
+ 'enumValueTitles' => ['Code' => '代码包 - 使用代码包形式部署工具', 'Container' => '容器镜像 - 使用容器镜像形式部署工具'],
+ 'type' => 'string',
+ 'example' => 'Code',
+ 'enum' => ['Code', 'Container'],
+ ],
+ 'networkConfiguration' => ['title' => '', 'description' => 'The network configuration of the tool.', '$ref' => '#/components/schemas/NetworkConfiguration', 'example' => ''],
+ 'codeConfiguration' => ['title' => '', 'description' => 'The configuration of the code package type tool.', '$ref' => '#/components/schemas/CodeConfiguration', 'example' => ''],
+ 'containerConfiguration' => ['title' => '', 'description' => 'The configuration of the container type tool.', '$ref' => '#/components/schemas/ContainerConfiguration', 'example' => ''],
+ 'logConfiguration' => ['title' => '', 'description' => 'The log configuration of the tool.', '$ref' => '#/components/schemas/LogConfiguration', 'example' => ''],
+ 'ossMountConfig' => ['title' => '', 'description' => 'The Object Storage Service (OSS) mount configuration.', '$ref' => '#/components/schemas/OSSMountConfig', 'example' => ''],
+ 'nasConfig' => ['title' => '', 'description' => 'The Apsara File Storage NAS (NAS) configuration.', '$ref' => '#/components/schemas/NASConfig', 'example' => ''],
+ 'cpu' => ['title' => '', 'description' => 'The number of CPU cores for the tool instance. Unit: cores.', 'type' => 'number', 'format' => 'float', 'example' => '1.0'],
+ 'memory' => ['title' => '', 'description' => 'The memory size of the tool instance. Unit: MB.', 'type' => 'integer', 'format' => 'int32', 'example' => '1024'],
+ 'port' => ['title' => '', 'description' => 'The port number on which the tool service listens.', 'type' => 'integer', 'format' => 'int32', 'example' => '8080'],
+ 'credentialName' => ['title' => '', 'description' => 'The name of the credential used by the tool.', 'type' => 'string', 'example' => 'my-credential'],
+ 'timeout' => ['title' => '', 'description' => 'The timeout period for tool execution. Unit: seconds.', 'type' => 'integer', 'format' => 'int32', 'example' => '600'],
+ 'environmentVariables' => [
+ 'title' => '',
+ 'description' => 'The environment variable configuration for the tool runtime.',
+ 'type' => 'object',
+ 'additionalProperties' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'example' => '{"ENV": "production"}',
+ ],
+ 'agentIdentityEnabled' => ['type' => 'boolean', 'description' => '', 'title' => '', 'example' => ''],
+ 'agentIdentityConfig' => ['$ref' => '#/components/schemas/ToolAgentIdentityConfig', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'example' => '',
+ ],
+ 'UpdateToolOutput' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'success' => ['type' => 'boolean', 'description' => '', 'title' => '', 'example' => ''],
+ 'message' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'data' => ['$ref' => '#/components/schemas/UpdateToolData', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'UpdateWorkspaceInput' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'description' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'VectorStoreConfig' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'provider' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'config' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'endpoint' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'instanceName' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'vectorDimension' => ['type' => 'integer', 'format' => 'int32', 'description' => '', 'title' => '', 'example' => ''],
+ 'collectionName' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'mysqlConfig' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'host' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'dbName' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'collectionName' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'user' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'credentialName' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'vectorDimension' => ['type' => 'integer', 'format' => 'int32', 'description' => '', 'title' => '', 'example' => ''],
+ 'port' => ['type' => 'integer', 'format' => 'int32', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'VersionWeight' => [
+ 'title' => '',
+ 'description' => 'Weight configuration for a single version ',
+ 'type' => 'object',
+ 'properties' => [
+ 'version' => ['title' => '', 'description' => 'Agent runtime version number ', 'type' => 'string', 'example' => ''],
+ 'weight' => ['title' => '', 'description' => 'Traffic weight ratio (0.0–1.0) ', 'type' => 'number', 'format' => 'float', 'maximum' => '1', 'minimum' => '0', 'example' => ''],
+ ],
+ 'example' => '',
+ ],
+ 'WindowLimit' => [
+ 'title' => '',
+ 'description' => 'The time window configuration for a rate-limiting rule, defining the maximum number of requests allowed within a specific period.',
+ 'type' => 'object',
+ 'properties' => [
+ 'durationSecs' => ['title' => '', 'description' => 'The duration of the time window in seconds.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '60'],
+ 'limit' => ['title' => '', 'description' => 'The maximum requests allowed within the time window.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '100'],
+ ],
+ 'example' => '',
+ ],
+ 'Workspace' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'workspaceId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'workspaceArn' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'name' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'description' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'isDefault' => ['type' => 'boolean', 'description' => '', 'title' => '', 'example' => ''],
+ 'resourceGroupId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'createdAt' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'updatedAt' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'WorkspacePermissionEvaluateResult' => [
+ 'title' => '',
+ 'description' => '对应请求 workspaceIds 中的一项;顺序与请求 workspaceIds 一致',
+ 'type' => 'object',
+ 'properties' => [
+ 'workspaceId' => ['description' => '回显请求中的 workspace ID(trim 后)', 'type' => 'string', 'title' => '', 'example' => ''],
+ 'workspaceFound' => ['description' => '当前租户下是否解析到该 workspace;为 false 时各 permissions 一般为 allowed: false,不会调用 RAM', 'type' => 'boolean', 'title' => '', 'example' => ''],
+ 'permissions' => [
+ 'description' => '各 action 的校验结果;顺序与请求 actions 一致',
+ 'type' => 'array',
+ 'items' => ['$ref' => '#/components/schemas/WorkspacePermissionItem', 'description' => '', 'title' => '', 'example' => ''],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'example' => '',
+ ],
+ 'WorkspacePermissionItem' => [
+ 'title' => '',
+ 'description' => '对应请求 actions 中的一项;顺序与请求 actions 一致',
+ 'type' => 'object',
+ 'properties' => [
+ 'action' => ['description' => '归一化后的 RAM action,始终含 agentrun: 前缀,如 agentrun:ListTemplates', 'type' => 'string', 'title' => '', 'example' => ''],
+ 'allowed' => ['description' => 'RAM 判定通过为 true;workspace 不存在、非法/不支持 action、RAM SDK 报错等均为 false', 'type' => 'boolean', 'title' => '', 'example' => ''],
+ 'message' => ['description' => '人类可读原因;通过时通常为空字符串', 'type' => 'string', 'title' => '', 'example' => ''],
+ 'accessDeniedDetail' => ['description' => 'RAM 明确拒绝且可构造 detail 时返回;通过或非 RAM 拒绝场景省略', '$ref' => '#/components/schemas/AccessDeniedDetail', 'title' => '', 'example' => ''],
+ ],
+ 'example' => '',
+ ],
+ 'WorkspaceResult' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'requestId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'data' => ['$ref' => '#/components/schemas/Workspace', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'apis' => [
+ 'ActivateTemplateMCP' => [
+ 'summary' => 'Activates the `MCP service` for a `sandbox` `template`. This enables a client to access the `sandbox` using the MCP protocol.',
+ 'path' => '/2025-09-10/templates/{templateName}/mcp/activate',
+ 'methods' => ['patch'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREfcGRJPWY'],
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => 'The request body.',
+ 'type' => 'object',
+ 'properties' => [
+ 'enabledTools' => [
+ 'title' => '',
+ 'description' => 'A list of tools to enable.',
+ 'type' => 'array',
+ 'items' => ['description' => 'The name of a tool.', 'type' => 'string', 'required' => false, 'example' => '["health","run_code","list_contexts","create_context","get_context","delete_context","read_file","write_file","file_system_list","file_system_stat","file_system_download","file_system_mkdir","file_system_move","file_system_remove","file_system_upload","process_exec_cmd","process_tty","process_list","process_stat","process_kill"]', 'title' => ''],
+ 'required' => false,
+ 'example' => '',
+ ],
+ 'transport' => [
+ 'description' => 'The transport protocol.',
+ 'type' => 'string',
+ 'example' => 'streamable-http',
+ 'enum' => ['sse', 'streamable-http'],
+ 'title' => '',
+ 'required' => false,
+ ],
+ ],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ [
+ 'name' => 'templateName',
+ 'in' => 'path',
+ 'schema' => ['description' => 'The template name.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'demo-template'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => ['description' => 'The sandbox template details.', '$ref' => '#/components/schemas/TemplateResult', 'title' => '', 'example' => ''],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'Enable the TemplateMCP Service',
+ 'description' => 'After activation, the platform automatically deploys the `MCP service` `function` for the specified `sandbox` `template`. The `MCP service` ensures a unique mapping between an `mcp-session-id` and a `SandboxID`. When an MCP `client` invokes a `tool`, the `MCP service` automatically creates a `sandbox`.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'agentrun:ActivateTemplateMCP',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"SUCCESS\\",\\n \\"requestId\\": \\"F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E\\",\\n \\"data\\": {\\n \\"templateId\\": \\"996ffd5e-003f-4700-9f24-9e2a1c19019b.schema\\",\\n \\"templateName\\": \\"browser-1767874121726\\",\\n \\"templateVersion\\": \\"预留\\",\\n \\"cpu\\": 4,\\n \\"memory\\": 4096,\\n \\"templateArn\\": \\"acs:agentrun:cn-hangzhou:12345678:templates/efb6de2f-1814-42a2-b7f3-474a0e0b3a48\\",\\n \\"createdAt\\": \\"2026-01-15T17:12:59.375168+08:00\\",\\n \\"lastUpdatedAt\\": \\"2026-01-15T17:12:59.375168+08:00\\",\\n \\"status\\": \\"READY\\",\\n \\"statusReason\\": \\"SDK Error\\",\\n \\"executionRoleArn\\": \\"acs:agentrun:cn-hangzhou:12345678:templates/efb6de2f-1814-42a2-b7f3-474a0e0b3a48\\",\\n \\"templateType\\": \\"Browser\\",\\n \\"containerConfiguration\\": {\\n \\"image\\": \\"registry.cn-hangzhou.aliyuncs.com/my-namespace/agent-runtime:latest\\",\\n \\"imageRegistryType\\": \\"ACR\\",\\n \\"acrInstanceId\\": \\"cri-xxxxx\\",\\n \\"command\\": [\\n \\"/usr/local/bin/entrypoint.sh\\"\\n ],\\n \\"registryConfig\\": {\\n \\"authConfig\\": {\\n \\"userName\\": \\"admin\\",\\n \\"password\\": \\"abc***\\"\\n },\\n \\"certConfig\\": {\\n \\"insecure\\": false,\\n \\"rootCaCertBase64\\": \\"cm9vdF9jYV9jZXJ0X2Jhc2U2NA==\\"\\n },\\n \\"networkConfig\\": {\\n \\"vpcId\\": \\"vpc-xxxxxxxxxxxxx\\",\\n \\"vSwitchId\\": \\"vsw-xxxxxxxxxxxxx\\",\\n \\"securityGroupId\\": \\"sg-xxxxxxxxxxxxx\\"\\n }\\n },\\n \\"port\\": 5000\\n },\\n \\"networkConfiguration\\": {\\n \\"networkMode\\": \\"PRIVATE\\",\\n \\"vpcId\\": \\"vpc-1234567890abcdef0\\",\\n \\"securityGroupId\\": \\"sg-1234567890abcdef0\\",\\n \\"vswitchIds\\": [\\n \\"vsw-sg-1234567890abcdef0\\"\\n ]\\n },\\n \\"credentialConfiguration\\": {\\n \\"credentialName\\": \\"deepagent-key\\"\\n },\\n \\"logConfiguration\\": {\\n \\"project\\": \\"agent-runtime-logs\\",\\n \\"logstore\\": \\"agent-runtime-logs\\"\\n },\\n \\"sandboxIdleTimeoutInSeconds\\": \\"1800\\",\\n \\"sandboxTTLInSeconds\\": \\"已弃用\\",\\n \\"resourceName\\": \\"agentrun-f2570dd4-c8a2-452c-8bd5-4ef74b0a69b5\\",\\n \\"mcpOptions\\": {\\n \\"transport\\": \\"streamable-http\\",\\n \\"enabledTools\\": [\\n \\"execute_code\\"\\n ]\\n },\\n \\"mcpState\\": {\\n \\"status\\": \\"CREATING\\",\\n \\"statusReason\\": \\"SDK Error\\",\\n \\"accessEndpoint\\": \\"/mcp\\"\\n },\\n \\"diskSize\\": 10240,\\n \\"description\\": \\"template描述\\",\\n \\"allowAnonymousManage\\": true,\\n \\"nasConfig\\": {\\n \\"groupId\\": 100,\\n \\"mountPoints\\": [\\n {\\n \\"enableTLS\\": false,\\n \\"mountDir\\": \\"/home/test\\",\\n \\"serverAddr\\": \\"***-uni85.cn-hangzhou.nas.com:/\\"\\n }\\n ],\\n \\"userId\\": 100\\n },\\n \\"enableAgent\\": false,\\n \\"workspaceId\\": \\"\\",\\n \\"scalingStatus\\": {\\n \\"minInstances\\": 1,\\n \\"targetInstances\\": 2,\\n \\"currentInstances\\": 2,\\n \\"scheduledPolicies\\": [\\n {\\n \\"name\\": \\"scale-up-morning\\",\\n \\"startTime\\": \\"2024-01-01T08:00:00\\",\\n \\"endTime\\": \\"2024-01-01T08:00:00\\",\\n \\"scheduleExpression\\": \\"cron(0 8 * * ? *)\\",\\n \\"timeZone\\": \\"Asia/Shanghai\\",\\n \\"target\\": 20\\n }\\n ],\\n \\"currentError\\": \\"error\\"\\n },\\n \\"environmentVariables\\": {\\n \\"key\\": \\"{\'FCTEST_IDE_ENV\': \'IDE\'}\\"\\n },\\n \\"templateConfiguration\\": {\\n \\"key\\": \\"{\\\\\\"example\\\\\\":\\\\\\"test\\\\\\"}\\"\\n },\\n \\"ossConfiguration\\": [\\n {\\n \\"bucketName\\": \\"a-test-oss\\",\\n \\"prefix\\": \\"/\\",\\n \\"mountPoint\\": \\"/mnt/oss1\\",\\n \\"permission\\": \\"READ_WRITE\\",\\n \\"region\\": \\"ch-hangzhou\\",\\n \\"endpoint\\": \\"\\"\\n }\\n ],\\n \\"enablePreStop\\": false,\\n \\"preStopTimeoutInSeconds\\": 0\\n }\\n}","type":"json"}]',
+ 'translator' => 'manual',
+ ],
+ 'ConvertFlowDSL' => [
+ 'summary' => 'Converts a Flow DSL.',
+ 'description' => 'This operation converts a third-party workflow DSL, such as Dify or n8n, into an AgentRun Flow definition. It performs compatibility checks, identifies plugins, and extracts metadata. The operation runs in dry-run mode, returning the converted Flow configuration, a compatibility analysis report, and the required Toolset installation configuration without creating a Flow resource.',
+ 'path' => '/2025-09-10/flows/action/convertDsl',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREfc739PD5'],
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => ['title' => '', 'description' => 'The request body for the conversion.', 'required' => true, '$ref' => '#/components/schemas/ConvertFlowDSLInput', 'example' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'description' => '成功响应 - 返回转换后的Flow定义、兼容性分析报告、Toolset安装配置和插件错误信息',
+ 'schema' => ['title' => '', 'description' => 'The result of the Flow DSL conversion.', '$ref' => '#/components/schemas/ConvertFlowDSLResult', 'example' => ''],
+ 'examples' => [],
+ ],
+ 500 => [
+ 'schema' => ['$ref' => '#/components/schemas/ErrorResult', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'Flow DSL Transformation ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"SUCCESS\\",\\n \\"requestId\\": \\"F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E\\",\\n \\"data\\": {\\n \\"flow\\": {\\n \\"flowName\\": \\"dify-flow\\",\\n \\"description\\": \\"Converted from external workflow\\",\\n \\"definition\\": \\"\\",\\n \\"environmentConfiguration\\": {\\n \\"variables\\": [\\n {\\n \\"name\\": \\"MY_KEY\\",\\n \\"value\\": \\"my-value\\",\\n \\"description\\": \\"A configuration key\\"\\n }\\n ]\\n }\\n },\\n \\"conversionPlan\\": {\\n \\"summary\\": {\\n \\"totalNodes\\": 10,\\n \\"compatibleNodes\\": 7,\\n \\"nodesNeedConfig\\": 2,\\n \\"nodesNeedConversion\\": 0,\\n \\"unsupportedNodes\\": 1\\n },\\n \\"issues\\": [\\n {\\n \\"nodeId\\": \\"1760514991682\\",\\n \\"nodeType\\": \\"tool\\",\\n \\"nodeTitle\\": \\"Google Search\\",\\n \\"level\\": \\"warning\\",\\n \\"issueType\\": \\"needs_config\\",\\n \\"description\\": \\"Tool node requires Toolset installation\\",\\n \\"suggestion\\": \\"Install Toolset \'google\' before using this flow\\",\\n \\"details\\": {\\n \\"key\\": \\"\\"\\n }\\n }\\n ]\\n },\\n \\"toolsetInstallations\\": [\\n {\\n \\"name\\": \\"google\\",\\n \\"description\\": \\"Google Search Plugin\\",\\n \\"spec\\": {\\n \\"key\\": \\"\\"\\n }\\n }\\n ],\\n \\"pluginErrors\\": [\\n {\\n \\"nodeId\\": \\"1760514996015\\",\\n \\"providerName\\": \\"langgenius\\",\\n \\"toolName\\": \\"google_search\\",\\n \\"reason\\": \\"Plugin not found in marketplace\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
+ 'translator' => 'machine',
+ ],
+ 'CreateAgentRuntime' => [
+ 'summary' => 'Creates an agent runtime.',
+ 'description' => 'Creates an agent runtime instance to execute AI agent tasks. The agent runtime is a core component of the AgentRun service and provides capabilities such as code execution, browser operations, and memory management.',
+ 'path' => '/2025-09-10/agents/runtimes',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREfcGRJPWY', 'FEATUREfc739PD5'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => ['title' => '', 'description' => 'The request parameters for creating an agent runtime.', 'required' => true, '$ref' => '#/components/schemas/CreateAgentRuntimeInput', 'example' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'description' => '成功响应 - 返回创建的智能体运行时信息,包括运行时ID、状态、配置等详细信息',
+ 'schema' => ['title' => '', 'description' => 'The result of creating or retrieving an agent runtime.', '$ref' => '#/components/schemas/AgentRuntimeResult', 'example' => ''],
+ 'examples' => [],
+ ],
+ 500 => [
+ 'schema' => ['$ref' => '#/components/schemas/ErrorResult', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'Create an agent runtime',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateAgentRuntime'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'agentrun:CreateAgentRuntime',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'Agent', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:workspaces/{#workspaceName}/runtimes/*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"SUCCESS\\",\\n \\"requestId\\": \\"F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E\\",\\n \\"data\\": {\\n \\"agentRuntimeId\\": \\"ar-1234567890abcdef\\",\\n \\"agentRuntimeName\\": \\"my-agent-runtime\\",\\n \\"agentRuntimeArn\\": \\"acs:agentrun:cn-hangzhou:1760720386195983:runtimes/7a1b6d39-9f8f-4ce2-b9c9-6db1b0b9e169\\",\\n \\"createdAt\\": \\"2025-01-10T10:30:00Z\\",\\n \\"status\\": \\"READY\\",\\n \\"statusReason\\": \\"Runtime is ready for use\\",\\n \\"lastUpdatedAt\\": \\"2025-01-10T11:45:00Z\\",\\n \\"description\\": \\"AI agent runtime for customer service automation\\",\\n \\"executionRoleArn\\": \\"acs:ram::1760720386195983:role/AgentRunExecutionRole\\",\\n \\"credentialName\\": \\"my-credential\\",\\n \\"externalAgentEndpointUrl\\": \\"https://external-agent.example.com/api\\",\\n \\"agentRuntimeVersion\\": \\"1\\",\\n \\"artifactType\\": \\"Code\\",\\n \\"codeConfiguration\\": {\\n \\"zipFile\\": \\"UEsDBAoAAAAAANF\\",\\n \\"ossBucketName\\": \\"my-agent-code-bucket\\",\\n \\"ossObjectName\\": \\"agent-code-v1.0.zip\\",\\n \\"checksum\\": \\"1234567890123456789\\",\\n \\"language\\": \\"python3.12\\",\\n \\"command\\": [\\n \\"\\"\\n ]\\n },\\n \\"containerConfiguration\\": {\\n \\"image\\": \\"registry.cn-hangzhou.aliyuncs.com/my-namespace/agent-runtime:latest\\",\\n \\"imageRegistryType\\": \\"ACR\\",\\n \\"acrInstanceId\\": \\"cri-xxxxx\\",\\n \\"command\\": [\\n \\"/usr/local/bin/entrypoint.sh\\"\\n ],\\n \\"registryConfig\\": {\\n \\"authConfig\\": {\\n \\"userName\\": \\"admin\\",\\n \\"password\\": \\"abc***\\"\\n },\\n \\"certConfig\\": {\\n \\"insecure\\": false,\\n \\"rootCaCertBase64\\": \\"cm9vdF9jYV9jZXJ0X2Jhc2U2NA==\\"\\n },\\n \\"networkConfig\\": {\\n \\"vpcId\\": \\"vpc-xxxxxxxxxxxxx\\",\\n \\"vSwitchId\\": \\"vsw-xxxxxxxxxxxxx\\",\\n \\"securityGroupId\\": \\"sg-xxxxxxxxxxxxx\\"\\n }\\n },\\n \\"port\\": 5000\\n },\\n \\"networkConfiguration\\": {\\n \\"networkMode\\": \\"PRIVATE\\",\\n \\"vpcId\\": \\"vpc-1234567890abcdef0\\",\\n \\"securityGroupId\\": \\"sg-1234567890abcdef0\\",\\n \\"vswitchIds\\": [\\n \\"vsw-sg-1234567890abcdef0\\"\\n ]\\n },\\n \\"protocolConfiguration\\": {\\n \\"type\\": \\"HTTP\\",\\n \\"protocolSettings\\": [\\n {\\n \\"type\\": \\"\\",\\n \\"name\\": \\"\\",\\n \\"config\\": \\"\\",\\n \\"path\\": \\"\\",\\n \\"pathPrefix\\": \\"\\",\\n \\"headers\\": \\"\\",\\n \\"method\\": \\"\\",\\n \\"inputBodyJsonSchema\\": \\"\\",\\n \\"outputBodyJsonSchema\\": \\"\\",\\n \\"requestContentType\\": \\"\\",\\n \\"responseContentType\\": \\"\\",\\n \\"A2AAgentCard\\": \\"\\",\\n \\"a2aAgentCard\\": \\"\\",\\n \\"a2aAgentCardUrl\\": \\"\\"\\n }\\n ]\\n },\\n \\"cpu\\": 2,\\n \\"memory\\": 2048,\\n \\"diskSize\\": 0,\\n \\"port\\": 8080,\\n \\"sessionConcurrencyLimitPerInstance\\": 100,\\n \\"logConfiguration\\": {\\n \\"project\\": \\"agent-runtime-logs\\",\\n \\"logstore\\": \\"agent-runtime-logs\\"\\n },\\n \\"healthCheckConfiguration\\": {\\n \\"httpGetUrl\\": \\"/ready\\",\\n \\"initialDelaySeconds\\": 30,\\n \\"periodSeconds\\": 30,\\n \\"timeoutSeconds\\": 3,\\n \\"failureThreshold\\": 3,\\n \\"successThreshold\\": 1\\n },\\n \\"sessionIdleTimeoutSeconds\\": 3600,\\n \\"enableSessionIsolation\\": false,\\n \\"disableOndemand\\": false,\\n \\"disableSessionAffinity\\": false,\\n \\"sessionAffinityType\\": \\"GENERATED_COOKIE\\",\\n \\"headerFieldName\\": \\"x-agentrun-session-id\\",\\n \\"resourceGroupId\\": \\"\\",\\n \\"workspaceId\\": \\"ws-1234567890abcdef\\",\\n \\"nasConfig\\": {\\n \\"groupId\\": 100,\\n \\"mountPoints\\": [\\n {\\n \\"enableTLS\\": false,\\n \\"mountDir\\": \\"/home/test\\",\\n \\"serverAddr\\": \\"***-uni85.cn-hangzhou.nas.com:/\\"\\n }\\n ],\\n \\"userId\\": 100\\n },\\n \\"ossMountConfig\\": {\\n \\"mountPoints\\": [\\n {\\n \\"bucketName\\": \\"my-bucket\\",\\n \\"bucketPath\\": \\"/my-dir\\",\\n \\"endpoint\\": \\"http://oss-cn-shanghai.aliyuncs.com\\",\\n \\"mountDir\\": \\"/mnt/dir\\",\\n \\"readOnly\\": true\\n }\\n ]\\n },\\n \\"environmentVariables\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"systemTags\\": [\\n \\"\\"\\n ],\\n \\"agentIdentityEnabled\\": \\"\\",\\n \\"agentIdentityConfig\\": {\\n \\"identityProviderName\\": \\"\\",\\n \\"workloadIdentityName\\": \\"\\"\\n },\\n \\"edition\\": \\"\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'CreateAgentRuntimeEndpoint' => [
+ 'summary' => 'Create an access endpoint for an agent runtime',
+ 'description' => 'Creates a new endpoint for the specified agent runtime, used for external access and invocation. An endpoint serves as the entry point through which an agent runtime provides services externally.',
+ 'path' => '/2025-09-10/agents/runtimes/{agentRuntimeId}/endpoints',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREfc739PD5'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'agentRuntimeId',
+ 'in' => 'path',
+ 'allowEmptyValue' => true,
+ 'schema' => ['title' => '', 'description' => 'Agent runtime ID', 'type' => 'string', 'required' => true, 'example' => '12345678-1234-1234-1234-123456789abc'],
+ 'examples' => [],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => ['title' => '', 'description' => 'Create agent runtime endpoint input', 'required' => true, '$ref' => '#/components/schemas/CreateAgentRuntimeEndpointInput', 'example' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'description' => '成功响应 - 返回创建的智能体运行时端点信息,包括端点ID、访问地址、状态等',
+ 'schema' => ['title' => '', 'description' => 'Result of creating the structure', '$ref' => '#/components/schemas/AgentRuntimeEndpointResult', 'example' => ''],
+ 'examples' => [],
+ ],
+ 500 => [
+ 'schema' => ['$ref' => '#/components/schemas/ErrorResult', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ ],
+ 'title' => 'Create an access endpoint for an agent runtime',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateAgentRuntimeEndpoint'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'agentrun:CreateAgentRuntimeEndpoint',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"\\",\\n \\"requestId\\": \\"\\",\\n \\"data\\": {\\n \\"agentRuntimeId\\": \\"ar-1234567890abcdef\\",\\n \\"agentRuntimeEndpointId\\": \\"are-1234567890abcdef\\",\\n \\"agentRuntimeEndpointArn\\": \\"acs:agentrun:cn-hangzhou:1760720386195983:runtime-endpoints/e56d483c-db80-4116-9ec4-25f16f5facfd\\",\\n \\"agentRuntimeEndpointName\\": \\"production-endpoint\\",\\n \\"description\\": \\"Production endpoint for customer service agent\\",\\n \\"status\\": \\"ACTIVE\\",\\n \\"statusReason\\": \\"Endpoint is active and ready\\",\\n \\"targetVersion\\": \\"LATEST\\",\\n \\"routingConfiguration\\": {\\n \\"versionWeights\\": [\\n {\\n \\"version\\": \\"\\",\\n \\"weight\\": 0\\n }\\n ]\\n },\\n \\"endpointPublicUrl\\": \\"https://ar-1234567890abcdef.cn-hangzhou.agentrun.aliyuncs.com\\",\\n \\"disablePublicNetworkAccess\\": false,\\n \\"scalingStatus\\": {\\n \\"minInstances\\": 1,\\n \\"targetInstances\\": 2,\\n \\"currentInstances\\": 2,\\n \\"scheduledPolicies\\": [\\n {\\n \\"name\\": \\"scale-up-morning\\",\\n \\"startTime\\": \\"2024-01-01T08:00:00\\",\\n \\"endTime\\": \\"2024-01-01T08:00:00\\",\\n \\"scheduleExpression\\": \\"cron(0 8 * * ? *)\\",\\n \\"timeZone\\": \\"Asia/Shanghai\\",\\n \\"target\\": 20\\n }\\n ],\\n \\"currentError\\": \\"error\\"\\n }\\n }\\n}","type":"json"}]',
+ 'translator' => 'machine',
+ ],
+ 'CreateBrowser' => [
+ 'summary' => 'Create Browser Sandbox',
+ 'description' => 'Create a new browser instance for executing web automation tasks. The browser instance provides features such as web browsing, element manipulation, and screenshot recording.',
+ 'path' => '/2025-09-10/agents/browsers',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREfcVF016G'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => ['description' => 'Request body for creation parameters', 'required' => true, '$ref' => '#/components/schemas/CreateBrowserInput', 'title' => '', 'example' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'description' => '成功响应 - 返回创建的浏览器实例信息,包括浏览器ID、状态、配置等详细信息',
+ 'schema' => ['title' => '', 'description' => 'Result of the creation structure', '$ref' => '#/components/schemas/BrowserResult', 'example' => ''],
+ 'examples' => [],
+ ],
+ ],
+ 'title' => 'Create Browser Sandbox',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'agentrun:CreateBrowser',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"SUCCESS\\",\\n \\"requestId\\": \\"F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E\\",\\n \\"data\\": {\\n \\"browserId\\": \\"browser-1234567890abcdef\\",\\n \\"browserName\\": \\"my-browser\\",\\n \\"description\\": \\"Web automation browser for testing\\",\\n \\"status\\": \\"READY\\",\\n \\"statusReason\\": \\"Browser is ready for use\\",\\n \\"createdAt\\": \\"2025-01-10T10:30:00Z\\",\\n \\"lastUpdatedAt\\": \\"2025-01-10T11:45:00Z\\",\\n \\"executionRoleArn\\": \\"acs:ram::1760720386195983:role/BrowserExecutionRole\\",\\n \\"networkConfiguration\\": {\\n \\"networkMode\\": \\"PRIVATE\\",\\n \\"vpcId\\": \\"vpc-1234567890abcdef0\\",\\n \\"securityGroupId\\": \\"sg-1234567890abcdef0\\",\\n \\"vswitchIds\\": [\\n \\"vsw-sg-1234567890abcdef0\\"\\n ]\\n },\\n \\"recording\\": {\\n \\"enabled\\": false,\\n \\"ossLocation\\": {\\n \\"bucket\\": \\"\\",\\n \\"prefix\\": \\"\\"\\n }\\n },\\n \\"memory\\": 2048,\\n \\"credentialId\\": \\"cred-1234567890abcdef\\",\\n \\"cpu\\": 2,\\n \\"tenantId\\": \\"tenant-1234567890abcdef\\"\\n }\\n}","type":"json"}]',
+ 'translator' => 'machine',
+ ],
+ 'CreateCodeInterpreter' => [
+ 'path' => '/2025-09-10/agents/code-interpreters',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREfcGRJPWY', 'FEATUREfcVF016G'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => ['description' => 'Request body for creating a code interpreter.', 'required' => true, '$ref' => '#/components/schemas/CreateCodeInterpreterInput', 'title' => '', 'example' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => ['title' => '', 'description' => 'Result of creating a code interpreter.', '$ref' => '#/components/schemas/CodeInterpreterResult', 'example' => ''],
+ 'examples' => [],
+ ],
+ ],
+ 'title' => 'CreateCodeInterpreter',
+ 'summary' => 'Creates a code interpreter.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'agentrun:CreateCodeInterpreter',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"SUCCESS\\",\\n \\"requestId\\": \\"F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E\\",\\n \\"data\\": {\\n \\"codeInterpreterId\\": \\"ci-1234567890abcdef\\",\\n \\"codeInterpreterName\\": \\"my-code-interpreter\\",\\n \\"description\\": \\"Python code interpreter for data analysis\\",\\n \\"executionRoleArn\\": \\"acs:ram::1760720386195983:role/CodeInterpreterExecutionRole\\",\\n \\"createdAt\\": \\"2025-01-10T10:30:00Z\\",\\n \\"lastUpdatedAt\\": \\"2025-01-10T11:45:00Z\\",\\n \\"status\\": \\"READY\\",\\n \\"statusReason\\": \\"Code interpreter is ready for use\\",\\n \\"networkConfiguration\\": {\\n \\"networkMode\\": \\"PRIVATE\\",\\n \\"vpcId\\": \\"vpc-1234567890abcdef0\\",\\n \\"securityGroupId\\": \\"sg-1234567890abcdef0\\",\\n \\"vswitchIds\\": [\\n \\"vsw-sg-1234567890abcdef0\\"\\n ]\\n },\\n \\"memory\\": 2048,\\n \\"cpu\\": 2,\\n \\"tenantId\\": \\"tenant-1234567890abcdef\\"\\n }\\n}","type":"json"}]',
+ 'translator' => 'machine',
+ ],
+ 'CreateCredential' => [
+ 'summary' => 'Creates a new credential.',
+ 'path' => '/2025-09-10/agents/credentials',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREfcGRJPWY', 'FEATUREfcVF016G'],
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'schema' => ['description' => 'The parameters for creating a credential.', '$ref' => '#/components/schemas/CreateCredentialInput', 'required' => false, 'title' => '', 'example' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'description' => 'Successful response',
+ 'headers' => [],
+ 'schema' => ['description' => 'The details of the created credential.', '$ref' => '#/components/schemas/CredentialResult', 'title' => '', 'example' => ''],
+ 'examples' => [],
+ ],
+ ],
+ 'title' => 'CreateCredential',
+ 'description' => 'This operation creates a credential for an agent.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateCredential'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'agentrun:CreateCredential',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'translator' => 'machine',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"\\",\\n \\"requestId\\": \\"\\",\\n \\"data\\": {\\n \\"credentialId\\": \\"\\",\\n \\"credentialName\\": \\"\\",\\n \\"description\\": \\"\\",\\n \\"credentialAuthType\\": \\"\\",\\n \\"credentialSourceType\\": \\"\\",\\n \\"enabled\\": false,\\n \\"credentialSecret\\": \\"\\",\\n \\"createdAt\\": \\"\\",\\n \\"updatedAt\\": \\"\\",\\n \\"credentialPublicConfig\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"relatedResources\\": [\\n {\\n \\"resourceId\\": \\"\\",\\n \\"resourceName\\": \\"\\",\\n \\"resourceType\\": \\"\\"\\n }\\n ],\\n \\"workspaceId\\": \\"\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'CreateCustomDomain' => [
+ 'path' => '/2025-09-10/agents/custom-domains',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREfcGRJPWY', 'FEATUREfcVF016G'],
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'schema' => ['description' => 'The request body used to create a custom domain.', '$ref' => '#/components/schemas/CreateCustomDomainInput', 'required' => false, 'title' => '', 'example' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'headers' => [],
+ 'schema' => ['description' => 'The response body that contains the custom domain object.', '$ref' => '#/components/schemas/CustomDomainResult', 'title' => '', 'example' => ''],
+ 'examples' => [],
+ ],
+ ],
+ 'title' => 'CreateCustomDomain',
+ 'summary' => 'Creates a custom domain.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'agentrun:CreateCustomDomain',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"SUCCESS\\",\\n \\"requestId\\": \\"F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E\\",\\n \\"data\\": {\\n \\"domainName\\": \\"example.com\\",\\n \\"description\\": \\"\\",\\n \\"protocol\\": \\"HTTP\\",\\n \\"routeConfig\\": {\\n \\"routes\\": [\\n {\\n \\"path\\": \\"/login\\",\\n \\"resourceName\\": \\"\\",\\n \\"resourceType\\": \\"runtime\\",\\n \\"agentRuntimeEndpointName\\": \\"\\",\\n \\"compatibleProtocol\\": \\"native\\",\\n \\"flowEndpointName\\": \\"Default\\",\\n \\"methods\\": [\\n \\"\\"\\n ],\\n \\"removeBasePathOnForward\\": false\\n }\\n ]\\n },\\n \\"certConfig\\": {\\n \\"certName\\": \\"my-cert\\",\\n \\"certificate\\": \\"-----BEGIN CERTIFICATE-----\\\\\\\\nxxxxx\\\\\\\\n-----END CERTIFICATE-----\\",\\n \\"privateKey\\": \\"-----BEGIN RSA PRIVATE KEY-----\\\\\\\\nxxxxx\\\\\\\\n-----END RSA PRIVATE KEY-----\\"\\n },\\n \\"tlsConfig\\": {\\n \\"minVersion\\": \\"TLSv1.2\\",\\n \\"cipherSuites\\": [\\n \\"\\"\\n ],\\n \\"maxVersion\\": \\"TLSv1.3\\"\\n },\\n \\"createdAt\\": \\"2025-01-10T10:30:00Z\\",\\n \\"updatedAt\\": \\"2025-01-10T11:45:00Z\\",\\n \\"domainType\\": \\"\\"\\n }\\n}","type":"json"}]',
+ 'translator' => 'manual',
+ ],
+ 'CreateFlow' => [
+ 'path' => '/2025-09-10/flows',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREfc739PD5'],
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => ['title' => '', 'description' => 'Complete configuration information required to create a workflow, including the workflow name, definition, and execution role.', 'required' => true, '$ref' => '#/components/schemas/CreateFlowInput', 'example' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => ['title' => '', 'description' => 'Result of the create operation', '$ref' => '#/components/schemas/FlowResult', 'example' => ''],
+ 'examples' => [],
+ ],
+ 500 => [
+ 'schema' => ['$ref' => '#/components/schemas/ErrorResult', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'CreateFlow',
+ 'description' => 'Creates a flow orchestration agent. Flow orchestration is a core component of the AgentRun service that supports visual orchestration and version management.',
+ 'summary' => 'Creates a workflow.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'agentrun:CreateFlow',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'Flow', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:workspaces/{#workspaceName}/flows/*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"SUCCESS\\",\\n \\"requestId\\": \\"F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E\\",\\n \\"data\\": {\\n \\"flowId\\": \\"flow-1234567890abcdef\\",\\n \\"flowArn\\": \\"acs:agentrun:cn-hangzhou:123456789012:workspaces/ws-xxx/flows/flow-xxx\\",\\n \\"flowName\\": \\"my-flow\\",\\n \\"description\\": \\"Customer service automation flow\\",\\n \\"definition\\": \\"{}\\",\\n \\"executionRoleArn\\": \\"acs:ram::123456789012:role/FlowExecutionRole\\",\\n \\"environmentConfiguration\\": {\\n \\"variables\\": [\\n {\\n \\"name\\": \\"MY_KEY\\",\\n \\"value\\": \\"my-value\\",\\n \\"description\\": \\"A configuration key\\"\\n }\\n ]\\n },\\n \\"externalStorageLocation\\": \\"oss://bucket/path\\",\\n \\"resourceGroupId\\": \\"rg-acfmxsn4m4a4b4a\\",\\n \\"tracingConfiguration\\": {\\n \\"enabled\\": true\\n },\\n \\"loggingConfiguration\\": {\\n \\"destinations\\": [\\n {\\n \\"slsLogDestination\\": {\\n \\"project\\": \\"my-sls-project\\",\\n \\"logStore\\": \\"my-logstore\\"\\n }\\n }\\n ]\\n },\\n \\"workspaceId\\": \\"ws-1234567890abcdef\\",\\n \\"createdAt\\": \\"2025-01-10T10:30:00Z\\",\\n \\"lastUpdatedAt\\": \\"2025-01-10T11:45:00Z\\",\\n \\"disablePublicNetworkAccess\\": false\\n }\\n}","type":"json"}]',
+ 'translator' => 'machine',
+ ],
+ 'CreateFlowEndpoint' => [
+ 'path' => '/2025-09-10/flows/{flowName}/endpoints',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREfc739PD5'],
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'flowName',
+ 'in' => 'path',
+ 'allowEmptyValue' => true,
+ 'schema' => ['title' => '', 'description' => 'Flow ID', 'type' => 'string', 'required' => true, 'example' => 'flow-1234567890abcdef'],
+ 'examples' => [],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => ['title' => '', 'description' => 'Request parameters for creating a flow endpoint', 'required' => true, '$ref' => '#/components/schemas/CreateFlowEndpointInput', 'example' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => ['title' => '', 'description' => 'Result of creating the endpoint', '$ref' => '#/components/schemas/FlowEndpointResult', 'example' => ''],
+ 'examples' => [],
+ ],
+ 500 => [
+ 'schema' => ['$ref' => '#/components/schemas/ErrorResult', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ ],
+ 'title' => 'CreateFlowEndpoint',
+ 'summary' => 'Creates a flow endpoint.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"SUCCESS\\",\\n \\"requestId\\": \\"F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E\\",\\n \\"data\\": {\\n \\"flowId\\": \\"flow-1234567890abcdef\\",\\n \\"flowEndpointId\\": \\"fe-1234567890abcdef\\",\\n \\"flowEndpointArn\\": \\"acs:agentrun:cn-hangzhou:123456789012:workspaces/ws-xxx/flows/flow-xxx/endpoints/fe-xxx\\",\\n \\"flowEndpointName\\": \\"my-flow-endpoint\\",\\n \\"description\\": \\"Production endpoint for flow\\",\\n \\"targetVersion\\": \\"1\\",\\n \\"createdAt\\": \\"2025-01-10T10:30:00Z\\",\\n \\"lastUpdatedAt\\": \\"2025-01-10T11:45:00Z\\",\\n \\"routingConfiguration\\": [\\n {\\n \\"version\\": \\"1\\",\\n \\"weight\\": 100\\n }\\n ],\\n \\"disablePublicNetworkAccess\\": false\\n }\\n}","type":"json"}]',
+ 'translator' => 'machine',
+ ],
+ 'CreateIMBot' => [
+ 'summary' => 'Creates an IM Bot.',
+ 'description' => 'A successful request returns an HTTP 201 status code. Once created, an IM Bot\'s status is always `running`. The response is in a standard format, and its `data` field contains an `IMBotInfo` object.',
+ 'path' => '/2025-09-10/agents/im-bots',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREfc739PD5'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => ['description' => 'The request body.', 'required' => true, '$ref' => '#/components/schemas/CreateIMBotInput', 'title' => '', 'example' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'description' => '成功响应 data 为 IMBotInfo(无 botBizSecret、无完整 metadata)',
+ 'schema' => ['description' => 'The response data.', '$ref' => '#/components/schemas/IMBotResult', 'title' => '', 'example' => ''],
+ 'examples' => [],
+ ],
+ 500 => [
+ 'schema' => ['$ref' => '#/components/schemas/ErrorResult', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'agentrun:CreateIMBot',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"\\",\\n \\"requestId\\": \\"\\",\\n \\"data\\": {\\n \\"id\\": \\"\\",\\n \\"tenantId\\": \\"\\",\\n \\"imChannelServerResourceName\\": \\"\\",\\n \\"botBizId\\": \\"\\",\\n \\"botName\\": \\"\\",\\n \\"agentRuntimeId\\": \\"\\",\\n \\"botBizType\\": \\"\\",\\n \\"botMode\\": \\"\\",\\n \\"status\\": \\"\\",\\n \\"lastMessageTime\\": \\"\\",\\n \\"currentInstances\\": 0,\\n \\"description\\": \\"\\",\\n \\"metadata\\": {\\n \\"agentRuntimeId\\": \\"\\",\\n \\"agentRuntimeEndpointId\\": \\"\\",\\n \\"agentRuntimeEndpointUrl\\": \\"\\",\\n \\"protocolType\\": \\"\\",\\n \\"role\\": \\"\\",\\n \\"customFunctionMeta\\": \\"\\"\\n },\\n \\"createdAt\\": \\"\\",\\n \\"updatedAt\\": \\"\\"\\n }\\n}","type":"json"}]',
+ 'title' => 'CreateIMBot',
+ 'translator' => 'machine',
+ ],
+ 'CreateKnowledgeBase' => [
+ 'path' => '/2025-09-10/agents/knowledgebases',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREfcGRJPWY'],
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'schema' => ['description' => 'The data structure to create a knowledge base.', '$ref' => '#/components/schemas/CreateKnowledgeBaseInput', 'required' => false, 'title' => '', 'example' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => ['description' => 'The details of the created knowledge base.', '$ref' => '#/components/schemas/KnowledgeBaseResult', 'title' => '', 'example' => ''],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'CreateKnowledgeBase',
+ 'summary' => 'Creates a knowledge base.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'agentrun:CreateKnowledgeBase',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'Knowledgebase', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:workspaces/{#workspaceName}/knowledgebases/*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"\\",\\n \\"requestId\\": \\"\\",\\n \\"data\\": {\\n \\"knowledgeBaseId\\": \\"\\",\\n \\"knowledgeBaseName\\": \\"\\",\\n \\"description\\": \\"\\",\\n \\"provider\\": \\"\\",\\n \\"credentialName\\": \\"\\",\\n \\"createdAt\\": \\"\\",\\n \\"lastUpdatedAt\\": \\"\\",\\n \\"providerSettings\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"retrieveSettings\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"workspaceId\\": \\"\\"\\n }\\n}","type":"json"}]',
+ 'translator' => 'machine',
+ ],
+ 'CreateMemoryCollection' => [
+ 'summary' => 'Creates a memory collection.',
+ 'path' => '/2025-09-10/agents/memory-collections',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREfcUDVD99'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => ['description' => 'Configuration settings to create a memory collection.', '$ref' => '#/components/schemas/CreateMemoryCollectionInput', 'required' => false, 'title' => '', 'example' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => ['description' => 'The details of the created memory collection.', '$ref' => '#/components/schemas/MemoryCollectionResult', 'title' => '', 'example' => ''],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'CreateMemoryCollection',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'agentrun:CreateMemoryCollection',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"\\",\\n \\"requestId\\": \\"\\",\\n \\"data\\": {\\n \\"memoryCollectionName\\": \\"\\",\\n \\"memoryCollectionId\\": \\"\\",\\n \\"description\\": \\"\\",\\n \\"llmConfig\\": {\\n \\"config\\": {\\n \\"model\\": \\"\\"\\n },\\n \\"modelServiceName\\": \\"\\"\\n },\\n \\"embedderConfig\\": {\\n \\"config\\": {\\n \\"model\\": \\"\\"\\n },\\n \\"modelServiceName\\": \\"\\"\\n },\\n \\"vectorStoreConfig\\": {\\n \\"provider\\": \\"\\",\\n \\"config\\": {\\n \\"endpoint\\": \\"\\",\\n \\"instanceName\\": \\"\\",\\n \\"vectorDimension\\": 0,\\n \\"collectionName\\": \\"\\"\\n },\\n \\"mysqlConfig\\": {\\n \\"host\\": \\"\\",\\n \\"dbName\\": \\"\\",\\n \\"collectionName\\": \\"\\",\\n \\"user\\": \\"\\",\\n \\"credentialName\\": \\"\\",\\n \\"vectorDimension\\": 0,\\n \\"port\\": 0\\n }\\n },\\n \\"networkConfiguration\\": {\\n \\"networkMode\\": \\"PRIVATE\\",\\n \\"vpcId\\": \\"vpc-1234567890abcdef0\\",\\n \\"securityGroupId\\": \\"sg-1234567890abcdef0\\",\\n \\"vswitchIds\\": [\\n \\"vsw-sg-1234567890abcdef0\\"\\n ]\\n },\\n \\"executionRoleArn\\": \\"\\",\\n \\"createdAt\\": \\"\\",\\n \\"lastUpdatedAt\\": \\"\\",\\n \\"enableConversationHistory\\": false,\\n \\"enableConversationState\\": false,\\n \\"workspaceId\\": \\"\\"\\n }\\n}","type":"json"}]',
+ 'translator' => 'machine',
+ ],
+ 'CreateModelProxy' => [
+ 'summary' => 'Creates a Model Proxy.',
+ 'path' => '/2025-09-10/agents/model-proxies',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREfcGRJPWY'],
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => ['description' => 'The configuration for the Model Proxy.', '$ref' => '#/components/schemas/CreateModelProxyInput', 'required' => false, 'title' => '', 'example' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => ['description' => 'The response object.', '$ref' => '#/components/schemas/ModelProxyResult', 'title' => '', 'example' => ''],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'CreateModelProxy',
+ 'description' => 'This operation creates a Model Proxy based on the specified configuration.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateModelProxy'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'agentrun:CreateModelProxy',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'translator' => 'machine',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"\\",\\n \\"requestId\\": \\"\\",\\n \\"data\\": {\\n \\"modelProxyId\\": \\"\\",\\n \\"modelProxyName\\": \\"\\",\\n \\"description\\": \\"\\",\\n \\"modelType\\": \\"\\",\\n \\"proxyMode\\": \\"\\",\\n \\"proxyConfig\\": {\\n \\"policies\\": {\\n \\"requestTimeout\\": 0,\\n \\"numRetries\\": 0,\\n \\"cache\\": false,\\n \\"concurrencyLimit\\": 0,\\n \\"fallbacks\\": [\\n {\\n \\"modelServiceName\\": \\"\\",\\n \\"modelName\\": \\"\\"\\n }\\n ],\\n \\"tokenRateLimiter\\": {\\n \\"tps\\": 0,\\n \\"tpm\\": 0,\\n \\"tph\\": 0,\\n \\"tpd\\": 0\\n },\\n \\"aiGuardrailConfig\\": {\\n \\"checkRequest\\": false,\\n \\"checkResponse\\": false,\\n \\"level\\": \\"\\",\\n \\"maxTextLength\\": 0,\\n \\"blockOnContentModeration\\": false,\\n \\"blockOnSensitiveData\\": false,\\n \\"blockOnPromptAttack\\": false,\\n \\"blockOnMaliciousUrl\\": false,\\n \\"blockOnModelHallucination\\": false\\n }\\n },\\n \\"endpoints\\": [\\n {\\n \\"modelServiceName\\": \\"\\",\\n \\"weight\\": 0,\\n \\"baseUrl\\": \\"\\",\\n \\"modelNames\\": [\\n \\"\\"\\n ]\\n }\\n ]\\n },\\n \\"functionName\\": \\"\\",\\n \\"status\\": \\"\\",\\n \\"credentialName\\": \\"\\",\\n \\"serviceRegionId\\": \\"\\",\\n \\"endpoint\\": \\"\\",\\n \\"litellmVersion\\": \\"\\",\\n \\"cpu\\": 0,\\n \\"memory\\": 0,\\n \\"createdAt\\": \\"\\",\\n \\"lastUpdatedAt\\": \\"\\",\\n \\"networkConfiguration\\": {\\n \\"networkMode\\": \\"PRIVATE\\",\\n \\"vpcId\\": \\"vpc-1234567890abcdef0\\",\\n \\"securityGroupId\\": \\"sg-1234567890abcdef0\\",\\n \\"vswitchIds\\": [\\n \\"vsw-sg-1234567890abcdef0\\"\\n ]\\n },\\n \\"statusReason\\": \\"\\",\\n \\"logConfiguration\\": {\\n \\"project\\": \\"agent-runtime-logs\\",\\n \\"logstore\\": \\"agent-runtime-logs\\"\\n },\\n \\"executionRoleArn\\": \\"\\",\\n \\"workspaceId\\": \\"\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'CreateModelService' => [
+ 'summary' => 'Creates a model service.',
+ 'path' => '/2025-09-10/agents/model-services',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREfcGRJPWY'],
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => ['description' => 'Parameters for creating the model service.', '$ref' => '#/components/schemas/CreateModelServiceInput', 'required' => false, 'title' => '', 'example' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => ['description' => 'Details of the created model service.', '$ref' => '#/components/schemas/ModelServiceResult', 'title' => '', 'example' => ''],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'CreateModelService',
+ 'description' => 'This operation creates a model service, such as a code interpreter, based on the specified configuration.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateModelService'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'agentrun:CreateModelService',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'translator' => 'machine',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"\\",\\n \\"requestId\\": \\"\\",\\n \\"data\\": {\\n \\"modelServiceName\\": \\"\\",\\n \\"description\\": \\"\\",\\n \\"modelType\\": \\"\\",\\n \\"provider\\": \\"\\",\\n \\"providerSettings\\": {\\n \\"baseUrl\\": \\"\\",\\n \\"apiKey\\": \\"\\",\\n \\"modelNames\\": [\\n \\"\\"\\n ]\\n },\\n \\"status\\": \\"\\",\\n \\"credentialName\\": \\"\\",\\n \\"createdAt\\": \\"\\",\\n \\"lastUpdatedAt\\": \\"\\",\\n \\"networkConfiguration\\": {\\n \\"networkMode\\": \\"PRIVATE\\",\\n \\"vpcId\\": \\"vpc-1234567890abcdef0\\",\\n \\"securityGroupId\\": \\"sg-1234567890abcdef0\\",\\n \\"vswitchIds\\": [\\n \\"vsw-sg-1234567890abcdef0\\"\\n ]\\n },\\n \\"statusReason\\": \\"\\",\\n \\"modelServiceId\\": \\"\\",\\n \\"modelInfoConfigs\\": [\\n {\\n \\"modelName\\": \\"\\",\\n \\"modelFeatures\\": {\\n \\"vision\\": true,\\n \\"agentThought\\": true,\\n \\"toolCall\\": true,\\n \\"multiToolCall\\": true,\\n \\"streamToolCall\\": true\\n },\\n \\"modelProperties\\": {\\n \\"contextSize\\": 0\\n },\\n \\"modelParameterRules\\": [\\n {\\n \\"name\\": \\"\\",\\n \\"type\\": \\"\\",\\n \\"default\\": \\"\\",\\n \\"min\\": 0,\\n \\"max\\": 0,\\n \\"required\\": true\\n }\\n ]\\n }\\n ],\\n \\"workspaceId\\": \\"\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'CreateSandbox' => [
+ 'summary' => 'Creates a sandbox.',
+ 'description' => 'Creates a new sandbox instance from a specified template. A sandbox provides an isolated execution environment to run code or launch a browser.',
+ 'path' => '/2025-09-10/sandboxes',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'paid',
+ 'abilityTreeNodes' => ['FEATUREfcGRJPWY'],
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => ['description' => 'The configuration for the sandbox.', 'required' => true, '$ref' => '#/components/schemas/CreateSandboxInput', 'title' => '', 'example' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'description' => '成功响应 - 返回创建的沙箱信息,包括沙箱ID、状态等详细信息',
+ 'schema' => ['description' => 'The details of the created sandbox.', '$ref' => '#/components/schemas/SandboxResult', 'title' => '', 'example' => ''],
+ 'examples' => [],
+ ],
+ 500 => [
+ 'schema' => ['$ref' => '#/components/schemas/ErrorResult', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'CreateSandbox',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'agentrun:CreateSandbox',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"SUCCESS\\",\\n \\"requestId\\": \\"F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E\\",\\n \\"data\\": {\\n \\"sandboxId\\": \\"01KAWBP6JQD0J3Z34BP4WMX1KG\\",\\n \\"templateId\\": \\"8d409d30-cac1-445a-95d5-476c47780336.schema\\",\\n \\"templateName\\": \\"my-template\\",\\n \\"status\\": \\"READY\\",\\n \\"createdAt\\": \\"2025-11-26T10:54:17.770719+08:00\\",\\n \\"lastUpdatedAt\\": \\"2025-11-26T10:54:17.770719+08:00\\",\\n \\"sandboxIdleTimeoutSeconds\\": 1800,\\n \\"endedAt\\": \\"2025-11-26T10:54:17.770719+08:00\\",\\n \\"sandboxArn\\": \\"acs:ram::1760720386195983:role/aliyunfcdefaultrole\\",\\n \\"sandboxIdleTTLInSeconds\\": 0,\\n \\"metadata\\": {}\\n }\\n}","type":"json"}]',
+ 'translator' => 'machine',
+ ],
+ 'CreateTemplate' => [
+ 'path' => '/2025-09-10/templates',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREfcGRJPWY'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => ['title' => '', 'description' => 'CreateTemplate request parameters', 'required' => true, '$ref' => '#/components/schemas/CreateTemplateInput', 'example' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => ['title' => '', 'description' => 'Returns the template creation result', '$ref' => '#/components/schemas/TemplateResult', 'example' => ''],
+ 'examples' => [],
+ ],
+ 500 => [
+ 'schema' => ['$ref' => '#/components/schemas/ErrorResult', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'CreateTemplate',
+ 'summary' => 'Creates a template.',
+ 'description' => 'Creates a new template for subsequently creating sandboxes. A template defines the runtime environment, resource configuration, and other settings for sandboxes.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateTemplate'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'agentrun:CreateTemplate',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"SUCCESS\\",\\n \\"requestId\\": \\"F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E\\",\\n \\"data\\": {\\n \\"templateId\\": \\"996ffd5e-003f-4700-9f24-9e2a1c19019b.schema\\",\\n \\"templateName\\": \\"browser-1767874121726\\",\\n \\"templateVersion\\": \\"预留\\",\\n \\"cpu\\": 4,\\n \\"memory\\": 4096,\\n \\"templateArn\\": \\"acs:agentrun:cn-hangzhou:12345678:templates/efb6de2f-1814-42a2-b7f3-474a0e0b3a48\\",\\n \\"createdAt\\": \\"2026-01-15T17:12:59.375168+08:00\\",\\n \\"lastUpdatedAt\\": \\"2026-01-15T17:12:59.375168+08:00\\",\\n \\"status\\": \\"READY\\",\\n \\"statusReason\\": \\"SDK Error\\",\\n \\"executionRoleArn\\": \\"acs:agentrun:cn-hangzhou:12345678:templates/efb6de2f-1814-42a2-b7f3-474a0e0b3a48\\",\\n \\"templateType\\": \\"Browser\\",\\n \\"containerConfiguration\\": {\\n \\"image\\": \\"registry.cn-hangzhou.aliyuncs.com/my-namespace/agent-runtime:latest\\",\\n \\"imageRegistryType\\": \\"ACR\\",\\n \\"acrInstanceId\\": \\"cri-xxxxx\\",\\n \\"command\\": [\\n \\"/usr/local/bin/entrypoint.sh\\"\\n ],\\n \\"registryConfig\\": {\\n \\"authConfig\\": {\\n \\"userName\\": \\"admin\\",\\n \\"password\\": \\"abc***\\"\\n },\\n \\"certConfig\\": {\\n \\"insecure\\": false,\\n \\"rootCaCertBase64\\": \\"cm9vdF9jYV9jZXJ0X2Jhc2U2NA==\\"\\n },\\n \\"networkConfig\\": {\\n \\"vpcId\\": \\"vpc-xxxxxxxxxxxxx\\",\\n \\"vSwitchId\\": \\"vsw-xxxxxxxxxxxxx\\",\\n \\"securityGroupId\\": \\"sg-xxxxxxxxxxxxx\\"\\n }\\n },\\n \\"port\\": 5000\\n },\\n \\"networkConfiguration\\": {\\n \\"networkMode\\": \\"PRIVATE\\",\\n \\"vpcId\\": \\"vpc-1234567890abcdef0\\",\\n \\"securityGroupId\\": \\"sg-1234567890abcdef0\\",\\n \\"vswitchIds\\": [\\n \\"vsw-sg-1234567890abcdef0\\"\\n ]\\n },\\n \\"credentialConfiguration\\": {\\n \\"credentialName\\": \\"deepagent-key\\"\\n },\\n \\"logConfiguration\\": {\\n \\"project\\": \\"agent-runtime-logs\\",\\n \\"logstore\\": \\"agent-runtime-logs\\"\\n },\\n \\"sandboxIdleTimeoutInSeconds\\": \\"1800\\",\\n \\"sandboxTTLInSeconds\\": \\"已弃用\\",\\n \\"resourceName\\": \\"agentrun-f2570dd4-c8a2-452c-8bd5-4ef74b0a69b5\\",\\n \\"mcpOptions\\": {\\n \\"transport\\": \\"streamable-http\\",\\n \\"enabledTools\\": [\\n \\"execute_code\\"\\n ]\\n },\\n \\"mcpState\\": {\\n \\"status\\": \\"CREATING\\",\\n \\"statusReason\\": \\"SDK Error\\",\\n \\"accessEndpoint\\": \\"/mcp\\"\\n },\\n \\"diskSize\\": 10240,\\n \\"description\\": \\"template描述\\",\\n \\"allowAnonymousManage\\": true,\\n \\"nasConfig\\": {\\n \\"groupId\\": 100,\\n \\"mountPoints\\": [\\n {\\n \\"enableTLS\\": false,\\n \\"mountDir\\": \\"/home/test\\",\\n \\"serverAddr\\": \\"***-uni85.cn-hangzhou.nas.com:/\\"\\n }\\n ],\\n \\"userId\\": 100\\n },\\n \\"enableAgent\\": false,\\n \\"workspaceId\\": \\"\\",\\n \\"scalingStatus\\": {\\n \\"minInstances\\": 1,\\n \\"targetInstances\\": 2,\\n \\"currentInstances\\": 2,\\n \\"scheduledPolicies\\": [\\n {\\n \\"name\\": \\"scale-up-morning\\",\\n \\"startTime\\": \\"2024-01-01T08:00:00\\",\\n \\"endTime\\": \\"2024-01-01T08:00:00\\",\\n \\"scheduleExpression\\": \\"cron(0 8 * * ? *)\\",\\n \\"timeZone\\": \\"Asia/Shanghai\\",\\n \\"target\\": 20\\n }\\n ],\\n \\"currentError\\": \\"error\\"\\n },\\n \\"environmentVariables\\": {\\n \\"key\\": \\"{\'FCTEST_IDE_ENV\': \'IDE\'}\\"\\n },\\n \\"templateConfiguration\\": {\\n \\"key\\": \\"{\\\\\\"example\\\\\\":\\\\\\"test\\\\\\"}\\"\\n },\\n \\"ossConfiguration\\": [\\n {\\n \\"bucketName\\": \\"a-test-oss\\",\\n \\"prefix\\": \\"/\\",\\n \\"mountPoint\\": \\"/mnt/oss1\\",\\n \\"permission\\": \\"READ_WRITE\\",\\n \\"region\\": \\"ch-hangzhou\\",\\n \\"endpoint\\": \\"\\"\\n }\\n ],\\n \\"enablePreStop\\": false,\\n \\"preStopTimeoutInSeconds\\": 0\\n }\\n}","type":"json"}]',
+ 'translator' => 'machine',
+ ],
+ 'CreateTool' => [
+ 'path' => '/2025-09-10/agents/tools',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREfcGRJPWY', 'FEATUREfcVF016G'],
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'schema' => ['title' => '', 'description' => 'The request body.', '$ref' => '#/components/schemas/CreateToolInputV2', 'required' => false, 'example' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'headers' => [],
+ 'schema' => ['description' => 'Details of the created tool.', '$ref' => '#/components/schemas/ToolResult', 'title' => '', 'example' => ''],
+ 'examples' => [],
+ ],
+ ],
+ 'title' => 'Creation',
+ 'summary' => 'Creates a tool.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'agentrun:CreateTool',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'Tool', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:workspaces/{#workspaceName}/tools/*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"SUCCESS\\",\\n \\"requestId\\": \\"F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E\\",\\n \\"data\\": {\\n \\"toolId\\": \\"tool-abc123\\",\\n \\"toolName\\": \\"my-mcp-tool\\",\\n \\"workspaceId\\": \\"workspace-xyz789\\",\\n \\"description\\": \\"这是一个用于处理文档的 MCP 工具\\",\\n \\"toolType\\": \\"MCP\\",\\n \\"createMethod\\": \\"MCP_REMOTE\\",\\n \\"protocolSpec\\": \\"\\",\\n \\"mcpConfig\\": {\\n \\"sessionAffinity\\": \\"MCP_STREAMABLE\\",\\n \\"sessionAffinityConfig\\": \\"\\",\\n \\"proxyEnabled\\": true,\\n \\"mcpProxyConfiguration\\": {\\n \\"hooks\\": [\\n {\\n \\"url\\": \\"\\",\\n \\"description\\": \\"\\",\\n \\"apiVersion\\": \\"\\",\\n \\"enabled\\": false,\\n \\"timeout\\": 0,\\n \\"event\\": \\"\\",\\n \\"headers\\": {\\n \\"key\\": \\"\\"\\n }\\n }\\n ]\\n },\\n \\"boundConfiguration\\": {\\n \\"boundTools\\": [\\n {\\n \\"toolName\\": \\"my-tool\\",\\n \\"method\\": \\"POST\\",\\n \\"path\\": \\"/api/v1/tools\\",\\n \\"apis\\": [\\n {\\n \\"method\\": \\"\\",\\n \\"path\\": \\"\\"\\n }\\n ]\\n }\\n ]\\n }\\n },\\n \\"status\\": \\"Running\\",\\n \\"statusReason\\": \\"\\",\\n \\"executionRoleArn\\": \\"acs:ram::123456789:role/AliyunFCDefaultRole\\",\\n \\"artifactType\\": \\"Code\\",\\n \\"networkConfiguration\\": {\\n \\"networkMode\\": \\"PRIVATE\\",\\n \\"vpcId\\": \\"vpc-1234567890abcdef0\\",\\n \\"securityGroupId\\": \\"sg-1234567890abcdef0\\",\\n \\"vswitchIds\\": [\\n \\"vsw-sg-1234567890abcdef0\\"\\n ]\\n },\\n \\"codeConfiguration\\": {\\n \\"zipFile\\": \\"UEsDBAoAAAAAANF\\",\\n \\"ossBucketName\\": \\"my-agent-code-bucket\\",\\n \\"ossObjectName\\": \\"agent-code-v1.0.zip\\",\\n \\"checksum\\": \\"1234567890123456789\\",\\n \\"language\\": \\"python3.12\\",\\n \\"command\\": [\\n \\"\\"\\n ]\\n },\\n \\"containerConfiguration\\": {\\n \\"image\\": \\"registry.cn-hangzhou.aliyuncs.com/my-namespace/agent-runtime:latest\\",\\n \\"imageRegistryType\\": \\"ACR\\",\\n \\"acrInstanceId\\": \\"cri-xxxxx\\",\\n \\"command\\": [\\n \\"/usr/local/bin/entrypoint.sh\\"\\n ],\\n \\"registryConfig\\": {\\n \\"authConfig\\": {\\n \\"userName\\": \\"admin\\",\\n \\"password\\": \\"abc***\\"\\n },\\n \\"certConfig\\": {\\n \\"insecure\\": false,\\n \\"rootCaCertBase64\\": \\"cm9vdF9jYV9jZXJ0X2Jhc2U2NA==\\"\\n },\\n \\"networkConfig\\": {\\n \\"vpcId\\": \\"vpc-xxxxxxxxxxxxx\\",\\n \\"vSwitchId\\": \\"vsw-xxxxxxxxxxxxx\\",\\n \\"securityGroupId\\": \\"sg-xxxxxxxxxxxxx\\"\\n }\\n },\\n \\"port\\": 5000\\n },\\n \\"logConfiguration\\": {\\n \\"project\\": \\"agent-runtime-logs\\",\\n \\"logstore\\": \\"agent-runtime-logs\\"\\n },\\n \\"ossMountConfig\\": {\\n \\"mountPoints\\": [\\n {\\n \\"bucketName\\": \\"my-bucket\\",\\n \\"bucketPath\\": \\"/my-dir\\",\\n \\"endpoint\\": \\"http://oss-cn-shanghai.aliyuncs.com\\",\\n \\"mountDir\\": \\"/mnt/dir\\",\\n \\"readOnly\\": true\\n }\\n ]\\n },\\n \\"nasConfig\\": {\\n \\"groupId\\": 100,\\n \\"mountPoints\\": [\\n {\\n \\"enableTLS\\": false,\\n \\"mountDir\\": \\"/home/test\\",\\n \\"serverAddr\\": \\"***-uni85.cn-hangzhou.nas.com:/\\"\\n }\\n ],\\n \\"userId\\": 100\\n },\\n \\"cpu\\": 0.5,\\n \\"memory\\": 512,\\n \\"port\\": 8080,\\n \\"createdAt\\": \\"2025-09-10T10:00:00Z\\",\\n \\"updatedAt\\": \\"2025-09-10T12:00:00Z\\",\\n \\"credentialName\\": \\"my-credential\\",\\n \\"timeout\\": 300,\\n \\"environmentVariables\\": {\\n \\"key\\": \\"\\"\\n }\\n }\\n}","type":"json"}]',
+ 'description' => 'This operation creates various types of tools, such as MCP, function call, and skill. An Agent can then call a tool to extend its capabilities.',
+ ],
+ 'CreateWorkspace' => [
+ 'summary' => 'Creates a workspace.',
+ 'description' => 'Creates a workspace.',
+ 'path' => '/2025-09-10/workspaces',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREfc739PD5'],
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => ['description' => 'The request body.', '$ref' => '#/components/schemas/CreateWorkspaceInput', 'required' => false, 'title' => '', 'example' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'description' => '成功响应 - 返回创建的智能体运行时信息,包括运行时ID、状态、配置等详细信息',
+ 'schema' => ['description' => 'The response.', '$ref' => '#/components/schemas/WorkspaceResult', 'title' => '', 'example' => ''],
+ 'examples' => [],
+ ],
+ 500 => [
+ 'schema' => ['$ref' => '#/components/schemas/ErrorResult', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'CreateWorkspace',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'agentrun:CreateWorkspace',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"\\",\\n \\"requestId\\": \\"\\",\\n \\"data\\": {\\n \\"workspaceId\\": \\"\\",\\n \\"workspaceArn\\": \\"\\",\\n \\"name\\": \\"\\",\\n \\"description\\": \\"\\",\\n \\"isDefault\\": false,\\n \\"resourceGroupId\\": \\"\\",\\n \\"createdAt\\": \\"\\",\\n \\"updatedAt\\": \\"\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'DeleteAgentRuntime' => [
+ 'summary' => 'Deletes an agent runtime.',
+ 'description' => 'Deletes a specified agent runtime instance, including all its associated resources and data. This operation is irreversible. Proceed with caution.',
+ 'path' => '/2025-09-10/agents/runtimes/{agentRuntimeId}',
+ 'methods' => ['delete'],
+ 'schemes' => ['https'],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREfc739PD5'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'agentRuntimeId',
+ 'in' => 'path',
+ 'allowEmptyValue' => true,
+ 'schema' => ['title' => '', 'description' => 'The ID of the agent runtime.', 'type' => 'string', 'required' => true, 'example' => '12345678-1234-1234-1234-123456789abc'],
+ 'examples' => [],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'description' => '成功响应 - 确认智能体运行时已成功删除,返回删除操作的结果信息',
+ 'schema' => ['title' => '', 'description' => 'The result of the delete operation.', '$ref' => '#/components/schemas/AgentRuntimeResult', 'example' => ''],
+ 'examples' => [],
+ ],
+ 500 => [
+ 'schema' => ['$ref' => '#/components/schemas/ErrorResult', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ ],
+ 'title' => 'Delete an agent runtime',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'agentrun:DeleteAgentRuntime',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'Agent', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:workspaces/{#workspaceName}/runtimes/{#runtimeName}'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"SUCCESS\\",\\n \\"requestId\\": \\"F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E\\",\\n \\"data\\": {\\n \\"agentRuntimeId\\": \\"ar-1234567890abcdef\\",\\n \\"agentRuntimeName\\": \\"my-agent-runtime\\",\\n \\"agentRuntimeArn\\": \\"acs:agentrun:cn-hangzhou:1760720386195983:runtimes/7a1b6d39-9f8f-4ce2-b9c9-6db1b0b9e169\\",\\n \\"createdAt\\": \\"2025-01-10T10:30:00Z\\",\\n \\"status\\": \\"READY\\",\\n \\"statusReason\\": \\"Runtime is ready for use\\",\\n \\"lastUpdatedAt\\": \\"2025-01-10T11:45:00Z\\",\\n \\"description\\": \\"AI agent runtime for customer service automation\\",\\n \\"executionRoleArn\\": \\"acs:ram::1760720386195983:role/AgentRunExecutionRole\\",\\n \\"credentialName\\": \\"my-credential\\",\\n \\"externalAgentEndpointUrl\\": \\"https://external-agent.example.com/api\\",\\n \\"agentRuntimeVersion\\": \\"1\\",\\n \\"artifactType\\": \\"Code\\",\\n \\"codeConfiguration\\": {\\n \\"zipFile\\": \\"UEsDBAoAAAAAANF\\",\\n \\"ossBucketName\\": \\"my-agent-code-bucket\\",\\n \\"ossObjectName\\": \\"agent-code-v1.0.zip\\",\\n \\"checksum\\": \\"1234567890123456789\\",\\n \\"language\\": \\"python3.12\\",\\n \\"command\\": [\\n \\"\\"\\n ]\\n },\\n \\"containerConfiguration\\": {\\n \\"image\\": \\"registry.cn-hangzhou.aliyuncs.com/my-namespace/agent-runtime:latest\\",\\n \\"imageRegistryType\\": \\"ACR\\",\\n \\"acrInstanceId\\": \\"cri-xxxxx\\",\\n \\"command\\": [\\n \\"/usr/local/bin/entrypoint.sh\\"\\n ],\\n \\"registryConfig\\": {\\n \\"authConfig\\": {\\n \\"userName\\": \\"admin\\",\\n \\"password\\": \\"abc***\\"\\n },\\n \\"certConfig\\": {\\n \\"insecure\\": false,\\n \\"rootCaCertBase64\\": \\"cm9vdF9jYV9jZXJ0X2Jhc2U2NA==\\"\\n },\\n \\"networkConfig\\": {\\n \\"vpcId\\": \\"vpc-xxxxxxxxxxxxx\\",\\n \\"vSwitchId\\": \\"vsw-xxxxxxxxxxxxx\\",\\n \\"securityGroupId\\": \\"sg-xxxxxxxxxxxxx\\"\\n }\\n },\\n \\"port\\": 5000\\n },\\n \\"networkConfiguration\\": {\\n \\"networkMode\\": \\"PRIVATE\\",\\n \\"vpcId\\": \\"vpc-1234567890abcdef0\\",\\n \\"securityGroupId\\": \\"sg-1234567890abcdef0\\",\\n \\"vswitchIds\\": [\\n \\"vsw-sg-1234567890abcdef0\\"\\n ]\\n },\\n \\"protocolConfiguration\\": {\\n \\"type\\": \\"HTTP\\",\\n \\"protocolSettings\\": [\\n {\\n \\"type\\": \\"\\",\\n \\"name\\": \\"\\",\\n \\"config\\": \\"\\",\\n \\"path\\": \\"\\",\\n \\"pathPrefix\\": \\"\\",\\n \\"headers\\": \\"\\",\\n \\"method\\": \\"\\",\\n \\"inputBodyJsonSchema\\": \\"\\",\\n \\"outputBodyJsonSchema\\": \\"\\",\\n \\"requestContentType\\": \\"\\",\\n \\"responseContentType\\": \\"\\",\\n \\"A2AAgentCard\\": \\"\\",\\n \\"a2aAgentCard\\": \\"\\",\\n \\"a2aAgentCardUrl\\": \\"\\"\\n }\\n ]\\n },\\n \\"cpu\\": 2,\\n \\"memory\\": 2048,\\n \\"diskSize\\": 0,\\n \\"port\\": 8080,\\n \\"sessionConcurrencyLimitPerInstance\\": 100,\\n \\"logConfiguration\\": {\\n \\"project\\": \\"agent-runtime-logs\\",\\n \\"logstore\\": \\"agent-runtime-logs\\"\\n },\\n \\"healthCheckConfiguration\\": {\\n \\"httpGetUrl\\": \\"/ready\\",\\n \\"initialDelaySeconds\\": 30,\\n \\"periodSeconds\\": 30,\\n \\"timeoutSeconds\\": 3,\\n \\"failureThreshold\\": 3,\\n \\"successThreshold\\": 1\\n },\\n \\"sessionIdleTimeoutSeconds\\": 3600,\\n \\"enableSessionIsolation\\": false,\\n \\"disableOndemand\\": false,\\n \\"disableSessionAffinity\\": false,\\n \\"sessionAffinityType\\": \\"GENERATED_COOKIE\\",\\n \\"headerFieldName\\": \\"x-agentrun-session-id\\",\\n \\"resourceGroupId\\": \\"\\",\\n \\"workspaceId\\": \\"ws-1234567890abcdef\\",\\n \\"nasConfig\\": {\\n \\"groupId\\": 100,\\n \\"mountPoints\\": [\\n {\\n \\"enableTLS\\": false,\\n \\"mountDir\\": \\"/home/test\\",\\n \\"serverAddr\\": \\"***-uni85.cn-hangzhou.nas.com:/\\"\\n }\\n ],\\n \\"userId\\": 100\\n },\\n \\"ossMountConfig\\": {\\n \\"mountPoints\\": [\\n {\\n \\"bucketName\\": \\"my-bucket\\",\\n \\"bucketPath\\": \\"/my-dir\\",\\n \\"endpoint\\": \\"http://oss-cn-shanghai.aliyuncs.com\\",\\n \\"mountDir\\": \\"/mnt/dir\\",\\n \\"readOnly\\": true\\n }\\n ]\\n },\\n \\"environmentVariables\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"systemTags\\": [\\n \\"\\"\\n ],\\n \\"agentIdentityEnabled\\": \\"\\",\\n \\"agentIdentityConfig\\": {\\n \\"identityProviderName\\": \\"\\",\\n \\"workloadIdentityName\\": \\"\\"\\n },\\n \\"edition\\": \\"\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'DeleteAgentRuntimeEndpoint' => [
+ 'summary' => 'Delete Agent Runtime Endpoint',
+ 'path' => '/2025-09-10/agents/runtimes/{agentRuntimeId}/endpoints/{agentRuntimeEndpointId}',
+ 'methods' => ['delete'],
+ 'schemes' => ['https'],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREfc739PD5'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'agentRuntimeId',
+ 'in' => 'path',
+ 'allowEmptyValue' => true,
+ 'schema' => ['title' => '', 'description' => 'Agent Runtime ID', 'type' => 'string', 'required' => true, 'example' => '12345678-1234-1234-1234-123456789abc'],
+ 'examples' => [],
+ ],
+ [
+ 'name' => 'agentRuntimeEndpointId',
+ 'in' => 'path',
+ 'allowEmptyValue' => true,
+ 'schema' => ['title' => '', 'description' => 'Agent Runtime Endpoint ID', 'type' => 'string', 'required' => true, 'example' => '87654321-4321-4321-4321-210987654321'],
+ 'examples' => [],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'description' => '成功响应 - 确认智能体运行时端点已成功删除',
+ 'schema' => ['title' => '', 'description' => 'Result of the delete operation', '$ref' => '#/components/schemas/AgentRuntimeEndpointResult', 'example' => ''],
+ 'examples' => [],
+ ],
+ 500 => [
+ 'schema' => ['$ref' => '#/components/schemas/ErrorResult', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ ],
+ 'title' => 'Delete Agent Runtime Endpoint',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'agentrun:DeleteAgentRuntimeEndpoint',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'Endpoint', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:workspaces/{#workspaceName}/runtimes/{#runtimeName}/runtime-endpoints/{#endpointName}'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"\\",\\n \\"requestId\\": \\"\\",\\n \\"data\\": {\\n \\"agentRuntimeId\\": \\"ar-1234567890abcdef\\",\\n \\"agentRuntimeEndpointId\\": \\"are-1234567890abcdef\\",\\n \\"agentRuntimeEndpointArn\\": \\"acs:agentrun:cn-hangzhou:1760720386195983:runtime-endpoints/e56d483c-db80-4116-9ec4-25f16f5facfd\\",\\n \\"agentRuntimeEndpointName\\": \\"production-endpoint\\",\\n \\"description\\": \\"Production endpoint for customer service agent\\",\\n \\"status\\": \\"ACTIVE\\",\\n \\"statusReason\\": \\"Endpoint is active and ready\\",\\n \\"targetVersion\\": \\"LATEST\\",\\n \\"routingConfiguration\\": {\\n \\"versionWeights\\": [\\n {\\n \\"version\\": \\"\\",\\n \\"weight\\": 0\\n }\\n ]\\n },\\n \\"endpointPublicUrl\\": \\"https://ar-1234567890abcdef.cn-hangzhou.agentrun.aliyuncs.com\\",\\n \\"disablePublicNetworkAccess\\": false,\\n \\"scalingStatus\\": {\\n \\"minInstances\\": 1,\\n \\"targetInstances\\": 2,\\n \\"currentInstances\\": 2,\\n \\"scheduledPolicies\\": [\\n {\\n \\"name\\": \\"scale-up-morning\\",\\n \\"startTime\\": \\"2024-01-01T08:00:00\\",\\n \\"endTime\\": \\"2024-01-01T08:00:00\\",\\n \\"scheduleExpression\\": \\"cron(0 8 * * ? *)\\",\\n \\"timeZone\\": \\"Asia/Shanghai\\",\\n \\"target\\": 20\\n }\\n ],\\n \\"currentError\\": \\"error\\"\\n }\\n }\\n}","type":"json"}]',
+ 'translator' => 'machine',
+ ],
+ 'DeleteBrowser' => [
+ 'summary' => 'Delete Browser Sandbox',
+ 'description' => 'Delete the specified browser instance, including all its associated resources and data. The deletion is irreversible. Please proceed with caution.',
+ 'path' => '/2025-09-10/agents/browsers/{browserId}',
+ 'methods' => ['delete'],
+ 'schemes' => ['https'],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREfcVF016G'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'browserId',
+ 'in' => 'path',
+ 'allowEmptyValue' => false,
+ 'schema' => ['title' => '', 'description' => 'Browser ID', 'type' => 'string', 'required' => true, 'example' => '12345678-1234-1234-1234-123456789abc'],
+ 'examples' => [],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => ['title' => '', 'description' => 'Result of the delete operation', '$ref' => '#/components/schemas/DeleteBrowserResult', 'example' => ''],
+ ],
+ ],
+ 'title' => 'Delete Browser Sandbox',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'agentrun:DeleteBrowser',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E\\",\\n \\"code\\": \\"SUCCESS\\",\\n \\"data\\": {\\n \\"browserId\\": \\"browser-1234567890abcdef\\",\\n \\"browserName\\": \\"my-browser\\",\\n \\"description\\": \\"Web automation browser for testing\\",\\n \\"status\\": \\"READY\\",\\n \\"statusReason\\": \\"Browser is ready for use\\",\\n \\"createdAt\\": \\"2025-01-10T10:30:00Z\\",\\n \\"lastUpdatedAt\\": \\"2025-01-10T11:45:00Z\\",\\n \\"executionRoleArn\\": \\"acs:ram::1760720386195983:role/BrowserExecutionRole\\",\\n \\"networkConfiguration\\": {\\n \\"networkMode\\": \\"PRIVATE\\",\\n \\"vpcId\\": \\"vpc-1234567890abcdef0\\",\\n \\"securityGroupId\\": \\"sg-1234567890abcdef0\\",\\n \\"vswitchIds\\": [\\n \\"vsw-sg-1234567890abcdef0\\"\\n ]\\n },\\n \\"recording\\": {\\n \\"enabled\\": false,\\n \\"ossLocation\\": {\\n \\"bucket\\": \\"\\",\\n \\"prefix\\": \\"\\"\\n }\\n },\\n \\"memory\\": 2048,\\n \\"credentialId\\": \\"cred-1234567890abcdef\\",\\n \\"cpu\\": 2,\\n \\"tenantId\\": \\"tenant-1234567890abcdef\\"\\n }\\n}","type":"json"}]',
+ 'translator' => 'machine',
+ ],
+ 'DeleteCodeInterpreter' => [
+ 'summary' => 'Delete Code Interpreter',
+ 'description' => 'Delete a specified code interpreter instance, including all its associated resources and data. This operation is irreversible. Please proceed with caution.',
+ 'path' => '/2025-09-10/agents/code-interpreters/{codeInterpreterId}',
+ 'methods' => ['delete'],
+ 'schemes' => ['https'],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREfcGRJPWY'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'codeInterpreterId',
+ 'in' => 'path',
+ 'allowEmptyValue' => false,
+ 'schema' => ['title' => '', 'description' => 'Code Interpreter ID', 'type' => 'string', 'required' => true, 'example' => '12345678-1234-1234-1234-123456789abc'],
+ 'examples' => [],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => ['title' => '', 'description' => 'Result of delete operation', '$ref' => '#/components/schemas/DeleteCodeInterpreterResult', 'example' => ''],
+ ],
+ ],
+ 'title' => 'Delete Code Interpreter',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'agentrun:DeleteCodeInterpreter',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"SUCCESS\\",\\n \\"requestId\\": \\"F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E\\",\\n \\"data\\": {\\n \\"codeInterpreterId\\": \\"ci-1234567890abcdef\\",\\n \\"codeInterpreterName\\": \\"my-code-interpreter\\",\\n \\"description\\": \\"Python code interpreter for data analysis\\",\\n \\"executionRoleArn\\": \\"acs:ram::1760720386195983:role/CodeInterpreterExecutionRole\\",\\n \\"createdAt\\": \\"2025-01-10T10:30:00Z\\",\\n \\"lastUpdatedAt\\": \\"2025-01-10T11:45:00Z\\",\\n \\"status\\": \\"READY\\",\\n \\"statusReason\\": \\"Code interpreter is ready for use\\",\\n \\"networkConfiguration\\": {\\n \\"networkMode\\": \\"PRIVATE\\",\\n \\"vpcId\\": \\"vpc-1234567890abcdef0\\",\\n \\"securityGroupId\\": \\"sg-1234567890abcdef0\\",\\n \\"vswitchIds\\": [\\n \\"vsw-sg-1234567890abcdef0\\"\\n ]\\n },\\n \\"memory\\": 2048,\\n \\"cpu\\": 2,\\n \\"tenantId\\": \\"tenant-1234567890abcdef\\"\\n }\\n}","type":"json"}]',
+ 'translator' => 'machine',
+ ],
+ 'DeleteCredential' => [
+ 'path' => '/2025-09-10/agents/credentials/{credentialName}',
+ 'methods' => ['delete'],
+ 'schemes' => ['https'],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREfcGRJPWY', 'FEATUREfcVF016G'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'credentialName',
+ 'in' => 'path',
+ 'allowEmptyValue' => true,
+ 'schema' => ['description' => 'The name of the credential.', 'type' => 'string', 'required' => false, 'example' => 'credentialName', 'title' => ''],
+ 'examples' => [],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'headers' => [],
+ 'schema' => ['description' => 'The details of the deleted credential.', '$ref' => '#/components/schemas/CredentialResult', 'title' => '', 'example' => ''],
+ 'examples' => [],
+ ],
+ ],
+ 'title' => 'DeleteCredential',
+ 'summary' => 'Deletes the specified credential.',
+ 'description' => 'This operation deletes the specified credential. This action cannot be undone.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'agentrun:DeleteCredential',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'Credential', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:workspaces/{#workspaceName}/credentials/{#credentialName}'],
+ ],
+ ],
+ ],
+ ],
+ 'translator' => 'machine',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"\\",\\n \\"requestId\\": \\"\\",\\n \\"data\\": {\\n \\"credentialId\\": \\"\\",\\n \\"credentialName\\": \\"\\",\\n \\"description\\": \\"\\",\\n \\"credentialAuthType\\": \\"\\",\\n \\"credentialSourceType\\": \\"\\",\\n \\"enabled\\": false,\\n \\"credentialSecret\\": \\"\\",\\n \\"createdAt\\": \\"\\",\\n \\"updatedAt\\": \\"\\",\\n \\"credentialPublicConfig\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"relatedResources\\": [\\n {\\n \\"resourceId\\": \\"\\",\\n \\"resourceName\\": \\"\\",\\n \\"resourceType\\": \\"\\"\\n }\\n ],\\n \\"workspaceId\\": \\"\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'DeleteCustomDomain' => [
+ 'path' => '/2025-09-10/agents/custom-domains/{domainName}',
+ 'methods' => ['delete'],
+ 'schemes' => ['https'],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREfcGRJPWY', 'FEATUREfcVF016G'],
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'domainName',
+ 'in' => 'path',
+ 'schema' => ['description' => 'The name of the custom domain.', 'type' => 'string', 'required' => false, 'example' => 'mydomain.com', 'title' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'headers' => [],
+ 'schema' => ['description' => 'Information about the custom domain.', '$ref' => '#/components/schemas/CustomDomainResult', 'title' => '', 'example' => ''],
+ 'examples' => [],
+ ],
+ ],
+ 'title' => 'DeleteCustomDomain',
+ 'summary' => 'Deletes a custom domain.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'agentrun:DeleteCustomDomain',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"SUCCESS\\",\\n \\"requestId\\": \\"F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E\\",\\n \\"data\\": {\\n \\"domainName\\": \\"example.com\\",\\n \\"description\\": \\"\\",\\n \\"protocol\\": \\"HTTP\\",\\n \\"routeConfig\\": {\\n \\"routes\\": [\\n {\\n \\"path\\": \\"/login\\",\\n \\"resourceName\\": \\"\\",\\n \\"resourceType\\": \\"runtime\\",\\n \\"agentRuntimeEndpointName\\": \\"\\",\\n \\"compatibleProtocol\\": \\"native\\",\\n \\"flowEndpointName\\": \\"Default\\",\\n \\"methods\\": [\\n \\"\\"\\n ],\\n \\"removeBasePathOnForward\\": false\\n }\\n ]\\n },\\n \\"certConfig\\": {\\n \\"certName\\": \\"my-cert\\",\\n \\"certificate\\": \\"-----BEGIN CERTIFICATE-----\\\\\\\\nxxxxx\\\\\\\\n-----END CERTIFICATE-----\\",\\n \\"privateKey\\": \\"-----BEGIN RSA PRIVATE KEY-----\\\\\\\\nxxxxx\\\\\\\\n-----END RSA PRIVATE KEY-----\\"\\n },\\n \\"tlsConfig\\": {\\n \\"minVersion\\": \\"TLSv1.2\\",\\n \\"cipherSuites\\": [\\n \\"\\"\\n ],\\n \\"maxVersion\\": \\"TLSv1.3\\"\\n },\\n \\"createdAt\\": \\"2025-01-10T10:30:00Z\\",\\n \\"updatedAt\\": \\"2025-01-10T11:45:00Z\\",\\n \\"domainType\\": \\"\\"\\n }\\n}","type":"json"}]',
+ 'translator' => 'manual',
+ ],
+ 'DeleteFlow' => [
+ 'summary' => 'Deletes a flow.',
+ 'description' => 'Deletes a specified flow instance, along with all its related resources and data. This operation is irreversible and cannot be undone. Use with caution.',
+ 'path' => '/2025-09-10/flows/{flowName}',
+ 'methods' => ['delete'],
+ 'schemes' => ['https'],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREfc739PD5'],
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'flowName',
+ 'in' => 'path',
+ 'allowEmptyValue' => true,
+ 'schema' => ['title' => '', 'description' => 'The flow ID.', 'type' => 'string', 'required' => true, 'example' => 'demo-flow'],
+ 'examples' => [],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'description' => '成功响应 - 确认工作流已成功删除,返回删除操作的结果信息',
+ 'schema' => ['title' => '', 'description' => 'The result of the deletion.', '$ref' => '#/components/schemas/CommonResult', 'example' => ''],
+ 'examples' => [],
+ ],
+ 500 => [
+ 'schema' => ['$ref' => '#/components/schemas/ErrorResult', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ ],
+ 'title' => 'Delete flow orchestration ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'agentrun:DeleteFlow',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'Flow', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:workspaces/{#workspaceName}/flows/{#flowId}'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"\\",\\n \\"requestId\\": \\"\\",\\n \\"data\\": \\"\\"\\n}","type":"json"}]',
+ 'translator' => 'machine',
+ ],
+ 'DeleteFlowEndpoint' => [
+ 'summary' => 'Deletes a flow endpoint.',
+ 'description' => 'Deletes the specified flow endpoint. This operation is irreversible. Proceed with caution.',
+ 'path' => '/2025-09-10/flows/{flowName}/endpoints/{flowEndpointName}',
+ 'methods' => ['delete'],
+ 'schemes' => ['https'],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREfc739PD5'],
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'flowName',
+ 'in' => 'path',
+ 'allowEmptyValue' => true,
+ 'schema' => ['title' => '', 'description' => 'The flow ID.', 'type' => 'string', 'required' => true, 'example' => 'demo-flow'],
+ 'examples' => [],
+ ],
+ [
+ 'name' => 'flowEndpointName',
+ 'in' => 'path',
+ 'allowEmptyValue' => true,
+ 'schema' => ['title' => '', 'description' => 'The flow endpoint ID.', 'type' => 'string', 'required' => true, 'example' => 'prod'],
+ 'examples' => [],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'description' => '成功响应 - 确认工作流端点已成功删除',
+ 'schema' => ['title' => '', 'description' => 'The deletion result.', '$ref' => '#/components/schemas/CommonResult', 'example' => ''],
+ 'examples' => [],
+ ],
+ 500 => [
+ 'schema' => ['$ref' => '#/components/schemas/ErrorResult', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ ],
+ 'title' => 'Delete flow orchestration invoke endpoint ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"\\",\\n \\"requestId\\": \\"\\",\\n \\"data\\": \\"\\"\\n}","type":"json"}]',
+ 'translator' => 'machine',
+ ],
+ 'DeleteFlowVersion' => [
+ 'summary' => 'Deletes a workflow version.',
+ 'description' => 'Deletes a specified version of a workflow. This operation is irreversible. Proceed with caution.',
+ 'path' => '/2025-09-10/flows/{flowName}/versions/{flowVersion}',
+ 'methods' => ['delete'],
+ 'schemes' => ['https'],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREfc739PD5'],
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'flowName',
+ 'in' => 'path',
+ 'allowEmptyValue' => true,
+ 'schema' => ['title' => '', 'description' => 'The workflow name.', 'type' => 'string', 'required' => true, 'example' => 'my-flow'],
+ 'examples' => [],
+ ],
+ [
+ 'name' => 'flowVersion',
+ 'in' => 'path',
+ 'allowEmptyValue' => true,
+ 'schema' => ['title' => '', 'description' => 'The workflow version.', 'type' => 'string', 'required' => true, 'example' => '1'],
+ 'examples' => [],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'description' => '成功响应 - 确认工作流版本已成功删除',
+ 'schema' => ['title' => '', 'description' => 'A `struct` containing the deletion result.', '$ref' => '#/components/schemas/CommonResult', 'example' => ''],
+ 'examples' => [],
+ ],
+ 500 => [
+ 'schema' => ['$ref' => '#/components/schemas/ErrorResult', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ ],
+ 'title' => 'Delete flow version ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'agentrun:DeleteFlowVersion',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'Flow', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:workspaces/{#workspaceName}/flows/{#flowId}'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"\\",\\n \\"requestId\\": \\"\\",\\n \\"data\\": \\"\\"\\n}","type":"json"}]',
+ 'translator' => 'machine',
+ ],
+ 'DeleteIMBot' => [
+ 'summary' => 'Deletes an IM bot.',
+ 'description' => 'This operation deletes an IM bot via a `DELETE` request to the `/2025-09-10/agents/im-bots/{imBotId}` endpoint. A successful request returns an HTTP `204 No Content` status code and an empty response body.',
+ 'path' => '/2025-09-10/agents/im-bots/{imBotId}',
+ 'methods' => ['delete'],
+ 'schemes' => ['https'],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREfc739PD5'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'imBotId',
+ 'in' => 'path',
+ 'allowEmptyValue' => true,
+ 'schema' => ['description' => 'The unique identifier of the IM bot.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'description' => '204 无 Body;IDL 侧使用空结构占位',
+ 'schema' => ['description' => 'The response body is empty.', '$ref' => '#/components/schemas/DeleteIMBotNoContent', 'title' => '', 'example' => ''],
+ ],
+ 500 => [
+ 'schema' => ['$ref' => '#/components/schemas/ErrorResult', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'agentrun:DeleteIMBot',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{}","type":"json"}]',
+ 'title' => 'DeleteIMBot',
+ 'translator' => 'machine',
+ ],
+ 'DeleteKnowledgeBase' => [
+ 'path' => '/2025-09-10/agents/knowledgebases/{knowledgeBaseName}',
+ 'methods' => ['delete'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREfcGRJPWY'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'knowledgeBaseName',
+ 'in' => 'path',
+ 'schema' => ['description' => 'The unique name of the knowledge base to delete.', 'type' => 'string', 'required' => true, 'example' => 'my-knowledgebase-name', 'title' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => ['description' => 'The result of the delete operation.', '$ref' => '#/components/schemas/KnowledgeBaseResult', 'title' => '', 'example' => ''],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ ['errorCode' => 'IdempotentParameterMismatch', 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', 'description' => ''],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'DeleteKnowledgeBase',
+ 'summary' => 'Deletes a knowledge base.'."\n"
+ ."\n"
+ .'> This operation is permanent and cannot be undone.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'agentrun:DeleteKnowledgeBase',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'Knowledgebase', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:workspaces/{#workspaceName}/knowledgebases/{#knowledgeBaseName}'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"\\",\\n \\"requestId\\": \\"\\",\\n \\"data\\": {\\n \\"knowledgeBaseId\\": \\"\\",\\n \\"knowledgeBaseName\\": \\"\\",\\n \\"description\\": \\"\\",\\n \\"provider\\": \\"\\",\\n \\"credentialName\\": \\"\\",\\n \\"createdAt\\": \\"\\",\\n \\"lastUpdatedAt\\": \\"\\",\\n \\"providerSettings\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"retrieveSettings\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"workspaceId\\": \\"\\"\\n }\\n}","type":"json"}]',
+ 'translator' => 'machine',
+ ],
+ 'DeleteMemoryCollection' => [
+ 'path' => '/2025-09-10/agents/memory-collections/{memoryCollectionName}',
+ 'methods' => ['delete'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREfcUDVD99'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'memoryCollectionName',
+ 'in' => 'path',
+ 'schema' => ['description' => 'The name of the memory collection.', 'type' => 'string', 'required' => false, 'example' => 'my-memory-1', 'title' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => ['description' => 'The details of the deleted memory collection.', '$ref' => '#/components/schemas/MemoryCollectionResult', 'title' => '', 'example' => ''],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'DeleteMemoryCollection',
+ 'summary' => 'Deletes a memory collection.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'agentrun:DeleteMemoryCollection',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"\\",\\n \\"requestId\\": \\"\\",\\n \\"data\\": {\\n \\"memoryCollectionName\\": \\"\\",\\n \\"memoryCollectionId\\": \\"\\",\\n \\"description\\": \\"\\",\\n \\"llmConfig\\": {\\n \\"config\\": {\\n \\"model\\": \\"\\"\\n },\\n \\"modelServiceName\\": \\"\\"\\n },\\n \\"embedderConfig\\": {\\n \\"config\\": {\\n \\"model\\": \\"\\"\\n },\\n \\"modelServiceName\\": \\"\\"\\n },\\n \\"vectorStoreConfig\\": {\\n \\"provider\\": \\"\\",\\n \\"config\\": {\\n \\"endpoint\\": \\"\\",\\n \\"instanceName\\": \\"\\",\\n \\"vectorDimension\\": 0,\\n \\"collectionName\\": \\"\\"\\n },\\n \\"mysqlConfig\\": {\\n \\"host\\": \\"\\",\\n \\"dbName\\": \\"\\",\\n \\"collectionName\\": \\"\\",\\n \\"user\\": \\"\\",\\n \\"credentialName\\": \\"\\",\\n \\"vectorDimension\\": 0,\\n \\"port\\": 0\\n }\\n },\\n \\"networkConfiguration\\": {\\n \\"networkMode\\": \\"PRIVATE\\",\\n \\"vpcId\\": \\"vpc-1234567890abcdef0\\",\\n \\"securityGroupId\\": \\"sg-1234567890abcdef0\\",\\n \\"vswitchIds\\": [\\n \\"vsw-sg-1234567890abcdef0\\"\\n ]\\n },\\n \\"executionRoleArn\\": \\"\\",\\n \\"createdAt\\": \\"\\",\\n \\"lastUpdatedAt\\": \\"\\",\\n \\"enableConversationHistory\\": false,\\n \\"enableConversationState\\": false,\\n \\"workspaceId\\": \\"\\"\\n }\\n}","type":"json"}]',
+ 'translator' => 'machine',
+ ],
+ 'DeleteModelProxy' => [
+ 'path' => '/2025-09-10/agents/model-proxies/{modelProxyName}',
+ 'methods' => ['delete'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREfcGRJPWY'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'modelProxyName',
+ 'in' => 'path',
+ 'schema' => ['title' => '', 'description' => 'The name of the model proxy to delete.', 'type' => 'string', 'required' => true, 'example' => 'modelProxyName'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => ['description' => 'The details of the deleted model proxy.', '$ref' => '#/components/schemas/DeleteModelProxyResult', 'title' => '', 'example' => ''],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'DeleteModelProxy',
+ 'description' => 'This operation deletes the specified model proxy configuration without deleting the underlying models or related resources.',
+ 'summary' => 'Deletes a model proxy.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [],
+ 'translator' => 'machine',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"\\",\\n \\"requestId\\": \\"\\",\\n \\"data\\": {\\n \\"modelProxyId\\": \\"\\",\\n \\"modelProxyName\\": \\"\\",\\n \\"description\\": \\"\\",\\n \\"modelType\\": \\"\\",\\n \\"proxyMode\\": \\"\\",\\n \\"proxyConfig\\": {\\n \\"policies\\": {\\n \\"requestTimeout\\": 0,\\n \\"numRetries\\": 0,\\n \\"cache\\": false,\\n \\"concurrencyLimit\\": 0,\\n \\"fallbacks\\": [\\n {\\n \\"modelServiceName\\": \\"\\",\\n \\"modelName\\": \\"\\"\\n }\\n ],\\n \\"tokenRateLimiter\\": {\\n \\"tps\\": 0,\\n \\"tpm\\": 0,\\n \\"tph\\": 0,\\n \\"tpd\\": 0\\n },\\n \\"aiGuardrailConfig\\": {\\n \\"checkRequest\\": false,\\n \\"checkResponse\\": false,\\n \\"level\\": \\"\\",\\n \\"maxTextLength\\": 0,\\n \\"blockOnContentModeration\\": false,\\n \\"blockOnSensitiveData\\": false,\\n \\"blockOnPromptAttack\\": false,\\n \\"blockOnMaliciousUrl\\": false,\\n \\"blockOnModelHallucination\\": false\\n }\\n },\\n \\"endpoints\\": [\\n {\\n \\"modelServiceName\\": \\"\\",\\n \\"weight\\": 0,\\n \\"baseUrl\\": \\"\\",\\n \\"modelNames\\": [\\n \\"\\"\\n ]\\n }\\n ]\\n },\\n \\"functionName\\": \\"\\",\\n \\"status\\": \\"\\",\\n \\"credentialName\\": \\"\\",\\n \\"serviceRegionId\\": \\"\\",\\n \\"endpoint\\": \\"\\",\\n \\"litellmVersion\\": \\"\\",\\n \\"cpu\\": 0,\\n \\"memory\\": 0,\\n \\"createdAt\\": \\"\\",\\n \\"lastUpdatedAt\\": \\"\\",\\n \\"networkConfiguration\\": {\\n \\"networkMode\\": \\"PRIVATE\\",\\n \\"vpcId\\": \\"vpc-1234567890abcdef0\\",\\n \\"securityGroupId\\": \\"sg-1234567890abcdef0\\",\\n \\"vswitchIds\\": [\\n \\"vsw-sg-1234567890abcdef0\\"\\n ]\\n },\\n \\"statusReason\\": \\"\\",\\n \\"logConfiguration\\": {\\n \\"project\\": \\"agent-runtime-logs\\",\\n \\"logstore\\": \\"agent-runtime-logs\\"\\n },\\n \\"executionRoleArn\\": \\"\\",\\n \\"workspaceId\\": \\"\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'DeleteModelService' => [
+ 'summary' => 'Deletes a model service.',
+ 'path' => '/2025-09-10/agents/model-services/{modelServiceName}',
+ 'methods' => ['delete'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREfcGRJPWY'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'modelServiceName',
+ 'in' => 'path',
+ 'schema' => ['title' => '', 'description' => 'The name of the model service to delete.', 'type' => 'string', 'required' => true, 'example' => 'modelServiceName'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => ['description' => 'The object returned on a successful request. See the response example for details.', '$ref' => '#/components/schemas/DeleteModelServiceResult', 'title' => '', 'example' => ''],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'DeleteModelService',
+ 'description' => 'This operation deletes a model service. You must specify the name of the service to delete.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'agentrun:DeleteModelService',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'translator' => 'machine',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"\\",\\n \\"requestId\\": \\"\\",\\n \\"data\\": {\\n \\"modelServiceName\\": \\"\\",\\n \\"description\\": \\"\\",\\n \\"modelType\\": \\"\\",\\n \\"provider\\": \\"\\",\\n \\"providerSettings\\": {\\n \\"baseUrl\\": \\"\\",\\n \\"apiKey\\": \\"\\",\\n \\"modelNames\\": [\\n \\"\\"\\n ]\\n },\\n \\"status\\": \\"\\",\\n \\"credentialName\\": \\"\\",\\n \\"createdAt\\": \\"\\",\\n \\"lastUpdatedAt\\": \\"\\",\\n \\"networkConfiguration\\": {\\n \\"networkMode\\": \\"PRIVATE\\",\\n \\"vpcId\\": \\"vpc-1234567890abcdef0\\",\\n \\"securityGroupId\\": \\"sg-1234567890abcdef0\\",\\n \\"vswitchIds\\": [\\n \\"vsw-sg-1234567890abcdef0\\"\\n ]\\n },\\n \\"statusReason\\": \\"\\",\\n \\"modelServiceId\\": \\"\\",\\n \\"modelInfoConfigs\\": [\\n {\\n \\"modelName\\": \\"\\",\\n \\"modelFeatures\\": {\\n \\"vision\\": true,\\n \\"agentThought\\": true,\\n \\"toolCall\\": true,\\n \\"multiToolCall\\": true,\\n \\"streamToolCall\\": true\\n },\\n \\"modelProperties\\": {\\n \\"contextSize\\": 0\\n },\\n \\"modelParameterRules\\": [\\n {\\n \\"name\\": \\"\\",\\n \\"type\\": \\"\\",\\n \\"default\\": \\"\\",\\n \\"min\\": 0,\\n \\"max\\": 0,\\n \\"required\\": true\\n }\\n ]\\n }\\n ],\\n \\"workspaceId\\": \\"\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'DeleteSandbox' => [
+ 'summary' => 'Deletes a sandbox instance.',
+ 'path' => '/2025-09-10/sandboxes/{sandboxId}',
+ 'methods' => ['delete'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREfcGRJPWY'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'sandboxId',
+ 'in' => 'path',
+ 'schema' => ['description' => 'The sandbox ID.', 'type' => 'string', 'required' => true, 'example' => 'sb-1234567', 'title' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => ['description' => 'The result of the sandbox deletion.', '$ref' => '#/components/schemas/DeleteSandboxResult', 'title' => '', 'example' => ''],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'DeleteSandbox',
+ 'description' => 'Deletes a sandbox instance.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'agentrun:DeleteSandbox',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'translator' => 'machine',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"\\",\\n \\"requestId\\": \\"\\",\\n \\"data\\": {\\n \\"sandboxId\\": \\"01KAWBP6JQD0J3Z34BP4WMX1KG\\",\\n \\"templateId\\": \\"8d409d30-cac1-445a-95d5-476c47780336.schema\\",\\n \\"templateName\\": \\"my-template\\",\\n \\"status\\": \\"READY\\",\\n \\"createdAt\\": \\"2025-11-26T10:54:17.770719+08:00\\",\\n \\"lastUpdatedAt\\": \\"2025-11-26T10:54:17.770719+08:00\\",\\n \\"sandboxIdleTimeoutSeconds\\": 1800,\\n \\"endedAt\\": \\"2025-11-26T10:54:17.770719+08:00\\",\\n \\"sandboxArn\\": \\"acs:ram::1760720386195983:role/aliyunfcdefaultrole\\",\\n \\"sandboxIdleTTLInSeconds\\": 0,\\n \\"metadata\\": {}\\n }\\n}","type":"json"}]',
+ ],
+ 'DeleteTemplate' => [
+ 'path' => '/2025-09-10/templates/{templateName}',
+ 'methods' => ['delete'],
+ 'schemes' => ['https'],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREfcGRJPWY'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'templateName',
+ 'in' => 'path',
+ 'allowEmptyValue' => true,
+ 'schema' => ['description' => 'The name of the template to delete.', 'type' => 'string', 'required' => true, 'example' => 'my-template', 'title' => ''],
+ 'examples' => [],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => ['description' => 'The object returned by a successful request.', '$ref' => '#/components/schemas/DeleteTemplateResult', 'title' => '', 'example' => ''],
+ 'examples' => [],
+ ],
+ 500 => [
+ 'schema' => ['$ref' => '#/components/schemas/ErrorResult', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'DeleteTemplate',
+ 'summary' => 'Deletes a template.',
+ 'description' => 'Deletes the specified template. After you delete a template, you can no longer use it to create new sandboxes.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'agentrun:DeleteTemplate',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'translator' => 'machine',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"\\",\\n \\"requestId\\": \\"\\",\\n \\"data\\": {\\n \\"templateId\\": \\"996ffd5e-003f-4700-9f24-9e2a1c19019b.schema\\",\\n \\"templateName\\": \\"browser-1767874121726\\",\\n \\"templateVersion\\": \\"预留\\",\\n \\"cpu\\": 4,\\n \\"memory\\": 4096,\\n \\"templateArn\\": \\"acs:agentrun:cn-hangzhou:12345678:templates/efb6de2f-1814-42a2-b7f3-474a0e0b3a48\\",\\n \\"createdAt\\": \\"2026-01-15T17:12:59.375168+08:00\\",\\n \\"lastUpdatedAt\\": \\"2026-01-15T17:12:59.375168+08:00\\",\\n \\"status\\": \\"READY\\",\\n \\"statusReason\\": \\"SDK Error\\",\\n \\"executionRoleArn\\": \\"acs:agentrun:cn-hangzhou:12345678:templates/efb6de2f-1814-42a2-b7f3-474a0e0b3a48\\",\\n \\"templateType\\": \\"Browser\\",\\n \\"containerConfiguration\\": {\\n \\"image\\": \\"registry.cn-hangzhou.aliyuncs.com/my-namespace/agent-runtime:latest\\",\\n \\"imageRegistryType\\": \\"ACR\\",\\n \\"acrInstanceId\\": \\"cri-xxxxx\\",\\n \\"command\\": [\\n \\"/usr/local/bin/entrypoint.sh\\"\\n ],\\n \\"registryConfig\\": {\\n \\"authConfig\\": {\\n \\"userName\\": \\"admin\\",\\n \\"password\\": \\"abc***\\"\\n },\\n \\"certConfig\\": {\\n \\"insecure\\": false,\\n \\"rootCaCertBase64\\": \\"cm9vdF9jYV9jZXJ0X2Jhc2U2NA==\\"\\n },\\n \\"networkConfig\\": {\\n \\"vpcId\\": \\"vpc-xxxxxxxxxxxxx\\",\\n \\"vSwitchId\\": \\"vsw-xxxxxxxxxxxxx\\",\\n \\"securityGroupId\\": \\"sg-xxxxxxxxxxxxx\\"\\n }\\n },\\n \\"port\\": 5000\\n },\\n \\"networkConfiguration\\": {\\n \\"networkMode\\": \\"PRIVATE\\",\\n \\"vpcId\\": \\"vpc-1234567890abcdef0\\",\\n \\"securityGroupId\\": \\"sg-1234567890abcdef0\\",\\n \\"vswitchIds\\": [\\n \\"vsw-sg-1234567890abcdef0\\"\\n ]\\n },\\n \\"credentialConfiguration\\": {\\n \\"credentialName\\": \\"deepagent-key\\"\\n },\\n \\"logConfiguration\\": {\\n \\"project\\": \\"agent-runtime-logs\\",\\n \\"logstore\\": \\"agent-runtime-logs\\"\\n },\\n \\"sandboxIdleTimeoutInSeconds\\": \\"1800\\",\\n \\"sandboxTTLInSeconds\\": \\"已弃用\\",\\n \\"resourceName\\": \\"agentrun-f2570dd4-c8a2-452c-8bd5-4ef74b0a69b5\\",\\n \\"mcpOptions\\": {\\n \\"transport\\": \\"streamable-http\\",\\n \\"enabledTools\\": [\\n \\"execute_code\\"\\n ]\\n },\\n \\"mcpState\\": {\\n \\"status\\": \\"CREATING\\",\\n \\"statusReason\\": \\"SDK Error\\",\\n \\"accessEndpoint\\": \\"/mcp\\"\\n },\\n \\"diskSize\\": 10240,\\n \\"description\\": \\"template描述\\",\\n \\"allowAnonymousManage\\": true,\\n \\"nasConfig\\": {\\n \\"groupId\\": 100,\\n \\"mountPoints\\": [\\n {\\n \\"enableTLS\\": false,\\n \\"mountDir\\": \\"/home/test\\",\\n \\"serverAddr\\": \\"***-uni85.cn-hangzhou.nas.com:/\\"\\n }\\n ],\\n \\"userId\\": 100\\n },\\n \\"enableAgent\\": false,\\n \\"workspaceId\\": \\"\\",\\n \\"scalingStatus\\": {\\n \\"minInstances\\": 1,\\n \\"targetInstances\\": 2,\\n \\"currentInstances\\": 2,\\n \\"scheduledPolicies\\": [\\n {\\n \\"name\\": \\"scale-up-morning\\",\\n \\"startTime\\": \\"2024-01-01T08:00:00\\",\\n \\"endTime\\": \\"2024-01-01T08:00:00\\",\\n \\"scheduleExpression\\": \\"cron(0 8 * * ? *)\\",\\n \\"timeZone\\": \\"Asia/Shanghai\\",\\n \\"target\\": 20\\n }\\n ],\\n \\"currentError\\": \\"error\\"\\n },\\n \\"environmentVariables\\": {\\n \\"key\\": \\"{\'FCTEST_IDE_ENV\': \'IDE\'}\\"\\n },\\n \\"templateConfiguration\\": {\\n \\"key\\": \\"{\\\\\\"example\\\\\\":\\\\\\"test\\\\\\"}\\"\\n },\\n \\"ossConfiguration\\": [\\n {\\n \\"bucketName\\": \\"a-test-oss\\",\\n \\"prefix\\": \\"/\\",\\n \\"mountPoint\\": \\"/mnt/oss1\\",\\n \\"permission\\": \\"READ_WRITE\\",\\n \\"region\\": \\"ch-hangzhou\\",\\n \\"endpoint\\": \\"\\"\\n }\\n ],\\n \\"enablePreStop\\": false,\\n \\"preStopTimeoutInSeconds\\": 0\\n }\\n}","type":"json"}]',
+ ],
+ 'DeleteTool' => [
+ 'summary' => 'Deletes a specified tool.',
+ 'description' => 'Deletes a specified tool. This operation is irreversible. Exercise caution when performing this operation. After a tool is deleted, all agents that reference this tool can no longer use it.',
+ 'path' => '/2025-09-10/agents/tools/{toolName}',
+ 'methods' => ['delete'],
+ 'schemes' => ['https'],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREfcGRJPWY', 'FEATUREfcVF016G'],
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'toolName',
+ 'in' => 'path',
+ 'schema' => ['title' => '', 'description' => 'The name of the tool.', 'type' => 'string', 'example' => 'my-mcp-tool', 'required' => false],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'description' => '删除成功,返回操作结果',
+ 'headers' => [],
+ 'schema' => ['description' => 'The tool operation result.', '$ref' => '#/components/schemas/ToolResult', 'title' => '', 'example' => ''],
+ 'examples' => [],
+ ],
+ ],
+ 'title' => 'Delete a tool',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'agentrun:DeleteTool',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'Tool', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:workspaces/{#workspaceName}/tools/{#toolName}'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"SUCCESS\\",\\n \\"requestId\\": \\"F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E\\",\\n \\"data\\": {\\n \\"toolId\\": \\"tool-abc123\\",\\n \\"toolName\\": \\"my-mcp-tool\\",\\n \\"workspaceId\\": \\"workspace-xyz789\\",\\n \\"description\\": \\"这是一个用于处理文档的 MCP 工具\\",\\n \\"toolType\\": \\"MCP\\",\\n \\"createMethod\\": \\"MCP_REMOTE\\",\\n \\"protocolSpec\\": \\"\\",\\n \\"mcpConfig\\": {\\n \\"sessionAffinity\\": \\"MCP_STREAMABLE\\",\\n \\"sessionAffinityConfig\\": \\"\\",\\n \\"proxyEnabled\\": true,\\n \\"mcpProxyConfiguration\\": {\\n \\"hooks\\": [\\n {\\n \\"url\\": \\"\\",\\n \\"description\\": \\"\\",\\n \\"apiVersion\\": \\"\\",\\n \\"enabled\\": false,\\n \\"timeout\\": 0,\\n \\"event\\": \\"\\",\\n \\"headers\\": {\\n \\"key\\": \\"\\"\\n }\\n }\\n ]\\n },\\n \\"boundConfiguration\\": {\\n \\"boundTools\\": [\\n {\\n \\"toolName\\": \\"my-tool\\",\\n \\"method\\": \\"POST\\",\\n \\"path\\": \\"/api/v1/tools\\",\\n \\"apis\\": [\\n {\\n \\"method\\": \\"\\",\\n \\"path\\": \\"\\"\\n }\\n ]\\n }\\n ]\\n }\\n },\\n \\"status\\": \\"Running\\",\\n \\"statusReason\\": \\"\\",\\n \\"executionRoleArn\\": \\"acs:ram::123456789:role/AliyunFCDefaultRole\\",\\n \\"artifactType\\": \\"Code\\",\\n \\"networkConfiguration\\": {\\n \\"networkMode\\": \\"PRIVATE\\",\\n \\"vpcId\\": \\"vpc-1234567890abcdef0\\",\\n \\"securityGroupId\\": \\"sg-1234567890abcdef0\\",\\n \\"vswitchIds\\": [\\n \\"vsw-sg-1234567890abcdef0\\"\\n ]\\n },\\n \\"codeConfiguration\\": {\\n \\"zipFile\\": \\"UEsDBAoAAAAAANF\\",\\n \\"ossBucketName\\": \\"my-agent-code-bucket\\",\\n \\"ossObjectName\\": \\"agent-code-v1.0.zip\\",\\n \\"checksum\\": \\"1234567890123456789\\",\\n \\"language\\": \\"python3.12\\",\\n \\"command\\": [\\n \\"\\"\\n ]\\n },\\n \\"containerConfiguration\\": {\\n \\"image\\": \\"registry.cn-hangzhou.aliyuncs.com/my-namespace/agent-runtime:latest\\",\\n \\"imageRegistryType\\": \\"ACR\\",\\n \\"acrInstanceId\\": \\"cri-xxxxx\\",\\n \\"command\\": [\\n \\"/usr/local/bin/entrypoint.sh\\"\\n ],\\n \\"registryConfig\\": {\\n \\"authConfig\\": {\\n \\"userName\\": \\"admin\\",\\n \\"password\\": \\"abc***\\"\\n },\\n \\"certConfig\\": {\\n \\"insecure\\": false,\\n \\"rootCaCertBase64\\": \\"cm9vdF9jYV9jZXJ0X2Jhc2U2NA==\\"\\n },\\n \\"networkConfig\\": {\\n \\"vpcId\\": \\"vpc-xxxxxxxxxxxxx\\",\\n \\"vSwitchId\\": \\"vsw-xxxxxxxxxxxxx\\",\\n \\"securityGroupId\\": \\"sg-xxxxxxxxxxxxx\\"\\n }\\n },\\n \\"port\\": 5000\\n },\\n \\"logConfiguration\\": {\\n \\"project\\": \\"agent-runtime-logs\\",\\n \\"logstore\\": \\"agent-runtime-logs\\"\\n },\\n \\"ossMountConfig\\": {\\n \\"mountPoints\\": [\\n {\\n \\"bucketName\\": \\"my-bucket\\",\\n \\"bucketPath\\": \\"/my-dir\\",\\n \\"endpoint\\": \\"http://oss-cn-shanghai.aliyuncs.com\\",\\n \\"mountDir\\": \\"/mnt/dir\\",\\n \\"readOnly\\": true\\n }\\n ]\\n },\\n \\"nasConfig\\": {\\n \\"groupId\\": 100,\\n \\"mountPoints\\": [\\n {\\n \\"enableTLS\\": false,\\n \\"mountDir\\": \\"/home/test\\",\\n \\"serverAddr\\": \\"***-uni85.cn-hangzhou.nas.com:/\\"\\n }\\n ],\\n \\"userId\\": 100\\n },\\n \\"cpu\\": 0.5,\\n \\"memory\\": 512,\\n \\"port\\": 8080,\\n \\"createdAt\\": \\"2025-09-10T10:00:00Z\\",\\n \\"updatedAt\\": \\"2025-09-10T12:00:00Z\\",\\n \\"credentialName\\": \\"my-credential\\",\\n \\"timeout\\": 300,\\n \\"environmentVariables\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"agentIdentityEnabled\\": false,\\n \\"agentIdentityConfig\\": {\\n \\"authorizationEnabled\\": true,\\n \\"credentialProviderType\\": \\"\\",\\n \\"credentialProviderArn\\": \\"\\"\\n }\\n }\\n}","type":"json"}]',
+ ],
+ 'DeleteWorkspace' => [
+ 'summary' => 'Deletes a workspace.',
+ 'description' => 'Deletes the specified workspace.',
+ 'path' => '/2025-09-10/workspaces/{workspaceId}',
+ 'methods' => ['delete'],
+ 'schemes' => ['https'],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREfc739PD5'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'workspaceId',
+ 'in' => 'path',
+ 'schema' => ['description' => 'The ID of the workspace.', 'type' => 'string', 'required' => false, 'example' => 'ws-1234567890abcdef', 'title' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'description' => '成功响应 - 返回创建的智能体运行时信息,包括运行时ID、状态、配置等详细信息',
+ 'schema' => ['description' => 'The operation result.', '$ref' => '#/components/schemas/WorkspaceResult', 'title' => '', 'example' => ''],
+ 'examples' => [],
+ ],
+ 500 => [
+ 'schema' => ['$ref' => '#/components/schemas/ErrorResult', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"\\",\\n \\"requestId\\": \\"\\",\\n \\"data\\": {\\n \\"workspaceId\\": \\"\\",\\n \\"workspaceArn\\": \\"\\",\\n \\"name\\": \\"\\",\\n \\"description\\": \\"\\",\\n \\"isDefault\\": false,\\n \\"resourceGroupId\\": \\"\\",\\n \\"createdAt\\": \\"\\",\\n \\"updatedAt\\": \\"\\"\\n }\\n}","type":"json"}]',
+ 'title' => 'DeleteWorkspace',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'agentrun:DeleteWorkspace',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'Workspace', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:workspaces/{#workspaceName}'],
+ ],
+ ],
+ ],
+ ],
+ 'translator' => 'machine',
+ ],
+ 'GetAccessToken' => [
+ 'path' => '/2025-09-10/agents/accessToken',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREfcGRJPWY', 'FEATUREfcVF016G'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'resourceName',
+ 'in' => 'query',
+ 'allowEmptyValue' => true,
+ 'schema' => ['description' => 'The resource name of the agent runtime.', 'type' => 'string', 'required' => false, 'example' => 'COUPON_OPERATION_CALLBACK', 'title' => ''],
+ 'examples' => [],
+ ],
+ [
+ 'name' => 'resourceType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The resource type.',
+ 'type' => 'string',
+ 'enum' => ['runtime', 'litellm', 'tool', 'template', 'sandbox'],
+ 'required' => false,
+ 'example' => 'SceneTestingTask',
+ 'title' => '',
+ ],
+ ],
+ [
+ 'name' => 'resourceId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The resource ID.', 'type' => 'string', 'required' => false, 'example' => 'mod-kw1750tjqs94n9k37o5hjk', 'title' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => ['description' => 'The status code of the response. A value of `SUCCESS` indicates that the request was successful. For failures, this parameter returns an error code, such as `ERR_BAD_REQUEST`, `ERR_VALIDATION_FAILED`, or `ERR_INTERNAL_SERVER_ERROR`.', 'type' => 'string', 'example' => 'SUCCESS', 'title' => ''],
+ 'requestId' => ['description' => 'The unique request ID. This ID is used for troubleshooting purposes.', 'type' => 'string', 'example' => 'F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E', 'title' => ''],
+ 'data' => [
+ 'description' => 'The response data.',
+ 'type' => 'object',
+ 'properties' => [
+ 'accessToken' => ['description' => 'The personal access token. You can use this token to authenticate subsequent API calls. This authentication method is an alternative to using an Alibaba Cloud AccessKey pair or temporary credentials provided by the Security Token Service (STS).', 'type' => 'string', 'example' => 'accessToken', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'description' => 'The response body.',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'title' => 'GetAccessToken',
+ 'summary' => 'Obtains an access token.',
+ 'description' => 'Obtains a temporary accessToken that is used to authenticate subsequent API requests.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'agentrun:GetAccessToken',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"SUCCESS\\",\\n \\"requestId\\": \\"F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E\\",\\n \\"data\\": {\\n \\"accessToken\\": \\"accessToken\\"\\n }\\n}","type":"json"}]',
+ 'translator' => 'machine',
+ ],
+ 'GetAgentRuntime' => [
+ 'path' => '/2025-09-10/agents/runtimes/{agentRuntimeId}',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREfc739PD5'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'agentRuntimeId',
+ 'in' => 'path',
+ 'allowEmptyValue' => true,
+ 'schema' => ['title' => '', 'description' => 'The agent runtime ID.', 'type' => 'string', 'required' => true, 'example' => '12345678-1234-1234-1234-123456789abc'],
+ 'examples' => [],
+ ],
+ [
+ 'name' => 'agentRuntimeVersion',
+ 'in' => 'query',
+ 'allowEmptyValue' => false,
+ 'schema' => ['title' => '', 'description' => 'The agent runtime version.', 'type' => 'string', 'required' => false, 'example' => 'v1.0.0'],
+ 'examples' => [],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => ['title' => '', 'description' => 'The result of retrieving the struct.', '$ref' => '#/components/schemas/AgentRuntimeResult', 'example' => ''],
+ 'examples' => [],
+ ],
+ ],
+ 'title' => 'Retrieve an agent runtime',
+ 'summary' => 'Retrieves an agent runtime.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'agentrun:GetAgentRuntime',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'Agent', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:workspaces/{#workspaceName}/runtimes/{#runtimeName}'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"SUCCESS\\",\\n \\"requestId\\": \\"F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E\\",\\n \\"data\\": {\\n \\"agentRuntimeId\\": \\"ar-1234567890abcdef\\",\\n \\"agentRuntimeName\\": \\"my-agent-runtime\\",\\n \\"agentRuntimeArn\\": \\"acs:agentrun:cn-hangzhou:1760720386195983:runtimes/7a1b6d39-9f8f-4ce2-b9c9-6db1b0b9e169\\",\\n \\"createdAt\\": \\"2025-01-10T10:30:00Z\\",\\n \\"status\\": \\"READY\\",\\n \\"statusReason\\": \\"Runtime is ready for use\\",\\n \\"lastUpdatedAt\\": \\"2025-01-10T11:45:00Z\\",\\n \\"description\\": \\"AI agent runtime for customer service automation\\",\\n \\"executionRoleArn\\": \\"acs:ram::1760720386195983:role/AgentRunExecutionRole\\",\\n \\"credentialName\\": \\"my-credential\\",\\n \\"externalAgentEndpointUrl\\": \\"https://external-agent.example.com/api\\",\\n \\"agentRuntimeVersion\\": \\"1\\",\\n \\"artifactType\\": \\"Code\\",\\n \\"codeConfiguration\\": {\\n \\"zipFile\\": \\"UEsDBAoAAAAAANF\\",\\n \\"ossBucketName\\": \\"my-agent-code-bucket\\",\\n \\"ossObjectName\\": \\"agent-code-v1.0.zip\\",\\n \\"checksum\\": \\"1234567890123456789\\",\\n \\"language\\": \\"python3.12\\",\\n \\"command\\": [\\n \\"\\"\\n ]\\n },\\n \\"containerConfiguration\\": {\\n \\"image\\": \\"registry.cn-hangzhou.aliyuncs.com/my-namespace/agent-runtime:latest\\",\\n \\"imageRegistryType\\": \\"ACR\\",\\n \\"acrInstanceId\\": \\"cri-xxxxx\\",\\n \\"command\\": [\\n \\"/usr/local/bin/entrypoint.sh\\"\\n ],\\n \\"registryConfig\\": {\\n \\"authConfig\\": {\\n \\"userName\\": \\"admin\\",\\n \\"password\\": \\"abc***\\"\\n },\\n \\"certConfig\\": {\\n \\"insecure\\": false,\\n \\"rootCaCertBase64\\": \\"cm9vdF9jYV9jZXJ0X2Jhc2U2NA==\\"\\n },\\n \\"networkConfig\\": {\\n \\"vpcId\\": \\"vpc-xxxxxxxxxxxxx\\",\\n \\"vSwitchId\\": \\"vsw-xxxxxxxxxxxxx\\",\\n \\"securityGroupId\\": \\"sg-xxxxxxxxxxxxx\\"\\n }\\n },\\n \\"port\\": 5000\\n },\\n \\"networkConfiguration\\": {\\n \\"networkMode\\": \\"PRIVATE\\",\\n \\"vpcId\\": \\"vpc-1234567890abcdef0\\",\\n \\"securityGroupId\\": \\"sg-1234567890abcdef0\\",\\n \\"vswitchIds\\": [\\n \\"vsw-sg-1234567890abcdef0\\"\\n ]\\n },\\n \\"protocolConfiguration\\": {\\n \\"type\\": \\"HTTP\\",\\n \\"protocolSettings\\": [\\n {\\n \\"type\\": \\"\\",\\n \\"name\\": \\"\\",\\n \\"config\\": \\"\\",\\n \\"path\\": \\"\\",\\n \\"pathPrefix\\": \\"\\",\\n \\"headers\\": \\"\\",\\n \\"method\\": \\"\\",\\n \\"inputBodyJsonSchema\\": \\"\\",\\n \\"outputBodyJsonSchema\\": \\"\\",\\n \\"requestContentType\\": \\"\\",\\n \\"responseContentType\\": \\"\\",\\n \\"A2AAgentCard\\": \\"\\",\\n \\"a2aAgentCard\\": \\"\\",\\n \\"a2aAgentCardUrl\\": \\"\\"\\n }\\n ]\\n },\\n \\"cpu\\": 2,\\n \\"memory\\": 2048,\\n \\"diskSize\\": 0,\\n \\"port\\": 8080,\\n \\"sessionConcurrencyLimitPerInstance\\": 100,\\n \\"logConfiguration\\": {\\n \\"project\\": \\"agent-runtime-logs\\",\\n \\"logstore\\": \\"agent-runtime-logs\\"\\n },\\n \\"healthCheckConfiguration\\": {\\n \\"httpGetUrl\\": \\"/ready\\",\\n \\"initialDelaySeconds\\": 30,\\n \\"periodSeconds\\": 30,\\n \\"timeoutSeconds\\": 3,\\n \\"failureThreshold\\": 3,\\n \\"successThreshold\\": 1\\n },\\n \\"sessionIdleTimeoutSeconds\\": 3600,\\n \\"enableSessionIsolation\\": false,\\n \\"disableOndemand\\": false,\\n \\"disableSessionAffinity\\": false,\\n \\"sessionAffinityType\\": \\"GENERATED_COOKIE\\",\\n \\"headerFieldName\\": \\"x-agentrun-session-id\\",\\n \\"resourceGroupId\\": \\"\\",\\n \\"workspaceId\\": \\"ws-1234567890abcdef\\",\\n \\"nasConfig\\": {\\n \\"groupId\\": 100,\\n \\"mountPoints\\": [\\n {\\n \\"enableTLS\\": false,\\n \\"mountDir\\": \\"/home/test\\",\\n \\"serverAddr\\": \\"***-uni85.cn-hangzhou.nas.com:/\\"\\n }\\n ],\\n \\"userId\\": 100\\n },\\n \\"ossMountConfig\\": {\\n \\"mountPoints\\": [\\n {\\n \\"bucketName\\": \\"my-bucket\\",\\n \\"bucketPath\\": \\"/my-dir\\",\\n \\"endpoint\\": \\"http://oss-cn-shanghai.aliyuncs.com\\",\\n \\"mountDir\\": \\"/mnt/dir\\",\\n \\"readOnly\\": true\\n }\\n ]\\n },\\n \\"environmentVariables\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"systemTags\\": [\\n \\"\\"\\n ],\\n \\"agentIdentityEnabled\\": \\"\\",\\n \\"agentIdentityConfig\\": {\\n \\"identityProviderName\\": \\"\\",\\n \\"workloadIdentityName\\": \\"\\"\\n },\\n \\"edition\\": \\"\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'GetAgentRuntimeEndpoint' => [
+ 'path' => '/2025-09-10/agents/runtimes/{agentRuntimeId}/endpoints/{agentRuntimeEndpointId}',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREfc739PD5'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'agentRuntimeId',
+ 'in' => 'path',
+ 'allowEmptyValue' => true,
+ 'schema' => ['title' => '', 'description' => 'Agent Runtime ID', 'type' => 'string', 'required' => true, 'example' => '12345678-1234-1234-1234-123456789abc'],
+ 'examples' => [],
+ ],
+ [
+ 'name' => 'agentRuntimeEndpointId',
+ 'in' => 'path',
+ 'allowEmptyValue' => true,
+ 'schema' => ['title' => '', 'description' => 'Agent Runtime Endpoint ID', 'type' => 'string', 'required' => true, 'example' => '87654321-4321-4321-4321-210987654321'],
+ 'examples' => [],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => ['title' => '', 'description' => 'Result of the get operation', '$ref' => '#/components/schemas/AgentRuntimeEndpointResult', 'example' => ''],
+ 'examples' => [],
+ ],
+ 500 => [
+ 'schema' => ['$ref' => '#/components/schemas/ErrorResult', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ ],
+ 'title' => 'Get Agent Runtime Access Endpoint',
+ 'summary' => 'Get Agent Runtime Access Endpoint',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'agentrun:GetAgentRuntimeEndpoint',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'Agent', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:workspaces/{#workspaceName}/runtimes/{#runtimeName}/runtime-endpoints/{#endpointName}'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"\\",\\n \\"requestId\\": \\"\\",\\n \\"data\\": {\\n \\"agentRuntimeId\\": \\"ar-1234567890abcdef\\",\\n \\"agentRuntimeEndpointId\\": \\"are-1234567890abcdef\\",\\n \\"agentRuntimeEndpointArn\\": \\"acs:agentrun:cn-hangzhou:1760720386195983:runtime-endpoints/e56d483c-db80-4116-9ec4-25f16f5facfd\\",\\n \\"agentRuntimeEndpointName\\": \\"production-endpoint\\",\\n \\"description\\": \\"Production endpoint for customer service agent\\",\\n \\"status\\": \\"ACTIVE\\",\\n \\"statusReason\\": \\"Endpoint is active and ready\\",\\n \\"targetVersion\\": \\"LATEST\\",\\n \\"routingConfiguration\\": {\\n \\"versionWeights\\": [\\n {\\n \\"version\\": \\"\\",\\n \\"weight\\": 0\\n }\\n ]\\n },\\n \\"endpointPublicUrl\\": \\"https://ar-1234567890abcdef.cn-hangzhou.agentrun.aliyuncs.com\\",\\n \\"disablePublicNetworkAccess\\": false,\\n \\"scalingStatus\\": {\\n \\"minInstances\\": 1,\\n \\"targetInstances\\": 2,\\n \\"currentInstances\\": 2,\\n \\"scheduledPolicies\\": [\\n {\\n \\"name\\": \\"scale-up-morning\\",\\n \\"startTime\\": \\"2024-01-01T08:00:00\\",\\n \\"endTime\\": \\"2024-01-01T08:00:00\\",\\n \\"scheduleExpression\\": \\"cron(0 8 * * ? *)\\",\\n \\"timeZone\\": \\"Asia/Shanghai\\",\\n \\"target\\": 20\\n }\\n ],\\n \\"currentError\\": \\"error\\"\\n }\\n }\\n}","type":"json"}]',
+ 'translator' => 'machine',
+ ],
+ 'GetBrowser' => [
+ 'summary' => 'GetBrowserSandbox',
+ 'description' => 'Retrieves detailed information about a specified browser instance by browser ID, including configuration, status, resource usage, and more.',
+ 'path' => '/2025-09-10/agents/browsers/{browserId}',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREfcGRJPWY'],
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'browserId',
+ 'in' => 'path',
+ 'allowEmptyValue' => false,
+ 'schema' => ['title' => '', 'description' => 'Browser ID', 'type' => 'string', 'required' => true, 'example' => '12345678-1234-1234-1234-123456789abc'],
+ 'examples' => [],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'description' => '成功响应 - 返回指定浏览器实例的完整信息,包括配置参数、运行状态、资源分配等',
+ 'schema' => ['title' => '', 'description' => 'Result of the get structure response', '$ref' => '#/components/schemas/BrowserResult', 'example' => ''],
+ 'examples' => [],
+ ],
+ ],
+ 'title' => 'GetBrowserSandbox',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'agentrun:GetBrowser',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"SUCCESS\\",\\n \\"requestId\\": \\"F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E\\",\\n \\"data\\": {\\n \\"browserId\\": \\"browser-1234567890abcdef\\",\\n \\"browserName\\": \\"my-browser\\",\\n \\"description\\": \\"Web automation browser for testing\\",\\n \\"status\\": \\"READY\\",\\n \\"statusReason\\": \\"Browser is ready for use\\",\\n \\"createdAt\\": \\"2025-01-10T10:30:00Z\\",\\n \\"lastUpdatedAt\\": \\"2025-01-10T11:45:00Z\\",\\n \\"executionRoleArn\\": \\"acs:ram::1760720386195983:role/BrowserExecutionRole\\",\\n \\"networkConfiguration\\": {\\n \\"networkMode\\": \\"PRIVATE\\",\\n \\"vpcId\\": \\"vpc-1234567890abcdef0\\",\\n \\"securityGroupId\\": \\"sg-1234567890abcdef0\\",\\n \\"vswitchIds\\": [\\n \\"vsw-sg-1234567890abcdef0\\"\\n ]\\n },\\n \\"recording\\": {\\n \\"enabled\\": false,\\n \\"ossLocation\\": {\\n \\"bucket\\": \\"\\",\\n \\"prefix\\": \\"\\"\\n }\\n },\\n \\"memory\\": 2048,\\n \\"credentialId\\": \\"cred-1234567890abcdef\\",\\n \\"cpu\\": 2,\\n \\"tenantId\\": \\"tenant-1234567890abcdef\\"\\n }\\n}","type":"json"}]',
+ 'translator' => 'machine',
+ ],
+ 'GetCodeInterpreter' => [
+ 'path' => '/2025-09-10/agents/code-interpreters/{codeInterpreterId}',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREfcGRJPWY'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'codeInterpreterId',
+ 'in' => 'path',
+ 'allowEmptyValue' => false,
+ 'schema' => ['title' => '', 'description' => 'The ID of the interpreter.', 'type' => 'string', 'required' => true, 'example' => '12345678-1234-1234-1234-123456789abc'],
+ 'examples' => [],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => ['title' => '', 'description' => 'The result of the retrieval request struct.', '$ref' => '#/components/schemas/CodeInterpreterResult', 'example' => ''],
+ 'examples' => [],
+ ],
+ ],
+ 'title' => 'Retrieve an interpreter',
+ 'summary' => 'Retrieves an interpreter.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'agentrun:GetCodeInterpreter',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"SUCCESS\\",\\n \\"requestId\\": \\"F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E\\",\\n \\"data\\": {\\n \\"codeInterpreterId\\": \\"ci-1234567890abcdef\\",\\n \\"codeInterpreterName\\": \\"my-code-interpreter\\",\\n \\"description\\": \\"Python code interpreter for data analysis\\",\\n \\"executionRoleArn\\": \\"acs:ram::1760720386195983:role/CodeInterpreterExecutionRole\\",\\n \\"createdAt\\": \\"2025-01-10T10:30:00Z\\",\\n \\"lastUpdatedAt\\": \\"2025-01-10T11:45:00Z\\",\\n \\"status\\": \\"READY\\",\\n \\"statusReason\\": \\"Code interpreter is ready for use\\",\\n \\"networkConfiguration\\": {\\n \\"networkMode\\": \\"PRIVATE\\",\\n \\"vpcId\\": \\"vpc-1234567890abcdef0\\",\\n \\"securityGroupId\\": \\"sg-1234567890abcdef0\\",\\n \\"vswitchIds\\": [\\n \\"vsw-sg-1234567890abcdef0\\"\\n ]\\n },\\n \\"memory\\": 2048,\\n \\"cpu\\": 2,\\n \\"tenantId\\": \\"tenant-1234567890abcdef\\"\\n }\\n}","type":"json"}]',
+ 'translator' => 'machine',
+ ],
+ 'GetCredential' => [
+ 'summary' => 'Retrieves information about a specific credential.',
+ 'path' => '/2025-09-10/agents/credentials/{credentialName}',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREfcGRJPWY', 'FEATUREfcVF016G'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'credentialName',
+ 'in' => 'path',
+ 'allowEmptyValue' => true,
+ 'schema' => ['description' => 'The name of the credential to retrieve.', 'type' => 'string', 'required' => false, 'example' => 'credentialName', 'title' => ''],
+ 'examples' => [],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'description' => 'Successful response',
+ 'headers' => [],
+ 'schema' => ['description' => 'An object that contains the details of the credential.', '$ref' => '#/components/schemas/CredentialResult', 'title' => '', 'example' => ''],
+ 'examples' => [],
+ ],
+ ],
+ 'title' => 'GetCredential',
+ 'description' => 'Retrieves detailed information about a specified credential, including its configuration, metadata, and related resources.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'agentrun:GetCredential',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'Credential', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:workspaces/{#workspaceName}/credentials/{#credentialName}'],
+ ],
+ ],
+ ],
+ ],
+ 'translator' => 'machine',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"\\",\\n \\"requestId\\": \\"\\",\\n \\"data\\": {\\n \\"credentialId\\": \\"\\",\\n \\"credentialName\\": \\"\\",\\n \\"description\\": \\"\\",\\n \\"credentialAuthType\\": \\"\\",\\n \\"credentialSourceType\\": \\"\\",\\n \\"enabled\\": false,\\n \\"credentialSecret\\": \\"\\",\\n \\"createdAt\\": \\"\\",\\n \\"updatedAt\\": \\"\\",\\n \\"credentialPublicConfig\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"relatedResources\\": [\\n {\\n \\"resourceId\\": \\"\\",\\n \\"resourceName\\": \\"\\",\\n \\"resourceType\\": \\"\\"\\n }\\n ],\\n \\"workspaceId\\": \\"\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'GetCustomDomain' => [
+ 'path' => '/2025-09-10/agents/custom-domains/{domainName}',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREfcGRJPWY', 'FEATUREfcVF016G'],
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'domainName',
+ 'in' => 'path',
+ 'schema' => ['description' => 'The name of the custom domain.', 'type' => 'string', 'required' => false, 'example' => 'mydomain.com', 'title' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'headers' => [],
+ 'schema' => ['description' => 'Details about the custom domain.', '$ref' => '#/components/schemas/CustomDomainResult', 'title' => '', 'example' => ''],
+ 'examples' => [],
+ ],
+ ],
+ 'title' => 'GetCustomDomain',
+ 'summary' => 'Retrieves the configuration of a custom domain.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'agentrun:GetCustomDomain',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"SUCCESS\\",\\n \\"requestId\\": \\"F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E\\",\\n \\"data\\": {\\n \\"domainName\\": \\"example.com\\",\\n \\"description\\": \\"\\",\\n \\"protocol\\": \\"HTTP\\",\\n \\"routeConfig\\": {\\n \\"routes\\": [\\n {\\n \\"path\\": \\"/login\\",\\n \\"resourceName\\": \\"\\",\\n \\"resourceType\\": \\"runtime\\",\\n \\"agentRuntimeEndpointName\\": \\"\\",\\n \\"compatibleProtocol\\": \\"native\\",\\n \\"flowEndpointName\\": \\"Default\\",\\n \\"methods\\": [\\n \\"\\"\\n ],\\n \\"removeBasePathOnForward\\": false\\n }\\n ]\\n },\\n \\"certConfig\\": {\\n \\"certName\\": \\"my-cert\\",\\n \\"certificate\\": \\"-----BEGIN CERTIFICATE-----\\\\\\\\nxxxxx\\\\\\\\n-----END CERTIFICATE-----\\",\\n \\"privateKey\\": \\"-----BEGIN RSA PRIVATE KEY-----\\\\\\\\nxxxxx\\\\\\\\n-----END RSA PRIVATE KEY-----\\"\\n },\\n \\"tlsConfig\\": {\\n \\"minVersion\\": \\"TLSv1.2\\",\\n \\"cipherSuites\\": [\\n \\"\\"\\n ],\\n \\"maxVersion\\": \\"TLSv1.3\\"\\n },\\n \\"createdAt\\": \\"2025-01-10T10:30:00Z\\",\\n \\"updatedAt\\": \\"2025-01-10T11:45:00Z\\",\\n \\"domainType\\": \\"\\"\\n }\\n}","type":"json"}]',
+ 'translator' => 'manual',
+ ],
+ 'GetFlow' => [
+ 'path' => '/2025-09-10/flows/{flowName}',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREfc739PD5'],
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'flowName',
+ 'in' => 'path',
+ 'allowEmptyValue' => true,
+ 'schema' => ['title' => '', 'description' => 'Flow ID', 'type' => 'string', 'required' => true, 'example' => 'flow-1234567890abcdef'],
+ 'examples' => [],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => ['title' => '', 'description' => 'Response of getting flow details', '$ref' => '#/components/schemas/FlowResult', 'example' => ''],
+ 'examples' => [],
+ ],
+ ],
+ 'title' => 'Query Flow Orchestration Details',
+ 'summary' => 'Get flow details',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'agentrun:GetFlow',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'Flow', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:workspaces/{#workspaceName}/flows/{#flowId}'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"SUCCESS\\",\\n \\"requestId\\": \\"F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E\\",\\n \\"data\\": {\\n \\"flowId\\": \\"flow-1234567890abcdef\\",\\n \\"flowArn\\": \\"acs:agentrun:cn-hangzhou:123456789012:workspaces/ws-xxx/flows/flow-xxx\\",\\n \\"flowName\\": \\"my-flow\\",\\n \\"description\\": \\"Customer service automation flow\\",\\n \\"definition\\": \\"{}\\",\\n \\"executionRoleArn\\": \\"acs:ram::123456789012:role/FlowExecutionRole\\",\\n \\"environmentConfiguration\\": {\\n \\"variables\\": [\\n {\\n \\"name\\": \\"MY_KEY\\",\\n \\"value\\": \\"my-value\\",\\n \\"description\\": \\"A configuration key\\"\\n }\\n ]\\n },\\n \\"externalStorageLocation\\": \\"oss://bucket/path\\",\\n \\"resourceGroupId\\": \\"rg-acfmxsn4m4a4b4a\\",\\n \\"tracingConfiguration\\": {\\n \\"enabled\\": true\\n },\\n \\"loggingConfiguration\\": {\\n \\"destinations\\": [\\n {\\n \\"slsLogDestination\\": {\\n \\"project\\": \\"my-sls-project\\",\\n \\"logStore\\": \\"my-logstore\\"\\n }\\n }\\n ]\\n },\\n \\"workspaceId\\": \\"ws-1234567890abcdef\\",\\n \\"createdAt\\": \\"2025-01-10T10:30:00Z\\",\\n \\"lastUpdatedAt\\": \\"2025-01-10T11:45:00Z\\",\\n \\"disablePublicNetworkAccess\\": false\\n }\\n}","type":"json"}]',
+ 'translator' => 'machine',
+ ],
+ 'GetFlowDraft' => [
+ 'path' => '/2025-09-10/flows/{flowName}/draft',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREfc739PD5'],
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'flowName',
+ 'in' => 'path',
+ 'allowEmptyValue' => true,
+ 'schema' => ['title' => '', 'description' => 'Flow ID', 'type' => 'string', 'required' => true, 'example' => 'flow-1234567890abcdef'],
+ 'examples' => [],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => ['title' => '', 'description' => 'Result of the get structure response', '$ref' => '#/components/schemas/FlowResult', 'example' => ''],
+ 'examples' => [],
+ ],
+ ],
+ 'title' => 'Query flow draft details',
+ 'summary' => 'Get the workflow draft.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'agentrun:GetFlowDraft',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'Flow', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:workspaces/{#workspaceName}/flows/{#flowId}'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"SUCCESS\\",\\n \\"requestId\\": \\"F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E\\",\\n \\"data\\": {\\n \\"flowId\\": \\"flow-1234567890abcdef\\",\\n \\"flowArn\\": \\"acs:agentrun:cn-hangzhou:123456789012:workspaces/ws-xxx/flows/flow-xxx\\",\\n \\"flowName\\": \\"my-flow\\",\\n \\"description\\": \\"Customer service automation flow\\",\\n \\"definition\\": \\"{}\\",\\n \\"executionRoleArn\\": \\"acs:ram::123456789012:role/FlowExecutionRole\\",\\n \\"environmentConfiguration\\": {\\n \\"variables\\": [\\n {\\n \\"name\\": \\"MY_KEY\\",\\n \\"value\\": \\"my-value\\",\\n \\"description\\": \\"A configuration key\\"\\n }\\n ]\\n },\\n \\"externalStorageLocation\\": \\"oss://bucket/path\\",\\n \\"resourceGroupId\\": \\"rg-acfmxsn4m4a4b4a\\",\\n \\"tracingConfiguration\\": {\\n \\"enabled\\": true\\n },\\n \\"loggingConfiguration\\": {\\n \\"destinations\\": [\\n {\\n \\"slsLogDestination\\": {\\n \\"project\\": \\"my-sls-project\\",\\n \\"logStore\\": \\"my-logstore\\"\\n }\\n }\\n ]\\n },\\n \\"workspaceId\\": \\"ws-1234567890abcdef\\",\\n \\"createdAt\\": \\"2025-01-10T10:30:00Z\\",\\n \\"lastUpdatedAt\\": \\"2025-01-10T11:45:00Z\\",\\n \\"disablePublicNetworkAccess\\": false\\n }\\n}","type":"json"}]',
+ 'translator' => 'machine',
+ ],
+ 'GetFlowEndpoint' => [
+ 'path' => '/2025-09-10/flows/{flowName}/endpoints/{flowEndpointName}',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREfc739PD5'],
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'flowName',
+ 'in' => 'path',
+ 'allowEmptyValue' => true,
+ 'schema' => ['title' => '', 'description' => 'The workflow ID.', 'type' => 'string', 'required' => true, 'example' => 'flow-1234567890abcdef'],
+ 'examples' => [],
+ ],
+ [
+ 'name' => 'flowEndpointName',
+ 'in' => 'path',
+ 'allowEmptyValue' => true,
+ 'schema' => ['title' => '', 'description' => 'The workflow endpoint ID.', 'type' => 'string', 'required' => true, 'example' => 'fe-1234567890abcdef'],
+ 'examples' => [],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => ['title' => '', 'description' => 'The result of the retrieval struct.', '$ref' => '#/components/schemas/FlowEndpointResult', 'example' => ''],
+ 'examples' => [],
+ ],
+ ],
+ 'title' => 'Query flow invocation endpoint details',
+ 'summary' => 'Retrieves the details of a workflow endpoint.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"SUCCESS\\",\\n \\"requestId\\": \\"F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E\\",\\n \\"data\\": {\\n \\"flowId\\": \\"flow-1234567890abcdef\\",\\n \\"flowEndpointId\\": \\"fe-1234567890abcdef\\",\\n \\"flowEndpointArn\\": \\"acs:agentrun:cn-hangzhou:123456789012:workspaces/ws-xxx/flows/flow-xxx/endpoints/fe-xxx\\",\\n \\"flowEndpointName\\": \\"my-flow-endpoint\\",\\n \\"description\\": \\"Production endpoint for flow\\",\\n \\"targetVersion\\": \\"1\\",\\n \\"createdAt\\": \\"2025-01-10T10:30:00Z\\",\\n \\"lastUpdatedAt\\": \\"2025-01-10T11:45:00Z\\",\\n \\"routingConfiguration\\": [\\n {\\n \\"version\\": \\"1\\",\\n \\"weight\\": 100\\n }\\n ],\\n \\"disablePublicNetworkAccess\\": false\\n }\\n}","type":"json"}]',
+ 'translator' => 'machine',
+ ],
+ 'GetFlowVersion' => [
+ 'summary' => 'Retrieves the details of a workflow version.',
+ 'description' => 'Retrieves the details of a specific workflow version, including a complete configuration snapshot of its definition, environment variables, tracing configuration, and logging configuration.',
+ 'path' => '/2025-09-10/flows/{flowName}/versions/{flowVersion}',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREfc739PD5'],
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'flowName',
+ 'in' => 'path',
+ 'allowEmptyValue' => true,
+ 'schema' => ['title' => '', 'description' => 'The name of the workflow.', 'type' => 'string', 'required' => true, 'example' => 'my-flow'],
+ 'examples' => [],
+ ],
+ [
+ 'name' => 'flowVersion',
+ 'in' => 'path',
+ 'allowEmptyValue' => true,
+ 'schema' => ['title' => '', 'description' => 'The version number of the workflow.', 'type' => 'string', 'required' => true, 'example' => '1'],
+ 'examples' => [],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'description' => '成功响应 - 返回指定工作流版本的完整信息,包括该版本的配置快照',
+ 'schema' => ['title' => '', 'description' => 'Contains the details of the workflow version.', '$ref' => '#/components/schemas/FlowVersionResult', 'example' => ''],
+ 'examples' => [],
+ ],
+ 500 => [
+ 'schema' => ['$ref' => '#/components/schemas/ErrorResult', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ ],
+ 'title' => 'Retrieve flow version information ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'agentrun:GetFlowVersion',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'Flow', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:workspaces/{#workspaceName}/flows/{#flowId}'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"SUCCESS\\",\\n \\"requestId\\": \\"F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E\\",\\n \\"data\\": {\\n \\"flowId\\": \\"flow-1234567890abcdef\\",\\n \\"flowVersion\\": \\"1\\",\\n \\"description\\": \\"Version 1.0 - Initial release\\",\\n \\"createdAt\\": \\"2025-01-10T10:30:00Z\\",\\n \\"flowName\\": \\"\\",\\n \\"definition\\": \\"Type: StateMachine\\\\\\\\nName: my-flow\\\\\\\\n...\\",\\n \\"environmentConfiguration\\": {\\n \\"variables\\": [\\n {\\n \\"name\\": \\"MY_KEY\\",\\n \\"value\\": \\"my-value\\",\\n \\"description\\": \\"A configuration key\\"\\n }\\n ]\\n },\\n \\"externalStorageLocation\\": \\"oss://bucket/path\\",\\n \\"tracingConfiguration\\": {\\n \\"enabled\\": true\\n },\\n \\"loggingConfiguration\\": {\\n \\"destinations\\": [\\n {\\n \\"slsLogDestination\\": {\\n \\"project\\": \\"my-sls-project\\",\\n \\"logStore\\": \\"my-logstore\\"\\n }\\n }\\n ]\\n }\\n }\\n}","type":"json"}]',
+ 'translator' => 'machine',
+ ],
+ 'GetIMBot' => [
+ 'path' => '/2025-09-10/agents/im-bots/{imBotId}',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREfc739PD5'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'imBotId',
+ 'in' => 'path',
+ 'allowEmptyValue' => true,
+ 'schema' => ['description' => 'The unique identifier (UUID) of the IM Bot.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => ['description' => 'The details of the IM Bot.', '$ref' => '#/components/schemas/IMBotResult', 'title' => '', 'example' => ''],
+ ],
+ 500 => [
+ 'schema' => ['$ref' => '#/components/schemas/ErrorResult', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'summary' => 'Gets the details of a specific IM Bot.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'agentrun:GetIMBot',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'IMBot', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:workspaces/{#workspaceName}/runtimes/{#runtimeName}/im-bots/{#botName}'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"\\",\\n \\"requestId\\": \\"\\",\\n \\"data\\": {\\n \\"id\\": \\"\\",\\n \\"tenantId\\": \\"\\",\\n \\"imChannelServerResourceName\\": \\"\\",\\n \\"botBizId\\": \\"\\",\\n \\"botName\\": \\"\\",\\n \\"agentRuntimeId\\": \\"\\",\\n \\"botBizType\\": \\"\\",\\n \\"botMode\\": \\"\\",\\n \\"status\\": \\"\\",\\n \\"lastMessageTime\\": \\"\\",\\n \\"currentInstances\\": 0,\\n \\"description\\": \\"\\",\\n \\"metadata\\": {\\n \\"agentRuntimeId\\": \\"\\",\\n \\"agentRuntimeEndpointId\\": \\"\\",\\n \\"agentRuntimeEndpointUrl\\": \\"\\",\\n \\"protocolType\\": \\"\\",\\n \\"role\\": \\"\\",\\n \\"customFunctionMeta\\": \\"\\"\\n },\\n \\"createdAt\\": \\"\\",\\n \\"updatedAt\\": \\"\\"\\n }\\n}","type":"json"}]',
+ 'title' => 'GetIMBot',
+ 'translator' => 'machine',
+ ],
+ 'GetKnowledgeBase' => [
+ 'summary' => 'Gets information about a knowledge base.',
+ 'path' => '/2025-09-10/agents/knowledgebases/{knowledgeBaseName}',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREfcGRJPWY'],
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'knowledgeBaseName',
+ 'in' => 'path',
+ 'schema' => ['description' => 'The name of the knowledge base.', 'type' => 'string', 'required' => true, 'example' => 'my-knowledgebase-name', 'title' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => ['description' => 'Details of the knowledge base.', '$ref' => '#/components/schemas/KnowledgeBaseResult', 'title' => '', 'example' => ''],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ ['errorCode' => 'IdempotentParameterMismatch', 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', 'description' => ''],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'GetKnowledgeBase',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'agentrun:GetKnowledgeBase',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'Knowledgebase', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:workspaces/{#workspaceName}/knowledgebases/{#knowledgeBaseName}'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"\\",\\n \\"requestId\\": \\"\\",\\n \\"data\\": {\\n \\"knowledgeBaseId\\": \\"\\",\\n \\"knowledgeBaseName\\": \\"\\",\\n \\"description\\": \\"\\",\\n \\"provider\\": \\"\\",\\n \\"credentialName\\": \\"\\",\\n \\"createdAt\\": \\"\\",\\n \\"lastUpdatedAt\\": \\"\\",\\n \\"providerSettings\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"retrieveSettings\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"workspaceId\\": \\"\\"\\n }\\n}","type":"json"}]',
+ 'translator' => 'machine',
+ ],
+ 'GetMemoryCollection' => [
+ 'summary' => 'Retrieves details for a specific memory collection.',
+ 'path' => '/2025-09-10/agents/memory-collections/{memoryCollectionName}',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREfcUDVD99'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'memoryCollectionName',
+ 'in' => 'path',
+ 'schema' => ['description' => 'The name of the memory collection.', 'type' => 'string', 'required' => false, 'example' => 'my-memory-1', 'title' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => ['description' => 'The details of the memory collection.', '$ref' => '#/components/schemas/MemoryCollectionResult', 'title' => '', 'example' => ''],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'GetMemoryCollection',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'agentrun:GetMemoryCollection',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"\\",\\n \\"requestId\\": \\"\\",\\n \\"data\\": {\\n \\"memoryCollectionName\\": \\"\\",\\n \\"memoryCollectionId\\": \\"\\",\\n \\"description\\": \\"\\",\\n \\"llmConfig\\": {\\n \\"config\\": {\\n \\"model\\": \\"\\"\\n },\\n \\"modelServiceName\\": \\"\\"\\n },\\n \\"embedderConfig\\": {\\n \\"config\\": {\\n \\"model\\": \\"\\"\\n },\\n \\"modelServiceName\\": \\"\\"\\n },\\n \\"vectorStoreConfig\\": {\\n \\"provider\\": \\"\\",\\n \\"config\\": {\\n \\"endpoint\\": \\"\\",\\n \\"instanceName\\": \\"\\",\\n \\"vectorDimension\\": 0,\\n \\"collectionName\\": \\"\\"\\n },\\n \\"mysqlConfig\\": {\\n \\"host\\": \\"\\",\\n \\"dbName\\": \\"\\",\\n \\"collectionName\\": \\"\\",\\n \\"user\\": \\"\\",\\n \\"credentialName\\": \\"\\",\\n \\"vectorDimension\\": 0,\\n \\"port\\": 0\\n }\\n },\\n \\"networkConfiguration\\": {\\n \\"networkMode\\": \\"PRIVATE\\",\\n \\"vpcId\\": \\"vpc-1234567890abcdef0\\",\\n \\"securityGroupId\\": \\"sg-1234567890abcdef0\\",\\n \\"vswitchIds\\": [\\n \\"vsw-sg-1234567890abcdef0\\"\\n ]\\n },\\n \\"executionRoleArn\\": \\"\\",\\n \\"createdAt\\": \\"\\",\\n \\"lastUpdatedAt\\": \\"\\",\\n \\"enableConversationHistory\\": false,\\n \\"enableConversationState\\": false,\\n \\"workspaceId\\": \\"\\"\\n }\\n}","type":"json"}]',
+ 'translator' => 'machine',
+ ],
+ 'GetModelProxy' => [
+ 'summary' => 'Retrieves model governance information.',
+ 'path' => '/2025-09-10/agents/model-proxies/{modelProxyName}',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREfcGRJPWY'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'modelProxyName',
+ 'in' => 'path',
+ 'schema' => ['description' => 'The name of the model proxy.', 'type' => 'string', 'required' => true, 'example' => 'modelProxyName', 'title' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => ['description' => 'Contains the model proxy information.', '$ref' => '#/components/schemas/ModelProxyResult', 'title' => '', 'example' => ''],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'GetModelProxy',
+ 'description' => 'This operation retrieves the configuration details of a specific model proxy.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'agentrun:GetModelProxy',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'translator' => 'machine',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"\\",\\n \\"requestId\\": \\"\\",\\n \\"data\\": {\\n \\"modelProxyId\\": \\"\\",\\n \\"modelProxyName\\": \\"\\",\\n \\"description\\": \\"\\",\\n \\"modelType\\": \\"\\",\\n \\"proxyMode\\": \\"\\",\\n \\"proxyConfig\\": {\\n \\"policies\\": {\\n \\"requestTimeout\\": 0,\\n \\"numRetries\\": 0,\\n \\"cache\\": false,\\n \\"concurrencyLimit\\": 0,\\n \\"fallbacks\\": [\\n {\\n \\"modelServiceName\\": \\"\\",\\n \\"modelName\\": \\"\\"\\n }\\n ],\\n \\"tokenRateLimiter\\": {\\n \\"tps\\": 0,\\n \\"tpm\\": 0,\\n \\"tph\\": 0,\\n \\"tpd\\": 0\\n },\\n \\"aiGuardrailConfig\\": {\\n \\"checkRequest\\": false,\\n \\"checkResponse\\": false,\\n \\"level\\": \\"\\",\\n \\"maxTextLength\\": 0,\\n \\"blockOnContentModeration\\": false,\\n \\"blockOnSensitiveData\\": false,\\n \\"blockOnPromptAttack\\": false,\\n \\"blockOnMaliciousUrl\\": false,\\n \\"blockOnModelHallucination\\": false\\n }\\n },\\n \\"endpoints\\": [\\n {\\n \\"modelServiceName\\": \\"\\",\\n \\"weight\\": 0,\\n \\"baseUrl\\": \\"\\",\\n \\"modelNames\\": [\\n \\"\\"\\n ]\\n }\\n ]\\n },\\n \\"functionName\\": \\"\\",\\n \\"status\\": \\"\\",\\n \\"credentialName\\": \\"\\",\\n \\"serviceRegionId\\": \\"\\",\\n \\"endpoint\\": \\"\\",\\n \\"litellmVersion\\": \\"\\",\\n \\"cpu\\": 0,\\n \\"memory\\": 0,\\n \\"createdAt\\": \\"\\",\\n \\"lastUpdatedAt\\": \\"\\",\\n \\"networkConfiguration\\": {\\n \\"networkMode\\": \\"PRIVATE\\",\\n \\"vpcId\\": \\"vpc-1234567890abcdef0\\",\\n \\"securityGroupId\\": \\"sg-1234567890abcdef0\\",\\n \\"vswitchIds\\": [\\n \\"vsw-sg-1234567890abcdef0\\"\\n ]\\n },\\n \\"statusReason\\": \\"\\",\\n \\"logConfiguration\\": {\\n \\"project\\": \\"agent-runtime-logs\\",\\n \\"logstore\\": \\"agent-runtime-logs\\"\\n },\\n \\"executionRoleArn\\": \\"\\",\\n \\"workspaceId\\": \\"\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'GetModelService' => [
+ 'summary' => 'Retrieves the details of a specified model service.',
+ 'path' => '/2025-09-10/agents/model-services/{modelServiceName}',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREfcGRJPWY'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'modelServiceName',
+ 'in' => 'path',
+ 'schema' => ['description' => 'The name of the model service.', 'type' => 'string', 'required' => true, 'example' => 'modelServiceName', 'title' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => ['description' => 'Contains the details of the model service.', '$ref' => '#/components/schemas/ModelServiceResult', 'title' => '', 'example' => ''],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'GetModelService',
+ 'description' => 'Retrieves the details of a specified model service.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'agentrun:GetModelService',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'ModelService', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:workspaces/{#workspaceName}/model-services/{#modelServiceName}'],
+ ],
+ ],
+ ],
+ ],
+ 'translator' => 'machine',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"\\",\\n \\"requestId\\": \\"\\",\\n \\"data\\": {\\n \\"modelServiceName\\": \\"\\",\\n \\"description\\": \\"\\",\\n \\"modelType\\": \\"\\",\\n \\"provider\\": \\"\\",\\n \\"providerSettings\\": {\\n \\"baseUrl\\": \\"\\",\\n \\"apiKey\\": \\"\\",\\n \\"modelNames\\": [\\n \\"\\"\\n ]\\n },\\n \\"status\\": \\"\\",\\n \\"credentialName\\": \\"\\",\\n \\"createdAt\\": \\"\\",\\n \\"lastUpdatedAt\\": \\"\\",\\n \\"networkConfiguration\\": {\\n \\"networkMode\\": \\"PRIVATE\\",\\n \\"vpcId\\": \\"vpc-1234567890abcdef0\\",\\n \\"securityGroupId\\": \\"sg-1234567890abcdef0\\",\\n \\"vswitchIds\\": [\\n \\"vsw-sg-1234567890abcdef0\\"\\n ]\\n },\\n \\"statusReason\\": \\"\\",\\n \\"modelServiceId\\": \\"\\",\\n \\"modelInfoConfigs\\": [\\n {\\n \\"modelName\\": \\"\\",\\n \\"modelFeatures\\": {\\n \\"vision\\": true,\\n \\"agentThought\\": true,\\n \\"toolCall\\": true,\\n \\"multiToolCall\\": true,\\n \\"streamToolCall\\": true\\n },\\n \\"modelProperties\\": {\\n \\"contextSize\\": 0\\n },\\n \\"modelParameterRules\\": [\\n {\\n \\"name\\": \\"\\",\\n \\"type\\": \\"\\",\\n \\"default\\": \\"\\",\\n \\"min\\": 0,\\n \\"max\\": 0,\\n \\"required\\": true\\n }\\n ]\\n }\\n ],\\n \\"workspaceId\\": \\"\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'GetSandbox' => [
+ 'summary' => 'Retrieves the details of a specific sandbox.',
+ 'description' => 'Retrieves the details of a specific sandbox by its `sandboxId`, including its status and configuration.',
+ 'path' => '/2025-09-10/sandboxes/{sandboxId}',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREfcGRJPWY'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'sandboxId',
+ 'in' => 'path',
+ 'allowEmptyValue' => true,
+ 'schema' => ['description' => 'The unique identifier of the sandbox.', 'type' => 'string', 'required' => true, 'example' => 'sb-1234567890abcdef', 'title' => ''],
+ 'examples' => [],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'description' => '成功响应 - 返回指定沙箱的完整信息,包括状态、配置等',
+ 'schema' => ['description' => 'Contains the details of the sandbox.', '$ref' => '#/components/schemas/SandboxResult', 'title' => '', 'example' => ''],
+ 'examples' => [],
+ ],
+ 500 => [
+ 'schema' => ['$ref' => '#/components/schemas/ErrorResult', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ ],
+ 'title' => 'GetSandbox',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'agentrun:GetSandbox',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"SUCCESS\\",\\n \\"requestId\\": \\"F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E\\",\\n \\"data\\": {\\n \\"sandboxId\\": \\"01KAWBP6JQD0J3Z34BP4WMX1KG\\",\\n \\"templateId\\": \\"8d409d30-cac1-445a-95d5-476c47780336.schema\\",\\n \\"templateName\\": \\"my-template\\",\\n \\"status\\": \\"READY\\",\\n \\"createdAt\\": \\"2025-11-26T10:54:17.770719+08:00\\",\\n \\"lastUpdatedAt\\": \\"2025-11-26T10:54:17.770719+08:00\\",\\n \\"sandboxIdleTimeoutSeconds\\": 1800,\\n \\"endedAt\\": \\"2025-11-26T10:54:17.770719+08:00\\",\\n \\"sandboxArn\\": \\"acs:ram::1760720386195983:role/aliyunfcdefaultrole\\",\\n \\"sandboxIdleTTLInSeconds\\": 0,\\n \\"metadata\\": {}\\n }\\n}","type":"json"}]',
+ 'translator' => 'machine',
+ ],
+ 'GetTemplate' => [
+ 'summary' => 'Retrieves a template.',
+ 'description' => 'Retrieves the details of a template by its name. The response includes the template\'s configuration and status.',
+ 'path' => '/2025-09-10/templates/{templateName}',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREfcGRJPWY'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'templateName',
+ 'in' => 'path',
+ 'allowEmptyValue' => true,
+ 'schema' => ['description' => 'The name of the template.', 'type' => 'string', 'required' => true, 'example' => 'my-template', 'title' => ''],
+ 'examples' => [],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'description' => '成功响应 - 返回指定模板的完整信息,包括配置参数、运行状态等',
+ 'schema' => ['description' => 'Contains the details of the template.', '$ref' => '#/components/schemas/TemplateResult', 'title' => '', 'example' => ''],
+ 'examples' => [],
+ ],
+ 500 => [
+ 'schema' => ['$ref' => '#/components/schemas/ErrorResult', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ ],
+ 'title' => 'GetTemplate',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'agentrun:GetTemplate',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"SUCCESS\\",\\n \\"requestId\\": \\"F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E\\",\\n \\"data\\": {\\n \\"templateId\\": \\"996ffd5e-003f-4700-9f24-9e2a1c19019b.schema\\",\\n \\"templateName\\": \\"browser-1767874121726\\",\\n \\"templateVersion\\": \\"预留\\",\\n \\"cpu\\": 4,\\n \\"memory\\": 4096,\\n \\"templateArn\\": \\"acs:agentrun:cn-hangzhou:12345678:templates/efb6de2f-1814-42a2-b7f3-474a0e0b3a48\\",\\n \\"createdAt\\": \\"2026-01-15T17:12:59.375168+08:00\\",\\n \\"lastUpdatedAt\\": \\"2026-01-15T17:12:59.375168+08:00\\",\\n \\"status\\": \\"READY\\",\\n \\"statusReason\\": \\"SDK Error\\",\\n \\"executionRoleArn\\": \\"acs:agentrun:cn-hangzhou:12345678:templates/efb6de2f-1814-42a2-b7f3-474a0e0b3a48\\",\\n \\"templateType\\": \\"Browser\\",\\n \\"containerConfiguration\\": {\\n \\"image\\": \\"registry.cn-hangzhou.aliyuncs.com/my-namespace/agent-runtime:latest\\",\\n \\"imageRegistryType\\": \\"ACR\\",\\n \\"acrInstanceId\\": \\"cri-xxxxx\\",\\n \\"command\\": [\\n \\"/usr/local/bin/entrypoint.sh\\"\\n ],\\n \\"registryConfig\\": {\\n \\"authConfig\\": {\\n \\"userName\\": \\"admin\\",\\n \\"password\\": \\"abc***\\"\\n },\\n \\"certConfig\\": {\\n \\"insecure\\": false,\\n \\"rootCaCertBase64\\": \\"cm9vdF9jYV9jZXJ0X2Jhc2U2NA==\\"\\n },\\n \\"networkConfig\\": {\\n \\"vpcId\\": \\"vpc-xxxxxxxxxxxxx\\",\\n \\"vSwitchId\\": \\"vsw-xxxxxxxxxxxxx\\",\\n \\"securityGroupId\\": \\"sg-xxxxxxxxxxxxx\\"\\n }\\n },\\n \\"port\\": 5000\\n },\\n \\"networkConfiguration\\": {\\n \\"networkMode\\": \\"PRIVATE\\",\\n \\"vpcId\\": \\"vpc-1234567890abcdef0\\",\\n \\"securityGroupId\\": \\"sg-1234567890abcdef0\\",\\n \\"vswitchIds\\": [\\n \\"vsw-sg-1234567890abcdef0\\"\\n ]\\n },\\n \\"credentialConfiguration\\": {\\n \\"credentialName\\": \\"deepagent-key\\"\\n },\\n \\"logConfiguration\\": {\\n \\"project\\": \\"agent-runtime-logs\\",\\n \\"logstore\\": \\"agent-runtime-logs\\"\\n },\\n \\"sandboxIdleTimeoutInSeconds\\": \\"1800\\",\\n \\"sandboxTTLInSeconds\\": \\"已弃用\\",\\n \\"resourceName\\": \\"agentrun-f2570dd4-c8a2-452c-8bd5-4ef74b0a69b5\\",\\n \\"mcpOptions\\": {\\n \\"transport\\": \\"streamable-http\\",\\n \\"enabledTools\\": [\\n \\"execute_code\\"\\n ]\\n },\\n \\"mcpState\\": {\\n \\"status\\": \\"CREATING\\",\\n \\"statusReason\\": \\"SDK Error\\",\\n \\"accessEndpoint\\": \\"/mcp\\"\\n },\\n \\"diskSize\\": 10240,\\n \\"description\\": \\"template描述\\",\\n \\"allowAnonymousManage\\": true,\\n \\"nasConfig\\": {\\n \\"groupId\\": 100,\\n \\"mountPoints\\": [\\n {\\n \\"enableTLS\\": false,\\n \\"mountDir\\": \\"/home/test\\",\\n \\"serverAddr\\": \\"***-uni85.cn-hangzhou.nas.com:/\\"\\n }\\n ],\\n \\"userId\\": 100\\n },\\n \\"enableAgent\\": false,\\n \\"workspaceId\\": \\"\\",\\n \\"scalingStatus\\": {\\n \\"minInstances\\": 1,\\n \\"targetInstances\\": 2,\\n \\"currentInstances\\": 2,\\n \\"scheduledPolicies\\": [\\n {\\n \\"name\\": \\"scale-up-morning\\",\\n \\"startTime\\": \\"2024-01-01T08:00:00\\",\\n \\"endTime\\": \\"2024-01-01T08:00:00\\",\\n \\"scheduleExpression\\": \\"cron(0 8 * * ? *)\\",\\n \\"timeZone\\": \\"Asia/Shanghai\\",\\n \\"target\\": 20\\n }\\n ],\\n \\"currentError\\": \\"error\\"\\n },\\n \\"environmentVariables\\": {\\n \\"key\\": \\"{\'FCTEST_IDE_ENV\': \'IDE\'}\\"\\n },\\n \\"templateConfiguration\\": {\\n \\"key\\": \\"{\\\\\\"example\\\\\\":\\\\\\"test\\\\\\"}\\"\\n },\\n \\"ossConfiguration\\": [\\n {\\n \\"bucketName\\": \\"a-test-oss\\",\\n \\"prefix\\": \\"/\\",\\n \\"mountPoint\\": \\"/mnt/oss1\\",\\n \\"permission\\": \\"READ_WRITE\\",\\n \\"region\\": \\"ch-hangzhou\\",\\n \\"endpoint\\": \\"\\"\\n }\\n ],\\n \\"enablePreStop\\": false,\\n \\"preStopTimeoutInSeconds\\": 0\\n }\\n}","type":"json"}]',
+ 'translator' => 'manual',
+ ],
+ 'GetTool' => [
+ 'path' => '/2025-09-10/agents/tools/{toolName}',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREfcGRJPWY', 'FEATUREfcVF016G'],
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'toolName',
+ 'in' => 'path',
+ 'schema' => ['title' => '', 'description' => 'The tool name.', 'type' => 'string', 'example' => 'my-mcp-tool', 'required' => false],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'headers' => [],
+ 'schema' => ['description' => 'The tool result.', '$ref' => '#/components/schemas/ToolResult', 'title' => '', 'example' => ''],
+ 'examples' => [],
+ ],
+ ],
+ 'title' => 'Get a tool',
+ 'summary' => 'Gets a tool.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'agentrun:GetTool',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'Tool', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:workspaces/{#workspaceName}/tools/{#toolName}'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"SUCCESS\\",\\n \\"requestId\\": \\"F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E\\",\\n \\"data\\": {\\n \\"toolId\\": \\"tool-abc123\\",\\n \\"toolName\\": \\"my-mcp-tool\\",\\n \\"workspaceId\\": \\"workspace-xyz789\\",\\n \\"description\\": \\"这是一个用于处理文档的 MCP 工具\\",\\n \\"toolType\\": \\"MCP\\",\\n \\"createMethod\\": \\"MCP_REMOTE\\",\\n \\"protocolSpec\\": \\"\\",\\n \\"mcpConfig\\": {\\n \\"sessionAffinity\\": \\"MCP_STREAMABLE\\",\\n \\"sessionAffinityConfig\\": \\"\\",\\n \\"proxyEnabled\\": true,\\n \\"mcpProxyConfiguration\\": {\\n \\"hooks\\": [\\n {\\n \\"url\\": \\"\\",\\n \\"description\\": \\"\\",\\n \\"apiVersion\\": \\"\\",\\n \\"enabled\\": false,\\n \\"timeout\\": 0,\\n \\"event\\": \\"\\",\\n \\"headers\\": {\\n \\"key\\": \\"\\"\\n }\\n }\\n ]\\n },\\n \\"boundConfiguration\\": {\\n \\"boundTools\\": [\\n {\\n \\"toolName\\": \\"my-tool\\",\\n \\"method\\": \\"POST\\",\\n \\"path\\": \\"/api/v1/tools\\",\\n \\"apis\\": [\\n {\\n \\"method\\": \\"\\",\\n \\"path\\": \\"\\"\\n }\\n ]\\n }\\n ]\\n }\\n },\\n \\"status\\": \\"Running\\",\\n \\"statusReason\\": \\"\\",\\n \\"executionRoleArn\\": \\"acs:ram::123456789:role/AliyunFCDefaultRole\\",\\n \\"artifactType\\": \\"Code\\",\\n \\"networkConfiguration\\": {\\n \\"networkMode\\": \\"PRIVATE\\",\\n \\"vpcId\\": \\"vpc-1234567890abcdef0\\",\\n \\"securityGroupId\\": \\"sg-1234567890abcdef0\\",\\n \\"vswitchIds\\": [\\n \\"vsw-sg-1234567890abcdef0\\"\\n ]\\n },\\n \\"codeConfiguration\\": {\\n \\"zipFile\\": \\"UEsDBAoAAAAAANF\\",\\n \\"ossBucketName\\": \\"my-agent-code-bucket\\",\\n \\"ossObjectName\\": \\"agent-code-v1.0.zip\\",\\n \\"checksum\\": \\"1234567890123456789\\",\\n \\"language\\": \\"python3.12\\",\\n \\"command\\": [\\n \\"\\"\\n ]\\n },\\n \\"containerConfiguration\\": {\\n \\"image\\": \\"registry.cn-hangzhou.aliyuncs.com/my-namespace/agent-runtime:latest\\",\\n \\"imageRegistryType\\": \\"ACR\\",\\n \\"acrInstanceId\\": \\"cri-xxxxx\\",\\n \\"command\\": [\\n \\"/usr/local/bin/entrypoint.sh\\"\\n ],\\n \\"registryConfig\\": {\\n \\"authConfig\\": {\\n \\"userName\\": \\"admin\\",\\n \\"password\\": \\"abc***\\"\\n },\\n \\"certConfig\\": {\\n \\"insecure\\": false,\\n \\"rootCaCertBase64\\": \\"cm9vdF9jYV9jZXJ0X2Jhc2U2NA==\\"\\n },\\n \\"networkConfig\\": {\\n \\"vpcId\\": \\"vpc-xxxxxxxxxxxxx\\",\\n \\"vSwitchId\\": \\"vsw-xxxxxxxxxxxxx\\",\\n \\"securityGroupId\\": \\"sg-xxxxxxxxxxxxx\\"\\n }\\n },\\n \\"port\\": 5000\\n },\\n \\"logConfiguration\\": {\\n \\"project\\": \\"agent-runtime-logs\\",\\n \\"logstore\\": \\"agent-runtime-logs\\"\\n },\\n \\"ossMountConfig\\": {\\n \\"mountPoints\\": [\\n {\\n \\"bucketName\\": \\"my-bucket\\",\\n \\"bucketPath\\": \\"/my-dir\\",\\n \\"endpoint\\": \\"http://oss-cn-shanghai.aliyuncs.com\\",\\n \\"mountDir\\": \\"/mnt/dir\\",\\n \\"readOnly\\": true\\n }\\n ]\\n },\\n \\"nasConfig\\": {\\n \\"groupId\\": 100,\\n \\"mountPoints\\": [\\n {\\n \\"enableTLS\\": false,\\n \\"mountDir\\": \\"/home/test\\",\\n \\"serverAddr\\": \\"***-uni85.cn-hangzhou.nas.com:/\\"\\n }\\n ],\\n \\"userId\\": 100\\n },\\n \\"cpu\\": 0.5,\\n \\"memory\\": 512,\\n \\"port\\": 8080,\\n \\"createdAt\\": \\"2025-09-10T10:00:00Z\\",\\n \\"updatedAt\\": \\"2025-09-10T12:00:00Z\\",\\n \\"credentialName\\": \\"my-credential\\",\\n \\"timeout\\": 300,\\n \\"environmentVariables\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"agentIdentityEnabled\\": false,\\n \\"agentIdentityConfig\\": {\\n \\"authorizationEnabled\\": true,\\n \\"credentialProviderType\\": \\"\\",\\n \\"credentialProviderArn\\": \\"\\"\\n }\\n }\\n}","type":"json"}]',
+ ],
+ 'GetWorkspace' => [
+ 'summary' => 'Retrieves the details of a specific workspace.',
+ 'description' => 'Retrieves the details of a specific workspace.',
+ 'path' => '/2025-09-10/workspaces/{workspaceId}',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREfc739PD5'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'workspaceId',
+ 'in' => 'path',
+ 'schema' => ['description' => 'The ID of the workspace.', 'type' => 'string', 'required' => false, 'example' => 'ws-1234567890abcdef', 'title' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'description' => '成功响应 - 返回创建的智能体运行时信息,包括运行时ID、状态、配置等详细信息',
+ 'schema' => ['description' => 'The details of the workspace.', '$ref' => '#/components/schemas/WorkspaceResult', 'title' => '', 'example' => ''],
+ 'examples' => [],
+ ],
+ 500 => [
+ 'schema' => ['$ref' => '#/components/schemas/ErrorResult', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"\\",\\n \\"requestId\\": \\"\\",\\n \\"data\\": {\\n \\"workspaceId\\": \\"\\",\\n \\"workspaceArn\\": \\"\\",\\n \\"name\\": \\"\\",\\n \\"description\\": \\"\\",\\n \\"isDefault\\": false,\\n \\"resourceGroupId\\": \\"\\",\\n \\"createdAt\\": \\"\\",\\n \\"updatedAt\\": \\"\\"\\n }\\n}","type":"json"}]',
+ 'title' => 'GetWorkspace',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'agentrun:GetWorkspace',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'Workspace', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:workspaces/{#workspaceName}'],
+ ],
+ ],
+ ],
+ ],
+ 'translator' => 'machine',
+ ],
+ 'GetWorkspaceDiscoveryEndpoints' => [
+ 'summary' => 'Gets the discovery endpoints for a workspace.',
+ 'path' => '/2025-09-10/workspaces/{workspaceId}/discovery/endpoints',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREfc739PD5'],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'workspaceId',
+ 'in' => 'path',
+ 'schema' => ['description' => 'The workspace ID.', 'type' => 'string', 'required' => false, 'example' => 'ws-1234567890abcdef', 'title' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => ['description' => 'The discovery endpoint configurations.', '$ref' => '#/components/schemas/GetDiscoveryEndpointsResult', 'title' => '', 'example' => ''],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"\\",\\n \\"requestId\\": \\"\\",\\n \\"data\\": {\\n \\"credentialName\\": \\"\\",\\n \\"discoveryEndpoints\\": [\\n {\\n \\"name\\": \\"\\",\\n \\"agentEndpointConfigs\\": [\\n {\\n \\"agentName\\": \\"\\",\\n \\"endpointName\\": \\"\\",\\n \\"endpointUrl\\": \\"\\",\\n \\"customDomainUrl\\": \\"\\"\\n }\\n ],\\n \\"credentialName\\": \\"\\",\\n \\"returnAgentCredentialContent\\": false\\n }\\n ]\\n }\\n}","type":"json"}]',
+ 'title' => 'GetWorkspaceDiscoveryEndpoints',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'agentrun:GetWorkspaceDiscoveryEndpoints',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'Workspace', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:workspaces/{#workspaceName}'],
+ ],
+ ],
+ ],
+ ],
+ 'translator' => 'machine',
+ ],
+ 'ListAgentRuntimeEndpoints' => [
+ 'path' => '/2025-09-10/agents/runtimes/{agentRuntimeId}/endpoints',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREfc739PD5'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'agentRuntimeId',
+ 'in' => 'path',
+ 'allowEmptyValue' => true,
+ 'schema' => ['title' => '', 'description' => 'Agent Runtime ID', 'type' => 'string', 'required' => true, 'example' => '12345678-1234-1234-1234-123456789abc'],
+ 'examples' => [],
+ ],
+ [
+ 'name' => 'endpointName',
+ 'in' => 'query',
+ 'allowEmptyValue' => false,
+ 'schema' => ['title' => '', 'description' => 'Filter by endpoint name.', 'type' => 'string', 'required' => false, 'example' => 'my-endpoint'],
+ 'examples' => [],
+ ],
+ [
+ 'name' => 'pageNumber',
+ 'in' => 'query',
+ 'allowEmptyValue' => false,
+ 'schema' => ['title' => '', 'description' => 'Page number.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
+ 'examples' => [],
+ ],
+ [
+ 'name' => 'pageSize',
+ 'in' => 'query',
+ 'allowEmptyValue' => false,
+ 'schema' => ['title' => '', 'description' => 'Page size.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
+ 'examples' => [],
+ ],
+ [
+ 'name' => 'searchMode',
+ 'in' => 'query',
+ 'allowEmptyValue' => false,
+ 'schema' => ['title' => '', 'description' => 'Search mode.', 'type' => 'string', 'required' => false, 'example' => 'fuzzy'],
+ 'examples' => [],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => ['title' => '', 'description' => 'Result of list structure.', '$ref' => '#/components/schemas/ListAgentRuntimeEndpointsResult', 'example' => ''],
+ 'examples' => [],
+ ],
+ 500 => [
+ 'schema' => ['$ref' => '#/components/schemas/ErrorResult', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ ],
+ 'title' => 'List Agent Runtime Endpoints',
+ 'summary' => 'List Agent Runtime Endpoints',
+ 'changeSet' => [
+ ['createdAt' => '2025-11-19T05:11:43.000Z', 'description' => 'Request parameters changed'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'agentrun:ListAgentRuntimeEndpoints',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"SUCCESS\\",\\n \\"requestId\\": \\"F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E\\",\\n \\"data\\": {\\n \\"items\\": [\\n {\\n \\"agentRuntimeId\\": \\"ar-1234567890abcdef\\",\\n \\"agentRuntimeEndpointId\\": \\"are-1234567890abcdef\\",\\n \\"agentRuntimeEndpointArn\\": \\"acs:agentrun:cn-hangzhou:1760720386195983:runtime-endpoints/e56d483c-db80-4116-9ec4-25f16f5facfd\\",\\n \\"agentRuntimeEndpointName\\": \\"production-endpoint\\",\\n \\"description\\": \\"Production endpoint for customer service agent\\",\\n \\"status\\": \\"ACTIVE\\",\\n \\"statusReason\\": \\"Endpoint is active and ready\\",\\n \\"targetVersion\\": \\"LATEST\\",\\n \\"routingConfiguration\\": {\\n \\"versionWeights\\": [\\n {\\n \\"version\\": \\"\\",\\n \\"weight\\": 0\\n }\\n ]\\n },\\n \\"endpointPublicUrl\\": \\"https://ar-1234567890abcdef.cn-hangzhou.agentrun.aliyuncs.com\\",\\n \\"disablePublicNetworkAccess\\": false,\\n \\"scalingStatus\\": {\\n \\"minInstances\\": 1,\\n \\"targetInstances\\": 2,\\n \\"currentInstances\\": 2,\\n \\"scheduledPolicies\\": [\\n {\\n \\"name\\": \\"scale-up-morning\\",\\n \\"startTime\\": \\"2024-01-01T08:00:00\\",\\n \\"endTime\\": \\"2024-01-01T08:00:00\\",\\n \\"scheduleExpression\\": \\"cron(0 8 * * ? *)\\",\\n \\"timeZone\\": \\"Asia/Shanghai\\",\\n \\"target\\": 20\\n }\\n ],\\n \\"currentError\\": \\"error\\"\\n }\\n }\\n ],\\n \\"pageNumber\\": 0,\\n \\"pageSize\\": 0,\\n \\"total\\": 0\\n }\\n}","type":"json"}]',
+ 'translator' => 'machine',
+ ],
+ 'ListAgentRuntimeVersions' => [
+ 'path' => '/2025-09-10/agents/runtimes/{agentRuntimeId}/versions',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREfc739PD5'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'agentRuntimeId',
+ 'in' => 'path',
+ 'allowEmptyValue' => true,
+ 'schema' => ['title' => '', 'description' => 'The agent runtime ID.', 'type' => 'string', 'required' => true, 'example' => '12345678-1234-1234-1234-123456789abc'],
+ 'examples' => [],
+ ],
+ [
+ 'name' => 'pageNumber',
+ 'in' => 'query',
+ 'allowEmptyValue' => false,
+ 'schema' => ['title' => '', 'description' => 'The page number.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
+ 'examples' => [],
+ ],
+ [
+ 'name' => 'pageSize',
+ 'in' => 'query',
+ 'allowEmptyValue' => false,
+ 'schema' => ['title' => '', 'description' => 'The page size.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
+ 'examples' => [],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => ['title' => '', 'description' => 'The result of the list response struct.', '$ref' => '#/components/schemas/ListAgentRuntimeVersionsResult', 'example' => ''],
+ 'examples' => [],
+ ],
+ 500 => [
+ 'schema' => ['$ref' => '#/components/schemas/ErrorResult', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ ],
+ 'title' => 'Retrieve agent runtime versions',
+ 'summary' => 'Retrieves agent runtime versions.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'agentrun:ListAgentRuntimeVersions',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"SUCCESS\\",\\n \\"requestId\\": \\"F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E\\",\\n \\"data\\": {\\n \\"items\\": [\\n {\\n \\"agentRuntimeArn\\": \\"acs:agentrun:cn-hangzhou:1760720386195983:runtimes/7a1b6d39-9f8f-4ce2-b9c9-6db1b0b9e169\\",\\n \\"agentRuntimeId\\": \\"ar-1234567890abcdef\\",\\n \\"agentRuntimeName\\": \\"my-agent-runtime\\",\\n \\"agentRuntimeVersion\\": \\"LATEST\\",\\n \\"description\\": \\"Initial release with basic functionality\\",\\n \\"lastUpdatedAt\\": \\"2025-01-10T10:30:00Z\\"\\n }\\n ],\\n \\"pageNumber\\": 0,\\n \\"pageSize\\": 0,\\n \\"total\\": 0\\n }\\n}","type":"json"}]',
+ 'translator' => 'machine',
+ ],
+ 'ListAgentRuntimes' => [
+ 'path' => '/2025-09-10/agents/runtimes',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREfc739PD5'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'agentRuntimeName',
+ 'in' => 'query',
+ 'allowEmptyValue' => false,
+ 'schema' => ['title' => '', 'description' => 'Filters results by agent runtime name.', 'type' => 'string', 'required' => false, 'example' => 'my-runtime'],
+ 'examples' => [],
+ ],
+ [
+ 'name' => 'status',
+ 'in' => 'query',
+ 'allowEmptyValue' => false,
+ 'schema' => ['title' => '', 'description' => 'Filters results by status.', 'type' => 'string', 'required' => false, 'example' => 'READY,CREATING'],
+ 'examples' => [],
+ ],
+ [
+ 'name' => 'systemTags',
+ 'in' => 'query',
+ 'allowEmptyValue' => false,
+ 'schema' => ['description' => 'Filters results by system tags. Separate multiple tags with commas. Exact match is supported.', 'type' => 'string', 'required' => false, 'example' => 'acs:ecs:tag1,acs:ecs:tag2', 'title' => ''],
+ 'examples' => [],
+ ],
+ [
+ 'name' => 'pageNumber',
+ 'in' => 'query',
+ 'allowEmptyValue' => false,
+ 'schema' => ['title' => '', 'description' => 'The page number.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
+ 'examples' => [],
+ ],
+ [
+ 'name' => 'pageSize',
+ 'in' => 'query',
+ 'allowEmptyValue' => false,
+ 'schema' => ['title' => '', 'description' => 'The page size.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
+ 'examples' => [],
+ ],
+ [
+ 'name' => 'searchMode',
+ 'in' => 'query',
+ 'allowEmptyValue' => false,
+ 'schema' => ['title' => '', 'description' => 'The search mode.', 'type' => 'string', 'required' => false, 'example' => 'fuzzy'],
+ 'examples' => [],
+ ],
+ [
+ 'name' => 'resourceGroupId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'deprecated' => true, 'description' => '', 'required' => false, 'title' => '', 'example' => ''],
+ ],
+ [
+ 'name' => 'workspaceId',
+ 'in' => 'query',
+ 'allowEmptyValue' => false,
+ 'schema' => ['title' => '', 'description' => 'The workspace ID.', 'type' => 'string', 'required' => false, 'example' => 'ws-1234567890abcdef'],
+ 'examples' => [],
+ ],
+ [
+ 'name' => 'discoveryResourceGroupId',
+ 'in' => 'query',
+ 'allowEmptyValue' => false,
+ 'schema' => ['title' => '', 'description' => 'The service discovery resource group ID.', 'type' => 'string', 'deprecated' => true, 'required' => false, 'example' => 'rg-123456'],
+ 'examples' => [],
+ ],
+ [
+ 'name' => 'workspaceIds',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => ['title' => '', 'description' => 'The result struct that contains the list.', '$ref' => '#/components/schemas/ListAgentRuntimesResult', 'example' => ''],
+ 'examples' => [],
+ ],
+ 500 => [
+ 'schema' => ['$ref' => '#/components/schemas/ErrorResult', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ ],
+ 'title' => 'List agent runtimes',
+ 'summary' => 'Retrieves a list of agent runtimes.',
+ 'changeSet' => [
+ ['createdAt' => '2026-03-04T03:51:09.000Z', 'description' => 'Request parameters changed'],
+ ['createdAt' => '2026-02-11T03:31:24.000Z', 'description' => 'Request parameters changed'],
+ ['createdAt' => '2026-01-26T02:31:30.000Z', 'description' => 'Request parameters changed'],
+ ['createdAt' => '2026-01-22T02:26:27.000Z', 'description' => 'Request parameters changed'],
+ ['createdAt' => '2025-11-24T05:30:54.000Z', 'description' => 'Request parameters changed'],
+ ['createdAt' => '2025-11-19T05:11:43.000Z', 'description' => 'Request parameters changed'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'agentrun:ListAgentRuntimes',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'Agent', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:workspaces/{#workspaceName}/runtimes/*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"SUCCESS\\",\\n \\"requestId\\": \\"F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E\\",\\n \\"data\\": {\\n \\"pageNumber\\": 0,\\n \\"pageSize\\": 0,\\n \\"total\\": 0,\\n \\"items\\": [\\n {\\n \\"agentRuntimeId\\": \\"ar-1234567890abcdef\\",\\n \\"agentRuntimeName\\": \\"my-agent-runtime\\",\\n \\"agentRuntimeArn\\": \\"acs:agentrun:cn-hangzhou:1760720386195983:runtimes/7a1b6d39-9f8f-4ce2-b9c9-6db1b0b9e169\\",\\n \\"createdAt\\": \\"2025-01-10T10:30:00Z\\",\\n \\"status\\": \\"READY\\",\\n \\"statusReason\\": \\"Runtime is ready for use\\",\\n \\"lastUpdatedAt\\": \\"2025-01-10T11:45:00Z\\",\\n \\"description\\": \\"AI agent runtime for customer service automation\\",\\n \\"executionRoleArn\\": \\"acs:ram::1760720386195983:role/AgentRunExecutionRole\\",\\n \\"credentialName\\": \\"my-credential\\",\\n \\"externalAgentEndpointUrl\\": \\"https://external-agent.example.com/api\\",\\n \\"agentRuntimeVersion\\": \\"1\\",\\n \\"artifactType\\": \\"Code\\",\\n \\"codeConfiguration\\": {\\n \\"zipFile\\": \\"UEsDBAoAAAAAANF\\",\\n \\"ossBucketName\\": \\"my-agent-code-bucket\\",\\n \\"ossObjectName\\": \\"agent-code-v1.0.zip\\",\\n \\"checksum\\": \\"1234567890123456789\\",\\n \\"language\\": \\"python3.12\\",\\n \\"command\\": [\\n \\"\\"\\n ]\\n },\\n \\"containerConfiguration\\": {\\n \\"image\\": \\"registry.cn-hangzhou.aliyuncs.com/my-namespace/agent-runtime:latest\\",\\n \\"imageRegistryType\\": \\"ACR\\",\\n \\"acrInstanceId\\": \\"cri-xxxxx\\",\\n \\"command\\": [\\n \\"/usr/local/bin/entrypoint.sh\\"\\n ],\\n \\"registryConfig\\": {\\n \\"authConfig\\": {\\n \\"userName\\": \\"admin\\",\\n \\"password\\": \\"abc***\\"\\n },\\n \\"certConfig\\": {\\n \\"insecure\\": false,\\n \\"rootCaCertBase64\\": \\"cm9vdF9jYV9jZXJ0X2Jhc2U2NA==\\"\\n },\\n \\"networkConfig\\": {\\n \\"vpcId\\": \\"vpc-xxxxxxxxxxxxx\\",\\n \\"vSwitchId\\": \\"vsw-xxxxxxxxxxxxx\\",\\n \\"securityGroupId\\": \\"sg-xxxxxxxxxxxxx\\"\\n }\\n },\\n \\"port\\": 5000\\n },\\n \\"networkConfiguration\\": {\\n \\"networkMode\\": \\"PRIVATE\\",\\n \\"vpcId\\": \\"vpc-1234567890abcdef0\\",\\n \\"securityGroupId\\": \\"sg-1234567890abcdef0\\",\\n \\"vswitchIds\\": [\\n \\"vsw-sg-1234567890abcdef0\\"\\n ]\\n },\\n \\"protocolConfiguration\\": {\\n \\"type\\": \\"HTTP\\",\\n \\"protocolSettings\\": [\\n {\\n \\"type\\": \\"\\",\\n \\"name\\": \\"\\",\\n \\"config\\": \\"\\",\\n \\"path\\": \\"\\",\\n \\"pathPrefix\\": \\"\\",\\n \\"headers\\": \\"\\",\\n \\"method\\": \\"\\",\\n \\"inputBodyJsonSchema\\": \\"\\",\\n \\"outputBodyJsonSchema\\": \\"\\",\\n \\"requestContentType\\": \\"\\",\\n \\"responseContentType\\": \\"\\",\\n \\"A2AAgentCard\\": \\"\\",\\n \\"a2aAgentCard\\": \\"\\",\\n \\"a2aAgentCardUrl\\": \\"\\"\\n }\\n ]\\n },\\n \\"cpu\\": 2,\\n \\"memory\\": 2048,\\n \\"diskSize\\": 0,\\n \\"port\\": 8080,\\n \\"sessionConcurrencyLimitPerInstance\\": 100,\\n \\"logConfiguration\\": {\\n \\"project\\": \\"agent-runtime-logs\\",\\n \\"logstore\\": \\"agent-runtime-logs\\"\\n },\\n \\"healthCheckConfiguration\\": {\\n \\"httpGetUrl\\": \\"/ready\\",\\n \\"initialDelaySeconds\\": 30,\\n \\"periodSeconds\\": 30,\\n \\"timeoutSeconds\\": 3,\\n \\"failureThreshold\\": 3,\\n \\"successThreshold\\": 1\\n },\\n \\"sessionIdleTimeoutSeconds\\": 3600,\\n \\"enableSessionIsolation\\": false,\\n \\"disableOndemand\\": false,\\n \\"disableSessionAffinity\\": false,\\n \\"sessionAffinityType\\": \\"GENERATED_COOKIE\\",\\n \\"headerFieldName\\": \\"x-agentrun-session-id\\",\\n \\"resourceGroupId\\": \\"\\",\\n \\"workspaceId\\": \\"ws-1234567890abcdef\\",\\n \\"nasConfig\\": {\\n \\"groupId\\": 100,\\n \\"mountPoints\\": [\\n {\\n \\"enableTLS\\": false,\\n \\"mountDir\\": \\"/home/test\\",\\n \\"serverAddr\\": \\"***-uni85.cn-hangzhou.nas.com:/\\"\\n }\\n ],\\n \\"userId\\": 100\\n },\\n \\"ossMountConfig\\": {\\n \\"mountPoints\\": [\\n {\\n \\"bucketName\\": \\"my-bucket\\",\\n \\"bucketPath\\": \\"/my-dir\\",\\n \\"endpoint\\": \\"http://oss-cn-shanghai.aliyuncs.com\\",\\n \\"mountDir\\": \\"/mnt/dir\\",\\n \\"readOnly\\": true\\n }\\n ]\\n },\\n \\"environmentVariables\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"systemTags\\": [\\n \\"\\"\\n ],\\n \\"agentIdentityEnabled\\": \\"\\",\\n \\"agentIdentityConfig\\": {\\n \\"identityProviderName\\": \\"\\",\\n \\"workloadIdentityName\\": \\"\\"\\n },\\n \\"edition\\": \\"\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'ListBrowsers' => [
+ 'summary' => 'List Browser Sandboxes',
+ 'description' => 'Retrieves a list of all browser instances for the current user. Supports filtering by conditions such as name and status, and supports paginated queries.',
+ 'path' => '/2025-09-10/agents/browsers',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREfcGRJPWY'],
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'browserName',
+ 'in' => 'query',
+ 'allowEmptyValue' => false,
+ 'schema' => ['title' => '', 'description' => 'Filter by browser name', 'type' => 'string', 'required' => false, 'example' => 'browser'],
+ 'examples' => [],
+ ],
+ [
+ 'name' => 'pageSize',
+ 'in' => 'query',
+ 'allowEmptyValue' => false,
+ 'schema' => ['title' => '', 'description' => 'Page size', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
+ 'examples' => [],
+ ],
+ [
+ 'name' => 'pageNumber',
+ 'in' => 'query',
+ 'allowEmptyValue' => false,
+ 'schema' => ['title' => '', 'description' => 'Page number', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
+ 'examples' => [],
+ ],
+ [
+ 'name' => 'status',
+ 'in' => 'query',
+ 'allowEmptyValue' => true,
+ 'schema' => ['title' => '', 'description' => 'Filter by status', 'type' => 'string', 'required' => false, 'example' => 'CREATING'],
+ 'examples' => [],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'description' => '成功响应 - 返回浏览器实例列表,包含分页信息和实例详情',
+ 'schema' => ['title' => '', 'description' => 'Result of list structure', '$ref' => '#/components/schemas/ListBrowsersResult', 'example' => ''],
+ 'examples' => [],
+ ],
+ ],
+ 'title' => 'List Browser Sandboxes',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'agentrun:ListBrowsers',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"SUCCESS\\",\\n \\"requestId\\": \\"F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E\\",\\n \\"data\\": {\\n \\"pageNumber\\": 0,\\n \\"pageSize\\": 0,\\n \\"total\\": 0,\\n \\"items\\": [\\n {\\n \\"browserId\\": \\"browser-1234567890abcdef\\",\\n \\"browserName\\": \\"my-browser\\",\\n \\"description\\": \\"Web automation browser for testing\\",\\n \\"status\\": \\"READY\\",\\n \\"statusReason\\": \\"Browser is ready for use\\",\\n \\"createdAt\\": \\"2025-01-10T10:30:00Z\\",\\n \\"lastUpdatedAt\\": \\"2025-01-10T11:45:00Z\\",\\n \\"executionRoleArn\\": \\"acs:ram::1760720386195983:role/BrowserExecutionRole\\",\\n \\"networkConfiguration\\": {\\n \\"networkMode\\": \\"PRIVATE\\",\\n \\"vpcId\\": \\"vpc-1234567890abcdef0\\",\\n \\"securityGroupId\\": \\"sg-1234567890abcdef0\\",\\n \\"vswitchIds\\": [\\n \\"vsw-sg-1234567890abcdef0\\"\\n ]\\n },\\n \\"recording\\": {\\n \\"enabled\\": false,\\n \\"ossLocation\\": {\\n \\"bucket\\": \\"\\",\\n \\"prefix\\": \\"\\"\\n }\\n },\\n \\"memory\\": 2048,\\n \\"credentialId\\": \\"cred-1234567890abcdef\\",\\n \\"cpu\\": 2,\\n \\"tenantId\\": \\"tenant-1234567890abcdef\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
+ 'translator' => 'machine',
+ ],
+ 'ListCodeInterpreters' => [
+ 'summary' => 'List Code Interpreters',
+ 'description' => 'Retrieve a list of all code interpreter instances for the current user, with support for filtering by name and pagination.',
+ 'path' => '/2025-09-10/agents/code-interpreters',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREfcGRJPWY'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'codeInterpreterName',
+ 'in' => 'query',
+ 'allowEmptyValue' => false,
+ 'schema' => ['title' => '', 'description' => 'Filter by code interpreter name', 'type' => 'string', 'required' => false, 'example' => 'code'],
+ 'examples' => [],
+ ],
+ [
+ 'name' => 'pageNumber',
+ 'in' => 'query',
+ 'allowEmptyValue' => false,
+ 'schema' => ['title' => '', 'description' => 'Page number', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'default' => '1', 'example' => '1'],
+ 'examples' => [],
+ ],
+ [
+ 'name' => 'pageSize',
+ 'in' => 'query',
+ 'allowEmptyValue' => false,
+ 'schema' => ['title' => '', 'description' => 'Page size', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'default' => '20', 'example' => '10'],
+ 'examples' => [],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'description' => '成功响应 - 返回代码解释器实例列表,包含分页信息和实例详情',
+ 'schema' => ['title' => '', 'description' => 'Result of list structure', '$ref' => '#/components/schemas/ListCodeInterpretersResult', 'example' => ''],
+ 'examples' => [],
+ ],
+ ],
+ 'title' => 'List Code Interpreters',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'agentrun:ListCodeInterpreters',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"SUCCESS\\",\\n \\"requestId\\": \\"F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E\\",\\n \\"data\\": {\\n \\"pageNumber\\": 0,\\n \\"pageSize\\": 0,\\n \\"total\\": 0,\\n \\"items\\": [\\n {\\n \\"codeInterpreterId\\": \\"ci-1234567890abcdef\\",\\n \\"codeInterpreterName\\": \\"my-code-interpreter\\",\\n \\"description\\": \\"Python code interpreter for data analysis\\",\\n \\"executionRoleArn\\": \\"acs:ram::1760720386195983:role/CodeInterpreterExecutionRole\\",\\n \\"createdAt\\": \\"2025-01-10T10:30:00Z\\",\\n \\"lastUpdatedAt\\": \\"2025-01-10T11:45:00Z\\",\\n \\"status\\": \\"READY\\",\\n \\"statusReason\\": \\"Code interpreter is ready for use\\",\\n \\"networkConfiguration\\": {\\n \\"networkMode\\": \\"PRIVATE\\",\\n \\"vpcId\\": \\"vpc-1234567890abcdef0\\",\\n \\"securityGroupId\\": \\"sg-1234567890abcdef0\\",\\n \\"vswitchIds\\": [\\n \\"vsw-sg-1234567890abcdef0\\"\\n ]\\n },\\n \\"memory\\": 2048,\\n \\"cpu\\": 2,\\n \\"tenantId\\": \\"tenant-1234567890abcdef\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
+ 'translator' => 'machine',
+ ],
+ 'ListCredentials' => [
+ 'path' => '/2025-09-10/agents/credentials',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREfcGRJPWY', 'FEATUREfcVF016G'],
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'pageSize',
+ 'in' => 'query',
+ 'allowEmptyValue' => true,
+ 'schema' => ['description' => 'The number of credentials to return per page.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '0', 'title' => ''],
+ 'examples' => [],
+ ],
+ [
+ 'name' => 'pageNumber',
+ 'in' => 'query',
+ 'allowEmptyValue' => true,
+ 'schema' => ['description' => 'The page number of the results to return.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''],
+ 'examples' => [],
+ ],
+ [
+ 'name' => 'credentialAuthType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Filters the results by credential type.',
+ 'type' => 'string',
+ 'enum' => ['jwt', 'api_key', 'basic', 'ak_sk', 'custom_header'],
+ 'required' => false,
+ 'example' => 'credentialAuthType',
+ 'title' => '',
+ ],
+ ],
+ [
+ 'name' => 'credentialSourceType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Filters the results by credential source type.',
+ 'type' => 'string',
+ 'required' => false,
+ 'enum' => ['internal', 'external', 'external_llm', 'external_tool'],
+ 'example' => 'credentialSourceType',
+ 'title' => '',
+ ],
+ ],
+ [
+ 'name' => 'credentialName',
+ 'in' => 'query',
+ 'schema' => ['description' => 'Filters the results by credential name.', 'type' => 'string', 'required' => false, 'example' => 'credentialName', 'title' => ''],
+ ],
+ [
+ 'name' => 'provider',
+ 'in' => 'query',
+ 'schema' => ['description' => 'Filters the results by provider.', 'type' => 'string', 'required' => false, 'example' => 'Aliyun', 'title' => ''],
+ ],
+ [
+ 'name' => 'enabled',
+ 'in' => 'query',
+ 'schema' => ['description' => 'Filters the results based on the credential\'s enabled status.', 'type' => 'boolean', 'required' => false, 'example' => 'False', 'title' => ''],
+ ],
+ [
+ 'name' => 'workspaceId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'Unique identifier of the workspace', 'title' => '', 'type' => 'string', 'required' => false, 'example' => 'ws-1'],
+ ],
+ [
+ 'name' => 'workspaceIds',
+ 'in' => 'query',
+ 'schema' => ['description' => 'Multiple workspace identifiers', 'title' => '', 'type' => 'string', 'required' => false, 'example' => 'ws-1,ws-2'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'headers' => [],
+ 'schema' => ['description' => 'The response body, which contains the list of credentials and pagination details.', '$ref' => '#/components/schemas/ListCredentialsResult', 'title' => '', 'example' => ''],
+ 'examples' => [],
+ ],
+ ],
+ 'title' => 'ListCredentials',
+ 'summary' => 'Lists all credentials.',
+ 'description' => 'Lists the credentials in your account. This operation supports filtering and pagination.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'agentrun:ListCredentials',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'Credential', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:workspaces/{#workspaceName}/credentials/*'],
+ ],
+ ],
+ ],
+ ],
+ 'translator' => 'machine',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"\\",\\n \\"requestId\\": \\"\\",\\n \\"data\\": {\\n \\"total\\": \\"\\",\\n \\"pageSize\\": \\"\\",\\n \\"pageNumber\\": \\"\\",\\n \\"items\\": [\\n {\\n \\"credentialId\\": \\"\\",\\n \\"credentialName\\": \\"\\",\\n \\"credentialAuthType\\": \\"\\",\\n \\"credentialSourceType\\": \\"\\",\\n \\"enabled\\": false,\\n \\"createdAt\\": \\"\\",\\n \\"updatedAt\\": \\"\\",\\n \\"relatedResourceCount\\": 0,\\n \\"description\\": \\"\\",\\n \\"workspaceId\\": \\"\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'ListCustomDomains' => [
+ 'path' => '/2025-09-10/agents/custom-domains',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREfcGRJPWY', 'FEATUREfcVF016G'],
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'pageSize',
+ 'in' => 'query',
+ 'allowEmptyValue' => true,
+ 'schema' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20', 'title' => ''],
+ 'examples' => [],
+ ],
+ [
+ 'name' => 'pageNumber',
+ 'in' => 'query',
+ 'allowEmptyValue' => true,
+ 'schema' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''],
+ 'examples' => [],
+ ],
+ [
+ 'name' => 'domainName',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The custom domain name.', 'type' => 'string', 'required' => false, 'example' => 'mydomain.com', 'title' => ''],
+ ],
+ [
+ 'name' => 'resourceName',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The name of the resource associated with the custom domain.', 'type' => 'string', 'required' => false, 'example' => 'agent-1', 'title' => ''],
+ ],
+ [
+ 'name' => 'resourceType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The type of the resource associated with the custom domain.',
+ 'enumValueTitles' => ['runtime' => 'runtime'],
+ 'type' => 'string',
+ 'enum' => ['runtime', 'litellm', 'template', 'tool'],
+ 'required' => false,
+ 'example' => 'runtime',
+ 'title' => '',
+ ],
+ ],
+ [
+ 'name' => 'domainType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The domain type used for filtering. Valid values: STANDARD and SANDBOX.',
+ 'type' => 'string',
+ 'enum' => ['STANDARD', 'SANDBOX'],
+ 'title' => '',
+ 'required' => false,
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'headers' => [],
+ 'schema' => ['description' => 'A paginated list of custom domains.', '$ref' => '#/components/schemas/ListCustomDomainsResult', 'title' => '', 'example' => ''],
+ 'examples' => [],
+ ],
+ ],
+ 'title' => 'ListCustomDomains',
+ 'summary' => 'Lists custom domains.',
+ 'changeSet' => [
+ ['createdAt' => '2026-03-04T08:03:02.000Z', 'description' => 'Request parameters changed'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'agentrun:ListCustomDomains',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"\\",\\n \\"requestId\\": \\"\\",\\n \\"data\\": {\\n \\"pageSize\\": 0,\\n \\"pageNumber\\": 0,\\n \\"total\\": 0,\\n \\"items\\": [\\n {\\n \\"domainName\\": \\"example.com\\",\\n \\"description\\": \\"\\",\\n \\"protocol\\": \\"HTTP\\",\\n \\"routeConfig\\": {\\n \\"routes\\": [\\n {\\n \\"path\\": \\"/login\\",\\n \\"resourceName\\": \\"\\",\\n \\"resourceType\\": \\"runtime\\",\\n \\"agentRuntimeEndpointName\\": \\"\\",\\n \\"compatibleProtocol\\": \\"native\\",\\n \\"flowEndpointName\\": \\"Default\\",\\n \\"methods\\": [\\n \\"\\"\\n ],\\n \\"removeBasePathOnForward\\": false\\n }\\n ]\\n },\\n \\"certConfig\\": {\\n \\"certName\\": \\"my-cert\\",\\n \\"certificate\\": \\"-----BEGIN CERTIFICATE-----\\\\\\\\nxxxxx\\\\\\\\n-----END CERTIFICATE-----\\",\\n \\"privateKey\\": \\"-----BEGIN RSA PRIVATE KEY-----\\\\\\\\nxxxxx\\\\\\\\n-----END RSA PRIVATE KEY-----\\"\\n },\\n \\"tlsConfig\\": {\\n \\"minVersion\\": \\"TLSv1.2\\",\\n \\"cipherSuites\\": [\\n \\"\\"\\n ],\\n \\"maxVersion\\": \\"TLSv1.3\\"\\n },\\n \\"createdAt\\": \\"2025-01-10T10:30:00Z\\",\\n \\"updatedAt\\": \\"2025-01-10T11:45:00Z\\",\\n \\"domainType\\": \\"\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
+ 'translator' => 'machine',
+ ],
+ 'ListFlowEndpoints' => [
+ 'summary' => 'List workflow endpoints.',
+ 'description' => 'Retrieve all endpoints for a specified workflow, with pagination support.',
+ 'path' => '/2025-09-10/flows/{flowId}/endpoints',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREfc739PD5'],
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'flowId',
+ 'in' => 'path',
+ 'allowEmptyValue' => true,
+ 'schema' => ['title' => '', 'description' => 'The workflow ID.', 'type' => 'string', 'required' => true, 'example' => 'flow-1234567890abcdef'],
+ 'examples' => [],
+ ],
+ [
+ 'name' => 'pageNumber',
+ 'in' => 'query',
+ 'allowEmptyValue' => false,
+ 'schema' => ['title' => '', 'description' => 'The page number.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
+ 'examples' => [],
+ ],
+ [
+ 'name' => 'pageSize',
+ 'in' => 'query',
+ 'allowEmptyValue' => false,
+ 'schema' => ['title' => '', 'description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
+ 'examples' => [],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'description' => '成功响应 - 返回工作流端点列表,包含分页信息',
+ 'schema' => ['title' => '', 'description' => 'The result of the endpoint list structure.', '$ref' => '#/components/schemas/ListFlowEndpointsResult', 'example' => ''],
+ 'examples' => [],
+ ],
+ 500 => [
+ 'schema' => ['$ref' => '#/components/schemas/ErrorResult', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ ],
+ 'title' => 'ListFlowEndpoints',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'agentrun:ListFlowEndpoints',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"SUCCESS\\",\\n \\"requestId\\": \\"F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E\\",\\n \\"data\\": {\\n \\"pageNumber\\": 0,\\n \\"pageSize\\": 0,\\n \\"total\\": 0,\\n \\"items\\": [\\n {\\n \\"flowId\\": \\"flow-1234567890abcdef\\",\\n \\"flowEndpointId\\": \\"fe-1234567890abcdef\\",\\n \\"flowEndpointArn\\": \\"acs:agentrun:cn-hangzhou:123456789012:workspaces/ws-xxx/flows/flow-xxx/endpoints/fe-xxx\\",\\n \\"flowEndpointName\\": \\"my-flow-endpoint\\",\\n \\"description\\": \\"Production endpoint for flow\\",\\n \\"targetVersion\\": \\"1\\",\\n \\"createdAt\\": \\"2025-01-10T10:30:00Z\\",\\n \\"lastUpdatedAt\\": \\"2025-01-10T11:45:00Z\\",\\n \\"routingConfiguration\\": [\\n {\\n \\"version\\": \\"1\\",\\n \\"weight\\": 100\\n }\\n ],\\n \\"disablePublicNetworkAccess\\": false\\n }\\n ]\\n }\\n}","type":"json"}]',
+ 'translator' => 'machine',
+ ],
+ 'ListFlowVersions' => [
+ 'summary' => 'Lists the versions of a flow.',
+ 'description' => 'Returns a paginated list of all versions for a specified flow.',
+ 'path' => '/2025-09-10/flows/{flowName}/versions',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREfc739PD5'],
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'flowName',
+ 'in' => 'path',
+ 'allowEmptyValue' => true,
+ 'schema' => ['title' => '', 'description' => 'The flow ID.', 'type' => 'string', 'required' => true, 'example' => 'flow-1234567890abcdef'],
+ 'examples' => [],
+ ],
+ [
+ 'name' => 'pageNumber',
+ 'in' => 'query',
+ 'allowEmptyValue' => false,
+ 'schema' => ['title' => '', 'description' => 'The page number.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
+ 'examples' => [],
+ ],
+ [
+ 'name' => 'pageSize',
+ 'in' => 'query',
+ 'allowEmptyValue' => false,
+ 'schema' => ['title' => '', 'description' => 'The page size.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
+ 'examples' => [],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'description' => '成功响应 - 返回工作流版本列表,包含分页信息',
+ 'schema' => ['title' => '', 'description' => 'The paginated list of flow versions.', '$ref' => '#/components/schemas/ListFlowVersionsResult', 'example' => ''],
+ 'examples' => [],
+ ],
+ 500 => [
+ 'schema' => ['$ref' => '#/components/schemas/ErrorResult', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ ],
+ 'title' => 'Retrieve flow version list ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'agentrun:ListFlowVersions',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'Flow', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:workspaces/{#workspaceName}/flows/{#flowId}'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"SUCCESS\\",\\n \\"requestId\\": \\"F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E\\",\\n \\"data\\": {\\n \\"pageNumber\\": 0,\\n \\"pageSize\\": 0,\\n \\"total\\": 0,\\n \\"items\\": [\\n {\\n \\"flowId\\": \\"flow-1234567890abcdef\\",\\n \\"flowVersion\\": \\"1\\",\\n \\"description\\": \\"Version 1.0 - Initial release\\",\\n \\"createdAt\\": \\"2025-01-10T10:30:00Z\\",\\n \\"flowName\\": \\"\\",\\n \\"definition\\": \\"Type: StateMachine\\\\\\\\nName: my-flow\\\\\\\\n...\\",\\n \\"environmentConfiguration\\": {\\n \\"variables\\": [\\n {\\n \\"name\\": \\"MY_KEY\\",\\n \\"value\\": \\"my-value\\",\\n \\"description\\": \\"A configuration key\\"\\n }\\n ]\\n },\\n \\"externalStorageLocation\\": \\"oss://bucket/path\\",\\n \\"tracingConfiguration\\": {\\n \\"enabled\\": true\\n },\\n \\"loggingConfiguration\\": {\\n \\"destinations\\": [\\n {\\n \\"slsLogDestination\\": {\\n \\"project\\": \\"my-sls-project\\",\\n \\"logStore\\": \\"my-logstore\\"\\n }\\n }\\n ]\\n }\\n }\\n ]\\n }\\n}","type":"json"}]',
+ 'translator' => 'machine',
+ ],
+ 'ListFlows' => [
+ 'path' => '/2025-09-10/flows',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREfc739PD5'],
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'flowName',
+ 'in' => 'query',
+ 'allowEmptyValue' => false,
+ 'schema' => ['title' => '', 'description' => 'Filter by flow name', 'type' => 'string', 'required' => false, 'example' => 'my-flow'],
+ 'examples' => [],
+ ],
+ [
+ 'name' => 'workspaceId',
+ 'in' => 'query',
+ 'allowEmptyValue' => false,
+ 'schema' => ['title' => '', 'description' => 'Workspace ID', 'type' => 'string', 'required' => false, 'example' => 'ws-1234567890abcdef'],
+ 'examples' => [],
+ ],
+ [
+ 'name' => 'workspaceIds',
+ 'in' => 'query',
+ 'schema' => ['description' => 'List of workspace IDs', 'type' => 'string', 'required' => false, 'example' => 'ws-1234567890abcdef,ws-1234567890bcdefg', 'title' => ''],
+ ],
+ [
+ 'name' => 'pageNumber',
+ 'in' => 'query',
+ 'allowEmptyValue' => false,
+ 'schema' => ['title' => '', 'description' => 'Page number', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
+ 'examples' => [],
+ ],
+ [
+ 'name' => 'pageSize',
+ 'in' => 'query',
+ 'allowEmptyValue' => false,
+ 'schema' => ['title' => '', 'description' => 'Page size', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
+ 'examples' => [],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => ['title' => '', 'description' => 'Result of list structure response', '$ref' => '#/components/schemas/ListFlowsResult', 'example' => ''],
+ 'examples' => [],
+ ],
+ 500 => [
+ 'schema' => ['$ref' => '#/components/schemas/ErrorResult', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ ],
+ 'title' => 'Get flow list',
+ 'summary' => 'List flows',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'agentrun:ListFlows',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'Flow', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:workspaces/{#workspaceName}/flows/*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"SUCCESS\\",\\n \\"requestId\\": \\"F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E\\",\\n \\"data\\": {\\n \\"pageNumber\\": 0,\\n \\"pageSize\\": 0,\\n \\"total\\": 0,\\n \\"items\\": [\\n {\\n \\"flowId\\": \\"flow-1234567890abcdef\\",\\n \\"flowArn\\": \\"acs:agentrun:cn-hangzhou:123456789012:workspaces/ws-xxx/flows/flow-xxx\\",\\n \\"flowName\\": \\"my-flow\\",\\n \\"description\\": \\"Customer service automation flow\\",\\n \\"definition\\": \\"{}\\",\\n \\"executionRoleArn\\": \\"acs:ram::123456789012:role/FlowExecutionRole\\",\\n \\"environmentConfiguration\\": {\\n \\"variables\\": [\\n {\\n \\"name\\": \\"MY_KEY\\",\\n \\"value\\": \\"my-value\\",\\n \\"description\\": \\"A configuration key\\"\\n }\\n ]\\n },\\n \\"externalStorageLocation\\": \\"oss://bucket/path\\",\\n \\"resourceGroupId\\": \\"rg-acfmxsn4m4a4b4a\\",\\n \\"tracingConfiguration\\": {\\n \\"enabled\\": true\\n },\\n \\"loggingConfiguration\\": {\\n \\"destinations\\": [\\n {\\n \\"slsLogDestination\\": {\\n \\"project\\": \\"my-sls-project\\",\\n \\"logStore\\": \\"my-logstore\\"\\n }\\n }\\n ]\\n },\\n \\"workspaceId\\": \\"ws-1234567890abcdef\\",\\n \\"createdAt\\": \\"2025-01-10T10:30:00Z\\",\\n \\"lastUpdatedAt\\": \\"2025-01-10T11:45:00Z\\",\\n \\"disablePublicNetworkAccess\\": false\\n }\\n ]\\n }\\n}","type":"json"}]',
+ 'translator' => 'machine',
+ ],
+ 'ListIMBots' => [
+ 'summary' => 'Retrieves a paginated list of IM bots.',
+ 'description' => 'Send a GET request to the `/2025-09-10/agents/im-bots` endpoint to retrieve a paginated list of IM bots. Use the `botName`, `agentRuntimeId`, `botBizType`, and `status` query parameters to filter the results. For pagination, the `pageNumber` defaults to 1 and the `pageSize` defaults to 20, with a maximum of 100.',
+ 'path' => '/2025-09-10/agents/im-bots',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREfc739PD5'],
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'pageNumber',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The page number. Must be greater than or equal to 1. Default: 1.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'title' => '', 'example' => ''],
+ ],
+ [
+ 'name' => 'pageSize',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The number of entries per page. Valid values: 1–100. Default: 20.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'title' => '', 'example' => ''],
+ ],
+ [
+ 'name' => 'botName',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The name of the IM bot. The system performs a case-insensitive substring search.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''],
+ ],
+ [
+ 'name' => 'agentRuntimeId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The ID of the agent runtime.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''],
+ ],
+ [
+ 'name' => 'botBizType',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The business type of the bot.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''],
+ ],
+ [
+ 'name' => 'status',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The status of the bot.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'description' => '成功响应 data 为分页对象',
+ 'schema' => ['description' => 'The response data, which contains the list of IM bots and pagination details.', '$ref' => '#/components/schemas/ListIMBotsResult', 'title' => '', 'example' => ''],
+ ],
+ 500 => [
+ 'schema' => ['$ref' => '#/components/schemas/ErrorResult', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'agentrun:ListIMBots',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"\\",\\n \\"requestId\\": \\"\\",\\n \\"data\\": {\\n \\"items\\": [\\n {\\n \\"id\\": \\"\\",\\n \\"tenantId\\": \\"\\",\\n \\"imChannelServerResourceName\\": \\"\\",\\n \\"botBizId\\": \\"\\",\\n \\"botName\\": \\"\\",\\n \\"agentRuntimeId\\": \\"\\",\\n \\"botBizType\\": \\"\\",\\n \\"botMode\\": \\"\\",\\n \\"status\\": \\"\\",\\n \\"lastMessageTime\\": \\"\\",\\n \\"currentInstances\\": 0,\\n \\"description\\": \\"\\",\\n \\"metadata\\": {\\n \\"agentRuntimeId\\": \\"\\",\\n \\"agentRuntimeEndpointId\\": \\"\\",\\n \\"agentRuntimeEndpointUrl\\": \\"\\",\\n \\"protocolType\\": \\"\\",\\n \\"role\\": \\"\\",\\n \\"customFunctionMeta\\": \\"\\"\\n },\\n \\"createdAt\\": \\"\\",\\n \\"updatedAt\\": \\"\\"\\n }\\n ],\\n \\"pageNumber\\": 0,\\n \\"pageSize\\": 0,\\n \\"total\\": 0\\n }\\n}","type":"json"}]',
+ 'title' => 'ListIMBots',
+ 'translator' => 'machine',
+ ],
+ 'ListKnowledgeBases' => [
+ 'summary' => 'Lists the knowledge bases in your account.',
+ 'path' => '/2025-09-10/agents/knowledgebases',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREfcGRJPWY'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'provider',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The knowledge base provider.', 'type' => 'string', 'required' => false, 'example' => 'bailian', 'title' => ''],
+ ],
+ [
+ 'name' => 'pageNumber',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The page number to return. The value must be 1 or greater. The default value is 1.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''],
+ ],
+ [
+ 'name' => 'pageSize',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The number of results to return per page. The default value is 20.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20', 'title' => ''],
+ ],
+ [
+ 'name' => 'workspaceId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'example' => '1e546db8-bd93-5a52-9be1-5a1351cdac95', 'title' => '', 'description' => ''],
+ ],
+ [
+ 'name' => 'workspaceIds',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'example' => '1e546db8-bd93-5a52-9be1-5a1351cdac95,1e546db8-bd93-5a52-9be1-5a1351caass4', 'title' => '', 'description' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => ['description' => 'Contains a list of knowledge bases and pagination details.', '$ref' => '#/components/schemas/ListKnowledgeBasesResult', 'title' => '', 'example' => ''],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'ListKnowledgeBases',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'agentrun:ListKnowledgeBases',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'Knowledgebase', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:workspaces/{#workspaceName}/knowledgebases/*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"\\",\\n \\"requestId\\": \\"\\",\\n \\"data\\": {\\n \\"pageNumber\\": 0,\\n \\"pageSize\\": 0,\\n \\"total\\": 0,\\n \\"items\\": [\\n {\\n \\"knowledgeBaseId\\": \\"\\",\\n \\"knowledgeBaseName\\": \\"\\",\\n \\"description\\": \\"\\",\\n \\"provider\\": \\"\\",\\n \\"credentialName\\": \\"\\",\\n \\"createdAt\\": \\"\\",\\n \\"lastUpdatedAt\\": \\"\\",\\n \\"providerSettings\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"retrieveSettings\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"workspaceId\\": \\"\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
+ 'translator' => 'machine',
+ ],
+ 'ListMemoryCollections' => [
+ 'path' => '/2025-09-10/agents/memory-collections',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREfcUDVD99'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'pageNumber',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The page number. Defaults to 1.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''],
+ ],
+ [
+ 'name' => 'pageSize',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The number of entries to return per page. Defaults to 20.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20', 'title' => ''],
+ ],
+ [
+ 'name' => 'status',
+ 'in' => 'query',
+ 'schema' => ['description' => 'Filters the results by memory collection status.', 'type' => 'string', 'required' => false, 'example' => 'READY', 'title' => ''],
+ ],
+ [
+ 'name' => 'type',
+ 'in' => 'query',
+ 'schema' => ['description' => 'Filters the results by memory collection type.', 'type' => 'string', 'required' => false, 'example' => 'mem0', 'title' => ''],
+ ],
+ [
+ 'name' => 'memoryCollectionName',
+ 'in' => 'query',
+ 'schema' => ['description' => 'Filters the results by memory collection name.', 'type' => 'string', 'required' => false, 'example' => 'my-memory-1', 'title' => ''],
+ ],
+ [
+ 'name' => 'workspaceId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The ID of the workspace to filter by.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''],
+ ],
+ [
+ 'name' => 'workspaceIds',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The IDs of the workspaces to filter by, provided as a comma-separated string.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => ['description' => 'Contains the paginated list of memory collections and pagination details.', '$ref' => '#/components/schemas/ListMemoryCollectionsResult', 'title' => '', 'example' => ''],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'ListMemoryCollections',
+ 'summary' => 'Returns a paginated list of memory collections.',
+ 'changeSet' => [
+ ['createdAt' => '2026-03-11T12:12:47.000Z', 'description' => 'Request parameters changed'],
+ ['createdAt' => '2026-03-04T03:29:50.000Z', 'description' => 'Request parameters changed'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'agentrun:ListMemoryCollections',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"\\",\\n \\"requestId\\": \\"\\",\\n \\"data\\": {\\n \\"pageNumber\\": 0,\\n \\"pageSize\\": 0,\\n \\"total\\": 0,\\n \\"items\\": [\\n {\\n \\"memoryCollectionName\\": \\"\\",\\n \\"memoryCollectionId\\": \\"\\",\\n \\"description\\": \\"\\",\\n \\"llmConfig\\": {\\n \\"config\\": {\\n \\"model\\": \\"\\"\\n },\\n \\"modelServiceName\\": \\"\\"\\n },\\n \\"embedderConfig\\": {\\n \\"config\\": {\\n \\"model\\": \\"\\"\\n },\\n \\"modelServiceName\\": \\"\\"\\n },\\n \\"vectorStoreConfig\\": {\\n \\"provider\\": \\"\\",\\n \\"config\\": {\\n \\"endpoint\\": \\"\\",\\n \\"instanceName\\": \\"\\",\\n \\"vectorDimension\\": 0,\\n \\"collectionName\\": \\"\\"\\n },\\n \\"mysqlConfig\\": {\\n \\"host\\": \\"\\",\\n \\"dbName\\": \\"\\",\\n \\"collectionName\\": \\"\\",\\n \\"user\\": \\"\\",\\n \\"credentialName\\": \\"\\",\\n \\"vectorDimension\\": 0,\\n \\"port\\": 0\\n }\\n },\\n \\"networkConfiguration\\": {\\n \\"networkMode\\": \\"PRIVATE\\",\\n \\"vpcId\\": \\"vpc-1234567890abcdef0\\",\\n \\"securityGroupId\\": \\"sg-1234567890abcdef0\\",\\n \\"vswitchIds\\": [\\n \\"vsw-sg-1234567890abcdef0\\"\\n ]\\n },\\n \\"executionRoleArn\\": \\"\\",\\n \\"createdAt\\": \\"\\",\\n \\"lastUpdatedAt\\": \\"\\",\\n \\"enableConversationHistory\\": false,\\n \\"enableConversationState\\": false,\\n \\"workspaceId\\": \\"\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
+ 'translator' => 'machine',
+ ],
+ 'ListModelProviders' => [
+ 'path' => '/2025-09-10/agents/model-providers',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREfcGRJPWY'],
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'modelType',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The model type to filter by. Valid values:'."\n"
+ ."\n"
+ .'- `system`: A system model.'."\n"
+ ."\n"
+ .'- `deployment`: A custom deployment model.', 'type' => 'string', 'required' => false, 'example' => 'pop', 'title' => ''],
+ ],
+ [
+ 'name' => 'provider',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The cloud provider. To specify Alibaba Cloud, use the value \'Aliyun\'.', 'type' => 'string', 'required' => false, 'example' => 'Aliyun', 'title' => ''],
+ ],
+ [
+ 'name' => 'modelName',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The name of the model to filter by.', 'type' => 'string', 'required' => false, 'example' => 'aa', 'title' => ''],
+ ],
+ [
+ 'name' => 'pageNumber',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The page number to retrieve.', 'type' => 'string', 'required' => false, 'example' => '1', 'title' => ''],
+ ],
+ [
+ 'name' => 'pageSize',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The number of results to return per page.', 'type' => 'string', 'required' => false, 'example' => '10', 'title' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => ['description' => 'The response code.', 'type' => 'string', 'example' => 'SUCCESS', 'title' => ''],
+ 'requestId' => ['description' => 'The unique request identifier. Include this ID when reporting issues.', 'type' => 'string', 'example' => 'F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E', 'title' => ''],
+ 'data' => [
+ 'description' => 'The response data.',
+ 'type' => 'object',
+ 'properties' => [
+ 'items' => [
+ 'description' => 'An array of model provider objects.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Details of a model provider.',
+ 'type' => 'object',
+ 'properties' => [
+ 'providerName' => ['description' => 'The name of the model provider.', 'type' => 'string', 'example' => 'providerName', 'title' => ''],
+ 'modelType' => ['description' => 'The model type. Valid values:'."\n"
+ ."\n"
+ .'- `text_embedding`: text embedding'."\n"
+ ."\n"
+ .'- `text_sparse_embedding`: text sparse embedding'."\n"
+ ."\n"
+ .'- `image_embedding`: image embedding'."\n"
+ ."\n"
+ .'- `image_analyze`: image analysis', 'type' => 'string', 'example' => 'native', 'title' => ''],
+ 'baseUrl' => ['description' => 'The base URL of the model provider.', 'type' => 'string', 'example' => 'baseUrl', 'title' => ''],
+ 'models' => [
+ 'description' => 'An array of model names.',
+ 'type' => 'array',
+ 'items' => ['description' => '模型名称', 'type' => 'string', 'example' => 'name', 'title' => ''],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'modelInfoConfig' => ['description' => 'modelInfoConfig', '$ref' => '#/components/schemas/ModelInfoConfig', 'title' => '', 'example' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'total' => ['description' => '总数', 'type' => 'integer', 'format' => 'int64', 'example' => '211', 'title' => ''],
+ 'pageSize' => ['description' => '页面大小', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''],
+ 'pageNumber' => ['description' => '页码', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'description' => 'The response object.',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'ListModelProviders',
+ 'summary' => 'Lists all model providers.',
+ 'description' => 'Lists the available model providers. This operation supports filtering and pagination.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'agentrun:ListModelProviders',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'translator' => 'machine',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"SUCCESS\\",\\n \\"requestId\\": \\"F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E\\",\\n \\"data\\": {\\n \\"items\\": [\\n {\\n \\"providerName\\": \\"providerName\\",\\n \\"modelType\\": \\"native\\",\\n \\"baseUrl\\": \\"baseUrl\\",\\n \\"models\\": [\\n \\"name\\"\\n ],\\n \\"modelInfoConfig\\": {\\n \\"modelName\\": \\"\\",\\n \\"modelFeatures\\": {\\n \\"vision\\": true,\\n \\"agentThought\\": true,\\n \\"toolCall\\": true,\\n \\"multiToolCall\\": true,\\n \\"streamToolCall\\": true\\n },\\n \\"modelProperties\\": {\\n \\"contextSize\\": 0\\n },\\n \\"modelParameterRules\\": [\\n {\\n \\"name\\": \\"\\",\\n \\"type\\": \\"\\",\\n \\"default\\": \\"\\",\\n \\"min\\": 0,\\n \\"max\\": 0,\\n \\"required\\": true\\n }\\n ]\\n }\\n }\\n ],\\n \\"total\\": 211,\\n \\"pageSize\\": 10,\\n \\"pageNumber\\": 1\\n }\\n}","type":"json"}]',
+ ],
+ 'ListModelProxies' => [
+ 'summary' => 'Lists all Model Proxies.',
+ 'path' => '/2025-09-10/agents/model-proxies',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREfcGRJPWY'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'proxyMode',
+ 'in' => 'query',
+ 'schema' => ['description' => 'Specifies the proxy mode.', 'type' => 'string', 'required' => false, 'example' => 'proxyMode', 'title' => ''],
+ ],
+ [
+ 'name' => 'status',
+ 'in' => 'query',
+ 'schema' => ['description' => 'Filters the list by Model Proxy status.', 'type' => 'string', 'required' => false, 'example' => 'CREATING', 'title' => ''],
+ ],
+ [
+ 'name' => 'pageNumber',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The page number for pagination.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''],
+ ],
+ [
+ 'name' => 'pageSize',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The number of entries per page. The default is 20.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'title' => ''],
+ ],
+ [
+ 'name' => 'workspaceId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The ID of the workspace.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''],
+ ],
+ [
+ 'name' => 'workspaceIds',
+ 'in' => 'query',
+ 'schema' => ['description' => 'A comma-separated list of workspace IDs to query.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => ['description' => 'The response object, which includes pagination details and the list of Model Proxies.', '$ref' => '#/components/schemas/ListModelProxiesResult', 'title' => '', 'example' => ''],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'ListModelProxies',
+ 'description' => 'Retrieves a paginated list of all Model Proxies for the current user. You can filter the list by status.',
+ 'changeSet' => [
+ ['createdAt' => '2026-03-11T12:12:47.000Z', 'description' => 'Request parameters changed'],
+ ['createdAt' => '2026-03-09T12:38:42.000Z', 'description' => 'Request parameters changed'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'agentrun:ListModelProxies',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'translator' => 'machine',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"\\",\\n \\"requestId\\": \\"\\",\\n \\"data\\": {\\n \\"pageNumber\\": 0,\\n \\"pageSize\\": 0,\\n \\"total\\": 0,\\n \\"items\\": [\\n {\\n \\"modelProxyId\\": \\"\\",\\n \\"modelProxyName\\": \\"\\",\\n \\"description\\": \\"\\",\\n \\"modelType\\": \\"\\",\\n \\"proxyMode\\": \\"\\",\\n \\"proxyConfig\\": {\\n \\"policies\\": {\\n \\"requestTimeout\\": 0,\\n \\"numRetries\\": 0,\\n \\"cache\\": false,\\n \\"concurrencyLimit\\": 0,\\n \\"fallbacks\\": [\\n {\\n \\"modelServiceName\\": \\"\\",\\n \\"modelName\\": \\"\\"\\n }\\n ],\\n \\"tokenRateLimiter\\": {\\n \\"tps\\": 0,\\n \\"tpm\\": 0,\\n \\"tph\\": 0,\\n \\"tpd\\": 0\\n },\\n \\"aiGuardrailConfig\\": {\\n \\"checkRequest\\": false,\\n \\"checkResponse\\": false,\\n \\"level\\": \\"\\",\\n \\"maxTextLength\\": 0,\\n \\"blockOnContentModeration\\": false,\\n \\"blockOnSensitiveData\\": false,\\n \\"blockOnPromptAttack\\": false,\\n \\"blockOnMaliciousUrl\\": false,\\n \\"blockOnModelHallucination\\": false\\n }\\n },\\n \\"endpoints\\": [\\n {\\n \\"modelServiceName\\": \\"\\",\\n \\"weight\\": 0,\\n \\"baseUrl\\": \\"\\",\\n \\"modelNames\\": [\\n \\"\\"\\n ]\\n }\\n ]\\n },\\n \\"functionName\\": \\"\\",\\n \\"status\\": \\"\\",\\n \\"credentialName\\": \\"\\",\\n \\"serviceRegionId\\": \\"\\",\\n \\"endpoint\\": \\"\\",\\n \\"litellmVersion\\": \\"\\",\\n \\"cpu\\": 0,\\n \\"memory\\": 0,\\n \\"createdAt\\": \\"\\",\\n \\"lastUpdatedAt\\": \\"\\",\\n \\"networkConfiguration\\": {\\n \\"networkMode\\": \\"PRIVATE\\",\\n \\"vpcId\\": \\"vpc-1234567890abcdef0\\",\\n \\"securityGroupId\\": \\"sg-1234567890abcdef0\\",\\n \\"vswitchIds\\": [\\n \\"vsw-sg-1234567890abcdef0\\"\\n ]\\n },\\n \\"statusReason\\": \\"\\",\\n \\"logConfiguration\\": {\\n \\"project\\": \\"agent-runtime-logs\\",\\n \\"logstore\\": \\"agent-runtime-logs\\"\\n },\\n \\"executionRoleArn\\": \\"\\",\\n \\"workspaceId\\": \\"\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'ListModelServices' => [
+ 'summary' => 'Lists all models.',
+ 'path' => '/2025-09-10/agents/model-services',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREfcGRJPWY'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'modelType',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The model type. Valid values:'."\n"
+ ."\n"
+ .'- `system`: A built-in model.'."\n"
+ ."\n"
+ .'- `deployment`: A model from a custom deployment.', 'type' => 'string', 'required' => true, 'example' => 'system', 'title' => ''],
+ ],
+ [
+ 'name' => 'provider',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The cloud provider. Currently, only Alibaba Cloud is supported.', 'type' => 'string', 'required' => false, 'example' => 'Aliyun', 'title' => ''],
+ ],
+ [
+ 'name' => 'providerType',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The provider type.', 'type' => 'string', 'required' => false, 'example' => 'providerType', 'title' => ''],
+ ],
+ [
+ 'name' => 'pageNumber',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'title' => ''],
+ ],
+ [
+ 'name' => 'pageSize',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The page size.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'title' => ''],
+ ],
+ [
+ 'name' => 'workspaceId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''],
+ ],
+ [
+ 'name' => 'workspaceIds',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => ['description' => 'The response data.', '$ref' => '#/components/schemas/ListModelServicesResult', 'title' => '', 'example' => ''],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'ListModelServices',
+ 'description' => 'Retrieves a list of all models for the current user. You can filter the models by type and paginate the results.',
+ 'changeSet' => [
+ ['createdAt' => '2026-03-11T12:12:47.000Z', 'description' => 'Request parameters changed'],
+ ['createdAt' => '2026-03-09T12:38:42.000Z', 'description' => 'Request parameters changed'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'agentrun:ListModelServices',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'ModelService', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:workspaces/{#workspaceName}/model-services/*'],
+ ],
+ ],
+ ],
+ ],
+ 'translator' => 'machine',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"\\",\\n \\"requestId\\": \\"\\",\\n \\"data\\": {\\n \\"pageNumber\\": 0,\\n \\"pageSize\\": 0,\\n \\"total\\": 0,\\n \\"items\\": [\\n {\\n \\"modelServiceName\\": \\"\\",\\n \\"description\\": \\"\\",\\n \\"modelType\\": \\"\\",\\n \\"provider\\": \\"\\",\\n \\"providerSettings\\": {\\n \\"baseUrl\\": \\"\\",\\n \\"apiKey\\": \\"\\",\\n \\"modelNames\\": [\\n \\"\\"\\n ]\\n },\\n \\"status\\": \\"\\",\\n \\"credentialName\\": \\"\\",\\n \\"createdAt\\": \\"\\",\\n \\"lastUpdatedAt\\": \\"\\",\\n \\"networkConfiguration\\": {\\n \\"networkMode\\": \\"PRIVATE\\",\\n \\"vpcId\\": \\"vpc-1234567890abcdef0\\",\\n \\"securityGroupId\\": \\"sg-1234567890abcdef0\\",\\n \\"vswitchIds\\": [\\n \\"vsw-sg-1234567890abcdef0\\"\\n ]\\n },\\n \\"statusReason\\": \\"\\",\\n \\"modelServiceId\\": \\"\\",\\n \\"modelInfoConfigs\\": [\\n {\\n \\"modelName\\": \\"\\",\\n \\"modelFeatures\\": {\\n \\"vision\\": true,\\n \\"agentThought\\": true,\\n \\"toolCall\\": true,\\n \\"multiToolCall\\": true,\\n \\"streamToolCall\\": true\\n },\\n \\"modelProperties\\": {\\n \\"contextSize\\": 0\\n },\\n \\"modelParameterRules\\": [\\n {\\n \\"name\\": \\"\\",\\n \\"type\\": \\"\\",\\n \\"default\\": \\"\\",\\n \\"min\\": 0,\\n \\"max\\": 0,\\n \\"required\\": true\\n }\\n ]\\n }\\n ],\\n \\"workspaceId\\": \\"\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'ListSandboxes' => [
+ 'summary' => 'Returns a list of sandboxes.',
+ 'description' => 'Retrieves a list of sandboxes for the current user. You can filter the results by template name, template type, or status. This operation supports pagination.',
+ 'path' => '/2025-09-10/sandboxes',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREfcGRJPWY'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'templateName',
+ 'in' => 'query',
+ 'allowEmptyValue' => false,
+ 'schema' => ['description' => 'Filters the results by template name.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'templateName'],
+ 'examples' => [],
+ ],
+ [
+ 'name' => 'templateType',
+ 'in' => 'query',
+ 'schema' => ['description' => 'Filters the results by template type.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'TASK'],
+ ],
+ [
+ 'name' => 'maxResults',
+ 'in' => 'query',
+ 'allowEmptyValue' => false,
+ 'schema' => ['description' => 'The maximum number of results to return.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'title' => '', 'example' => '1000'],
+ 'examples' => [],
+ ],
+ [
+ 'name' => 'nextToken',
+ 'in' => 'query',
+ 'allowEmptyValue' => false,
+ 'schema' => ['description' => 'The pagination token for the next set of results. A non-empty value indicates that more data is available.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'dnLkmeaJc9vHgbzREh2l0J4dD+2BRJj42DLT6GrZysw='],
+ 'examples' => [],
+ ],
+ [
+ 'name' => 'status',
+ 'in' => 'query',
+ 'schema' => ['description' => 'Filters the results by status.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'CREATING'],
+ ],
+ [
+ 'name' => 'sandboxId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'example' => '01KMB33KCB3YRYE9C2AJCW5DQK', 'title' => '', 'description' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'description' => '成功响应 - 返回沙箱列表,包含分页信息和沙箱详情',
+ 'schema' => ['description' => 'The object containing the list of sandboxes and pagination information.', '$ref' => '#/components/schemas/ListSandboxesResult', 'title' => '', 'example' => ''],
+ 'examples' => [],
+ ],
+ 500 => [
+ 'schema' => ['$ref' => '#/components/schemas/ErrorResult', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ ],
+ 'title' => 'ListSandboxes',
+ 'changeSet' => [
+ ['createdAt' => '2025-11-22T17:45:25.000Z', 'description' => 'Request parameters changed'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'agentrun:ListSandboxes',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'translator' => 'machine',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"SUCCESS\\",\\n \\"requestId\\": \\"55D4BE40-2811-5CFB-8482-E0E98D575B1E\\",\\n \\"data\\": {\\n \\"nextToken\\": \\"\\",\\n \\"items\\": [\\n {\\n \\"sandboxId\\": \\"01KAWBP6JQD0J3Z34BP4WMX1KG\\",\\n \\"templateId\\": \\"8d409d30-cac1-445a-95d5-476c47780336.schema\\",\\n \\"templateName\\": \\"my-template\\",\\n \\"status\\": \\"READY\\",\\n \\"createdAt\\": \\"2025-11-26T10:54:17.770719+08:00\\",\\n \\"lastUpdatedAt\\": \\"2025-11-26T10:54:17.770719+08:00\\",\\n \\"sandboxIdleTimeoutSeconds\\": 1800,\\n \\"endedAt\\": \\"2025-11-26T10:54:17.770719+08:00\\",\\n \\"sandboxArn\\": \\"acs:ram::1760720386195983:role/aliyunfcdefaultrole\\",\\n \\"sandboxIdleTTLInSeconds\\": 0,\\n \\"metadata\\": {}\\n }\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'ListTemplates' => [
+ 'path' => '/2025-09-10/templates',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREfcGRJPWY'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'templateType',
+ 'in' => 'query',
+ 'allowEmptyValue' => false,
+ 'schema' => [
+ 'description' => 'The type of the template. Use this parameter to filter templates.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'Browser',
+ 'enum' => ['Browser', 'CodeInterpreter', 'AllInOne', 'CustomImage', 'ComputerUse'],
+ 'title' => '',
+ ],
+ 'examples' => [],
+ ],
+ [
+ 'name' => 'pageNumber',
+ 'in' => 'query',
+ 'allowEmptyValue' => false,
+ 'schema' => ['description' => 'The number of the page to return.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''],
+ 'examples' => [],
+ ],
+ [
+ 'name' => 'pageSize',
+ 'in' => 'query',
+ 'allowEmptyValue' => false,
+ 'schema' => ['description' => 'The number of entries to return on each page.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20', 'title' => ''],
+ 'examples' => [],
+ ],
+ [
+ 'name' => 'status',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The status of the template. Use this parameter to filter templates.', 'type' => 'string', 'example' => 'READY', 'title' => '', 'required' => false],
+ ],
+ [
+ 'name' => 'templateName',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The name of the template. Use this parameter to filter templates.', 'type' => 'string', 'example' => 'temp-abc', 'title' => '', 'required' => false],
+ ],
+ [
+ 'name' => 'workspaceId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The ID of the workspace to which the template belongs.', 'type' => 'string', 'example' => 'aaa', 'required' => false, 'title' => ''],
+ ],
+ [
+ 'name' => 'workspaceIds',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The IDs of the workspaces. You can use this parameter to query templates from multiple workspaces.', 'type' => 'string', 'title' => '', 'example' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => ['description' => 'The response data.', '$ref' => '#/components/schemas/ListTemplatesResult', 'title' => '', 'example' => ''],
+ 'examples' => [],
+ ],
+ 500 => [
+ 'schema' => ['$ref' => '#/components/schemas/ErrorResult', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ ],
+ 'title' => 'ListTemplates',
+ 'summary' => 'Lists templates.',
+ 'description' => 'Lists all templates for the current user. You can filter the results by template type and use pagination.',
+ 'changeSet' => [
+ ['createdAt' => '2026-03-20T07:59:22.000Z', 'description' => 'Request parameters changed'],
+ ['createdAt' => '2026-02-26T07:55:54.000Z', 'description' => 'Request parameters changed'],
+ ['createdAt' => '2026-01-14T11:17:42.000Z', 'description' => 'Request parameters changed'],
+ ['createdAt' => '2025-12-09T11:37:57.000Z', 'description' => 'Request parameters changed'],
+ ['createdAt' => '2025-11-22T17:45:25.000Z', 'description' => 'Request parameters changed, Response parameters changed'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'agentrun:ListTemplates',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"SUCCESS\\",\\n \\"requestId\\": \\"C0595DB0-D1EE-55C3-8DDD-790872C7EC2F\\",\\n \\"data\\": {\\n \\"pageNumber\\": 1,\\n \\"pageSize\\": 10,\\n \\"total\\": 10,\\n \\"items\\": [\\n {\\n \\"templateId\\": \\"996ffd5e-003f-4700-9f24-9e2a1c19019b.schema\\",\\n \\"templateName\\": \\"browser-1767874121726\\",\\n \\"templateVersion\\": \\"预留\\",\\n \\"cpu\\": 4,\\n \\"memory\\": 4096,\\n \\"templateArn\\": \\"acs:agentrun:cn-hangzhou:12345678:templates/efb6de2f-1814-42a2-b7f3-474a0e0b3a48\\",\\n \\"createdAt\\": \\"2026-01-15T17:12:59.375168+08:00\\",\\n \\"lastUpdatedAt\\": \\"2026-01-15T17:12:59.375168+08:00\\",\\n \\"status\\": \\"READY\\",\\n \\"statusReason\\": \\"SDK Error\\",\\n \\"executionRoleArn\\": \\"acs:agentrun:cn-hangzhou:12345678:templates/efb6de2f-1814-42a2-b7f3-474a0e0b3a48\\",\\n \\"templateType\\": \\"Browser\\",\\n \\"containerConfiguration\\": {\\n \\"image\\": \\"registry.cn-hangzhou.aliyuncs.com/my-namespace/agent-runtime:latest\\",\\n \\"imageRegistryType\\": \\"ACR\\",\\n \\"acrInstanceId\\": \\"cri-xxxxx\\",\\n \\"command\\": [\\n \\"/usr/local/bin/entrypoint.sh\\"\\n ],\\n \\"registryConfig\\": {\\n \\"authConfig\\": {\\n \\"userName\\": \\"admin\\",\\n \\"password\\": \\"abc***\\"\\n },\\n \\"certConfig\\": {\\n \\"insecure\\": false,\\n \\"rootCaCertBase64\\": \\"cm9vdF9jYV9jZXJ0X2Jhc2U2NA==\\"\\n },\\n \\"networkConfig\\": {\\n \\"vpcId\\": \\"vpc-xxxxxxxxxxxxx\\",\\n \\"vSwitchId\\": \\"vsw-xxxxxxxxxxxxx\\",\\n \\"securityGroupId\\": \\"sg-xxxxxxxxxxxxx\\"\\n }\\n },\\n \\"port\\": 5000\\n },\\n \\"networkConfiguration\\": {\\n \\"networkMode\\": \\"PRIVATE\\",\\n \\"vpcId\\": \\"vpc-1234567890abcdef0\\",\\n \\"securityGroupId\\": \\"sg-1234567890abcdef0\\",\\n \\"vswitchIds\\": [\\n \\"vsw-sg-1234567890abcdef0\\"\\n ]\\n },\\n \\"credentialConfiguration\\": {\\n \\"credentialName\\": \\"deepagent-key\\"\\n },\\n \\"logConfiguration\\": {\\n \\"project\\": \\"agent-runtime-logs\\",\\n \\"logstore\\": \\"agent-runtime-logs\\"\\n },\\n \\"sandboxIdleTimeoutInSeconds\\": \\"1800\\",\\n \\"sandboxTTLInSeconds\\": \\"已弃用\\",\\n \\"resourceName\\": \\"agentrun-f2570dd4-c8a2-452c-8bd5-4ef74b0a69b5\\",\\n \\"mcpOptions\\": {\\n \\"transport\\": \\"streamable-http\\",\\n \\"enabledTools\\": [\\n \\"execute_code\\"\\n ]\\n },\\n \\"mcpState\\": {\\n \\"status\\": \\"CREATING\\",\\n \\"statusReason\\": \\"SDK Error\\",\\n \\"accessEndpoint\\": \\"/mcp\\"\\n },\\n \\"diskSize\\": 10240,\\n \\"description\\": \\"template描述\\",\\n \\"allowAnonymousManage\\": true,\\n \\"nasConfig\\": {\\n \\"groupId\\": 100,\\n \\"mountPoints\\": [\\n {\\n \\"enableTLS\\": false,\\n \\"mountDir\\": \\"/home/test\\",\\n \\"serverAddr\\": \\"***-uni85.cn-hangzhou.nas.com:/\\"\\n }\\n ],\\n \\"userId\\": 100\\n },\\n \\"enableAgent\\": false,\\n \\"workspaceId\\": \\"\\",\\n \\"scalingStatus\\": {\\n \\"minInstances\\": 1,\\n \\"targetInstances\\": 2,\\n \\"currentInstances\\": 2,\\n \\"scheduledPolicies\\": [\\n {\\n \\"name\\": \\"scale-up-morning\\",\\n \\"startTime\\": \\"2024-01-01T08:00:00\\",\\n \\"endTime\\": \\"2024-01-01T08:00:00\\",\\n \\"scheduleExpression\\": \\"cron(0 8 * * ? *)\\",\\n \\"timeZone\\": \\"Asia/Shanghai\\",\\n \\"target\\": 20\\n }\\n ],\\n \\"currentError\\": \\"error\\"\\n },\\n \\"environmentVariables\\": {\\n \\"key\\": \\"{\'FCTEST_IDE_ENV\': \'IDE\'}\\"\\n },\\n \\"templateConfiguration\\": {\\n \\"key\\": \\"{\\\\\\"example\\\\\\":\\\\\\"test\\\\\\"}\\"\\n },\\n \\"ossConfiguration\\": [\\n {\\n \\"bucketName\\": \\"a-test-oss\\",\\n \\"prefix\\": \\"/\\",\\n \\"mountPoint\\": \\"/mnt/oss1\\",\\n \\"permission\\": \\"READ_WRITE\\",\\n \\"region\\": \\"ch-hangzhou\\",\\n \\"endpoint\\": \\"\\"\\n }\\n ],\\n \\"enablePreStop\\": false,\\n \\"preStopTimeoutInSeconds\\": 0\\n }\\n ]\\n }\\n}","type":"json"}]',
+ 'translator' => 'machine',
+ ],
+ 'ListTools' => [
+ 'path' => '/2025-09-10/agents/tools',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREfcGRJPWY', 'FEATUREfcVF016G'],
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'pageSize',
+ 'in' => 'query',
+ 'allowEmptyValue' => true,
+ 'schema' => ['description' => 'Page size ', 'title' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'required' => false],
+ ],
+ [
+ 'name' => 'pageNumber',
+ 'in' => 'query',
+ 'allowEmptyValue' => true,
+ 'schema' => ['description' => 'Page number ', 'title' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'required' => false],
+ ],
+ [
+ 'name' => 'toolType',
+ 'in' => 'query',
+ 'schema' => [
+ 'enumValueTitles' => ['MCP' => 'MCP 工具 - 基于 Model Context Protocol 的工具', 'FUNCTIONCALL' => '函数调用工具 - 通过函数调用方式实现的工具', 'SKILL' => '技能工具 - 预定义的技能类型工具'],
+ 'description' => 'Tool type ',
+ 'title' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'MCP',
+ 'enum' => ['MCP', 'FUNCTIONCALL', 'SKILL'],
+ ],
+ ],
+ [
+ 'name' => 'toolName',
+ 'in' => 'query',
+ 'schema' => ['description' => 'Tool Name, supports fuzzy search ', 'title' => '', 'type' => 'string', 'example' => 'tool-1', 'required' => false],
+ ],
+ [
+ 'name' => 'workspaceId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'Workspace ID ', 'title' => '', 'type' => 'string', 'required' => false, 'example' => 'workspace-xyz789'],
+ ],
+ [
+ 'name' => 'workspaceIds',
+ 'in' => 'query',
+ 'schema' => ['description' => 'List of workspace IDs, separated by commas ', 'title' => '', 'type' => 'string', 'example' => 'ws1,ws2', 'required' => false],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'headers' => [],
+ 'schema' => ['description' => 'Return Result of the tool list ', '$ref' => '#/components/schemas/ListToolsResult', 'title' => '', 'example' => ''],
+ 'examples' => [],
+ ],
+ ],
+ 'title' => 'List tools ',
+ 'summary' => 'List tools ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'agentrun:ListTools',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"\\",\\n \\"requestId\\": \\"\\",\\n \\"data\\": {\\n \\"pageSize\\": 10,\\n \\"pageNumber\\": 1,\\n \\"total\\": 100,\\n \\"items\\": [\\n {\\n \\"toolId\\": \\"tool-abc123\\",\\n \\"toolName\\": \\"my-mcp-tool\\",\\n \\"workspaceId\\": \\"workspace-xyz789\\",\\n \\"description\\": \\"这是一个用于处理文档的 MCP 工具\\",\\n \\"toolType\\": \\"MCP\\",\\n \\"createMethod\\": \\"MCP_REMOTE\\",\\n \\"protocolSpec\\": \\"\\",\\n \\"mcpConfig\\": {\\n \\"sessionAffinity\\": \\"MCP_STREAMABLE\\",\\n \\"sessionAffinityConfig\\": \\"\\",\\n \\"proxyEnabled\\": true,\\n \\"mcpProxyConfiguration\\": {\\n \\"hooks\\": [\\n {\\n \\"url\\": \\"\\",\\n \\"description\\": \\"\\",\\n \\"apiVersion\\": \\"\\",\\n \\"enabled\\": false,\\n \\"timeout\\": 0,\\n \\"event\\": \\"\\",\\n \\"headers\\": {\\n \\"key\\": \\"\\"\\n }\\n }\\n ]\\n },\\n \\"boundConfiguration\\": {\\n \\"boundTools\\": [\\n {\\n \\"toolName\\": \\"my-tool\\",\\n \\"method\\": \\"POST\\",\\n \\"path\\": \\"/api/v1/tools\\",\\n \\"apis\\": [\\n {\\n \\"method\\": \\"\\",\\n \\"path\\": \\"\\"\\n }\\n ]\\n }\\n ]\\n }\\n },\\n \\"status\\": \\"Running\\",\\n \\"statusReason\\": \\"\\",\\n \\"executionRoleArn\\": \\"acs:ram::123456789:role/AliyunFCDefaultRole\\",\\n \\"artifactType\\": \\"Code\\",\\n \\"networkConfiguration\\": {\\n \\"networkMode\\": \\"PRIVATE\\",\\n \\"vpcId\\": \\"vpc-1234567890abcdef0\\",\\n \\"securityGroupId\\": \\"sg-1234567890abcdef0\\",\\n \\"vswitchIds\\": [\\n \\"vsw-sg-1234567890abcdef0\\"\\n ]\\n },\\n \\"codeConfiguration\\": {\\n \\"zipFile\\": \\"UEsDBAoAAAAAANF\\",\\n \\"ossBucketName\\": \\"my-agent-code-bucket\\",\\n \\"ossObjectName\\": \\"agent-code-v1.0.zip\\",\\n \\"checksum\\": \\"1234567890123456789\\",\\n \\"language\\": \\"python3.12\\",\\n \\"command\\": [\\n \\"\\"\\n ]\\n },\\n \\"containerConfiguration\\": {\\n \\"image\\": \\"registry.cn-hangzhou.aliyuncs.com/my-namespace/agent-runtime:latest\\",\\n \\"imageRegistryType\\": \\"ACR\\",\\n \\"acrInstanceId\\": \\"cri-xxxxx\\",\\n \\"command\\": [\\n \\"/usr/local/bin/entrypoint.sh\\"\\n ],\\n \\"registryConfig\\": {\\n \\"authConfig\\": {\\n \\"userName\\": \\"admin\\",\\n \\"password\\": \\"abc***\\"\\n },\\n \\"certConfig\\": {\\n \\"insecure\\": false,\\n \\"rootCaCertBase64\\": \\"cm9vdF9jYV9jZXJ0X2Jhc2U2NA==\\"\\n },\\n \\"networkConfig\\": {\\n \\"vpcId\\": \\"vpc-xxxxxxxxxxxxx\\",\\n \\"vSwitchId\\": \\"vsw-xxxxxxxxxxxxx\\",\\n \\"securityGroupId\\": \\"sg-xxxxxxxxxxxxx\\"\\n }\\n },\\n \\"port\\": 5000\\n },\\n \\"logConfiguration\\": {\\n \\"project\\": \\"agent-runtime-logs\\",\\n \\"logstore\\": \\"agent-runtime-logs\\"\\n },\\n \\"ossMountConfig\\": {\\n \\"mountPoints\\": [\\n {\\n \\"bucketName\\": \\"my-bucket\\",\\n \\"bucketPath\\": \\"/my-dir\\",\\n \\"endpoint\\": \\"http://oss-cn-shanghai.aliyuncs.com\\",\\n \\"mountDir\\": \\"/mnt/dir\\",\\n \\"readOnly\\": true\\n }\\n ]\\n },\\n \\"nasConfig\\": {\\n \\"groupId\\": 100,\\n \\"mountPoints\\": [\\n {\\n \\"enableTLS\\": false,\\n \\"mountDir\\": \\"/home/test\\",\\n \\"serverAddr\\": \\"***-uni85.cn-hangzhou.nas.com:/\\"\\n }\\n ],\\n \\"userId\\": 100\\n },\\n \\"cpu\\": 0.5,\\n \\"memory\\": 512,\\n \\"port\\": 8080,\\n \\"createdAt\\": \\"2025-09-10T10:00:00Z\\",\\n \\"updatedAt\\": \\"2025-09-10T12:00:00Z\\",\\n \\"credentialName\\": \\"my-credential\\",\\n \\"timeout\\": 300,\\n \\"environmentVariables\\": {\\n \\"key\\": \\"\\"\\n }\\n }\\n ]\\n }\\n}","type":"json"}]',
+ 'description' => 'Query the tool list. Support paged query and conditional filtering by tool type, workspace, and other criteria. Return the list of tools that meet the conditions and paging information. ',
+ ],
+ 'ListWorkspaces' => [
+ 'summary' => 'Lists all workspaces in your account.',
+ 'description' => 'Lists all workspaces.',
+ 'path' => '/2025-09-10/workspaces',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREfc739PD5'],
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'pageSize',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The number of entries to return per page.', 'type' => 'string', 'required' => false, 'example' => '10', 'title' => ''],
+ ],
+ [
+ 'name' => 'pageNumber',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The page number to return. Default value: 1.', 'type' => 'string', 'required' => false, 'example' => '1', 'title' => ''],
+ ],
+ [
+ 'name' => 'name',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The name of the workspace. Used to filter the results.', 'type' => 'string', 'required' => false, 'example' => 'intl_synonym_module', 'title' => ''],
+ ],
+ [
+ 'name' => 'resourceGroupId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The ID of the resource group to which the workspace belongs.', 'type' => 'string', 'required' => false, 'example' => 'rg-aek25sodlatnioq', 'title' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'description' => '成功响应 - 返回创建的智能体运行时信息,包括运行时ID、状态、配置等详细信息',
+ 'schema' => ['description' => 'The returned data, including the list of workspaces.', '$ref' => '#/components/schemas/ListWorkspacesResult', 'title' => '', 'example' => ''],
+ 'examples' => [],
+ ],
+ 500 => [
+ 'schema' => ['$ref' => '#/components/schemas/ErrorResult', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"\\",\\n \\"requestId\\": \\"\\",\\n \\"data\\": {\\n \\"workspaces\\": [\\n {\\n \\"workspaceId\\": \\"\\",\\n \\"workspaceArn\\": \\"\\",\\n \\"name\\": \\"\\",\\n \\"description\\": \\"\\",\\n \\"isDefault\\": false,\\n \\"resourceGroupId\\": \\"\\",\\n \\"createdAt\\": \\"\\",\\n \\"updatedAt\\": \\"\\"\\n }\\n ],\\n \\"total\\": 0,\\n \\"pageNumber\\": 0,\\n \\"pageSize\\": 0\\n }\\n}","type":"json"}]',
+ 'title' => 'ListWorkspaces',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'agentrun:ListWorkspaces',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'translator' => 'machine',
+ ],
+ 'PauseSandbox' => [
+ 'summary' => 'Pause the sandbox and retain snapshots of its memory and file system. The sandbox enters the PAUSED state so that it can be recovered later.',
+ 'description' => 'This API is used to pause a sandbox. When invoked, the system takes a snapshot of the sandbox, capturing and persisting the memory and disk states. The user can recover the sandbox at a later time. '."\n"
+ .'Note that sandbox snapshots are retained for only 30 days. After 30 days, recovery becomes unavailable.',
+ 'path' => '/2025-09-10/sandboxes/{sandboxId}/pause',
+ 'methods' => ['put'],
+ 'schemes' => ['https'],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREfcFLXSBS'],
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'sandboxId',
+ 'in' => 'path',
+ 'allowEmptyValue' => true,
+ 'schema' => ['description' => 'Sandbox ID', 'title' => '', 'type' => 'string', 'required' => true, 'example' => 'sb-1234567890abcdef'],
+ 'examples' => [],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'description' => '成功响应 - 沙箱停止成功',
+ 'schema' => ['description' => 'Return Result of the sandbox', '$ref' => '#/components/schemas/SandboxResult', 'title' => '', 'example' => ''],
+ 'examples' => [],
+ ],
+ 500 => [
+ 'schema' => ['$ref' => '#/components/schemas/ErrorResult', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'Pause Sandbox',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'agentrun:PauseSandbox',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"SUCCESS\\",\\n \\"requestId\\": \\"F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E\\",\\n \\"data\\": {\\n \\"sandboxId\\": \\"01KAWBP6JQD0J3Z34BP4WMX1KG\\",\\n \\"templateId\\": \\"8d409d30-cac1-445a-95d5-476c47780336.schema\\",\\n \\"templateName\\": \\"my-template\\",\\n \\"status\\": \\"READY\\",\\n \\"createdAt\\": \\"2025-11-26T10:54:17.770719+08:00\\",\\n \\"lastUpdatedAt\\": \\"2025-11-26T10:54:17.770719+08:00\\",\\n \\"sandboxIdleTimeoutSeconds\\": 1800,\\n \\"endedAt\\": \\"2025-11-26T10:54:17.770719+08:00\\",\\n \\"sandboxArn\\": \\"acs:ram::1760720386195983:role/aliyunfcdefaultrole\\",\\n \\"sandboxIdleTTLInSeconds\\": 0,\\n \\"metadata\\": {}\\n }\\n}","type":"json"}]',
+ 'translator' => 'machine',
+ ],
+ 'PublishFlowVersion' => [
+ 'summary' => 'Publishes a workflow version.',
+ 'description' => 'Publishes a new version of a specified workflow. This operation supports version management and rollbacks.',
+ 'path' => '/2025-09-10/flows/{flowName}/versions',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREfc739PD5'],
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'flowName',
+ 'in' => 'path',
+ 'allowEmptyValue' => true,
+ 'schema' => ['title' => '', 'description' => 'The workflow ID.', 'type' => 'string', 'required' => true, 'example' => 'flow-1234567890abcdef'],
+ 'examples' => [],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => ['title' => '', 'description' => 'The input parameters for publishing a workflow version.', 'required' => false, '$ref' => '#/components/schemas/PublishFlowVersionInput', 'example' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'description' => '成功响应 - 返回发布的工作流版本信息',
+ 'schema' => ['title' => '', 'description' => 'Contains the details of the published workflow version.', '$ref' => '#/components/schemas/FlowVersionResult', 'example' => ''],
+ 'examples' => [],
+ ],
+ 500 => [
+ 'schema' => ['$ref' => '#/components/schemas/ErrorResult', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ ],
+ 'title' => 'Publish flow version ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'agentrun:PublishFlowVersion',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'Flow', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:workspaces/{#workspaceName}/flows/{#flowId}'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"SUCCESS\\",\\n \\"requestId\\": \\"F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E\\",\\n \\"data\\": {\\n \\"flowId\\": \\"flow-1234567890abcdef\\",\\n \\"flowVersion\\": \\"1\\",\\n \\"description\\": \\"Version 1.0 - Initial release\\",\\n \\"createdAt\\": \\"2025-01-10T10:30:00Z\\",\\n \\"flowName\\": \\"\\",\\n \\"definition\\": \\"Type: StateMachine\\\\\\\\nName: my-flow\\\\\\\\n...\\",\\n \\"environmentConfiguration\\": {\\n \\"variables\\": [\\n {\\n \\"name\\": \\"MY_KEY\\",\\n \\"value\\": \\"my-value\\",\\n \\"description\\": \\"A configuration key\\"\\n }\\n ]\\n },\\n \\"externalStorageLocation\\": \\"oss://bucket/path\\",\\n \\"tracingConfiguration\\": {\\n \\"enabled\\": true\\n },\\n \\"loggingConfiguration\\": {\\n \\"destinations\\": [\\n {\\n \\"slsLogDestination\\": {\\n \\"project\\": \\"my-sls-project\\",\\n \\"logStore\\": \\"my-logstore\\"\\n }\\n }\\n ]\\n }\\n }\\n}","type":"json"}]',
+ 'translator' => 'machine',
+ ],
+ 'PublishRuntimeVersion' => [
+ 'summary' => 'Publishes a new version of an agent runtime.',
+ 'description' => 'Publishes a new version for a specified agent runtime for version management and deployment. The new version can include code updates, configuration changes, and other content.',
+ 'path' => '/2025-09-10/agents/runtimes/{agentRuntimeId}/versions',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREfc739PD5'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'agentRuntimeId',
+ 'in' => 'path',
+ 'allowEmptyValue' => true,
+ 'schema' => ['title' => '', 'description' => 'The ID of the agent runtime.', 'type' => 'string', 'required' => true, 'example' => '12345678-1234-1234-1234-123456789abc'],
+ 'examples' => [],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => ['description' => 'The request body for publishing a version.', '$ref' => '#/components/schemas/PublishRuntimeVersionInput', 'required' => false, 'title' => '', 'example' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'description' => '成功响应 - 返回新发布的运行时版本信息,包括版本号、状态、发布时间等',
+ 'schema' => ['title' => '', 'description' => 'The result of the creation struct.', '$ref' => '#/components/schemas/AgentRuntimeVersionResult', 'example' => ''],
+ 'examples' => [],
+ ],
+ 500 => [
+ 'schema' => ['$ref' => '#/components/schemas/ErrorResult', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ ],
+ 'title' => 'Publish a new agent runtime version',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'agentrun:PublishRuntimeVersion',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'Agent', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:workspaces/{#workspaceName}/runtimes/{#runtimeName}'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"\\",\\n \\"requestId\\": \\"\\",\\n \\"data\\": {\\n \\"agentRuntimeArn\\": \\"acs:agentrun:cn-hangzhou:1760720386195983:runtimes/7a1b6d39-9f8f-4ce2-b9c9-6db1b0b9e169\\",\\n \\"agentRuntimeId\\": \\"ar-1234567890abcdef\\",\\n \\"agentRuntimeName\\": \\"my-agent-runtime\\",\\n \\"agentRuntimeVersion\\": \\"LATEST\\",\\n \\"description\\": \\"Initial release with basic functionality\\",\\n \\"lastUpdatedAt\\": \\"2025-01-10T10:30:00Z\\"\\n }\\n}","type":"json"}]',
+ 'translator' => 'machine',
+ ],
+ 'ResumeSandbox' => [
+ 'summary' => 'Resume a paused sandbox instance to restore it from the PAUSED state to the READY (running) state. ',
+ 'path' => '/2025-09-10/sandboxes/{sandboxId}/resume',
+ 'methods' => ['put'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'paid',
+ 'abilityTreeNodes' => ['FEATUREfcFLXSBS'],
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'sandboxId',
+ 'in' => 'path',
+ 'schema' => ['description' => 'Sandbox instance ID ', 'title' => '', 'type' => 'string', 'required' => true, 'example' => 'sb-1234567890abcdef'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => ['description' => 'Return Result of the sandbox ', '$ref' => '#/components/schemas/SandboxResult', 'title' => '', 'example' => ''],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'Resume Sandbox ',
+ 'description' => 'This API resumes a sandbox instance from the paused state to the ready state, allowing the user to invoke it and restore it to the state it was in before being paused. ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'agentrun:ResumeSandbox',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"SUCCESS\\",\\n \\"requestId\\": \\"F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E\\",\\n \\"data\\": {\\n \\"sandboxId\\": \\"01KAWBP6JQD0J3Z34BP4WMX1KG\\",\\n \\"templateId\\": \\"8d409d30-cac1-445a-95d5-476c47780336.schema\\",\\n \\"templateName\\": \\"my-template\\",\\n \\"status\\": \\"READY\\",\\n \\"createdAt\\": \\"2025-11-26T10:54:17.770719+08:00\\",\\n \\"lastUpdatedAt\\": \\"2025-11-26T10:54:17.770719+08:00\\",\\n \\"sandboxIdleTimeoutSeconds\\": 1800,\\n \\"endedAt\\": \\"2025-11-26T10:54:17.770719+08:00\\",\\n \\"sandboxArn\\": \\"acs:ram::1760720386195983:role/aliyunfcdefaultrole\\",\\n \\"sandboxIdleTTLInSeconds\\": 0,\\n \\"metadata\\": {}\\n }\\n}","type":"json"}]',
+ 'translator' => 'machine',
+ ],
+ 'StopSandbox' => [
+ 'path' => '/2025-09-10/sandboxes/{sandboxId}/stop',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREfcVF016G'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'sandboxId',
+ 'in' => 'path',
+ 'allowEmptyValue' => true,
+ 'schema' => ['description' => 'The sandbox ID.', 'type' => 'string', 'required' => true, 'example' => 'sb-1234567890abcdef', 'title' => ''],
+ 'examples' => [],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => ['description' => 'The returned data.', '$ref' => '#/components/schemas/StopSandboxResult', 'title' => '', 'example' => ''],
+ 'examples' => [],
+ ],
+ 500 => [
+ 'schema' => ['$ref' => '#/components/schemas/ErrorResult', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'StopSandbox',
+ 'summary' => 'Stops a sandbox.',
+ 'description' => 'Stops the specified sandbox instance. After the operation, the sandbox enters the TERMINATED state.',
+ 'changeSet' => [
+ ['createdAt' => '2025-11-22T17:45:25.000Z', 'description' => 'Response parameters changed'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'agentrun:StopSandbox',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"SUCCESS\\",\\n \\"requestId\\": \\"F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E\\",\\n \\"data\\": {\\n \\"sandboxId\\": \\"01KAWBP6JQD0J3Z34BP4WMX1KG\\",\\n \\"templateId\\": \\"8d409d30-cac1-445a-95d5-476c47780336.schema\\",\\n \\"templateName\\": \\"my-template\\",\\n \\"status\\": \\"READY\\",\\n \\"createdAt\\": \\"2025-11-26T10:54:17.770719+08:00\\",\\n \\"lastUpdatedAt\\": \\"2025-11-26T10:54:17.770719+08:00\\",\\n \\"sandboxIdleTimeoutSeconds\\": 1800,\\n \\"endedAt\\": \\"2025-11-26T10:54:17.770719+08:00\\",\\n \\"sandboxArn\\": \\"acs:ram::1760720386195983:role/aliyunfcdefaultrole\\",\\n \\"sandboxIdleTTLInSeconds\\": 0,\\n \\"metadata\\": {}\\n }\\n}","type":"json"}]',
+ 'translator' => 'machine',
+ ],
+ 'StopTemplateMCP' => [
+ 'summary' => 'Stops the TemplateMCP service.',
+ 'path' => '/2025-09-10/templates/{templateName}/mcp/stop',
+ 'methods' => ['patch'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREfcGRJPWY'],
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'templateName',
+ 'in' => 'path',
+ 'schema' => ['description' => 'Name of the template.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'demo-template'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => ['description' => 'Details of the sandbox template.', '$ref' => '#/components/schemas/TemplateResult', 'title' => '', 'example' => ''],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'Stop the TemplateMCP service ',
+ 'description' => 'Stopping the MCP service deletes the associated MCP resources and makes the endpoint inaccessible.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"SUCCESS\\",\\n \\"requestId\\": \\"F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E\\",\\n \\"data\\": {\\n \\"templateId\\": \\"996ffd5e-003f-4700-9f24-9e2a1c19019b.schema\\",\\n \\"templateName\\": \\"browser-1767874121726\\",\\n \\"templateVersion\\": \\"预留\\",\\n \\"cpu\\": 4,\\n \\"memory\\": 4096,\\n \\"templateArn\\": \\"acs:agentrun:cn-hangzhou:12345678:templates/efb6de2f-1814-42a2-b7f3-474a0e0b3a48\\",\\n \\"createdAt\\": \\"2026-01-15T17:12:59.375168+08:00\\",\\n \\"lastUpdatedAt\\": \\"2026-01-15T17:12:59.375168+08:00\\",\\n \\"status\\": \\"READY\\",\\n \\"statusReason\\": \\"SDK Error\\",\\n \\"executionRoleArn\\": \\"acs:agentrun:cn-hangzhou:12345678:templates/efb6de2f-1814-42a2-b7f3-474a0e0b3a48\\",\\n \\"templateType\\": \\"Browser\\",\\n \\"containerConfiguration\\": {\\n \\"image\\": \\"registry.cn-hangzhou.aliyuncs.com/my-namespace/agent-runtime:latest\\",\\n \\"imageRegistryType\\": \\"ACR\\",\\n \\"acrInstanceId\\": \\"cri-xxxxx\\",\\n \\"command\\": [\\n \\"/usr/local/bin/entrypoint.sh\\"\\n ],\\n \\"registryConfig\\": {\\n \\"authConfig\\": {\\n \\"userName\\": \\"admin\\",\\n \\"password\\": \\"abc***\\"\\n },\\n \\"certConfig\\": {\\n \\"insecure\\": false,\\n \\"rootCaCertBase64\\": \\"cm9vdF9jYV9jZXJ0X2Jhc2U2NA==\\"\\n },\\n \\"networkConfig\\": {\\n \\"vpcId\\": \\"vpc-xxxxxxxxxxxxx\\",\\n \\"vSwitchId\\": \\"vsw-xxxxxxxxxxxxx\\",\\n \\"securityGroupId\\": \\"sg-xxxxxxxxxxxxx\\"\\n }\\n },\\n \\"port\\": 5000\\n },\\n \\"networkConfiguration\\": {\\n \\"networkMode\\": \\"PRIVATE\\",\\n \\"vpcId\\": \\"vpc-1234567890abcdef0\\",\\n \\"securityGroupId\\": \\"sg-1234567890abcdef0\\",\\n \\"vswitchIds\\": [\\n \\"vsw-sg-1234567890abcdef0\\"\\n ]\\n },\\n \\"credentialConfiguration\\": {\\n \\"credentialName\\": \\"deepagent-key\\"\\n },\\n \\"logConfiguration\\": {\\n \\"project\\": \\"agent-runtime-logs\\",\\n \\"logstore\\": \\"agent-runtime-logs\\"\\n },\\n \\"sandboxIdleTimeoutInSeconds\\": \\"1800\\",\\n \\"sandboxTTLInSeconds\\": \\"已弃用\\",\\n \\"resourceName\\": \\"agentrun-f2570dd4-c8a2-452c-8bd5-4ef74b0a69b5\\",\\n \\"mcpOptions\\": {\\n \\"transport\\": \\"streamable-http\\",\\n \\"enabledTools\\": [\\n \\"execute_code\\"\\n ]\\n },\\n \\"mcpState\\": {\\n \\"status\\": \\"CREATING\\",\\n \\"statusReason\\": \\"SDK Error\\",\\n \\"accessEndpoint\\": \\"/mcp\\"\\n },\\n \\"diskSize\\": 10240,\\n \\"description\\": \\"template描述\\",\\n \\"allowAnonymousManage\\": true,\\n \\"nasConfig\\": {\\n \\"groupId\\": 100,\\n \\"mountPoints\\": [\\n {\\n \\"enableTLS\\": false,\\n \\"mountDir\\": \\"/home/test\\",\\n \\"serverAddr\\": \\"***-uni85.cn-hangzhou.nas.com:/\\"\\n }\\n ],\\n \\"userId\\": 100\\n },\\n \\"enableAgent\\": false,\\n \\"workspaceId\\": \\"\\",\\n \\"scalingStatus\\": {\\n \\"minInstances\\": 1,\\n \\"targetInstances\\": 2,\\n \\"currentInstances\\": 2,\\n \\"scheduledPolicies\\": [\\n {\\n \\"name\\": \\"scale-up-morning\\",\\n \\"startTime\\": \\"2024-01-01T08:00:00\\",\\n \\"endTime\\": \\"2024-01-01T08:00:00\\",\\n \\"scheduleExpression\\": \\"cron(0 8 * * ? *)\\",\\n \\"timeZone\\": \\"Asia/Shanghai\\",\\n \\"target\\": 20\\n }\\n ],\\n \\"currentError\\": \\"error\\"\\n },\\n \\"environmentVariables\\": {\\n \\"key\\": \\"{\'FCTEST_IDE_ENV\': \'IDE\'}\\"\\n },\\n \\"templateConfiguration\\": {\\n \\"key\\": \\"{\\\\\\"example\\\\\\":\\\\\\"test\\\\\\"}\\"\\n },\\n \\"ossConfiguration\\": [\\n {\\n \\"bucketName\\": \\"a-test-oss\\",\\n \\"prefix\\": \\"/\\",\\n \\"mountPoint\\": \\"/mnt/oss1\\",\\n \\"permission\\": \\"READ_WRITE\\",\\n \\"region\\": \\"ch-hangzhou\\",\\n \\"endpoint\\": \\"\\"\\n }\\n ],\\n \\"enablePreStop\\": false,\\n \\"preStopTimeoutInSeconds\\": 0\\n }\\n}","type":"json"}]',
+ 'translator' => 'manual',
+ ],
+ 'UpdateAgentRuntime' => [
+ 'summary' => 'Updates an agent runtime.',
+ 'description' => 'Updates the configuration of a specified agent runtime, including resource allocation, network configuration, and environment variables. The update operation triggers a runtime restart.',
+ 'path' => '/2025-09-10/agents/runtimes/{agentRuntimeId}',
+ 'methods' => ['put'],
+ 'schemes' => ['https'],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREfc739PD5'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'agentRuntimeId',
+ 'in' => 'path',
+ 'allowEmptyValue' => true,
+ 'schema' => ['title' => '', 'description' => 'The agent runtime ID.', 'type' => 'string', 'required' => true, 'example' => '12345678-1234-1234-1234-123456789abc'],
+ 'examples' => [],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => ['title' => '', 'description' => 'The input parameters for updating the agent runtime.', 'required' => true, '$ref' => '#/components/schemas/UpdateAgentRuntimeInput', 'example' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'description' => '成功响应 - 返回更新后的智能体运行时信息,包括新的配置参数和运行状态',
+ 'schema' => ['title' => '', 'description' => 'The result of the update operation.', '$ref' => '#/components/schemas/AgentRuntimeResult', 'example' => ''],
+ 'examples' => [],
+ ],
+ 500 => [
+ 'schema' => ['$ref' => '#/components/schemas/ErrorResult', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ ],
+ 'title' => 'Update agent runtime',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'agentrun:UpdateAgentRuntime',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'Agent', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:workspaces/{#workspaceName}/runtimes/{#runtimeName}'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"SUCCESS\\",\\n \\"requestId\\": \\"F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E\\",\\n \\"data\\": {\\n \\"agentRuntimeId\\": \\"ar-1234567890abcdef\\",\\n \\"agentRuntimeName\\": \\"my-agent-runtime\\",\\n \\"agentRuntimeArn\\": \\"acs:agentrun:cn-hangzhou:1760720386195983:runtimes/7a1b6d39-9f8f-4ce2-b9c9-6db1b0b9e169\\",\\n \\"createdAt\\": \\"2025-01-10T10:30:00Z\\",\\n \\"status\\": \\"READY\\",\\n \\"statusReason\\": \\"Runtime is ready for use\\",\\n \\"lastUpdatedAt\\": \\"2025-01-10T11:45:00Z\\",\\n \\"description\\": \\"AI agent runtime for customer service automation\\",\\n \\"executionRoleArn\\": \\"acs:ram::1760720386195983:role/AgentRunExecutionRole\\",\\n \\"credentialName\\": \\"my-credential\\",\\n \\"externalAgentEndpointUrl\\": \\"https://external-agent.example.com/api\\",\\n \\"agentRuntimeVersion\\": \\"1\\",\\n \\"artifactType\\": \\"Code\\",\\n \\"codeConfiguration\\": {\\n \\"zipFile\\": \\"UEsDBAoAAAAAANF\\",\\n \\"ossBucketName\\": \\"my-agent-code-bucket\\",\\n \\"ossObjectName\\": \\"agent-code-v1.0.zip\\",\\n \\"checksum\\": \\"1234567890123456789\\",\\n \\"language\\": \\"python3.12\\",\\n \\"command\\": [\\n \\"\\"\\n ]\\n },\\n \\"containerConfiguration\\": {\\n \\"image\\": \\"registry.cn-hangzhou.aliyuncs.com/my-namespace/agent-runtime:latest\\",\\n \\"imageRegistryType\\": \\"ACR\\",\\n \\"acrInstanceId\\": \\"cri-xxxxx\\",\\n \\"command\\": [\\n \\"/usr/local/bin/entrypoint.sh\\"\\n ],\\n \\"registryConfig\\": {\\n \\"authConfig\\": {\\n \\"userName\\": \\"admin\\",\\n \\"password\\": \\"abc***\\"\\n },\\n \\"certConfig\\": {\\n \\"insecure\\": false,\\n \\"rootCaCertBase64\\": \\"cm9vdF9jYV9jZXJ0X2Jhc2U2NA==\\"\\n },\\n \\"networkConfig\\": {\\n \\"vpcId\\": \\"vpc-xxxxxxxxxxxxx\\",\\n \\"vSwitchId\\": \\"vsw-xxxxxxxxxxxxx\\",\\n \\"securityGroupId\\": \\"sg-xxxxxxxxxxxxx\\"\\n }\\n },\\n \\"port\\": 5000\\n },\\n \\"networkConfiguration\\": {\\n \\"networkMode\\": \\"PRIVATE\\",\\n \\"vpcId\\": \\"vpc-1234567890abcdef0\\",\\n \\"securityGroupId\\": \\"sg-1234567890abcdef0\\",\\n \\"vswitchIds\\": [\\n \\"vsw-sg-1234567890abcdef0\\"\\n ]\\n },\\n \\"protocolConfiguration\\": {\\n \\"type\\": \\"HTTP\\",\\n \\"protocolSettings\\": [\\n {\\n \\"type\\": \\"\\",\\n \\"name\\": \\"\\",\\n \\"config\\": \\"\\",\\n \\"path\\": \\"\\",\\n \\"pathPrefix\\": \\"\\",\\n \\"headers\\": \\"\\",\\n \\"method\\": \\"\\",\\n \\"inputBodyJsonSchema\\": \\"\\",\\n \\"outputBodyJsonSchema\\": \\"\\",\\n \\"requestContentType\\": \\"\\",\\n \\"responseContentType\\": \\"\\",\\n \\"A2AAgentCard\\": \\"\\",\\n \\"a2aAgentCard\\": \\"\\",\\n \\"a2aAgentCardUrl\\": \\"\\"\\n }\\n ]\\n },\\n \\"cpu\\": 2,\\n \\"memory\\": 2048,\\n \\"diskSize\\": 0,\\n \\"port\\": 8080,\\n \\"sessionConcurrencyLimitPerInstance\\": 100,\\n \\"logConfiguration\\": {\\n \\"project\\": \\"agent-runtime-logs\\",\\n \\"logstore\\": \\"agent-runtime-logs\\"\\n },\\n \\"healthCheckConfiguration\\": {\\n \\"httpGetUrl\\": \\"/ready\\",\\n \\"initialDelaySeconds\\": 30,\\n \\"periodSeconds\\": 30,\\n \\"timeoutSeconds\\": 3,\\n \\"failureThreshold\\": 3,\\n \\"successThreshold\\": 1\\n },\\n \\"sessionIdleTimeoutSeconds\\": 3600,\\n \\"enableSessionIsolation\\": false,\\n \\"disableOndemand\\": false,\\n \\"disableSessionAffinity\\": false,\\n \\"sessionAffinityType\\": \\"GENERATED_COOKIE\\",\\n \\"headerFieldName\\": \\"x-agentrun-session-id\\",\\n \\"resourceGroupId\\": \\"\\",\\n \\"workspaceId\\": \\"ws-1234567890abcdef\\",\\n \\"nasConfig\\": {\\n \\"groupId\\": 100,\\n \\"mountPoints\\": [\\n {\\n \\"enableTLS\\": false,\\n \\"mountDir\\": \\"/home/test\\",\\n \\"serverAddr\\": \\"***-uni85.cn-hangzhou.nas.com:/\\"\\n }\\n ],\\n \\"userId\\": 100\\n },\\n \\"ossMountConfig\\": {\\n \\"mountPoints\\": [\\n {\\n \\"bucketName\\": \\"my-bucket\\",\\n \\"bucketPath\\": \\"/my-dir\\",\\n \\"endpoint\\": \\"http://oss-cn-shanghai.aliyuncs.com\\",\\n \\"mountDir\\": \\"/mnt/dir\\",\\n \\"readOnly\\": true\\n }\\n ]\\n },\\n \\"environmentVariables\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"systemTags\\": [\\n \\"\\"\\n ],\\n \\"agentIdentityEnabled\\": \\"\\",\\n \\"agentIdentityConfig\\": {\\n \\"identityProviderName\\": \\"\\",\\n \\"workloadIdentityName\\": \\"\\"\\n },\\n \\"edition\\": \\"\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'UpdateAgentRuntimeEndpoint' => [
+ 'summary' => 'Update Agent Runtime Endpoint',
+ 'path' => '/2025-09-10/agents/runtimes/{agentRuntimeId}/endpoints/{agentRuntimeEndpointId}',
+ 'methods' => ['put'],
+ 'schemes' => ['https'],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREfc739PD5'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'agentRuntimeId',
+ 'in' => 'path',
+ 'allowEmptyValue' => true,
+ 'schema' => ['title' => '', 'description' => 'Agent Runtime ID', 'type' => 'string', 'required' => true, 'example' => '12345678-1234-1234-1234-123456789abc'],
+ 'examples' => [],
+ ],
+ [
+ 'name' => 'agentRuntimeEndpointId',
+ 'in' => 'path',
+ 'allowEmptyValue' => true,
+ 'schema' => ['title' => '', 'description' => 'Agent Runtime Endpoint ID', 'type' => 'string', 'required' => true, 'example' => '87654321-4321-4321-4321-210987654321'],
+ 'examples' => [],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => ['title' => '', 'description' => 'Update Agent Runtime Endpoint Input', 'required' => true, '$ref' => '#/components/schemas/UpdateAgentRuntimeEndpointInput', 'example' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'description' => '成功响应 - 返回更新后的智能体运行时端点信息',
+ 'schema' => ['title' => '', 'description' => 'Result of the Update Structure', '$ref' => '#/components/schemas/AgentRuntimeEndpointResult', 'example' => ''],
+ 'examples' => [],
+ ],
+ 500 => [
+ 'schema' => ['$ref' => '#/components/schemas/ErrorResult', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ ],
+ 'title' => 'Update Agent Runtime Endpoint',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'agentrun:UpdateAgentRuntimeEndpoint',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'Endpoint', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:workspaces/{#workspaceName}/runtimes/{#runtimeName}/runtime-endpoints/{#endpointName}'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"\\",\\n \\"requestId\\": \\"\\",\\n \\"data\\": {\\n \\"agentRuntimeId\\": \\"ar-1234567890abcdef\\",\\n \\"agentRuntimeEndpointId\\": \\"are-1234567890abcdef\\",\\n \\"agentRuntimeEndpointArn\\": \\"acs:agentrun:cn-hangzhou:1760720386195983:runtime-endpoints/e56d483c-db80-4116-9ec4-25f16f5facfd\\",\\n \\"agentRuntimeEndpointName\\": \\"production-endpoint\\",\\n \\"description\\": \\"Production endpoint for customer service agent\\",\\n \\"status\\": \\"ACTIVE\\",\\n \\"statusReason\\": \\"Endpoint is active and ready\\",\\n \\"targetVersion\\": \\"LATEST\\",\\n \\"routingConfiguration\\": {\\n \\"versionWeights\\": [\\n {\\n \\"version\\": \\"\\",\\n \\"weight\\": 0\\n }\\n ]\\n },\\n \\"endpointPublicUrl\\": \\"https://ar-1234567890abcdef.cn-hangzhou.agentrun.aliyuncs.com\\",\\n \\"disablePublicNetworkAccess\\": false,\\n \\"scalingStatus\\": {\\n \\"minInstances\\": 1,\\n \\"targetInstances\\": 2,\\n \\"currentInstances\\": 2,\\n \\"scheduledPolicies\\": [\\n {\\n \\"name\\": \\"scale-up-morning\\",\\n \\"startTime\\": \\"2024-01-01T08:00:00\\",\\n \\"endTime\\": \\"2024-01-01T08:00:00\\",\\n \\"scheduleExpression\\": \\"cron(0 8 * * ? *)\\",\\n \\"timeZone\\": \\"Asia/Shanghai\\",\\n \\"target\\": 20\\n }\\n ],\\n \\"currentError\\": \\"error\\"\\n }\\n }\\n}","type":"json"}]',
+ 'translator' => 'machine',
+ ],
+ 'UpdateCredential' => [
+ 'summary' => 'Updates a credential.',
+ 'path' => '/2025-09-10/agents/credentials/{credentialName}',
+ 'methods' => ['put'],
+ 'schemes' => ['https'],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREfcGRJPWY', 'FEATUREfcVF016G'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'credentialName',
+ 'in' => 'path',
+ 'allowEmptyValue' => true,
+ 'schema' => ['description' => 'The name of the credential to update.', 'type' => 'string', 'required' => false, 'example' => 'credentialName', 'title' => ''],
+ 'examples' => [],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'schema' => ['description' => 'The new configuration for the credential.', '$ref' => '#/components/schemas/UpdateCredentialInput', 'required' => false, 'title' => '', 'example' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'description' => 'Successful response',
+ 'headers' => [],
+ 'schema' => ['description' => 'The details of the updated credential.', '$ref' => '#/components/schemas/CredentialResult', 'title' => '', 'example' => ''],
+ 'examples' => [],
+ ],
+ ],
+ 'title' => 'UpdateCredential',
+ 'description' => 'Updates the configuration of a specified credential.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'agentrun:UpdateCredential',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'Credential', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:workspaces/{#workspaceName}/credentials/{#credentialName}'],
+ ],
+ ],
+ ],
+ ],
+ 'translator' => 'machine',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"\\",\\n \\"requestId\\": \\"\\",\\n \\"data\\": {\\n \\"credentialId\\": \\"\\",\\n \\"credentialName\\": \\"\\",\\n \\"description\\": \\"\\",\\n \\"credentialAuthType\\": \\"\\",\\n \\"credentialSourceType\\": \\"\\",\\n \\"enabled\\": false,\\n \\"credentialSecret\\": \\"\\",\\n \\"createdAt\\": \\"\\",\\n \\"updatedAt\\": \\"\\",\\n \\"credentialPublicConfig\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"relatedResources\\": [\\n {\\n \\"resourceId\\": \\"\\",\\n \\"resourceName\\": \\"\\",\\n \\"resourceType\\": \\"\\"\\n }\\n ],\\n \\"workspaceId\\": \\"\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'UpdateCustomDomain' => [
+ 'path' => '/2025-09-10/agents/custom-domains/{domainName}',
+ 'methods' => ['put'],
+ 'schemes' => ['https'],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREfcGRJPWY', 'FEATUREfcVF016G'],
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'domainName',
+ 'in' => 'path',
+ 'schema' => ['description' => 'The name of the custom domain to update.', 'type' => 'string', 'required' => false, 'example' => 'foo.bar.com', 'title' => ''],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'schema' => ['description' => 'The updated configuration for the custom domain.', '$ref' => '#/components/schemas/UpdateCustomDomainInput', 'required' => false, 'title' => '', 'example' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'headers' => [],
+ 'schema' => ['description' => 'The details of the updated custom domain.', '$ref' => '#/components/schemas/CustomDomainResult', 'title' => '', 'example' => ''],
+ 'examples' => [],
+ ],
+ ],
+ 'title' => 'UpdateCustomDomain',
+ 'summary' => 'Updates a custom domain.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'agentrun:UpdateCustomDomain',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"SUCCESS\\",\\n \\"requestId\\": \\"F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E\\",\\n \\"data\\": {\\n \\"domainName\\": \\"example.com\\",\\n \\"description\\": \\"\\",\\n \\"protocol\\": \\"HTTP\\",\\n \\"routeConfig\\": {\\n \\"routes\\": [\\n {\\n \\"path\\": \\"/login\\",\\n \\"resourceName\\": \\"\\",\\n \\"resourceType\\": \\"runtime\\",\\n \\"agentRuntimeEndpointName\\": \\"\\",\\n \\"compatibleProtocol\\": \\"native\\",\\n \\"flowEndpointName\\": \\"Default\\",\\n \\"methods\\": [\\n \\"\\"\\n ],\\n \\"removeBasePathOnForward\\": false\\n }\\n ]\\n },\\n \\"certConfig\\": {\\n \\"certName\\": \\"my-cert\\",\\n \\"certificate\\": \\"-----BEGIN CERTIFICATE-----\\\\\\\\nxxxxx\\\\\\\\n-----END CERTIFICATE-----\\",\\n \\"privateKey\\": \\"-----BEGIN RSA PRIVATE KEY-----\\\\\\\\nxxxxx\\\\\\\\n-----END RSA PRIVATE KEY-----\\"\\n },\\n \\"tlsConfig\\": {\\n \\"minVersion\\": \\"TLSv1.2\\",\\n \\"cipherSuites\\": [\\n \\"\\"\\n ],\\n \\"maxVersion\\": \\"TLSv1.3\\"\\n },\\n \\"createdAt\\": \\"2025-01-10T10:30:00Z\\",\\n \\"updatedAt\\": \\"2025-01-10T11:45:00Z\\",\\n \\"domainType\\": \\"\\"\\n }\\n}","type":"json"}]',
+ 'translator' => 'manual',
+ ],
+ 'UpdateFlow' => [
+ 'summary' => 'Updates a workflow.',
+ 'description' => 'Updates the configuration of a specified workflow, including the definition, execution mode, and environment variables.',
+ 'path' => '/2025-09-10/flows/{flowName}',
+ 'methods' => ['put'],
+ 'schemes' => ['https'],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREfc739PD5'],
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'flowName',
+ 'in' => 'path',
+ 'allowEmptyValue' => true,
+ 'schema' => ['title' => '', 'description' => 'The workflow ID.', 'type' => 'string', 'required' => true, 'example' => 'flow-1234567890abcdef'],
+ 'examples' => [],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => ['title' => '', 'description' => 'The input parameters for updating the workflow.', 'required' => true, '$ref' => '#/components/schemas/UpdateFlowInput', 'example' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'description' => '成功响应 - 返回更新后的工作流信息,包括新的配置参数',
+ 'schema' => ['title' => '', 'description' => 'The result of the update struct.', '$ref' => '#/components/schemas/FlowResult', 'example' => ''],
+ 'examples' => [],
+ ],
+ 500 => [
+ 'schema' => ['$ref' => '#/components/schemas/ErrorResult', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ ],
+ 'title' => 'Update flow orchestration',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'agentrun:UpdateFlow',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'Flow', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:workspaces/{#workspaceName}/flows/{#flowId}'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"SUCCESS\\",\\n \\"requestId\\": \\"F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E\\",\\n \\"data\\": {\\n \\"flowId\\": \\"flow-1234567890abcdef\\",\\n \\"flowArn\\": \\"acs:agentrun:cn-hangzhou:123456789012:workspaces/ws-xxx/flows/flow-xxx\\",\\n \\"flowName\\": \\"my-flow\\",\\n \\"description\\": \\"Customer service automation flow\\",\\n \\"definition\\": \\"{}\\",\\n \\"executionRoleArn\\": \\"acs:ram::123456789012:role/FlowExecutionRole\\",\\n \\"environmentConfiguration\\": {\\n \\"variables\\": [\\n {\\n \\"name\\": \\"MY_KEY\\",\\n \\"value\\": \\"my-value\\",\\n \\"description\\": \\"A configuration key\\"\\n }\\n ]\\n },\\n \\"externalStorageLocation\\": \\"oss://bucket/path\\",\\n \\"resourceGroupId\\": \\"rg-acfmxsn4m4a4b4a\\",\\n \\"tracingConfiguration\\": {\\n \\"enabled\\": true\\n },\\n \\"loggingConfiguration\\": {\\n \\"destinations\\": [\\n {\\n \\"slsLogDestination\\": {\\n \\"project\\": \\"my-sls-project\\",\\n \\"logStore\\": \\"my-logstore\\"\\n }\\n }\\n ]\\n },\\n \\"workspaceId\\": \\"ws-1234567890abcdef\\",\\n \\"createdAt\\": \\"2025-01-10T10:30:00Z\\",\\n \\"lastUpdatedAt\\": \\"2025-01-10T11:45:00Z\\",\\n \\"disablePublicNetworkAccess\\": false\\n }\\n}","type":"json"}]',
+ 'translator' => 'machine',
+ ],
+ 'UpdateFlowDraft' => [
+ 'path' => '/2025-09-10/flows/{flowName}/draft',
+ 'methods' => ['put'],
+ 'schemes' => ['https'],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREfc739PD5'],
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'flowName',
+ 'in' => 'path',
+ 'allowEmptyValue' => true,
+ 'schema' => ['title' => '', 'description' => 'Flow ID', 'type' => 'string', 'required' => true, 'example' => 'flow-1234567890abcdef'],
+ 'examples' => [],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => ['title' => '', 'description' => 'Input parameters for updating flow draft', 'required' => true, '$ref' => '#/components/schemas/UpdateFlowDraftInput', 'example' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => ['title' => '', 'description' => 'Result of the update operation', '$ref' => '#/components/schemas/FlowResult', 'example' => ''],
+ 'examples' => [],
+ ],
+ 500 => [
+ 'schema' => ['$ref' => '#/components/schemas/ErrorResult', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ ],
+ 'title' => 'Update Flow Draft',
+ 'summary' => 'Update a flow draft.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'agentrun:UpdateFlowDraft',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'Flow', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:workspaces/{#workspaceName}/flows/{#flowId}'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"SUCCESS\\",\\n \\"requestId\\": \\"F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E\\",\\n \\"data\\": {\\n \\"flowId\\": \\"flow-1234567890abcdef\\",\\n \\"flowArn\\": \\"acs:agentrun:cn-hangzhou:123456789012:workspaces/ws-xxx/flows/flow-xxx\\",\\n \\"flowName\\": \\"my-flow\\",\\n \\"description\\": \\"Customer service automation flow\\",\\n \\"definition\\": \\"{}\\",\\n \\"executionRoleArn\\": \\"acs:ram::123456789012:role/FlowExecutionRole\\",\\n \\"environmentConfiguration\\": {\\n \\"variables\\": [\\n {\\n \\"name\\": \\"MY_KEY\\",\\n \\"value\\": \\"my-value\\",\\n \\"description\\": \\"A configuration key\\"\\n }\\n ]\\n },\\n \\"externalStorageLocation\\": \\"oss://bucket/path\\",\\n \\"resourceGroupId\\": \\"rg-acfmxsn4m4a4b4a\\",\\n \\"tracingConfiguration\\": {\\n \\"enabled\\": true\\n },\\n \\"loggingConfiguration\\": {\\n \\"destinations\\": [\\n {\\n \\"slsLogDestination\\": {\\n \\"project\\": \\"my-sls-project\\",\\n \\"logStore\\": \\"my-logstore\\"\\n }\\n }\\n ]\\n },\\n \\"workspaceId\\": \\"ws-1234567890abcdef\\",\\n \\"createdAt\\": \\"2025-01-10T10:30:00Z\\",\\n \\"lastUpdatedAt\\": \\"2025-01-10T11:45:00Z\\",\\n \\"disablePublicNetworkAccess\\": false\\n }\\n}","type":"json"}]',
+ 'translator' => 'machine',
+ ],
+ 'UpdateFlowEndpoint' => [
+ 'path' => '/2025-09-10/flows/{flowName}/endpoints/{flowEndpointName}',
+ 'methods' => ['put'],
+ 'schemes' => ['https'],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREfc739PD5'],
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'flowName',
+ 'in' => 'path',
+ 'allowEmptyValue' => true,
+ 'schema' => ['title' => '', 'description' => 'Flow ID', 'type' => 'string', 'required' => true, 'example' => 'flow-1234567890abcdef'],
+ 'examples' => [],
+ ],
+ [
+ 'name' => 'flowEndpointName',
+ 'in' => 'path',
+ 'allowEmptyValue' => true,
+ 'schema' => ['title' => '', 'description' => 'Flow Endpoint ID', 'type' => 'string', 'required' => true, 'example' => 'fe-1234567890abcdef'],
+ 'examples' => [],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => ['title' => '', 'description' => 'Update Flow Endpoint Input Parameters', 'required' => true, '$ref' => '#/components/schemas/UpdateFlowEndpointInput', 'example' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => ['title' => '', 'description' => 'Result of the Update Operation', '$ref' => '#/components/schemas/FlowEndpointResult', 'example' => ''],
+ 'examples' => [],
+ ],
+ 500 => [
+ 'schema' => ['$ref' => '#/components/schemas/ErrorResult', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ ],
+ 'title' => 'Update Programmatic Orchestration Call Endpoint',
+ 'summary' => 'Update Flow Endpoint',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"SUCCESS\\",\\n \\"requestId\\": \\"F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E\\",\\n \\"data\\": {\\n \\"flowId\\": \\"flow-1234567890abcdef\\",\\n \\"flowEndpointId\\": \\"fe-1234567890abcdef\\",\\n \\"flowEndpointArn\\": \\"acs:agentrun:cn-hangzhou:123456789012:workspaces/ws-xxx/flows/flow-xxx/endpoints/fe-xxx\\",\\n \\"flowEndpointName\\": \\"my-flow-endpoint\\",\\n \\"description\\": \\"Production endpoint for flow\\",\\n \\"targetVersion\\": \\"1\\",\\n \\"createdAt\\": \\"2025-01-10T10:30:00Z\\",\\n \\"lastUpdatedAt\\": \\"2025-01-10T11:45:00Z\\",\\n \\"routingConfiguration\\": [\\n {\\n \\"version\\": \\"1\\",\\n \\"weight\\": 100\\n }\\n ],\\n \\"disablePublicNetworkAccess\\": false\\n }\\n}","type":"json"}]',
+ 'translator' => 'machine',
+ ],
+ 'UpdateIMBot' => [
+ 'path' => '/2025-09-10/agents/im-bots/{imBotId}',
+ 'methods' => ['put'],
+ 'schemes' => ['https'],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREfc739PD5'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'imBotId',
+ 'in' => 'path',
+ 'allowEmptyValue' => true,
+ 'schema' => ['description' => 'The unique identifier of the IM bot to update.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => ''],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => ['description' => 'Contains the configuration details to update for the IM bot.', 'required' => true, '$ref' => '#/components/schemas/UpdateIMBotInput', 'title' => '', 'example' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => ['description' => 'If the update is successful, this operation returns the updated IM bot object.', '$ref' => '#/components/schemas/IMBotResult', 'title' => '', 'example' => ''],
+ ],
+ 500 => [
+ 'schema' => ['$ref' => '#/components/schemas/ErrorResult', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'summary' => 'Updates an IM bot.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'agentrun:UpdateIMBot',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'IMBot', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:workspaces/{#workspaceName}/runtimes/{#runtimeName}/im-bots/{#botName}'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"\\",\\n \\"requestId\\": \\"\\",\\n \\"data\\": {\\n \\"id\\": \\"\\",\\n \\"tenantId\\": \\"\\",\\n \\"imChannelServerResourceName\\": \\"\\",\\n \\"botBizId\\": \\"\\",\\n \\"botName\\": \\"\\",\\n \\"agentRuntimeId\\": \\"\\",\\n \\"botBizType\\": \\"\\",\\n \\"botMode\\": \\"\\",\\n \\"status\\": \\"\\",\\n \\"lastMessageTime\\": \\"\\",\\n \\"currentInstances\\": 0,\\n \\"description\\": \\"\\",\\n \\"metadata\\": {\\n \\"agentRuntimeId\\": \\"\\",\\n \\"agentRuntimeEndpointId\\": \\"\\",\\n \\"agentRuntimeEndpointUrl\\": \\"\\",\\n \\"protocolType\\": \\"\\",\\n \\"role\\": \\"\\",\\n \\"customFunctionMeta\\": \\"\\"\\n },\\n \\"createdAt\\": \\"\\",\\n \\"updatedAt\\": \\"\\"\\n }\\n}","type":"json"}]',
+ 'title' => 'UpdateIMBot',
+ 'translator' => 'machine',
+ ],
+ 'UpdateKnowledgeBase' => [
+ 'path' => '/2025-09-10/agents/knowledgebases/{knowledgeBaseName}',
+ 'methods' => ['put'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREfcGRJPWY'],
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'knowledgeBaseName',
+ 'in' => 'path',
+ 'schema' => ['description' => 'The name of the knowledge base.', 'type' => 'string', 'required' => true, 'example' => 'my-knowledgebase-name', 'title' => ''],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => ['description' => 'The request body for updating a knowledge base.', '$ref' => '#/components/schemas/UpdateKnowledgeBaseInput', 'required' => false, 'title' => '', 'example' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => ['description' => 'The result returned after the knowledge base is updated.', '$ref' => '#/components/schemas/KnowledgeBaseResult', 'title' => '', 'example' => ''],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ ['errorCode' => 'IdempotentParameterMismatch', 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', 'description' => ''],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'UpdateKnowledgeBase',
+ 'summary' => 'Updates the configuration of a knowledge base.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'agentrun:UpdateKnowledgeBase',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'Knowledgebase', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:workspaces/{#workspaceName}/knowledgebases/{#knowledgeBaseName}'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"\\",\\n \\"requestId\\": \\"\\",\\n \\"data\\": {\\n \\"knowledgeBaseId\\": \\"\\",\\n \\"knowledgeBaseName\\": \\"\\",\\n \\"description\\": \\"\\",\\n \\"provider\\": \\"\\",\\n \\"credentialName\\": \\"\\",\\n \\"createdAt\\": \\"\\",\\n \\"lastUpdatedAt\\": \\"\\",\\n \\"providerSettings\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"retrieveSettings\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"workspaceId\\": \\"\\"\\n }\\n}","type":"json"}]',
+ 'translator' => 'machine',
+ ],
+ 'UpdateMemoryCollection' => [
+ 'summary' => 'Modifies a memory collection.',
+ 'path' => '/2025-09-10/agents/memory-collections/{memoryCollectionName}',
+ 'methods' => ['put'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREfcUDVD99'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'memoryCollectionName',
+ 'in' => 'path',
+ 'schema' => ['description' => 'The name of the memory collection.', 'type' => 'string', 'required' => false, 'example' => 'my-memory-1', 'title' => ''],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => ['description' => 'The request body to update the memory collection.', '$ref' => '#/components/schemas/UpdateMemoryCollectionInput', 'required' => false, 'title' => '', 'example' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => ['description' => 'The details of the updated memory collection.', '$ref' => '#/components/schemas/MemoryCollectionResult', 'title' => '', 'example' => ''],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'UpdateMemoryCollection',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'agentrun:UpdateMemoryCollection',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"\\",\\n \\"requestId\\": \\"\\",\\n \\"data\\": {\\n \\"memoryCollectionName\\": \\"\\",\\n \\"memoryCollectionId\\": \\"\\",\\n \\"description\\": \\"\\",\\n \\"llmConfig\\": {\\n \\"config\\": {\\n \\"model\\": \\"\\"\\n },\\n \\"modelServiceName\\": \\"\\"\\n },\\n \\"embedderConfig\\": {\\n \\"config\\": {\\n \\"model\\": \\"\\"\\n },\\n \\"modelServiceName\\": \\"\\"\\n },\\n \\"vectorStoreConfig\\": {\\n \\"provider\\": \\"\\",\\n \\"config\\": {\\n \\"endpoint\\": \\"\\",\\n \\"instanceName\\": \\"\\",\\n \\"vectorDimension\\": 0,\\n \\"collectionName\\": \\"\\"\\n },\\n \\"mysqlConfig\\": {\\n \\"host\\": \\"\\",\\n \\"dbName\\": \\"\\",\\n \\"collectionName\\": \\"\\",\\n \\"user\\": \\"\\",\\n \\"credentialName\\": \\"\\",\\n \\"vectorDimension\\": 0,\\n \\"port\\": 0\\n }\\n },\\n \\"networkConfiguration\\": {\\n \\"networkMode\\": \\"PRIVATE\\",\\n \\"vpcId\\": \\"vpc-1234567890abcdef0\\",\\n \\"securityGroupId\\": \\"sg-1234567890abcdef0\\",\\n \\"vswitchIds\\": [\\n \\"vsw-sg-1234567890abcdef0\\"\\n ]\\n },\\n \\"executionRoleArn\\": \\"\\",\\n \\"createdAt\\": \\"\\",\\n \\"lastUpdatedAt\\": \\"\\",\\n \\"enableConversationHistory\\": false,\\n \\"enableConversationState\\": false,\\n \\"workspaceId\\": \\"\\"\\n }\\n}","type":"json"}]',
+ 'translator' => 'machine',
+ ],
+ 'UpdateModelProxy' => [
+ 'summary' => 'Updates the configuration of a model proxy.',
+ 'path' => '/2025-09-10/agents/model-proxies/{modelProxyName}',
+ 'methods' => ['put'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREfcGRJPWY'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'modelProxyName',
+ 'in' => 'path',
+ 'schema' => ['description' => 'The name of the model proxy to update.', 'type' => 'string', 'required' => true, 'example' => 'modelProxyName', 'title' => ''],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => ['description' => 'The new configuration for the model proxy.', '$ref' => '#/components/schemas/UpdateModelProxyInput', 'required' => false, 'title' => '', 'example' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => ['description' => 'The details of the updated model proxy.', '$ref' => '#/components/schemas/ModelProxyResult', 'title' => '', 'example' => ''],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'UpdateModelProxy',
+ 'description' => 'Use this operation to update the configuration of a specific model proxy.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [],
+ 'translator' => 'machine',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"\\",\\n \\"requestId\\": \\"\\",\\n \\"data\\": {\\n \\"modelProxyId\\": \\"\\",\\n \\"modelProxyName\\": \\"\\",\\n \\"description\\": \\"\\",\\n \\"modelType\\": \\"\\",\\n \\"proxyMode\\": \\"\\",\\n \\"proxyConfig\\": {\\n \\"policies\\": {\\n \\"requestTimeout\\": 0,\\n \\"numRetries\\": 0,\\n \\"cache\\": false,\\n \\"concurrencyLimit\\": 0,\\n \\"fallbacks\\": [\\n {\\n \\"modelServiceName\\": \\"\\",\\n \\"modelName\\": \\"\\"\\n }\\n ],\\n \\"tokenRateLimiter\\": {\\n \\"tps\\": 0,\\n \\"tpm\\": 0,\\n \\"tph\\": 0,\\n \\"tpd\\": 0\\n },\\n \\"aiGuardrailConfig\\": {\\n \\"checkRequest\\": false,\\n \\"checkResponse\\": false,\\n \\"level\\": \\"\\",\\n \\"maxTextLength\\": 0,\\n \\"blockOnContentModeration\\": false,\\n \\"blockOnSensitiveData\\": false,\\n \\"blockOnPromptAttack\\": false,\\n \\"blockOnMaliciousUrl\\": false,\\n \\"blockOnModelHallucination\\": false\\n }\\n },\\n \\"endpoints\\": [\\n {\\n \\"modelServiceName\\": \\"\\",\\n \\"weight\\": 0,\\n \\"baseUrl\\": \\"\\",\\n \\"modelNames\\": [\\n \\"\\"\\n ]\\n }\\n ]\\n },\\n \\"functionName\\": \\"\\",\\n \\"status\\": \\"\\",\\n \\"credentialName\\": \\"\\",\\n \\"serviceRegionId\\": \\"\\",\\n \\"endpoint\\": \\"\\",\\n \\"litellmVersion\\": \\"\\",\\n \\"cpu\\": 0,\\n \\"memory\\": 0,\\n \\"createdAt\\": \\"\\",\\n \\"lastUpdatedAt\\": \\"\\",\\n \\"networkConfiguration\\": {\\n \\"networkMode\\": \\"PRIVATE\\",\\n \\"vpcId\\": \\"vpc-1234567890abcdef0\\",\\n \\"securityGroupId\\": \\"sg-1234567890abcdef0\\",\\n \\"vswitchIds\\": [\\n \\"vsw-sg-1234567890abcdef0\\"\\n ]\\n },\\n \\"statusReason\\": \\"\\",\\n \\"logConfiguration\\": {\\n \\"project\\": \\"agent-runtime-logs\\",\\n \\"logstore\\": \\"agent-runtime-logs\\"\\n },\\n \\"executionRoleArn\\": \\"\\",\\n \\"workspaceId\\": \\"\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'UpdateModelService' => [
+ 'path' => '/2025-09-10/agents/model-services/{modelServiceName}',
+ 'methods' => ['put'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREfcGRJPWY'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'modelServiceName',
+ 'in' => 'path',
+ 'schema' => ['description' => 'The name of the model service.', 'type' => 'string', 'required' => true, 'example' => 'modelServiceName', 'title' => ''],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => ['description' => 'The request body.', '$ref' => '#/components/schemas/UpdateModelServiceInput', 'required' => false, 'title' => '', 'example' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => ['description' => 'Details of the updated model service.', '$ref' => '#/components/schemas/ModelServiceResult', 'title' => '', 'example' => ''],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'UpdateModelService',
+ 'summary' => 'Updates a model service.',
+ 'description' => 'This operation modifies the configuration of an existing model service.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'agentrun:UpdateModelService',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'translator' => 'machine',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"\\",\\n \\"requestId\\": \\"\\",\\n \\"data\\": {\\n \\"modelServiceName\\": \\"\\",\\n \\"description\\": \\"\\",\\n \\"modelType\\": \\"\\",\\n \\"provider\\": \\"\\",\\n \\"providerSettings\\": {\\n \\"baseUrl\\": \\"\\",\\n \\"apiKey\\": \\"\\",\\n \\"modelNames\\": [\\n \\"\\"\\n ]\\n },\\n \\"status\\": \\"\\",\\n \\"credentialName\\": \\"\\",\\n \\"createdAt\\": \\"\\",\\n \\"lastUpdatedAt\\": \\"\\",\\n \\"networkConfiguration\\": {\\n \\"networkMode\\": \\"PRIVATE\\",\\n \\"vpcId\\": \\"vpc-1234567890abcdef0\\",\\n \\"securityGroupId\\": \\"sg-1234567890abcdef0\\",\\n \\"vswitchIds\\": [\\n \\"vsw-sg-1234567890abcdef0\\"\\n ]\\n },\\n \\"statusReason\\": \\"\\",\\n \\"modelServiceId\\": \\"\\",\\n \\"modelInfoConfigs\\": [\\n {\\n \\"modelName\\": \\"\\",\\n \\"modelFeatures\\": {\\n \\"vision\\": true,\\n \\"agentThought\\": true,\\n \\"toolCall\\": true,\\n \\"multiToolCall\\": true,\\n \\"streamToolCall\\": true\\n },\\n \\"modelProperties\\": {\\n \\"contextSize\\": 0\\n },\\n \\"modelParameterRules\\": [\\n {\\n \\"name\\": \\"\\",\\n \\"type\\": \\"\\",\\n \\"default\\": \\"\\",\\n \\"min\\": 0,\\n \\"max\\": 0,\\n \\"required\\": true\\n }\\n ]\\n }\\n ],\\n \\"workspaceId\\": \\"\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'UpdateTemplate' => [
+ 'path' => '/2025-09-10/templates/{templateName}',
+ 'methods' => ['put'],
+ 'schemes' => ['https'],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREfcGRJPWY'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'templateName',
+ 'in' => 'path',
+ 'allowEmptyValue' => true,
+ 'schema' => ['description' => 'The name of the template.', 'type' => 'string', 'required' => true, 'example' => 'my-template', 'title' => ''],
+ 'examples' => [],
+ ],
+ [
+ 'name' => 'clientToken',
+ 'in' => 'query',
+ 'allowEmptyValue' => false,
+ 'schema' => ['description' => 'A unique client token to ensure request idempotency.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'clientToken'],
+ 'examples' => [],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => ['description' => 'The request body for the template update.', 'required' => true, '$ref' => '#/components/schemas/UpdateTemplateInput', 'title' => '', 'example' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => ['description' => 'The result of the update operation.', '$ref' => '#/components/schemas/TemplateResult', 'title' => '', 'example' => ''],
+ 'examples' => [],
+ ],
+ 500 => [
+ 'schema' => ['$ref' => '#/components/schemas/ErrorResult', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'UpdateTemplate',
+ 'summary' => 'Updates a template.',
+ 'description' => 'Updates a template\'s configuration, including its resource configuration, network configuration, and environment variables.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'agentrun:UpdateTemplate',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"SUCCESS\\",\\n \\"requestId\\": \\"F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E\\",\\n \\"data\\": {\\n \\"templateId\\": \\"996ffd5e-003f-4700-9f24-9e2a1c19019b.schema\\",\\n \\"templateName\\": \\"browser-1767874121726\\",\\n \\"templateVersion\\": \\"预留\\",\\n \\"cpu\\": 4,\\n \\"memory\\": 4096,\\n \\"templateArn\\": \\"acs:agentrun:cn-hangzhou:12345678:templates/efb6de2f-1814-42a2-b7f3-474a0e0b3a48\\",\\n \\"createdAt\\": \\"2026-01-15T17:12:59.375168+08:00\\",\\n \\"lastUpdatedAt\\": \\"2026-01-15T17:12:59.375168+08:00\\",\\n \\"status\\": \\"READY\\",\\n \\"statusReason\\": \\"SDK Error\\",\\n \\"executionRoleArn\\": \\"acs:agentrun:cn-hangzhou:12345678:templates/efb6de2f-1814-42a2-b7f3-474a0e0b3a48\\",\\n \\"templateType\\": \\"Browser\\",\\n \\"containerConfiguration\\": {\\n \\"image\\": \\"registry.cn-hangzhou.aliyuncs.com/my-namespace/agent-runtime:latest\\",\\n \\"imageRegistryType\\": \\"ACR\\",\\n \\"acrInstanceId\\": \\"cri-xxxxx\\",\\n \\"command\\": [\\n \\"/usr/local/bin/entrypoint.sh\\"\\n ],\\n \\"registryConfig\\": {\\n \\"authConfig\\": {\\n \\"userName\\": \\"admin\\",\\n \\"password\\": \\"abc***\\"\\n },\\n \\"certConfig\\": {\\n \\"insecure\\": false,\\n \\"rootCaCertBase64\\": \\"cm9vdF9jYV9jZXJ0X2Jhc2U2NA==\\"\\n },\\n \\"networkConfig\\": {\\n \\"vpcId\\": \\"vpc-xxxxxxxxxxxxx\\",\\n \\"vSwitchId\\": \\"vsw-xxxxxxxxxxxxx\\",\\n \\"securityGroupId\\": \\"sg-xxxxxxxxxxxxx\\"\\n }\\n },\\n \\"port\\": 5000\\n },\\n \\"networkConfiguration\\": {\\n \\"networkMode\\": \\"PRIVATE\\",\\n \\"vpcId\\": \\"vpc-1234567890abcdef0\\",\\n \\"securityGroupId\\": \\"sg-1234567890abcdef0\\",\\n \\"vswitchIds\\": [\\n \\"vsw-sg-1234567890abcdef0\\"\\n ]\\n },\\n \\"credentialConfiguration\\": {\\n \\"credentialName\\": \\"deepagent-key\\"\\n },\\n \\"logConfiguration\\": {\\n \\"project\\": \\"agent-runtime-logs\\",\\n \\"logstore\\": \\"agent-runtime-logs\\"\\n },\\n \\"sandboxIdleTimeoutInSeconds\\": \\"1800\\",\\n \\"sandboxTTLInSeconds\\": \\"已弃用\\",\\n \\"resourceName\\": \\"agentrun-f2570dd4-c8a2-452c-8bd5-4ef74b0a69b5\\",\\n \\"mcpOptions\\": {\\n \\"transport\\": \\"streamable-http\\",\\n \\"enabledTools\\": [\\n \\"execute_code\\"\\n ]\\n },\\n \\"mcpState\\": {\\n \\"status\\": \\"CREATING\\",\\n \\"statusReason\\": \\"SDK Error\\",\\n \\"accessEndpoint\\": \\"/mcp\\"\\n },\\n \\"diskSize\\": 10240,\\n \\"description\\": \\"template描述\\",\\n \\"allowAnonymousManage\\": true,\\n \\"nasConfig\\": {\\n \\"groupId\\": 100,\\n \\"mountPoints\\": [\\n {\\n \\"enableTLS\\": false,\\n \\"mountDir\\": \\"/home/test\\",\\n \\"serverAddr\\": \\"***-uni85.cn-hangzhou.nas.com:/\\"\\n }\\n ],\\n \\"userId\\": 100\\n },\\n \\"enableAgent\\": false,\\n \\"workspaceId\\": \\"\\",\\n \\"scalingStatus\\": {\\n \\"minInstances\\": 1,\\n \\"targetInstances\\": 2,\\n \\"currentInstances\\": 2,\\n \\"scheduledPolicies\\": [\\n {\\n \\"name\\": \\"scale-up-morning\\",\\n \\"startTime\\": \\"2024-01-01T08:00:00\\",\\n \\"endTime\\": \\"2024-01-01T08:00:00\\",\\n \\"scheduleExpression\\": \\"cron(0 8 * * ? *)\\",\\n \\"timeZone\\": \\"Asia/Shanghai\\",\\n \\"target\\": 20\\n }\\n ],\\n \\"currentError\\": \\"error\\"\\n },\\n \\"environmentVariables\\": {\\n \\"key\\": \\"{\'FCTEST_IDE_ENV\': \'IDE\'}\\"\\n },\\n \\"templateConfiguration\\": {\\n \\"key\\": \\"{\\\\\\"example\\\\\\":\\\\\\"test\\\\\\"}\\"\\n },\\n \\"ossConfiguration\\": [\\n {\\n \\"bucketName\\": \\"a-test-oss\\",\\n \\"prefix\\": \\"/\\",\\n \\"mountPoint\\": \\"/mnt/oss1\\",\\n \\"permission\\": \\"READ_WRITE\\",\\n \\"region\\": \\"ch-hangzhou\\",\\n \\"endpoint\\": \\"\\"\\n }\\n ],\\n \\"enablePreStop\\": false,\\n \\"preStopTimeoutInSeconds\\": 0\\n }\\n}","type":"json"}]',
+ 'translator' => 'manual',
+ ],
+ 'UpdateTool' => [
+ 'path' => '/2025-09-10/agents/tools/{toolName}',
+ 'methods' => ['put'],
+ 'schemes' => ['https'],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREfcGRJPWY', 'FEATUREfcVF016G'],
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'toolName',
+ 'in' => 'path',
+ 'schema' => ['title' => '', 'description' => 'The tool name.', 'type' => 'string', 'example' => 'my-mcp-tool', 'required' => false],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'schema' => ['title' => '', 'description' => 'The request body.', '$ref' => '#/components/schemas/UpdateToolInputV2', 'required' => false, 'example' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'headers' => [],
+ 'schema' => ['description' => 'The tool result.', '$ref' => '#/components/schemas/ToolResult', 'title' => '', 'example' => ''],
+ 'examples' => [],
+ ],
+ ],
+ 'title' => 'Update a tool',
+ 'summary' => 'Updates a tool.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'agentrun:UpdateTool',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'Tool', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:workspaces/{#workspaceName}/tools/{#toolName}'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"SUCCESS\\",\\n \\"requestId\\": \\"F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E\\",\\n \\"data\\": {\\n \\"toolId\\": \\"tool-abc123\\",\\n \\"toolName\\": \\"my-mcp-tool\\",\\n \\"workspaceId\\": \\"workspace-xyz789\\",\\n \\"description\\": \\"这是一个用于处理文档的 MCP 工具\\",\\n \\"toolType\\": \\"MCP\\",\\n \\"createMethod\\": \\"MCP_REMOTE\\",\\n \\"protocolSpec\\": \\"\\",\\n \\"mcpConfig\\": {\\n \\"sessionAffinity\\": \\"MCP_STREAMABLE\\",\\n \\"sessionAffinityConfig\\": \\"\\",\\n \\"proxyEnabled\\": true,\\n \\"mcpProxyConfiguration\\": {\\n \\"hooks\\": [\\n {\\n \\"url\\": \\"\\",\\n \\"description\\": \\"\\",\\n \\"apiVersion\\": \\"\\",\\n \\"enabled\\": false,\\n \\"timeout\\": 0,\\n \\"event\\": \\"\\",\\n \\"headers\\": {\\n \\"key\\": \\"\\"\\n }\\n }\\n ]\\n },\\n \\"boundConfiguration\\": {\\n \\"boundTools\\": [\\n {\\n \\"toolName\\": \\"my-tool\\",\\n \\"method\\": \\"POST\\",\\n \\"path\\": \\"/api/v1/tools\\",\\n \\"apis\\": [\\n {\\n \\"method\\": \\"\\",\\n \\"path\\": \\"\\"\\n }\\n ]\\n }\\n ]\\n }\\n },\\n \\"status\\": \\"Running\\",\\n \\"statusReason\\": \\"\\",\\n \\"executionRoleArn\\": \\"acs:ram::123456789:role/AliyunFCDefaultRole\\",\\n \\"artifactType\\": \\"Code\\",\\n \\"networkConfiguration\\": {\\n \\"networkMode\\": \\"PRIVATE\\",\\n \\"vpcId\\": \\"vpc-1234567890abcdef0\\",\\n \\"securityGroupId\\": \\"sg-1234567890abcdef0\\",\\n \\"vswitchIds\\": [\\n \\"vsw-sg-1234567890abcdef0\\"\\n ]\\n },\\n \\"codeConfiguration\\": {\\n \\"zipFile\\": \\"UEsDBAoAAAAAANF\\",\\n \\"ossBucketName\\": \\"my-agent-code-bucket\\",\\n \\"ossObjectName\\": \\"agent-code-v1.0.zip\\",\\n \\"checksum\\": \\"1234567890123456789\\",\\n \\"language\\": \\"python3.12\\",\\n \\"command\\": [\\n \\"\\"\\n ]\\n },\\n \\"containerConfiguration\\": {\\n \\"image\\": \\"registry.cn-hangzhou.aliyuncs.com/my-namespace/agent-runtime:latest\\",\\n \\"imageRegistryType\\": \\"ACR\\",\\n \\"acrInstanceId\\": \\"cri-xxxxx\\",\\n \\"command\\": [\\n \\"/usr/local/bin/entrypoint.sh\\"\\n ],\\n \\"registryConfig\\": {\\n \\"authConfig\\": {\\n \\"userName\\": \\"admin\\",\\n \\"password\\": \\"abc***\\"\\n },\\n \\"certConfig\\": {\\n \\"insecure\\": false,\\n \\"rootCaCertBase64\\": \\"cm9vdF9jYV9jZXJ0X2Jhc2U2NA==\\"\\n },\\n \\"networkConfig\\": {\\n \\"vpcId\\": \\"vpc-xxxxxxxxxxxxx\\",\\n \\"vSwitchId\\": \\"vsw-xxxxxxxxxxxxx\\",\\n \\"securityGroupId\\": \\"sg-xxxxxxxxxxxxx\\"\\n }\\n },\\n \\"port\\": 5000\\n },\\n \\"logConfiguration\\": {\\n \\"project\\": \\"agent-runtime-logs\\",\\n \\"logstore\\": \\"agent-runtime-logs\\"\\n },\\n \\"ossMountConfig\\": {\\n \\"mountPoints\\": [\\n {\\n \\"bucketName\\": \\"my-bucket\\",\\n \\"bucketPath\\": \\"/my-dir\\",\\n \\"endpoint\\": \\"http://oss-cn-shanghai.aliyuncs.com\\",\\n \\"mountDir\\": \\"/mnt/dir\\",\\n \\"readOnly\\": true\\n }\\n ]\\n },\\n \\"nasConfig\\": {\\n \\"groupId\\": 100,\\n \\"mountPoints\\": [\\n {\\n \\"enableTLS\\": false,\\n \\"mountDir\\": \\"/home/test\\",\\n \\"serverAddr\\": \\"***-uni85.cn-hangzhou.nas.com:/\\"\\n }\\n ],\\n \\"userId\\": 100\\n },\\n \\"cpu\\": 0.5,\\n \\"memory\\": 512,\\n \\"port\\": 8080,\\n \\"createdAt\\": \\"2025-09-10T10:00:00Z\\",\\n \\"updatedAt\\": \\"2025-09-10T12:00:00Z\\",\\n \\"credentialName\\": \\"my-credential\\",\\n \\"timeout\\": 300,\\n \\"environmentVariables\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"agentIdentityEnabled\\": false,\\n \\"agentIdentityConfig\\": {\\n \\"authorizationEnabled\\": true,\\n \\"credentialProviderType\\": \\"\\",\\n \\"credentialProviderArn\\": \\"\\"\\n }\\n }\\n}","type":"json"}]',
+ ],
+ 'UpdateWorkspace' => [
+ 'summary' => 'Updates a workspace.',
+ 'description' => 'Updates the properties of a workspace.',
+ 'path' => '/2025-09-10/workspaces/{workspaceId}',
+ 'methods' => ['put'],
+ 'schemes' => ['https'],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREfc739PD5'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => ['description' => 'The parameters used to update the workspace.', '$ref' => '#/components/schemas/UpdateWorkspaceInput', 'required' => false, 'title' => '', 'example' => ''],
+ ],
+ [
+ 'name' => 'workspaceId',
+ 'in' => 'path',
+ 'schema' => ['description' => 'The ID of the workspace.', 'type' => 'string', 'required' => false, 'example' => 'ws-1234567890abcdef', 'title' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'description' => '成功响应 - 返回创建的智能体运行时信息,包括运行时ID、状态、配置等详细信息',
+ 'schema' => ['description' => 'The data returned on a successful request.', '$ref' => '#/components/schemas/WorkspaceResult', 'title' => '', 'example' => ''],
+ 'examples' => [],
+ ],
+ 500 => [
+ 'schema' => ['$ref' => '#/components/schemas/ErrorResult', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"\\",\\n \\"requestId\\": \\"\\",\\n \\"data\\": {\\n \\"workspaceId\\": \\"\\",\\n \\"workspaceArn\\": \\"\\",\\n \\"name\\": \\"\\",\\n \\"description\\": \\"\\",\\n \\"isDefault\\": false,\\n \\"resourceGroupId\\": \\"\\",\\n \\"createdAt\\": \\"\\",\\n \\"updatedAt\\": \\"\\"\\n }\\n}","type":"json"}]',
+ 'title' => 'UpdateWorkspace',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'agentrun:UpdateWorkspace',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'Workspace', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:workspaces/{#workspaceName}'],
+ ],
+ ],
+ ],
+ ],
+ 'translator' => 'machine',
+ ],
+ 'UpdateWorkspaceDiscoveryEndpoints' => [
+ 'summary' => 'Updates the discovery endpoint configuration for a specified workspace.',
+ 'path' => '/2025-09-10/workspaces/{workspaceId}/discovery/endpoints',
+ 'methods' => ['put'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREfc739PD5'],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'schema' => ['description' => 'The discovery endpoint configuration to apply.', '$ref' => '#/components/schemas/UpdateDiscoveryEndpointsInput', 'required' => false, 'title' => '', 'example' => ''],
+ ],
+ [
+ 'name' => 'workspaceId',
+ 'in' => 'path',
+ 'schema' => ['description' => 'The unique identifier for the workspace.', 'type' => 'string', 'required' => false, 'example' => 'ws-1234567890abcdef', 'title' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => ['description' => 'The updated discovery endpoint configuration.', '$ref' => '#/components/schemas/GetDiscoveryEndpointsResult', 'title' => '', 'example' => ''],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"\\",\\n \\"requestId\\": \\"\\",\\n \\"data\\": {\\n \\"credentialName\\": \\"\\",\\n \\"discoveryEndpoints\\": [\\n {\\n \\"name\\": \\"\\",\\n \\"agentEndpointConfigs\\": [\\n {\\n \\"agentName\\": \\"\\",\\n \\"endpointName\\": \\"\\",\\n \\"endpointUrl\\": \\"\\",\\n \\"customDomainUrl\\": \\"\\"\\n }\\n ],\\n \\"credentialName\\": \\"\\",\\n \\"returnAgentCredentialContent\\": false\\n }\\n ]\\n }\\n}","type":"json"}]',
+ 'title' => 'UpdateWorkspaceDiscoveryEndpoints',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'agentrun:UpdateWorkspaceDiscoveryEndpoints',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'Workspace', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:workspaces/{#workspaceName}'],
+ ],
+ ],
+ ],
+ ],
+ 'translator' => 'machine',
+ ],
+ ],
+ 'endpoints' => [
+ ['regionId' => 'cn-shenzhen', 'regionName' => 'China (Shenzhen)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'agentrun.cn-shenzhen.aliyuncs.com', 'endpoint' => 'agentrun.cn-shenzhen.aliyuncs.com', 'vpc' => 'agentrun-vpc.cn-shenzhen.aliyuncs.com'],
+ ['regionId' => 'cn-beijing', 'regionName' => 'China (Beijing)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'agentrun.cn-beijing.aliyuncs.com', 'endpoint' => 'agentrun.cn-beijing.aliyuncs.com', 'vpc' => 'agentrun-vpc.cn-beijing.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai', 'regionName' => 'China (Shanghai)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'agentrun.cn-shanghai.aliyuncs.com', 'endpoint' => 'agentrun.cn-shanghai.aliyuncs.com', 'vpc' => 'agentrun-vpc.cn-shanghai.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-1', 'regionName' => 'Singapore', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'agentrun.ap-southeast-1.aliyuncs.com', 'endpoint' => 'agentrun.ap-southeast-1.aliyuncs.com', 'vpc' => 'agentrun-vpc.ap-southeast-1.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou', 'regionName' => 'China (Hangzhou)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'agentrun.cn-hangzhou.aliyuncs.com', 'endpoint' => 'agentrun.cn-hangzhou.aliyuncs.com', 'vpc' => 'agentrun-vpc.cn-hangzhou.aliyuncs.com'],
+ ],
+ 'errorCodes' => [],
+ 'changeSet' => [
+ [
+ 'apis' => [
+ ['description' => 'Request parameters changed', 'api' => 'ListTemplates'],
+ ],
+ 'createdAt' => '2026-03-20T07:59:48.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'Request parameters changed', 'api' => 'ListMemoryCollections'],
+ ['description' => 'Request parameters changed', 'api' => 'ListModelProxies'],
+ ['description' => 'Request parameters changed', 'api' => 'ListModelServices'],
+ ],
+ 'createdAt' => '2026-03-11T12:13:07.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'Request parameters changed', 'api' => 'ListModelProxies'],
+ ['description' => 'Request parameters changed', 'api' => 'ListModelServices'],
+ ],
+ 'createdAt' => '2026-03-09T12:39:06.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'Request parameters changed', 'api' => 'ListCustomDomains'],
+ ],
+ 'createdAt' => '2026-03-04T08:03:27.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'Request parameters changed', 'api' => 'ListAgentRuntimes'],
+ ],
+ 'createdAt' => '2026-03-04T03:51:20.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'Request parameters changed', 'api' => 'ListMemoryCollections'],
+ ],
+ 'createdAt' => '2026-03-04T03:30:15.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'Request parameters changed', 'api' => 'ListTemplates'],
+ ],
+ 'createdAt' => '2026-02-26T07:56:20.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'Request parameters changed', 'api' => 'ListAgentRuntimes'],
+ ],
+ 'createdAt' => '2026-02-11T03:31:49.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'Request parameters changed', 'api' => 'ListAgentRuntimes'],
+ ],
+ 'createdAt' => '2026-01-26T02:31:53.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'Request parameters changed', 'api' => 'ListAgentRuntimes'],
+ ],
+ 'createdAt' => '2026-01-22T02:26:51.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'Request parameters changed', 'api' => 'ListTemplates'],
+ ],
+ 'createdAt' => '2026-01-14T11:18:06.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'Request parameters changed', 'api' => 'ListTemplates'],
+ ],
+ 'createdAt' => '2025-12-09T11:38:21.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'Request parameters changed', 'api' => 'ListAgentRuntimes'],
+ ],
+ 'createdAt' => '2025-11-24T05:31:11.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'Request parameters changed', 'api' => 'ListSandboxes'],
+ ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'ListTemplates'],
+ ['description' => 'Response parameters changed', 'api' => 'StopSandbox'],
+ ],
+ 'createdAt' => '2025-11-22T17:45:47.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'Request parameters changed', 'api' => 'ListAgentRuntimeEndpoints'],
+ ['description' => 'Request parameters changed', 'api' => 'ListAgentRuntimes'],
+ ],
+ 'createdAt' => '2025-11-19T05:12:04.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'Request parameters changed', 'api' => 'CreateMemory'],
+ ['description' => 'Response parameters changed', 'api' => 'GetMemory'],
+ ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'ListMemory'],
+ ['description' => 'Request parameters changed', 'api' => 'UpdateMemory'],
+ ],
+ 'createdAt' => '2025-10-30T09:59:32.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'CreateMemory'],
+ ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'GetMemory'],
+ ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'UpdateMemory'],
+ ],
+ 'createdAt' => '2025-10-21T05:34:58.000Z',
+ 'description' => '',
+ ],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '-1', 'countWindow' => 1, 'regionId' => '*'],
+ ['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateAgentRuntime'],
+ ['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateAgentRuntimeEndpoint'],
+ ['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateModelProxy'],
+ ['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateCredential'],
+ ['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateTemplate'],
+ ['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateModelService'],
+ ],
+ ],
+ 'ram' => [
+ 'productCode' => 'AgentRun',
+ 'productName' => 'Function Compute',
+ 'ramCodes' => ['agentrun'],
+ 'ramLevel' => 'RESOURCE',
+ 'ramConditions' => [],
+ 'ramActions' => [
+ [
+ 'apiName' => 'UpdateKnowledgeBase',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'agentrun:UpdateKnowledgeBase',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'Knowledgebase', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:workspaces/{#workspaceName}/knowledgebases/{#knowledgeBaseName}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'UpdateCustomDomain',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'agentrun:UpdateCustomDomain',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CreateCodeInterpreter',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'agentrun:CreateCodeInterpreter',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CreateCustomDomain',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'agentrun:CreateCustomDomain',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'UpdateTemplate',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'agentrun:UpdateTemplate',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetCustomDomain',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'agentrun:GetCustomDomain',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ListCustomDomains',
+ 'description' => '',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'agentrun:ListCustomDomains',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'UpdateTool',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'agentrun:UpdateTool',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'Tool', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:workspaces/{#workspaceName}/tools/{#toolName}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetAccessToken',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'agentrun:GetAccessToken',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetFlowEndpoint',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'agentrun:GetFlowEndpoint',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ListBrowsers',
+ 'description' => '',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'agentrun:ListBrowsers',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'PauseSandbox',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'agentrun:PauseSandbox',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CreateAgentRuntimeEndpoint',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'agentrun:CreateAgentRuntimeEndpoint',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DeleteFlowVersion',
+ 'description' => '',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'agentrun:DeleteFlowVersion',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'Flow', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:workspaces/{#workspaceName}/flows/{#flowId}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ListFlowEndpoints',
+ 'description' => '',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'agentrun:ListFlowEndpoints',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'UpdateModelService',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'agentrun:UpdateModelService',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CreateCredential',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'agentrun:CreateCredential',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ListFlows',
+ 'description' => '',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'agentrun:ListFlows',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'Flow', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:workspaces/{#workspaceName}/flows/*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetBrowser',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'agentrun:GetBrowser',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ListTemplates',
+ 'description' => '',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'agentrun:ListTemplates',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ListAgentRuntimeEndpoints',
+ 'description' => '',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'agentrun:ListAgentRuntimeEndpoints',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ListIMBots',
+ 'description' => '',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'agentrun:ListIMBots',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'UpdateAgentRuntimeEndpoint',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'agentrun:UpdateAgentRuntimeEndpoint',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'Endpoint', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:workspaces/{#workspaceName}/runtimes/{#runtimeName}/runtime-endpoints/{#endpointName}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ActivateTemplateMCP',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'agentrun:ActivateTemplateMCP',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CreateAgentRuntime',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'agentrun:CreateAgentRuntime',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'Agent', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:workspaces/{#workspaceName}/runtimes/*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetAgentRuntimeEndpoint',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'agentrun:GetAgentRuntimeEndpoint',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'Agent', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:workspaces/{#workspaceName}/runtimes/{#runtimeName}/runtime-endpoints/{#endpointName}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DeleteCustomDomain',
+ 'description' => '',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'agentrun:DeleteCustomDomain',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'UpdateWorkspaceDiscoveryEndpoints',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'agentrun:UpdateWorkspaceDiscoveryEndpoints',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'Workspace', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:workspaces/{#workspaceName}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ListKnowledgeBases',
+ 'description' => '',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'agentrun:ListKnowledgeBases',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'Knowledgebase', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:workspaces/{#workspaceName}/knowledgebases/*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DeleteCredential',
+ 'description' => '',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'agentrun:DeleteCredential',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'Credential', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:workspaces/{#workspaceName}/credentials/{#credentialName}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DeleteIMBot',
+ 'description' => '',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'agentrun:DeleteIMBot',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'UpdateWorkspace',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'agentrun:UpdateWorkspace',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'Workspace', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:workspaces/{#workspaceName}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetCodeInterpreter',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'agentrun:GetCodeInterpreter',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ListMemoryCollections',
+ 'description' => '',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'agentrun:ListMemoryCollections',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ConvertFlowDSL',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'agentrun:ConvertFlowDSL',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'Flow', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:workspaces/{#workspaceName}/flows/*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetFlowDraft',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'agentrun:GetFlowDraft',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'Flow', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:workspaces/{#workspaceName}/flows/{#flowId}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetWorkspace',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'agentrun:GetWorkspace',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'Workspace', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:workspaces/{#workspaceName}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ListModelServices',
+ 'description' => '',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'agentrun:ListModelServices',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'ModelService', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:workspaces/{#workspaceName}/model-services/*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetKnowledgeBase',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'agentrun:GetKnowledgeBase',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'Knowledgebase', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:workspaces/{#workspaceName}/knowledgebases/{#knowledgeBaseName}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DeleteModelService',
+ 'description' => '',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'agentrun:DeleteModelService',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CreateModelProxy',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'agentrun:CreateModelProxy',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DeleteBrowser',
+ 'description' => '',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'agentrun:DeleteBrowser',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DeleteTool',
+ 'description' => '',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'agentrun:DeleteTool',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'Tool', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:workspaces/{#workspaceName}/tools/{#toolName}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetModelProxy',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'agentrun:GetModelProxy',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'StopTemplateMCP',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'agentrun:StopTemplateMCP',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CreateFlow',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'agentrun:CreateFlow',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'Flow', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:workspaces/{#workspaceName}/flows/*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetFlowVersion',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'agentrun:GetFlowVersion',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'Flow', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:workspaces/{#workspaceName}/flows/{#flowId}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'UpdateCredential',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'agentrun:UpdateCredential',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'Credential', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:workspaces/{#workspaceName}/credentials/{#credentialName}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetIMBot',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'agentrun:GetIMBot',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'IMBot', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:workspaces/{#workspaceName}/runtimes/{#runtimeName}/im-bots/{#botName}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DeleteModelProxy',
+ 'description' => '',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'agentrun:DeleteModelProxy',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CreateTemplate',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'agentrun:CreateTemplate',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CreateWorkspace',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'agentrun:CreateWorkspace',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DeleteAgentRuntimeEndpoint',
+ 'description' => '',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'agentrun:DeleteAgentRuntimeEndpoint',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'Endpoint', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:workspaces/{#workspaceName}/runtimes/{#runtimeName}/runtime-endpoints/{#endpointName}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetAgentRuntime',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'agentrun:GetAgentRuntime',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'Agent', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:workspaces/{#workspaceName}/runtimes/{#runtimeName}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CreateFlowEndpoint',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'agentrun:CreateFlowEndpoint',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DeleteKnowledgeBase',
+ 'description' => '',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'agentrun:DeleteKnowledgeBase',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'Knowledgebase', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:workspaces/{#workspaceName}/knowledgebases/{#knowledgeBaseName}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'PublishFlowVersion',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'agentrun:PublishFlowVersion',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'Flow', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:workspaces/{#workspaceName}/flows/{#flowId}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetMemoryCollection',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'agentrun:GetMemoryCollection',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetSandbox',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'agentrun:GetSandbox',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetCredential',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'agentrun:GetCredential',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'Credential', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:workspaces/{#workspaceName}/credentials/{#credentialName}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetTool',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'agentrun:GetTool',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'Tool', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:workspaces/{#workspaceName}/tools/{#toolName}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DeleteAgentRuntime',
+ 'description' => '',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'agentrun:DeleteAgentRuntime',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'Agent', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:workspaces/{#workspaceName}/runtimes/{#runtimeName}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DeleteMemoryCollection',
+ 'description' => '',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'agentrun:DeleteMemoryCollection',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CreateTool',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'agentrun:CreateTool',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'Tool', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:workspaces/{#workspaceName}/tools/*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetModelService',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'agentrun:GetModelService',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'ModelService', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:workspaces/{#workspaceName}/model-services/{#modelServiceName}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CreateMemoryCollection',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'agentrun:CreateMemoryCollection',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CreateModelService',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'agentrun:CreateModelService',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DeleteSandbox',
+ 'description' => '',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'agentrun:DeleteSandbox',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ListCredentials',
+ 'description' => '',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'agentrun:ListCredentials',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'Credential', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:workspaces/{#workspaceName}/credentials/*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ListModelProxies',
+ 'description' => '',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'agentrun:ListModelProxies',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'UpdateAgentRuntime',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'agentrun:UpdateAgentRuntime',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'Agent', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:workspaces/{#workspaceName}/runtimes/{#runtimeName}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DeleteWorkspace',
+ 'description' => '',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'agentrun:DeleteWorkspace',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'Workspace', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:workspaces/{#workspaceName}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ListTools',
+ 'description' => '',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'agentrun:ListTools',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DeleteFlow',
+ 'description' => '',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'agentrun:DeleteFlow',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'Flow', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:workspaces/{#workspaceName}/flows/{#flowId}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ListAgentRuntimeVersions',
+ 'description' => '',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'agentrun:ListAgentRuntimeVersions',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ListAgentRuntimes',
+ 'description' => '',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'agentrun:ListAgentRuntimes',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'Agent', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:workspaces/{#workspaceName}/runtimes/*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CreateSandbox',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'agentrun:CreateSandbox',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ResumeSandbox',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'agentrun:ResumeSandbox',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'StopSandbox',
+ 'description' => '',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'agentrun:StopSandbox',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ListCodeInterpreters',
+ 'description' => '',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'agentrun:ListCodeInterpreters',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DeleteTemplate',
+ 'description' => '',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'agentrun:DeleteTemplate',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'UpdateFlowDraft',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'agentrun:UpdateFlowDraft',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'Flow', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:workspaces/{#workspaceName}/flows/{#flowId}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ListSandboxes',
+ 'description' => '',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'agentrun:ListSandboxes',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ListWorkspaces',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'agentrun:ListWorkspaces',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CreateKnowledgeBase',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'agentrun:CreateKnowledgeBase',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'Knowledgebase', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:workspaces/{#workspaceName}/knowledgebases/*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DeleteCodeInterpreter',
+ 'description' => '',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'agentrun:DeleteCodeInterpreter',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'UpdateIMBot',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'agentrun:UpdateIMBot',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'IMBot', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:workspaces/{#workspaceName}/runtimes/{#runtimeName}/im-bots/{#botName}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetWorkspaceDiscoveryEndpoints',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'agentrun:GetWorkspaceDiscoveryEndpoints',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'Workspace', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:workspaces/{#workspaceName}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ListFlowVersions',
+ 'description' => '',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'agentrun:ListFlowVersions',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'Flow', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:workspaces/{#workspaceName}/flows/{#flowId}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'UpdateFlow',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'agentrun:UpdateFlow',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'Flow', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:workspaces/{#workspaceName}/flows/{#flowId}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CreateIMBot',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'agentrun:CreateIMBot',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ListModelProviders',
+ 'description' => '',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'agentrun:ListModelProviders',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetFlow',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'agentrun:GetFlow',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'Flow', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:workspaces/{#workspaceName}/flows/{#flowId}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'UpdateMemoryCollection',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'agentrun:UpdateMemoryCollection',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'PublishRuntimeVersion',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'agentrun:PublishRuntimeVersion',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'Agent', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:workspaces/{#workspaceName}/runtimes/{#runtimeName}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetTemplate',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'agentrun:GetTemplate',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CreateBrowser',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'agentrun:CreateBrowser',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AgentRun', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'resourceTypes' => [
+ ['validationType' => 'always', 'resourceType' => 'Knowledgebase', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:workspaces/{#workspaceName}/knowledgebases/{#knowledgeBaseName}'],
+ ['validationType' => 'always', 'resourceType' => 'SandboxTemplate', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:workspaces/{#workspaceName}/template/{#templateName}'],
+ ['validationType' => 'always', 'resourceType' => 'Tool', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:workspaces/{#workspaceName}/tools/{#toolName}'],
+ ['validationType' => 'always', 'resourceType' => 'Credential', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:workspaces/{#workspaceName}/{#resourceType}/{#resourceName}'],
+ ['validationType' => 'always', 'resourceType' => 'FlowEndpoint', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:workspaces/{#workspaceName}/flows/{#flowId}/endpoints/{#flowEndpointId}'],
+ ['validationType' => 'always', 'resourceType' => 'Endpoint', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:workspaces/{#workspaceName}/runtimes/{#runtimeName}/runtime-endpoints/{#endpointName}'],
+ ['validationType' => 'always', 'resourceType' => 'Flow', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:workspaces/{#workspaceName}/flows/{#flowId}'],
+ ['validationType' => 'always', 'resourceType' => 'FlowEndpoint', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:workspaces/{#workspaceName}/flows/{#flowId}/endpoints/*'],
+ ['validationType' => 'always', 'resourceType' => 'ModelService', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:modelservice/*'],
+ ['validationType' => 'always', 'resourceType' => 'Credential', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:workspaces/{#workspaceName}/credentials/{#credentialName}'],
+ ['validationType' => 'always', 'resourceType' => 'Flow', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:workspaces/{#workspaceName}/flows/*'],
+ ['validationType' => 'always', 'resourceType' => 'IMBot', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:workspaces/{#workspaceName}/runtimes/{#runtimeName}/im-bots/{#botName}'],
+ ['validationType' => 'always', 'resourceType' => 'SandboxTemplate', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:workspaces/{#workspaceName}/template/*'],
+ ['validationType' => 'always', 'resourceType' => 'Agent', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:workspaces/{#workspaceName}/runtimes/*'],
+ ['validationType' => 'always', 'resourceType' => 'Agent', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:workspaces/{#workspaceName}/runtimes/{#runtimeName}/runtime-endpoints/{#endpointName}'],
+ ['validationType' => 'always', 'resourceType' => 'Workspace', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:workspaces/{#workspaceName}'],
+ ['validationType' => 'always', 'resourceType' => 'Knowledgebase', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:workspaces/{#workspaceName}/knowledgebases/*'],
+ ['validationType' => 'always', 'resourceType' => 'MemoryCollection', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:memorycollection/*'],
+ ['validationType' => 'always', 'resourceType' => 'ModelService', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:workspaces/{#workspaceName}/model-services/*'],
+ ['validationType' => 'always', 'resourceType' => 'ModelProxy', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:modelproxy/*'],
+ ['validationType' => 'always', 'resourceType' => 'Workspace', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:workspaces/*'],
+ ['validationType' => 'always', 'resourceType' => 'Agent', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:workspaces/{#workspaceName}/runtimes/{#runtimeName}'],
+ ['validationType' => 'always', 'resourceType' => 'Tool', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:workspaces/{#workspaceName}/tools/*'],
+ ['validationType' => 'always', 'resourceType' => 'ModelService', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:workspaces/{#workspaceName}/model-services/{#modelServiceName}'],
+ ['validationType' => 'always', 'resourceType' => 'Credential', 'arn' => 'acs:agentrun:{#regionId}:{#accountId}:workspaces/{#workspaceName}/credentials/*'],
+ ],
+ ],
];