'1.0', 'info' => [ 'style' => 'ROA', 'product' => 'AgentRun', 'version' => '2025-09-10', ], 'directories' => [ [ 'id' => 278815, 'title' => 'Agent 运行时', 'type' => 'directory', 'children' => [ 'CreateAgentRuntime', 'GetAgentRuntime', 'UpdateAgentRuntime', 'DeleteAgentRuntime', 'ListAgentRuntimes', 'CreateAgentRuntimeEndpoint', 'ListAgentRuntimeEndpoints', 'GetAgentRuntimeEndpoint', 'UpdateAgentRuntimeEndpoint', 'DeleteAgentRuntimeEndpoint', 'PublishRuntimeVersion', 'ListAgentRuntimeVersions', ], ], [ 'id' => 361337, 'title' => 'Sandbox 沙箱', 'type' => 'directory', 'children' => [ [ 'id' => 361338, 'title' => '沙箱模板管理', 'type' => 'directory', 'children' => [ 'CreateTemplate', 'GetTemplate', 'ListTemplates', 'UpdateTemplate', 'DeleteTemplate', 'StopTemplateMCP', 'ActivateTemplateMCP', ], ], [ 'id' => 361339, 'title' => '沙箱实例管理', 'type' => 'directory', 'children' => [ 'CreateSandbox', 'GetSandbox', 'ListSandboxes', 'StopSandbox', 'DeleteSandbox', ], ], ], ], [ 'id' => 365419, 'title' => '模型管理', 'type' => 'directory', 'children' => [ 'CreateModelService', 'UpdateModelService', 'GetModelService', 'DeleteModelService', 'ListModelServices', 'CreateModelProxy', 'UpdateModelProxy', 'GetModelProxy', 'DeleteModelProxy', 'ListModelProxies', ], ], [ 'id' => 365420, 'title' => '记忆存储', 'type' => 'directory', 'children' => [ 'GetMemoryCollection', 'UpdateMemoryCollection', 'DeleteMemoryCollection', 'CreateMemoryCollection', 'ListMemoryCollections', ], ], [ 'id' => 349212, 'title' => '其他', 'type' => 'directory', 'children' => [ 'GetCredential', 'UpdateCredential', 'ListCredentials', 'CreateCredential', 'DeleteCredential', 'GetAccessToken', 'CreateKnowledgeBase', 'UpdateKnowledgeBase', 'DeleteKnowledgeBase', 'GetKnowledgeBase', 'ListKnowledgeBases', 'ListModelProviders', 'DeleteCustomDomain', 'ListCustomDomains', 'CreateCustomDomain', 'GetCustomDomain', 'UpdateCustomDomain', ], ], [ 'id' => 361340, 'title' => '待下线', 'type' => 'directory', 'children' => [ [ 'id' => 278836, 'title' => '浏览器沙箱', 'type' => 'directory', 'children' => [ 'CreateBrowser', 'ListBrowsers', 'GetBrowser', 'DeleteBrowser', ], ], [ 'id' => 278828, 'title' => '代码解释器', 'type' => 'directory', 'children' => [ 'CreateCodeInterpreter', 'ListCodeInterpreters', 'GetCodeInterpreter', 'DeleteCodeInterpreter', ], ], ], ], ], 'components' => [ 'schemas' => [ 'AgentEndpointConfig' => [ 'type' => 'object', 'properties' => [ 'agentName' => [ 'type' => 'string', ], 'endpointUrl' => [ 'type' => 'string', ], 'customDomainUrl' => [ 'type' => 'string', ], ], ], 'AgentRuntime' => [ 'title' => '智能体运行时', 'description' => '智能体运行时的详细信息,包含运行时的所有配置和状态信息', 'type' => 'object', 'properties' => [ 'agentRuntimeId' => [ 'title' => '智能体运行时ID', 'description' => '智能体运行时的唯一标识符', 'type' => 'string', 'example' => 'ar-1234567890abcdef', ], 'agentRuntimeName' => [ 'title' => '智能体运行时名称', 'description' => '智能体运行时的名称,用于标识和区分不同的运行时实例', 'type' => 'string', 'example' => 'my-agent-runtime', ], 'agentRuntimeArn' => [ 'title' => '智能体运行时ARN', 'description' => '智能体运行时的全局唯一资源名称', 'type' => 'string', 'example' => 'acs:agentrun:cn-hangzhou:1760720386195983:runtimes/7a1b6d39-9f8f-4ce2-b9c9-6db1b0b9e169', ], 'createdAt' => [ 'title' => '创建时间', 'description' => '智能体运行时的创建时间,采用ISO 8601格式', 'type' => 'string', 'example' => '2025-01-10T10:30:00Z', ], 'status' => [ 'title' => '状态', 'description' => '智能体运行时的当前状态,如READY(就绪)、CREATING(创建中)、FAILED(失败)等', 'type' => 'string', 'example' => 'READY', ], 'statusReason' => [ 'title' => '状态原因', 'description' => '当前状态的原因说明(如适用)', 'type' => 'string', 'example' => 'Runtime is ready for use', ], 'lastUpdatedAt' => [ 'title' => '最后更新时间', 'description' => '智能体运行时最后一次更新的时间,采用ISO 8601格式', 'type' => 'string', 'example' => '2025-01-10T11:45:00Z', ], 'description' => [ 'title' => '描述', 'description' => '智能体运行时的描述信息,说明该运行时的用途和功能', 'type' => 'string', 'example' => 'AI agent runtime for customer service automation', ], 'executionRoleArn' => [ 'title' => '执行角色ARN', 'description' => '为智能体运行时提供访问云服务权限的执行角色ARN', 'type' => 'string', 'example' => 'acs:ram::1760720386195983:role/AgentRunExecutionRole', ], 'credentialName' => [ 'title' => '凭证名称', 'description' => '用于访问智能体的凭证名称,访问智能体运行时将使用此凭证进行身份验证', 'type' => 'string', 'example' => 'my-credential', ], 'externalAgentEndpointUrl' => [ 'title' => '外部智能体端点URL', 'description' => '外部注册类型的智能体访问端点地址,用于连接已部署在外部的智能体服务', 'type' => 'string', 'example' => 'https://external-agent.example.com/api', ], 'agentRuntimeVersion' => [ 'title' => '智能体运行时版本', 'description' => '智能体运行时的版本号,用于版本管理和回滚', 'type' => 'string', 'example' => '1', ], 'artifactType' => [ 'title' => '制品类型', 'description' => '智能体运行时的部署类型,支持Code(代码模式)和Container(容器模式)', 'type' => 'string', 'example' => 'Code', 'enum' => [ 'Code', 'Container', ], ], 'codeConfiguration' => [ 'title' => '代码配置', 'description' => '当artifactType为Code时的代码配置信息', 'example' => '{}', '$ref' => '#/components/schemas/CodeConfiguration', ], 'containerConfiguration' => [ 'title' => '容器配置', 'description' => '当artifactType为Container时的容器配置信息', 'example' => '{}', '$ref' => '#/components/schemas/ContainerConfiguration', ], 'networkConfiguration' => [ 'title' => '网络配置', 'description' => '智能体运行时的网络配置信息', 'example' => '{}', '$ref' => '#/components/schemas/NetworkConfiguration', ], 'protocolConfiguration' => [ 'title' => '协议配置', 'description' => '智能体运行时的通信协议配置', 'example' => '{}', '$ref' => '#/components/schemas/ProtocolConfiguration', ], 'cpu' => [ 'title' => 'CPU配置', 'description' => '智能体运行时分配的CPU资源,单位为核数', 'type' => 'number', 'format' => 'float', 'example' => '2.0', ], 'memory' => [ 'title' => '内存配置', 'description' => '智能体运行时分配的内存资源,单位为MB', 'type' => 'integer', 'example' => '2048', ], 'port' => [ 'title' => '端口', 'description' => '智能体运行时监听的端口号', 'type' => 'integer', 'example' => '8080', ], 'sessionConcurrencyLimitPerInstance' => [ 'title' => '每个实例的会话并发数', 'description' => '每个运行时实例允许的最大并发会话数', 'type' => 'integer', 'maximum' => '200', 'minimum' => '1', 'example' => '100', 'default' => '1', ], 'logConfiguration' => [ 'title' => '日志配置', 'description' => 'SLS(简单日志服务)配置', 'example' => '{}', '$ref' => '#/components/schemas/LogConfiguration', ], 'healthCheckConfiguration' => [ 'title' => '健康检查配置', 'description' => '智能体运行时的健康检查配置,用于监控运行时实例的健康状态', 'example' => '{}', '$ref' => '#/components/schemas/HealthCheckConfiguration', ], 'sessionIdleTimeoutSeconds' => [ 'title' => '会话空闲超时秒数', 'description' => '会话的空闲超时时间,单位为秒。实例没有会话请求后处于空闲状态,空闲态为闲置计费模式,超过此超时时间后会话自动过期,不可继续使用', 'type' => 'integer', 'format' => 'int32', 'example' => '3600', ], 'environmentVariables' => [ 'title' => '环境变量', 'description' => '智能体运行时的环境变量配置', 'type' => 'object', 'additionalProperties' => [ 'type' => 'string', ], 'example' => 'ENV_VAR1=value1,ENV_VAR2=value2', ], 'resourceGroupId' => [ 'type' => 'string', 'deprecated' => true, ], 'workspaceId' => [ 'title' => '工作空间ID', 'description' => '智能体运行时所属的工作空间标识符,用于资源隔离和权限管理', 'type' => 'string', 'example' => 'ws-1234567890abcdef', ], 'nasConfig' => [ 'title' => 'NAS配置', 'description' => '文件存储NAS的配置信息,用于挂载NAS文件系统到智能体运行时', 'example' => '{}', '$ref' => '#/components/schemas/NASConfig', ], 'ossMountConfig' => [ 'title' => 'OSS挂载配置', 'description' => '对象存储OSS的挂载配置信息,用于挂载OSS存储桶到智能体运行时', 'example' => '{}', '$ref' => '#/components/schemas/OSSMountConfig', ], ], ], 'AgentRuntimeEndpoint' => [ 'title' => '智能体运行时端点', 'description' => '智能体运行时端点', 'type' => 'object', 'properties' => [ 'agentRuntimeId' => [ 'title' => '智能体运行时ID', 'description' => '智能体运行时ID', 'type' => 'string', 'example' => 'ar-1234567890abcdef', ], 'agentRuntimeEndpointId' => [ 'title' => '智能体运行时端点ID', 'description' => '智能体运行时端点ID', 'type' => 'string', 'example' => 'are-1234567890abcdef', ], 'agentRuntimeEndpointArn' => [ 'title' => '智能体运行时端点ARN', 'description' => '智能体运行时端点ARN', 'type' => 'string', 'example' => 'acs:agentrun:cn-hangzhou:1760720386195983:runtime-endpoints/e56d483c-db80-4116-9ec4-25f16f5facfd', ], 'agentRuntimeEndpointName' => [ 'title' => '智能体运行时端点名称', 'description' => '智能体运行时端点名称', 'type' => 'string', 'example' => 'production-endpoint', ], 'description' => [ 'title' => '描述', 'description' => '描述', 'type' => 'string', 'example' => 'Production endpoint for customer service agent', ], 'status' => [ 'title' => '状态', 'description' => '状态', 'type' => 'string', 'example' => 'ACTIVE', ], 'statusReason' => [ 'title' => '状态原因', 'description' => '状态原因', 'type' => 'string', 'example' => 'Endpoint is active and ready', ], 'targetVersion' => [ 'title' => '目标版本', 'description' => '目标版本', 'type' => 'string', 'example' => 'LATEST', ], 'routingConfiguration' => [ 'title' => '路由配置', 'description' => '智能体运行时端点的路由配置,支持多版本权重分配', '$ref' => '#/components/schemas/RoutingConfiguration', ], 'endpointPublicUrl' => [ 'title' => '端点公网URL', 'description' => '智能体运行时端点的公网访问地址', 'type' => 'string', 'example' => 'https://ar-1234567890abcdef.cn-hangzhou.agentrun.aliyuncs.com', ], ], ], 'AgentRuntimeEndpointResult' => [ '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' => '智能体运行时端点的详细信息', '$ref' => '#/components/schemas/AgentRuntimeEndpoint', ], ], ], 'AgentRuntimeResult' => [ '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' => '请求ID', 'description' => '唯一的请求标识符,用于问题追踪', 'type' => 'string', 'example' => 'F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E', ], 'data' => [ 'title' => '智能体运行时数据', 'description' => '智能体运行时的详细信息', 'example' => '{}', '$ref' => '#/components/schemas/AgentRuntime', ], ], ], 'AgentRuntimeVersion' => [ 'title' => '智能体运行时版本', 'description' => '智能体运行时版本', 'type' => 'object', 'properties' => [ 'agentRuntimeArn' => [ 'title' => '智能体运行时ARN', 'description' => '智能体运行时的ARN', 'type' => 'string', 'example' => 'acs:agentrun:cn-hangzhou:1760720386195983:runtimes/7a1b6d39-9f8f-4ce2-b9c9-6db1b0b9e169', ], 'agentRuntimeId' => [ 'title' => '智能体运行时ID', 'description' => '智能体运行时的ID', 'type' => 'string', 'example' => 'ar-1234567890abcdef', ], 'agentRuntimeName' => [ 'title' => '智能体运行时名称', 'description' => '智能体运行时的名称', 'type' => 'string', 'example' => 'my-agent-runtime', ], 'agentRuntimeVersion' => [ 'title' => '智能体运行时版本', 'description' => '已发布版本的版本号', 'type' => 'string', 'example' => 'LATEST', ], 'description' => [ 'title' => '版本描述', 'description' => '此版本的描述', 'type' => 'string', 'example' => 'Initial release with basic functionality', ], 'lastUpdatedAt' => [ 'title' => '最后更新时间', 'description' => '最后更新的时间戳', 'type' => 'string', 'example' => '2025-01-10T10:30:00Z', ], ], ], 'AgentRuntimeVersionResult' => [ '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' => '智能体运行时版本的详细信息', '$ref' => '#/components/schemas/AgentRuntimeVersion', ], ], ], 'AiFallbackConfig' => [ 'type' => 'object', 'properties' => [ 'serviceConfigs' => [ 'type' => 'array', 'items' => [ '$ref' => '#/components/schemas/AiFallbackServiceConfig', ], ], ], ], 'AiFallbackServiceConfig' => [ 'type' => 'object', 'properties' => [ 'serviceId' => [ 'type' => 'string', ], 'targetModelName' => [ 'type' => 'string', ], 'passThroughModelName' => [ 'type' => 'boolean', ], ], ], 'AiServiceConfig' => [ 'type' => 'object', 'properties' => [ 'provider' => [ 'type' => 'string', ], 'address' => [ 'type' => 'string', ], 'enableHealthCheck' => [ 'type' => 'boolean', ], 'protocols' => [ 'type' => 'array', 'items' => [ 'type' => 'string', ], ], 'apiKeys' => [ 'type' => 'array', 'items' => [ 'type' => 'string', ], ], ], ], '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' => 'ARMS配置', 'description' => '应用实时监控服务(ARMS)的配置信息', 'type' => 'object', 'properties' => [ 'enableArms' => [ 'title' => '是否启用ARMS', 'description' => '是否启用应用实时监控服务(ARMS)', 'type' => 'boolean', 'example' => 'true', ], 'armsLicenseKey' => [ 'title' => 'ARMS许可证密钥', 'description' => '应用实时监控服务(ARMS)的许可证密钥', 'type' => 'string', 'example' => 'arms-license-key-123456', ], ], ], 'AttachPolicyConfig' => [ 'type' => 'object', 'properties' => [ 'className' => [ 'type' => 'string', ], 'name' => [ 'type' => 'string', ], 'config' => [ 'type' => 'string', ], ], ], 'Browser' => [ 'title' => '浏览器', 'description' => '浏览器', 'type' => 'object', 'properties' => [ 'browserId' => [ 'title' => '浏览器ID', 'description' => '浏览器ID', 'type' => 'string', 'example' => 'browser-1234567890abcdef', ], 'browserName' => [ 'title' => '浏览器名称', 'description' => '浏览器名称', 'type' => 'string', 'example' => 'my-browser', ], 'description' => [ 'title' => '描述', 'description' => '描述', 'type' => 'string', 'example' => 'Web automation browser for testing', ], 'status' => [ 'title' => '状态', 'description' => '状态', 'type' => 'string', 'example' => 'READY', 'enum' => [ 'CREATING', 'CREATE_FAILED', 'READY', 'DELETING', 'DELETED', 'DELETE_FAILED', ], ], 'statusReason' => [ 'title' => '状态原因', 'description' => '当前状态的原因说明(如适用)', 'type' => 'string', 'example' => 'Browser is ready for use', ], 'createdAt' => [ 'title' => '创建时间', 'description' => '创建时间', 'type' => 'string', 'example' => '2025-01-10T10:30:00Z', ], 'lastUpdatedAt' => [ 'title' => '更新时间', 'description' => '更新时间', 'type' => 'string', 'example' => '2025-01-10T11:45:00Z', ], 'executionRoleArn' => [ 'title' => '执行角色ARN', 'description' => '执行角色ARN', 'type' => 'string', 'example' => 'acs:ram::1760720386195983:role/BrowserExecutionRole', ], 'networkConfiguration' => [ 'title' => '网络配置', 'description' => '网络配置', '$ref' => '#/components/schemas/NetworkConfiguration', ], 'recording' => [ 'title' => '录制配置', 'description' => '录制配置', '$ref' => '#/components/schemas/BrowserRecordingConfiguration', ], 'memory' => [ 'title' => '内存配置', 'description' => '内存资源配置(单位:MB)', 'type' => 'integer', 'format' => 'int32', 'example' => '2048', ], 'credentialId' => [ 'title' => '鉴权ID', 'description' => '鉴权ID', 'type' => 'string', 'example' => 'cred-1234567890abcdef', ], 'cpu' => [ 'title' => 'CPU核数', 'description' => 'CPU核数', 'type' => 'number', 'format' => 'float', 'example' => '2.0', ], 'tenantId' => [ 'title' => '租户ID', 'description' => '租户ID', 'type' => 'string', 'example' => 'tenant-1234567890abcdef', ], ], ], 'BrowserAutomationStream' => [ 'title' => '浏览器自动化流', 'description' => '浏览器自动化流', 'type' => 'object', 'properties' => [ 'streamEndpoint' => [ 'title' => '流端点', 'description' => '流端点', 'type' => 'string', 'example' => 'wss://browser-automation.cn-hangzhou.agentrun.aliyuncs.com/stream/bs-1234567890abcdef', ], 'streamStatus' => [ 'title' => '流状态', 'description' => '流状态', 'type' => 'string', 'example' => 'ACTIVE', ], ], ], 'BrowserConfiguration' => [ 'title' => '浏览器配置', 'description' => '浏览器配置', 'type' => 'object', 'properties' => [ 'browserType' => [ 'title' => '浏览器类型', 'type' => 'string', 'enum' => [ 'CHROMIUM', 'FIREFOX', ], ], 'viewPort' => [ 'title' => '视口配置', '$ref' => '#/components/schemas/ViewPortConfiguration', ], 'userAgent' => [ 'title' => '用户代理字符串', 'description' => '浏览器用户代理字符串', 'type' => 'string', ], 'headless' => [ 'title' => '无头模式', 'description' => '是否以无头模式运行浏览器', 'type' => 'boolean', ], 'enableExtension' => [ 'title' => '启用的浏览器扩展列表', 'description' => '要启用的浏览器扩展列表', 'type' => 'array', 'items' => [ 'type' => 'string', ], ], ], ], 'BrowserLiveViewStream' => [ 'title' => '浏览器实时视图流', 'description' => '浏览器实时视图流', 'type' => 'object', 'properties' => [ 'streamEndpoint' => [ 'title' => '流端点', 'description' => '流端点', 'type' => 'string', 'example' => 'wss://browser-liveview.cn-hangzhou.agentrun.aliyuncs.com/stream/bs-1234567890abcdef', ], ], ], 'BrowserOssLocation' => [ 'title' => '浏览器OSS存储位置', 'description' => '浏览器OSS存储位置', 'type' => 'object', 'properties' => [ 'bucket' => [ 'title' => 'OSS存储桶', 'description' => 'OSS存储桶', 'type' => 'string', ], 'prefix' => [ 'title' => '存储前缀', 'description' => '存储前缀', 'type' => 'string', ], ], ], 'BrowserRecordingConfiguration' => [ 'title' => '浏览器录制配置', 'description' => '浏览器录制配置', 'type' => 'object', 'properties' => [ 'enabled' => [ 'title' => '是否启用录制', 'description' => '是否启用录制', 'type' => 'boolean', ], 'ossLocation' => [ 'title' => 'OSS存储位置', 'description' => 'OSS存储位置', '$ref' => '#/components/schemas/BrowserOssLocation', ], ], ], 'BrowserResult' => [ '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' => '请求ID', 'description' => '唯一的请求标识符,用于问题追踪', 'type' => 'string', 'example' => 'F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E', ], 'data' => [ 'title' => '浏览器数据', 'description' => '浏览器的详细信息', 'example' => '{}', '$ref' => '#/components/schemas/Browser', ], ], ], 'BrowserSessionListOut' => [ 'title' => '浏览器会话列表数据', 'description' => '浏览器会话列表数据', 'type' => 'object', 'properties' => [ 'total' => [ 'title' => '总数', 'description' => '总数', 'type' => 'integer', 'format' => 'int64', 'example' => '2', ], 'pageNumber' => [ 'title' => '页码', 'description' => '页码', 'type' => 'integer', 'format' => 'int32', 'example' => '1', ], 'pageSize' => [ 'title' => '页大小', 'description' => '页大小', 'type' => 'integer', 'format' => 'int32', 'example' => '20', ], 'items' => [ 'title' => '会话列表', 'description' => '会话列表', 'type' => 'array', 'items' => [ 'description' => '浏览器会话输出', '$ref' => '#/components/schemas/BrowserSessionOut', ], 'example' => '[]', ], ], ], 'BrowserSessionOut' => [ 'title' => '浏览器会话详情', 'description' => '浏览器会话详情', 'type' => 'object', 'properties' => [ 'sessionId' => [ 'title' => '会话ID', 'description' => '会话ID', 'type' => 'string', 'required' => true, 'example' => 'bs-1234567890abcdef', ], 'browserId' => [ 'title' => '浏览器ID', 'description' => '浏览器ID', 'type' => 'string', 'example' => 'browser-1234567890abcdef', ], 'status' => [ 'title' => '会话状态', 'description' => '会话状态', 'type' => 'string', 'example' => 'RUNNING', ], 'createdAt' => [ 'title' => '创建时间', 'description' => '创建时间', 'type' => 'string', 'example' => '2025-01-10T10:30:00Z', ], 'lastUpdatedAt' => [ 'title' => '更新时间', 'description' => '更新时间', 'type' => 'string', 'example' => '2025-01-10T11:45:00Z', ], 'browserName' => [ 'title' => '会话名称', 'description' => '会话名称', 'type' => 'string', 'example' => 'my-browser-session', ], 'sessionIdleTimeoutSeconds' => [ 'title' => '会话空闲超时秒数', 'description' => '会话空闲超时时间,单位为秒', 'type' => 'integer', 'format' => 'int32', 'example' => '3600', ], ], 'required' => true, ], 'BrowserStreams' => [ 'title' => '浏览器流', 'description' => '浏览器流', 'type' => 'object', 'properties' => [ 'automationStream' => [ 'title' => '自动化流', 'description' => '自动化流', 'example' => '{}', '$ref' => '#/components/schemas/BrowserAutomationStream', ], 'liveViewStream' => [ 'title' => '实时视图流', 'description' => '实时视图流', 'example' => '{}', '$ref' => '#/components/schemas/BrowserLiveViewStream', ], ], ], 'BrowserViewPort' => [ 'title' => '浏览器视口', 'description' => '浏览器视口', 'type' => 'object', 'properties' => [ 'height' => [ 'title' => '高度', 'description' => '高度', 'type' => 'number', 'format' => 'double', 'example' => '1080', ], 'width' => [ 'title' => '宽度', 'description' => '宽度', 'type' => 'number', 'format' => 'double', 'example' => '1920', ], ], ], 'CAPConfig' => [ 'type' => 'object', 'properties' => [ 'name' => [ 'type' => 'string', ], 'functionName' => [ 'type' => 'string', ], 'templateId' => [ 'type' => 'integer', 'format' => 'int32', ], ], ], '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-----', ], ], ], 'ChangeResourceGroupInput' => [ 'type' => 'object', 'properties' => [ 'resourceId' => [ 'type' => 'string', ], 'newResourceGroupId' => [ 'type' => 'string', ], 'resourceType' => [ 'type' => 'string', ], ], ], 'ChangeResourceGroupOutput' => [ 'type' => 'object', 'properties' => [ 'resourceId' => [ 'type' => 'string', ], 'newResourceGroupId' => [ 'type' => 'string', ], 'oldResourceGroupId' => [ 'type' => 'string', ], ], ], 'CodeConfiguration' => [ 'title' => '函数代码配置', 'description' => '函数代码配置', 'type' => 'object', 'properties' => [ 'zipFile' => [ 'title' => '智能体代码ZIP包的Base64编码', 'description' => '智能体代码ZIP包的Base64编码', 'type' => 'string', 'example' => 'UEsDBAoAAAAAANF', ], 'ossBucketName' => [ 'title' => '存储函数代码ZIP包的OSS存储桶名称', 'description' => '存储函数代码ZIP包的OSS存储桶名称', 'type' => 'string', 'example' => 'my-agent-code-bucket', ], 'ossObjectName' => [ 'title' => '函数代码ZIP包的OSS对象名称', 'description' => '函数代码ZIP包的OSS对象名称', 'type' => 'string', 'example' => 'agent-code-v1.0.zip', ], 'checksum' => [ 'title' => '代码包的CRC-64值', 'description' => '代码包的CRC-64校验值。如果提供了checksum,则函数计算会校验代码包的checksum是否和提供的一致', 'type' => 'string', 'example' => '1234567890123456789', ], 'language' => [ 'title' => '运行时语言', 'description' => '代码运行时的编程语言,如 python3、nodejs 等', 'type' => 'string', 'example' => 'python3.12', 'enum' => [ 'python3.10', 'python3.12', 'nodejs18', 'nodejs20', 'java8', 'java11', ], ], 'command' => [ 'title' => '运行命令', 'description' => '在运行时中运行的命令(例如:[\'python\'])', 'type' => 'array', 'items' => [ 'type' => 'string', ], 'example' => 'python,main.py', ], ], ], 'CodeInfo' => [ 'type' => 'object', 'properties' => [ 'ossBucketName' => [ 'type' => 'string', ], 'ossObjectName' => [ 'type' => 'string', ], ], ], 'CodeInterpreter' => [ 'title' => '代码解释器', 'description' => '代码解释器的详细信息,包含解释器的所有配置和状态信息', 'type' => 'object', 'properties' => [ 'codeInterpreterId' => [ 'title' => '代码解释器ID', 'description' => '代码解释器的唯一标识符', 'type' => 'string', 'example' => 'ci-1234567890abcdef', ], 'codeInterpreterName' => [ 'title' => '名称', 'description' => '代码解释器的名称,用于标识和区分不同的代码解释器实例', 'type' => 'string', 'example' => 'my-code-interpreter', ], 'description' => [ 'title' => '描述', 'description' => '代码解释器的描述信息,说明该解释器的用途和功能', 'type' => 'string', 'example' => 'Python code interpreter for data analysis', ], 'executionRoleArn' => [ 'title' => '执行角色ARN', 'description' => '此代码解释器的执行角色', 'type' => 'string', 'example' => 'acs:ram::1760720386195983:role/CodeInterpreterExecutionRole', ], 'createdAt' => [ 'title' => '创建时间', 'description' => '代码解释器的创建时间,采用ISO 8601格式', 'type' => 'string', 'example' => '2025-01-10T10:30:00Z', ], 'lastUpdatedAt' => [ 'title' => '更新时间', 'description' => '代码解释器的最后更新时间,采用ISO 8601格式', 'type' => 'string', 'example' => '2025-01-10T11:45:00Z', ], 'status' => [ 'title' => '状态', 'description' => '代码解释器的当前状态,如READY(就绪)、TERMINATED(已终止)等', 'type' => 'string', 'example' => 'READY', 'enum' => [ 'READY', 'TERMINATED', ], ], 'statusReason' => [ 'title' => '状态原因', 'description' => '当前状态的原因说明(如适用)', 'type' => 'string', 'example' => 'Code interpreter is ready for use', ], 'networkConfiguration' => [ 'title' => '网络配置', 'description' => '代码解释器的网络配置信息', '$ref' => '#/components/schemas/NetworkConfiguration', ], 'memory' => [ 'title' => '内存配置', 'description' => '内存资源配置(单位:MB)', 'type' => 'integer', 'format' => 'int32', 'example' => '2048', ], 'cpu' => [ 'title' => 'CPU 核数', 'description' => 'CPU 核数', 'type' => 'number', 'format' => 'float', 'example' => '2.0', ], 'tenantId' => [ 'title' => '租户ID', 'description' => '租户ID', 'type' => 'string', 'example' => 'tenant-1234567890abcdef', ], ], ], 'CodeInterpreterResult' => [ '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' => '请求ID', 'description' => '唯一的请求标识符,用于问题追踪', 'type' => 'string', 'example' => 'F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E', ], 'data' => [ 'title' => '代码解释器数据', 'description' => '代码解释器的详细信息', 'example' => '{}', '$ref' => '#/components/schemas/CodeInterpreter', ], ], ], 'CodeInterpreterSessionConfig' => [ 'title' => '代码解释器会话配置', 'description' => '代码解释器会话的配置参数', 'type' => 'object', 'properties' => [ 'timeout' => [ 'title' => '超时时间(秒)', 'description' => '代码解释器会话的超时时间,单位为秒', 'type' => 'integer', 'format' => 'int32', 'example' => '3600', ], 'environment' => [ 'title' => '环境变量', 'description' => '代码解释器会话的环境变量配置', 'type' => 'object', 'additionalProperties' => [ 'type' => 'string', ], 'example' => 'PYTHONPATH=/app,DEBUG=true', ], 'workingDirectory' => [ 'title' => '工作目录', 'description' => '代码解释器会话的工作目录路径', 'type' => 'string', 'example' => '/app', ], ], ], 'CodeInterpreterSessionListOut' => [ 'title' => '代码解释器会话列表数据', 'description' => '代码解释器会话列表数据', 'type' => 'object', 'properties' => [ 'total' => [ 'title' => '总数', 'description' => '总数', 'type' => 'integer', 'format' => 'int64', 'example' => '100', ], 'pageNumber' => [ 'title' => '页码', 'description' => '页码', 'type' => 'integer', 'format' => 'int32', 'example' => '1', ], 'pageSize' => [ 'title' => '页大小', 'description' => '页大小', 'type' => 'integer', 'format' => 'int32', 'example' => '20', ], 'items' => [ 'title' => '会话列表', 'description' => '会话列表', 'type' => 'array', 'items' => [ '$ref' => '#/components/schemas/CodeInterpreterSessionOut', ], 'example' => '[]', ], ], ], 'CodeInterpreterSessionOut' => [ 'title' => '代码解释器会话详情', 'description' => '代码解释器会话的详细信息', 'type' => 'object', 'properties' => [ 'sessionId' => [ 'title' => '会话ID', 'description' => '代码解释器会话的唯一标识符', 'type' => 'string', 'required' => true, ], 'codeInterpreterId' => [ 'title' => '代码解释器ID', 'description' => '关联的代码解释器的唯一标识符', 'type' => 'string', 'required' => true, ], 'status' => [ 'title' => '会话状态', 'description' => '代码解释器会话的当前状态', 'type' => 'string', 'required' => true, ], 'createdAt' => [ 'title' => '创建时间', 'description' => '代码解释器会话的创建时间,采用ISO 8601格式', 'type' => 'string', ], 'lastUpdatedAt' => [ 'title' => '更新时间', 'description' => '代码解释器会话的最后更新时间,采用ISO 8601格式', 'type' => 'string', ], 'sessionIdleTimeoutSeconds' => [ 'title' => '会话空闲超时时间(秒)', 'description' => '代码解释器会话的空闲超时时间,单位为秒。实例没有会话请求后处于空闲状态,空闲态为闲置计费模式,超过此超时时间后会话自动过期,不可继续使用', 'type' => 'integer', 'format' => 'int32', ], 'codeInterpreterName' => [ 'title' => '会话名称', 'description' => '代码解释器会话的名称', 'type' => 'string', ], ], ], 'CommonResult' => [ 'title' => '通用结果结构', 'description' => '所有API的统一结果格式', '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', ], ], ], 'ContainerConfiguration' => [ 'title' => '自定义容器配置', 'description' => '自定义容器配置', 'type' => 'object', 'properties' => [ 'image' => [ 'title' => '容器镜像地址', 'description' => '容器镜像地址', 'type' => 'string', 'example' => 'registry.cn-hangzhou.aliyuncs.com/my-namespace/agent-runtime:latest', ], 'imageRegistryType' => [ 'title' => '镜像仓库类型', 'description' => '容器镜像的来源类型,支持ACR(阿里云容器镜像服务)、ACREE(阿里云容器镜像服务企业版)、CUSTOM(自定义镜像仓库)', 'type' => 'string', 'example' => 'ACR', 'enum' => [ 'ACR', 'ACREE', 'CUSTOM', ], ], 'acrInstanceId' => [ 'title' => 'ACR实例ID或名称', 'description' => '阿里云容器镜像服务(ACR)的实例ID或名称', 'type' => 'string', 'example' => 'cri-xxxxx', ], 'command' => [ 'title' => '运行命令', 'description' => '沙箱入口点命令(例如:[\'python3\', \'app.py\'])', 'type' => 'array', 'items' => [ 'description' => '入口点命令', 'type' => 'string', 'example' => '/usr/local/bin/entrypoint.sh', ], 'example' => 'python3,app.py', ], 'port' => [ 'description' => '沙箱运行时监听的端口号', 'type' => 'integer', 'format' => 'int32', 'example' => '5000', ], ], ], 'CreateAgentRuntimeEndpointInput' => [ 'title' => '创建智能体运行时端点输入', 'description' => '创建智能体运行时端点输入', 'type' => 'object', 'properties' => [ 'targetVersion' => [ 'title' => '目标版本', 'description' => '智能体运行时的目标版本', 'type' => 'string', 'example' => 'LATEST', ], 'agentRuntimeEndpointName' => [ 'title' => '智能体运行时端点名称', 'description' => '智能体运行时端点名称', 'type' => 'string', 'example' => 'production-endpoint', ], 'description' => [ 'title' => '描述', 'description' => '描述', 'type' => 'string', 'example' => 'Production endpoint for customer service agent', ], 'routingConfiguration' => [ 'title' => '路由配置', 'description' => '智能体运行时端点的路由配置,支持多版本权重分配', 'example' => '{}', '$ref' => '#/components/schemas/RoutingConfiguration', ], ], ], 'CreateAgentRuntimeInput' => [ 'title' => '创建智能体运行时输入', 'description' => '创建智能体运行时所需的输入参数', 'type' => 'object', 'properties' => [ 'agentRuntimeName' => [ 'title' => '智能体运行时名称', 'description' => '智能体运行时的唯一标识名称,用于区分不同的智能体运行时实例', 'type' => 'string', 'required' => true, 'example' => 'my-agent-runtime', ], 'description' => [ 'title' => '描述', 'description' => '智能体运行时的描述信息,用于说明该运行时的用途和功能', 'type' => 'string', 'example' => 'AI agent runtime for customer service automation', ], 'artifactType' => [ 'title' => '制品类型', 'description' => '指定智能体运行时的部署类型,支持Code(代码模式)和Container(容器模式)', 'type' => 'string', 'required' => true, 'example' => 'Code', 'enum' => [ 'Code', 'Container', ], ], 'codeConfiguration' => [ 'title' => '代码配置', 'description' => '当artifactType为Code时的代码配置信息,包括代码源、入口文件等', 'example' => '{}', '$ref' => '#/components/schemas/CodeConfiguration', ], 'containerConfiguration' => [ 'title' => '容器配置', 'description' => '当artifactType为Container时的容器配置信息,包括镜像地址、启动命令等', 'example' => '{}', '$ref' => '#/components/schemas/ContainerConfiguration', ], 'credentialId' => [ 'title' => '凭证ID', 'description' => '用于访问外部服务的凭证ID,智能体运行时将使用此凭证进行身份验证', 'type' => 'string', 'deprecated' => true, 'example' => 'cred-1234567890abcdef', ], 'credentialName' => [ 'title' => '凭证名称', 'description' => '用于访问智能体的凭证名称,访问智能体运行时将使用此凭证进行身份验证', 'type' => 'string', 'example' => 'my-credential', ], 'externalAgentEndpointUrl' => [ 'title' => '外部智能体端点URL', 'description' => '外部注册类型的智能体访问端点地址,用于连接已部署在外部的智能体服务', 'type' => 'string', 'example' => 'https://external-agent.example.com/api', ], 'networkConfiguration' => [ 'title' => '网络配置', 'description' => '智能体运行时的网络配置,包括VPC、安全组等网络访问设置', 'required' => true, 'example' => '{}', '$ref' => '#/components/schemas/NetworkConfiguration', ], 'protocolConfiguration' => [ 'title' => '协议配置', 'description' => '智能体运行时的通信协议配置,定义运行时如何与外部系统交互', 'example' => '{}', '$ref' => '#/components/schemas/ProtocolConfiguration', ], 'executionRoleArn' => [ 'title' => '执行角色ARN', 'description' => '为智能体运行时提供访问云服务权限的执行角色ARN', 'type' => 'string', 'example' => 'acs:ram::1760720386195983:role/AgentRunExecutionRole', ], 'cpu' => [ 'title' => 'CPU配置', 'description' => '为智能体运行时分配的CPU资源,单位为核数', 'type' => 'number', 'format' => 'float', 'required' => true, 'example' => '2.0', ], 'memory' => [ 'title' => '内存配置', 'description' => '为智能体运行时分配的内存资源,单位为MB', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '2048', ], 'port' => [ 'title' => '端口', 'description' => '智能体运行时监听的端口号,用于接收外部请求', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '8080', ], 'sessionConcurrencyLimitPerInstance' => [ 'title' => '每个实例的会话并发数', 'description' => '每个运行时实例允许的最大并发会话数', 'type' => 'integer', 'format' => 'int32', 'maximum' => '200', 'minimum' => '1', 'example' => '100', ], 'logConfiguration' => [ 'title' => '日志配置', 'description' => 'SLS(简单日志服务)配置', 'example' => '{}', '$ref' => '#/components/schemas/LogConfiguration', ], 'sessionIdleTimeoutSeconds' => [ 'title' => '会话空闲超时秒数', 'description' => '会话的空闲超时时间,单位为秒。实例没有会话请求后处于空闲状态,空闲态为闲置计费模式,超过此超时时间后会话自动过期,不可继续使用', 'type' => 'integer', 'format' => 'int32', 'example' => '3600', ], 'healthCheckConfiguration' => [ 'title' => '健康检查配置', 'description' => '智能体运行时的健康检查配置,用于监控运行时实例的健康状态', 'example' => '{}', '$ref' => '#/components/schemas/HealthCheckConfiguration', ], 'environmentVariables' => [ 'title' => '环境变量', 'description' => '智能体运行时的环境变量配置,用于在运行时传递配置参数', 'type' => 'object', 'additionalProperties' => [ 'type' => 'string', ], 'example' => 'ENV_VAR1=value1,ENV_VAR2=value2', ], 'resourceGroupId' => [ 'type' => 'string', 'deprecated' => true, ], 'workspaceId' => [ 'title' => '工作空间ID', 'description' => '智能体运行时所属的工作空间标识符,用于资源隔离和权限管理', 'type' => 'string', 'example' => 'ws-1234567890abcdef', ], 'nasConfig' => [ 'title' => 'NAS配置', 'description' => '文件存储NAS的配置信息,用于挂载NAS文件系统到智能体运行时', 'example' => '{}', '$ref' => '#/components/schemas/NASConfig', ], 'ossMountConfig' => [ 'title' => 'OSS挂载配置', 'description' => '对象存储OSS的挂载配置信息,用于挂载OSS存储桶到智能体运行时', 'example' => '{}', '$ref' => '#/components/schemas/OSSMountConfig', ], ], ], 'CreateAgentRuntimeVersionInput' => [ 'title' => '创建智能体运行时版本输入', 'description' => '用于创建智能体运行时版本的请求参数', 'type' => 'object', 'properties' => [ 'description' => [ 'title' => '描述', 'description' => '版本描述', 'type' => 'string', 'example' => 'Version 1.0.0 release with new features', ], ], ], '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' => '创建浏览器输入', 'type' => 'object', 'properties' => [ 'browserName' => [ 'title' => '浏览器名称', 'description' => '浏览器名称', 'type' => 'string', 'required' => true, 'example' => 'my-browser', ], 'description' => [ 'title' => '描述', 'description' => '描述', 'type' => 'string', 'example' => 'Web automation browser for testing', ], 'networkConfiguration' => [ 'title' => '网络配置', 'description' => '网络配置', 'required' => true, '$ref' => '#/components/schemas/NetworkConfiguration', ], 'executionRoleArn' => [ 'title' => '执行角色ARN', 'description' => '执行角色ARN', 'type' => 'string', 'example' => 'acs:ram::1760720386195983:role/BrowserExecutionRole', ], 'memory' => [ 'title' => '内存配置', 'description' => '内存资源配置(单位:MB)', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'maximum' => '16384', 'minimum' => '1024', 'example' => '2048', 'default' => '2048', ], 'cpu' => [ 'title' => 'CPU配置', 'description' => 'CPU资源配置(单位:核)', 'type' => 'number', 'format' => 'float', 'required' => true, 'example' => '2.0', ], 'sessionIdleTimeoutSeconds' => [ 'title' => '会话空闲超时秒数', 'description' => '会话的空闲超时时间,单位为秒。实例没有会话请求后处于空闲状态,空闲态为闲置计费模式,超过此超时时间后会话自动过期,不可继续使用', 'type' => 'integer', 'format' => 'int32', 'example' => '3600', ], 'credentialId' => [ 'title' => '鉴权', 'description' => '鉴权', 'type' => 'string', 'example' => 'cred-1234567890abcdef', ], ], ], 'CreateCodeInterpreterInput' => [ 'title' => '创建代码解释器输入', 'description' => '创建代码解释器所需的输入参数', 'type' => 'object', 'properties' => [ 'codeInterpreterName' => [ 'title' => '名称', 'description' => '代码解释器的名称,用于标识和区分不同的代码解释器实例', 'type' => 'string', 'required' => true, 'example' => 'my-code-interpreter', ], 'description' => [ 'title' => '描述', 'description' => '代码解释器的描述信息,说明该解释器的用途和功能', 'type' => 'string', 'example' => 'Python code interpreter for data analysis', ], 'networkConfiguration' => [ 'title' => '网络配置', 'description' => '代码解释器的网络配置,包括VPC、安全组等网络访问设置', 'required' => true, 'example' => '{}', '$ref' => '#/components/schemas/NetworkConfiguration', ], 'memory' => [ 'title' => '内存配置', 'description' => '内存资源配置(单位:MB)', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'maximum' => '16384', 'minimum' => '128', 'example' => '1024', 'default' => '1024', ], 'executionRoleArn' => [ 'title' => '执行角色ARN', 'description' => '此代码解释器的执行角色', 'type' => 'string', 'example' => 'acs:ram::1760720386195983:role/CodeInterpreterExecutionRole', ], 'cpu' => [ 'title' => 'CPU配置', 'description' => 'CPU资源配置(单位:核数)', 'type' => 'number', 'format' => 'float', 'required' => true, 'maximum' => '16.0', 'minimum' => '2.0', 'example' => '2.0', ], 'sessionIdleTimeoutSeconds' => [ 'title' => '会话空闲超时秒数', 'description' => '会话的空闲超时时间,单位为秒。实例没有会话请求后处于空闲状态,空闲态为闲置计费模式,超过此超时时间后会话自动过期,不可继续使用', 'type' => 'integer', 'format' => 'int32', 'example' => '3600', ], 'credentialId' => [ 'title' => '鉴权Id', 'description' => '鉴权Id', 'type' => 'string', 'example' => 'cred-1234567890abcdef', ], ], ], 'CreateCredentialInput' => [ 'type' => 'object', 'properties' => [ 'credentialName' => [ 'type' => 'string', 'required' => true, ], 'description' => [ 'type' => 'string', ], 'credentialAuthType' => [ 'type' => 'string', 'required' => true, 'enum' => [ 'jwt', 'api_key', 'basic', 'ak_sk', 'custom_header', ], ], 'credentialSourceType' => [ 'type' => 'string', 'required' => true, 'enum' => [ 'external_llm', 'external_tool', 'internal', ], ], 'credentialSecret' => [ 'type' => 'string', ], 'enabled' => [ 'type' => 'boolean', ], 'credentialPublicConfig' => [ '$ref' => '#/components/schemas/CredentialPublicConfig', ], ], ], 'CreateCredentialOutput' => [ 'type' => 'object', 'properties' => [ 'credentialId' => [ 'type' => 'string', ], 'credentialName' => [ 'type' => 'string', ], 'description' => [ 'type' => 'string', ], 'credentialAuthType' => [ 'type' => 'string', ], 'credentialSourceType' => [ 'type' => 'string', ], 'enabled' => [ 'type' => 'boolean', ], 'credentialSecret' => [ 'type' => 'string', ], 'credentialPublicConfig' => [ 'type' => 'object', 'additionalProperties' => [ 'type' => 'string', ], ], 'createdAt' => [ 'type' => 'string', ], 'updatedAt' => [ 'type' => 'string', ], 'relatedResources' => [ 'type' => 'array', 'items' => [ '$ref' => '#/components/schemas/RelatedResource', ], ], ], ], 'CreateCustomDomainInput' => [ 'title' => '创建自定义域名请求', 'description' => '创建自定义域名所需的输入参数', 'type' => 'object', 'properties' => [ 'domainName' => [ 'title' => '域名', 'description' => '域名。填写已在阿里云备案或接入备案的自定义域名名称。', 'type' => 'string', 'required' => true, 'example' => 'example.com', ], 'description' => [ 'title' => '描述', 'description' => '描述', 'type' => 'string', ], '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' => 'HTTPS证书信息', 'description' => 'HTTPS 证书的信息。', 'example' => '{}', '$ref' => '#/components/schemas/CertConfig', ], 'tlsConfig' => [ 'title' => 'TLS配置信息', 'description' => 'TLS 配置信息。', 'example' => '{}', '$ref' => '#/components/schemas/TLSConfig', ], 'domainType' => [ 'type' => 'string', 'enum' => [ 'STANDARD', 'SANDBOX', ], ], ], ], 'CreateDomainInput' => [ 'type' => 'object', 'properties' => [ 'name' => [ 'type' => 'string', ], 'protocol' => [ 'type' => 'string', ], 'certIdentifier' => [ 'type' => 'string', ], ], ], 'CreateGatewayInput' => [ 'type' => 'object', 'properties' => [ 'name' => [ 'type' => 'string', ], 'type' => [ 'type' => 'string', ], 'identityId' => [ 'type' => 'string', ], 'networkConfiguration' => [ '$ref' => '#/components/schemas/GatewayNetworkConfiguration', ], ], ], 'CreateGatewayTargetInput' => [ 'type' => 'object', 'properties' => [ 'name' => [ 'type' => 'string', ], 'domainId' => [ 'type' => 'string', ], 'targetConfiguration' => [ '$ref' => '#/components/schemas/TargetConfiguration', ], ], ], 'CreateKnowledgeBaseInput' => [ 'title' => '创建知识库输入', 'type' => 'object', 'properties' => [ 'knowledgeBaseName' => [ 'title' => '知识库名称', 'type' => 'string', 'required' => true, ], 'description' => [ 'title' => '知识库描述', 'type' => 'string', ], 'provider' => [ 'title' => '知识库供应商', 'type' => 'string', 'required' => true, ], 'credentialName' => [ 'title' => '凭证名称', 'type' => 'string', ], 'providerSettings' => [ 'title' => '知识库供应商配置', 'type' => 'object', 'required' => true, 'additionalProperties' => [ 'type' => 'any', ], ], 'retrieveSettings' => [ 'title' => '检索配置', 'type' => 'object', 'required' => false, 'additionalProperties' => [ 'type' => 'any', ], ], ], ], 'CreateMemoryCollectionInput' => [ 'type' => 'object', 'properties' => [ 'memoryCollectionName' => [ 'type' => 'string', ], 'description' => [ 'type' => 'string', ], 'llmConfig' => [ '$ref' => '#/components/schemas/LLMConfig', ], 'embedderConfig' => [ '$ref' => '#/components/schemas/EmbedderConfig', ], 'vectorStoreConfig' => [ '$ref' => '#/components/schemas/VectorStoreConfig', ], 'networkConfiguration' => [ '$ref' => '#/components/schemas/NetworkConfiguration', ], 'type' => [ 'type' => 'string', ], 'executionRoleArn' => [ 'type' => 'string', ], 'enableConversationHistory' => [ 'type' => 'boolean', ], 'enableConversationState' => [ 'type' => 'boolean', ], ], ], 'CreateModelInput' => [ 'type' => 'object', 'properties' => [ 'name' => [ 'type' => 'string', ], 'provider' => [ 'type' => 'string', ], 'type' => [ 'type' => 'string', ], 'address' => [ 'type' => 'string', ], 'apiKey' => [ 'type' => 'string', ], 'models' => [ 'type' => 'array', 'items' => [ 'type' => 'string', ], ], 'desc' => [ 'type' => 'string', ], ], ], 'CreateModelProxyInput' => [ 'type' => 'object', 'properties' => [ 'modelProxyName' => [ 'type' => 'string', 'required' => true, ], 'description' => [ 'type' => 'string', ], 'modelType' => [ 'type' => 'string', ], 'proxyMode' => [ 'type' => 'string', 'required' => true, ], 'proxyConfig' => [ 'required' => true, '$ref' => '#/components/schemas/ProxyConfig', ], 'credentialName' => [ 'type' => 'string', ], 'serviceRegionId' => [ 'type' => 'string', ], 'litellmVersion' => [ 'type' => 'string', ], 'cpu' => [ 'type' => 'number', 'format' => 'float', 'required' => true, ], 'memory' => [ 'type' => 'integer', 'format' => 'int32', 'required' => true, ], 'networkConfiguration' => [ '$ref' => '#/components/schemas/NetworkConfiguration', ], 'logConfiguration' => [ '$ref' => '#/components/schemas/LogConfiguration', ], 'armsConfiguration' => [ '$ref' => '#/components/schemas/ArmsConfiguration', ], 'executionRoleArn' => [ 'type' => 'string', ], ], ], 'CreateModelServiceInput' => [ 'type' => 'object', 'properties' => [ 'modelServiceName' => [ 'type' => 'string', 'required' => true, ], 'description' => [ 'type' => 'string', ], 'modelType' => [ 'type' => 'string', 'required' => true, ], 'provider' => [ 'type' => 'string', 'required' => true, ], 'providerSettings' => [ 'required' => true, '$ref' => '#/components/schemas/ProviderSettings', ], 'credentialName' => [ 'type' => 'string', ], 'networkConfiguration' => [ '$ref' => '#/components/schemas/NetworkConfiguration', ], 'modelInfoConfigs' => [ 'type' => 'array', 'items' => [ '$ref' => '#/components/schemas/ModelInfoConfig', ], ], ], ], 'CreateSandboxInput' => [ 'title' => '创建沙箱输入', 'description' => '创建沙箱所需的输入参数', 'type' => 'object', 'properties' => [ 'templateName' => [ 'title' => '模板名称', 'description' => '模板名称', 'type' => 'string', 'required' => true, 'example' => 'templateName', ], 'sandboxIdleTimeoutSeconds' => [ 'title' => '沙箱空闲超时时间(弃用)', 'description' => '沙箱空闲超时时间(秒)', 'type' => 'integer', 'format' => 'int32', 'deprecated' => true, 'maximum' => '21600', 'minimum' => '1', 'example' => '1800', ], 'sandboxId' => [ 'title' => '沙箱实例 id', 'description' => '沙箱实例 id', 'type' => 'string', 'example' => '01KE8DAJ35JC8SKP9CNFRZ8CW7', ], 'nasConfig' => [ 'description' => 'NAS配置。', '$ref' => '#/components/schemas/NASConfig', ], 'ossMountConfig' => [ 'description' => 'OSS挂载配置。', '$ref' => '#/components/schemas/OSSMountConfig', ], 'sandboxIdleTimeoutInSeconds' => [ 'title' => '沙箱空闲超时时间', 'description' => '沙箱空闲超时时间', 'type' => 'integer', 'format' => 'int32', 'maximum' => '21600', ], ], ], 'CreateTemplateInput' => [ 'title' => '创建模板输入', 'description' => '创建模板所需的输入参数', 'type' => 'object', 'properties' => [ 'templateName' => [ 'title' => '模板名称', 'description' => '模板名称(要求账号唯一的)', 'type' => 'string', 'required' => true, 'example' => 'browser-1766687911567', ], 'templateType' => [ 'title' => '模板类型', 'description' => '模板类型', 'type' => 'string', 'required' => true, 'example' => 'Browser', 'enum' => [ 'Browser', 'CodeInterpreter', 'AllInOnePreview', 'AllInOne', 'CustomImage', ], ], 'description' => [ 'title' => '模板描述', 'description' => '模板描述', 'type' => 'string', 'example' => '模板描述', ], 'cpu' => [ 'title' => 'CPU资源配置', 'description' => 'CPU资源配置(单位:核心)', 'type' => 'number', 'format' => 'float', 'required' => true, 'example' => '2', ], 'memory' => [ 'title' => '内存资源配置', 'description' => '内存资源配置(单位:MB)', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '2048', ], 'diskSize' => [ 'title' => '磁盘大小', 'description' => '磁盘大小', 'type' => 'integer', 'format' => 'int32', 'example' => '10240', ], 'containerConfiguration' => [ 'title' => '自定义镜像配置', 'description' => '容器配置,只允许基于 Browser/Code Interpreter 基础镜像的 image', '$ref' => '#/components/schemas/ContainerConfiguration', ], 'networkConfiguration' => [ 'title' => '网络配置', 'description' => '网络配置', 'required' => true, '$ref' => '#/components/schemas/NetworkConfiguration', ], 'credentialConfiguration' => [ 'title' => '凭证配置', 'description' => '凭证配置', '$ref' => '#/components/schemas/CredentialConfiguration', ], 'logConfiguration' => [ 'title' => '日志配置', 'description' => '日志配置', '$ref' => '#/components/schemas/LogConfiguration', ], 'executionRoleArn' => [ 'title' => '执行角色ARN', 'description' => '执行角色ARN', 'type' => 'string', 'example' => 'acs:ram::123456789:role/aliyunfcdefaultrole', ], 'sandboxIdleTimeoutInSeconds' => [ 'title' => '沙箱空闲超时时间', 'description' => '沙箱空闲超时时间(秒)', 'type' => 'integer', 'format' => 'int32', 'maximum' => '21600', 'minimum' => '1', 'example' => '1800', ], 'sandboxTTLInSeconds' => [ 'title' => '沙箱生命周期存活时间(已弃用)', 'description' => '沙箱存活时间(秒)(已弃用)', 'type' => 'integer', 'format' => 'int32', 'deprecated' => true, 'maximum' => '21600', 'minimum' => '1', 'example' => '26000', ], 'armsConfiguration' => [ 'title' => 'ARMS 配置', 'description' => 'ARMS 配置', '$ref' => '#/components/schemas/ArmsConfiguration', ], 'allowAnonymousManage' => [ 'title' => '是否允许数据链路调用创建/停止/删除沙箱接口', 'description' => '是否允许数据链路调用创建/停止/删除沙箱接口', 'type' => 'boolean', 'example' => 'true', ], 'nasConfig' => [ 'title' => 'NAS 挂载配置项目', 'description' => 'NAS 挂载配置项目', '$ref' => '#/components/schemas/NASConfig', ], 'ossConfiguration' => [ 'title' => 'OSS 配置', 'description' => 'OSS 配置', 'type' => 'array', 'items' => [ 'title' => 'OSS 配置项', 'description' => 'OSS 配置项', '$ref' => '#/components/schemas/OssConfiguration', ], ], 'environmentVariables' => [ 'title' => '环境变量', 'description' => '环境变量', 'type' => 'object', 'additionalProperties' => [ 'description' => '环境变量 map', 'type' => 'string', 'example' => '{\'FCTEST_IDE_ENV\': \'IDE\'}', ], ], 'templateConfiguration' => [ 'title' => '模板配置', 'description' => '模板配置(灵活的对象结构,根据 templateType 不同而不同)', 'type' => 'object', 'additionalProperties' => [ 'description' => '模板配置(灵活的对象结构,根据 templateType 不同而不同)', 'type' => 'any', 'example' => '{"example":"value"}', ], ], 'enableAgent' => [ 'title' => 'Sandbox Agent 开关', 'description' => 'Sandbox Agent 开关', 'type' => 'boolean', 'required' => false, ], ], ], 'CreateToolData' => [ 'type' => 'object', 'properties' => [ 'id' => [ 'type' => 'string', ], 'name' => [ 'type' => 'string', ], 'toolType' => [ 'type' => 'string', ], 'createdAt' => [ 'type' => 'string', ], 'sourceType' => [ 'type' => 'string', ], ], ], 'CreateToolInput' => [ 'type' => 'object', 'properties' => [ 'name' => [ 'type' => 'string', 'required' => true, ], 'description' => [ 'type' => 'string', ], 'toolType' => [ 'type' => 'string', 'required' => true, 'enum' => [ 'function_call', 'mcp', ], ], 'sourceType' => [ 'type' => 'string', 'required' => true, 'enum' => [ 'template', 'custom', 'schema', ], ], 'schema' => [ 'type' => 'string', 'required' => true, ], 'CAPConfig' => [ '$ref' => '#/components/schemas/CAPConfig', ], ], ], 'CreateToolOutput' => [ 'type' => 'object', 'properties' => [ 'success' => [ 'type' => 'boolean', ], 'message' => [ 'type' => 'string', ], 'data' => [ '$ref' => '#/components/schemas/CreateToolData', ], ], ], 'CreateWorkspaceInput' => [ 'type' => 'object', 'properties' => [ 'name' => [ 'type' => 'string', ], 'description' => [ 'type' => 'string', ], 'resourceGroupId' => [ 'type' => 'string', ], ], ], 'Credential' => [ 'type' => 'object', 'properties' => [ 'credentialId' => [ 'type' => 'string', ], 'credentialName' => [ 'type' => 'string', ], 'description' => [ 'type' => 'string', ], 'credentialAuthType' => [ 'type' => 'string', ], 'credentialSourceType' => [ 'type' => 'string', ], 'enabled' => [ 'type' => 'boolean', ], 'credentialSecret' => [ 'type' => 'string', ], 'credentialPublicConfig' => [ 'type' => 'object', 'additionalProperties' => [ 'type' => 'string', ], ], 'createdAt' => [ 'type' => 'string', ], 'updatedAt' => [ 'type' => 'string', ], 'relatedResources' => [ 'type' => 'array', 'items' => [ '$ref' => '#/components/schemas/RelatedResource', ], ], ], ], 'CredentialConfiguration' => [ 'title' => '凭证配置', 'description' => '访问外部服务的凭证配置', 'type' => 'object', 'properties' => [ 'credentialName' => [ 'title' => '凭证ID', 'description' => '凭证的唯一标识符', 'type' => 'string', 'example' => 'deepagent-key', ], ], ], 'CredentialListItem' => [ 'type' => 'object', 'properties' => [ 'credentialId' => [ 'type' => 'string', ], 'credentialName' => [ 'type' => 'string', ], 'credentialAuthType' => [ 'type' => 'string', ], 'credentialSourceType' => [ 'type' => 'string', ], 'enabled' => [ 'type' => 'boolean', ], 'createdAt' => [ 'type' => 'string', ], 'updatedAt' => [ 'type' => 'string', ], 'relatedResourceCount' => [ 'type' => 'integer', 'format' => 'int32', ], ], ], 'CredentialPublicConfig' => [ 'type' => 'object', 'properties' => [ 'headerKey' => [ 'type' => 'string', ], 'provider' => [ 'type' => 'string', ], 'authType' => [ 'type' => 'string', 'enum' => [ 'static_jwks', 'remote_jwks', ], ], 'remoteConfig' => [ 'type' => 'object', 'properties' => [ 'uri' => [ 'type' => 'string', ], 'timeout' => [ 'type' => 'integer', 'format' => 'int32', ], 'ttl' => [ 'type' => 'integer', 'format' => 'int32', ], ], ], 'users' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'username' => [ 'type' => 'string', ], 'password' => [ 'type' => 'string', ], ], ], ], 'authConfig' => [ 'type' => 'object', 'additionalProperties' => [ 'type' => 'string', ], ], ], ], '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', ], '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' => 'HTTPS证书信息', 'description' => 'HTTPS 证书的信息。', 'example' => '{}', '$ref' => '#/components/schemas/CertConfig', ], 'tlsConfig' => [ 'title' => 'TLS配置信息', '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', ], ], ], ], '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' => '请求ID', 'description' => '唯一的请求标识符,用于问题追踪', 'type' => 'string', 'example' => 'F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E', ], 'data' => [ 'title' => '自定义域名数据', 'description' => '自定义域名的详细信息', 'example' => '{}', '$ref' => '#/components/schemas/CustomDomain', ], ], ], 'CustomRuntimeConfig' => [ 'type' => 'object', 'properties' => [ 'port' => [ 'type' => 'integer', 'format' => 'int32', ], 'command' => [ 'type' => 'array', 'items' => [ 'type' => 'string', ], ], 'args' => [ 'type' => 'array', 'items' => [ 'type' => 'string', ], ], ], ], 'DeleteBrowserOut' => [ 'title' => '', 'description' => '', 'type' => 'object', 'properties' => [ 'browserId' => [ 'title' => '浏览器 ID'."\n", 'description' => '浏览器 ID'."\n", 'type' => 'string', ], 'browserName' => [ 'title' => '浏览器名称', 'description' => '浏览器名称', 'type' => 'string', ], 'status' => [ 'title' => '状态', 'description' => '状态', 'type' => 'string', ], ], ], 'DeleteBrowserResult' => [ 'type' => 'object', 'properties' => [ 'requestId' => [ 'title' => '请求ID', 'description' => '唯一的请求标识符,用于问题追踪', 'type' => 'string', 'example' => 'F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E', ], 'code' => [ 'title' => '结果码', 'description' => 'SUCCESS 为成功,失败情况返回对应错误类型,比如 ERR_BAD_REQUEST ERR_VALIDATION_FAILED ERR_INTERNAL_SERVER_ERROR', 'type' => 'string', 'example' => 'SUCCESS', ], 'data' => [ 'title' => '浏览器数据', 'description' => '被删除的浏览器详细信息', 'example' => '{}', '$ref' => '#/components/schemas/Browser', ], ], ], 'DeleteCodeInterpreterOut' => [ 'title' => '', 'description' => '', 'type' => 'object', 'properties' => [ 'codeInterpreterId' => [ 'title' => '代码解释器 ID', 'description' => '代码解释器 ID', 'type' => 'string', ], 'codeInterpreterName' => [ 'title' => '代码解释器名称', 'description' => '代码解释器名称', 'type' => 'string', ], 'status' => [ 'title' => '状态', 'description' => '状态', 'type' => 'string', ], ], ], 'DeleteCodeInterpreterResult' => [ 'type' => 'object', 'properties' => [ 'code' => [ 'title' => '结果码', 'description' => 'SUCCESS 为成功,失败情况返回对应错误类型,比如 ERR_BAD_REQUEST ERR_VALIDATION_FAILED ERR_INTERNAL_SERVER_ERROR', 'type' => 'string', 'example' => 'SUCCESS', ], 'requestId' => [ 'title' => '请求ID', 'description' => '唯一的请求标识符,用于问题追踪', 'type' => 'string', 'example' => 'F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E', ], 'data' => [ 'title' => '代码解释器数据', 'description' => '被删除的代码解释器详细信息', 'example' => '{}', '$ref' => '#/components/schemas/CodeInterpreter', ], ], ], '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', ], 'agentEndpointConfigs' => [ 'type' => 'array', 'items' => [ '$ref' => '#/components/schemas/AgentEndpointConfig', ], ], ], ], 'DomainInfo' => [ 'type' => 'object', 'properties' => [ 'domainId' => [ 'type' => 'string', ], 'name' => [ 'type' => 'string', ], 'protocol' => [ 'type' => 'string', ], 'certIdentifier' => [ 'type' => 'string', ], ], ], 'EmbedderConfig' => [ 'type' => 'object', 'properties' => [ 'config' => [ 'type' => 'object', 'properties' => [ 'model' => [ 'type' => 'string', ], ], ], 'modelServiceName' => [ 'type' => 'string', ], ], ], 'ErrorResult' => [ 'title' => 'Error Response', 'description' => '错误响应结构体', 'type' => 'object', 'properties' => [ 'code' => [ 'title' => '结果码', 'description' => 'SUCCESS 为成功,失败情况返回对应错误类型,比如 ERR_BAD_REQUEST ERR_VALIDATION_FAILED ERR_INTERNAL_SERVER_ERROR', 'type' => 'string', 'example' => 'SUCCESS', ], 'requestId' => [ 'title' => 'Request ID', 'description' => '唯一的请求标识符,用于问题追踪', 'type' => 'string', 'example' => '55D4BE40-2811-5CFB-8482-E0E98D575B1E', ], 'message' => [ 'title' => 'Error Message', 'description' => '错误信息描述', 'type' => 'string', 'example' => 'Conflict Transaction, process failed', ], ], ], 'FCLinkConfig' => [ 'type' => 'object', 'properties' => [ 'functionName' => [ 'type' => 'string', ], 'version' => [ 'type' => 'string', ], ], ], 'Gateway' => [ 'type' => 'object', 'properties' => [ 'name' => [ 'type' => 'string', ], 'gatewayId' => [ 'type' => 'string', ], 'internetUrl' => [ 'type' => 'string', ], 'intranetUrl' => [ 'type' => 'string', ], 'createdAt' => [ 'type' => 'string', ], 'updatedAt' => [ 'type' => 'string', ], 'status' => [ 'type' => 'string', ], ], ], 'GatewayNetworkConfiguration' => [ 'type' => 'object', 'properties' => [ 'networkMode' => [ 'title' => '网络模式', 'description' => '网络模式', 'type' => 'string', ], 'vpcId' => [ 'title' => '专有网络ID', 'description' => '专有网络ID', 'type' => 'string', ], 'vswitchIds' => [ 'type' => 'array', 'items' => [ 'type' => 'string', ], ], ], ], 'GetBrowserSessionResult' => [ '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' => '请求ID', 'description' => '请求ID', 'type' => 'string', 'example' => 'F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E', ], 'data' => [ 'title' => '数据', 'description' => '数据', 'example' => '{}', '$ref' => '#/components/schemas/BrowserSessionOut', ], ], ], 'GetCodeInterpreterSessionResult' => [ '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' => '请求ID', 'type' => 'string', ], 'data' => [ 'title' => '数据', 'description' => '数据', '$ref' => '#/components/schemas/CodeInterpreterSessionOut', ], ], ], 'GetCredentialOutput' => [ 'type' => 'object', 'properties' => [ 'credentialId' => [ 'type' => 'string', ], 'credentialName' => [ 'type' => 'string', ], 'description' => [ 'type' => 'string', ], 'credentialAuthType' => [ 'type' => 'string', ], 'credentialSourceType' => [ 'type' => 'string', ], 'enabled' => [ 'type' => 'boolean', ], 'credentialSecret' => [ 'type' => 'string', ], 'credentialPublicConfig' => [ 'type' => 'object', 'additionalProperties' => [ 'type' => 'string', ], ], 'createdAt' => [ 'type' => 'string', ], 'updatedAt' => [ 'type' => 'string', ], 'relatedResources' => [ 'type' => 'array', 'items' => [ '$ref' => '#/components/schemas/RelatedResource', ], ], ], ], 'GetDiscoveryEndpointsOutput' => [ 'type' => 'object', 'properties' => [ 'discoveryEndpoints' => [ 'type' => 'array', 'items' => [ '$ref' => '#/components/schemas/DiscoveryEndpoint', ], ], ], ], 'GetDiscoveryEndpointsResult' => [ 'type' => 'object', 'properties' => [ 'code' => [ 'type' => 'string', ], 'requestId' => [ 'type' => 'string', ], 'data' => [ '$ref' => '#/components/schemas/GetDiscoveryEndpointsOutput', ], ], ], 'GetToolOutput' => [ 'type' => 'object', 'properties' => [ 'success' => [ 'type' => 'boolean', ], 'data' => [ '$ref' => '#/components/schemas/ToolInfo', ], ], ], 'GrayTrafficWeight' => [ 'title' => '灰度流量权重', 'description' => '单个版本的灰度流量权重配置', 'type' => 'object', 'properties' => [ 'version' => [ 'title' => '版本号', 'description' => '灰度版本号', 'type' => 'string', ], 'weight' => [ 'title' => '权重', 'description' => '流量权重比例(0.0-1.0)', 'type' => 'number', 'format' => 'float', 'maximum' => '1', 'minimum' => '0', ], ], ], 'HealthCheckConfig' => [ 'title' => '健康检查配置', 'description' => '智能体运行时的健康检查配置,用于监控运行时实例的健康状态', 'type' => 'object', 'properties' => [ 'httpGetUrl' => [ 'title' => 'HTTP GET URL', 'description' => '用于健康检查的HTTP GET请求的URL地址', 'type' => 'string', 'maximum' => '2048', ], 'initialDelaySeconds' => [ 'title' => '初始延迟秒数', 'description' => '在容器启动后,首次执行健康检查前的延迟时间(秒)', 'type' => 'integer', 'format' => 'int32', 'maximum' => '120', 'minimum' => '0', ], 'periodSeconds' => [ 'title' => '检查周期秒数', 'description' => '执行健康检查的时间间隔(秒)', 'type' => 'integer', 'format' => 'int32', 'maximum' => '120', 'minimum' => '1', ], 'timeoutSeconds' => [ 'title' => '超时秒数', 'description' => '健康检查的超时时间(秒)', 'type' => 'integer', 'format' => 'int32', 'maximum' => '3', 'minimum' => '1', ], 'failureThreshold' => [ 'title' => '失败阈值', 'description' => '在将容器视为不健康之前,连续失败的健康检查次数', 'type' => 'integer', 'format' => 'int32', 'maximum' => '120', 'minimum' => '1', ], 'successThreshold' => [ 'title' => '成功阈值', 'description' => '在将容器视为健康之前,连续成功的健康检查次数', 'type' => 'integer', 'format' => 'int32', 'maximum' => '120', 'minimum' => '1', ], ], ], 'HealthCheckConfiguration' => [ 'title' => '健康检查配置', 'description' => '智能体运行时的健康检查配置,用于监控运行时实例的健康状态', 'type' => 'object', 'properties' => [ 'httpGetUrl' => [ 'title' => 'HTTP GET URL', 'description' => '用于健康检查的HTTP GET请求的URL地址', 'type' => 'string', 'maximum' => '2048', 'example' => '/ready', ], 'initialDelaySeconds' => [ 'title' => '初始延迟秒数', 'description' => '在容器启动后,首次执行健康检查前的延迟时间(秒)', 'type' => 'integer', 'format' => 'int32', 'maximum' => '120', 'minimum' => '0', 'example' => '30', ], 'periodSeconds' => [ 'title' => '检查周期秒数', 'description' => '执行健康检查的时间间隔(秒)', 'type' => 'integer', 'format' => 'int32', 'maximum' => '120', 'minimum' => '1', 'example' => '30', ], 'timeoutSeconds' => [ 'title' => '超时秒数', 'description' => '健康检查的超时时间(秒)', 'type' => 'integer', 'format' => 'int32', 'maximum' => '3', 'minimum' => '1', 'example' => '3', ], 'failureThreshold' => [ 'title' => '失败阈值', 'description' => '在将容器视为不健康之前,连续失败的健康检查次数', 'type' => 'integer', 'format' => 'int32', 'maximum' => '120', 'minimum' => '1', 'example' => '3', ], 'successThreshold' => [ 'title' => '成功阈值', 'description' => '在将容器视为健康之前,连续成功的健康检查次数', 'type' => 'integer', 'format' => 'int32', 'maximum' => '120', 'minimum' => '1', 'example' => '1', ], ], ], 'KnowledgeBase' => [ 'title' => '知识库结构体', 'type' => 'object', 'properties' => [ 'knowledgeBaseId' => [ 'title' => '知识库Id', 'type' => 'string', ], 'knowledgeBaseName' => [ 'title' => '知识库名称', 'type' => 'string', ], 'description' => [ 'title' => '知识库描述', 'type' => 'string', ], 'provider' => [ 'title' => '知识库供应商名称(例如ragflow,bailian)', 'type' => 'string', ], 'credentialName' => [ 'title' => '身份凭证名称', 'type' => 'string', ], 'createdAt' => [ 'title' => '创建时间', 'type' => 'string', ], 'lastUpdatedAt' => [ 'title' => '最近的更新时间', 'type' => 'string', ], 'providerSettings' => [ 'title' => '知识库供应商配置', 'type' => 'object', 'additionalProperties' => [ 'type' => 'any', ], ], 'retrieveSettings' => [ 'type' => 'object', 'additionalProperties' => [ 'type' => 'any', ], ], ], ], 'KnowledgeBaseResult' => [ 'type' => 'object', 'properties' => [ 'code' => [ 'type' => 'string', ], 'requestId' => [ 'type' => 'string', ], 'data' => [ '$ref' => '#/components/schemas/KnowledgeBase', ], ], ], 'LLMAPIConfiguration' => [ 'type' => 'object', 'properties' => [ 'removeBasePathOnForward' => [ 'type' => 'boolean', ], 'basePath' => [ 'type' => 'string', ], 'type' => [ 'type' => 'string', ], 'modelCategory' => [ 'type' => 'string', ], 'aiProtocols' => [ 'type' => 'array', 'items' => [ 'type' => 'string', ], ], 'deployConfigs' => [ 'type' => 'array', 'items' => [ '$ref' => '#/components/schemas/LLMDeployConfig', ], ], 'attachPolicyConfigs' => [ 'type' => 'array', 'items' => [ '$ref' => '#/components/schemas/AttachPolicyConfig', ], ], ], ], 'LLMConfig' => [ 'type' => 'object', 'properties' => [ 'config' => [ 'type' => 'object', 'properties' => [ 'model' => [ 'type' => 'string', ], ], ], 'modelServiceName' => [ 'type' => 'string', ], ], ], 'LLMDeployConfig' => [ 'type' => 'object', 'properties' => [ 'backendScene' => [ 'type' => 'string', ], 'autoDeploy' => [ 'type' => 'boolean', ], 'gatewayType' => [ 'type' => 'string', ], 'serviceConfigs' => [ 'type' => 'array', 'items' => [ '$ref' => '#/components/schemas/TargetServiceConfig', ], ], 'policyConfigs' => [ 'type' => 'array', 'items' => [ '$ref' => '#/components/schemas/PolicyConfig', ], ], 'customDomainIds' => [ 'type' => 'array', 'items' => [ 'type' => 'string', ], ], ], ], 'ListAgentRuntimeEndpointsInput' => [ 'title' => '列出智能体运行时端点输入', 'description' => '用于列出智能体运行时端点的请求参数', 'type' => 'object', 'properties' => [ 'endpointName' => [ 'title' => '端点名称', 'description' => '按端点名称过滤', 'type' => 'string', ], 'statuses' => [ 'title' => '状态列表', 'description' => '按状态过滤', 'type' => 'array', 'items' => [ 'type' => 'string', ], ], 'pageNumber' => [ 'title' => '页码', 'description' => '页码', 'type' => 'integer', ], 'pageSize' => [ 'title' => '页面大小', 'description' => '每页记录数', 'type' => 'integer', ], ], ], 'ListAgentRuntimeEndpointsOutput' => [ 'title' => '智能体运行时端点列表输出', 'description' => '智能体运行时端点列表输出', 'type' => 'object', 'properties' => [ 'items' => [ 'title' => '项目列表', 'description' => '项目列表', 'type' => 'array', 'items' => [ '$ref' => '#/components/schemas/AgentRuntimeEndpoint', ], ], 'pageNumber' => [ 'title' => '页码', 'description' => '页码', 'type' => 'integer', ], 'pageSize' => [ 'title' => '页面大小', 'description' => '页面大小', 'type' => 'integer', ], 'total' => [ 'title' => '总数', 'description' => '总数', 'type' => 'integer', ], ], ], 'ListAgentRuntimeEndpointsResult' => [ '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' => '请求ID', 'description' => '唯一的请求标识符,用于问题追踪', 'type' => 'string', 'example' => 'F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E', ], 'data' => [ 'title' => '智能体运行时端点列表数据', 'description' => '智能体运行时端点列表的详细信息', 'example' => '{}', '$ref' => '#/components/schemas/ListAgentRuntimeEndpointsOutput', ], ], ], 'ListAgentRuntimeVersionsInput' => [ 'title' => '列出智能体运行时版本输入', 'description' => '用于列出智能体运行时版本的请求参数', 'type' => 'object', 'properties' => [ 'pageNumber' => [ 'title' => '页码', 'description' => '页码', 'type' => 'integer', ], 'pageSize' => [ 'title' => '页面大小', 'description' => '每页记录数', 'type' => 'integer', ], ], ], 'ListAgentRuntimeVersionsOutput' => [ 'title' => '智能体运行时版本列表输出', 'description' => '智能体运行时版本列表输出', 'type' => 'object', 'properties' => [ 'items' => [ 'title' => '项目列表', 'description' => '项目列表', 'type' => 'array', 'items' => [ '$ref' => '#/components/schemas/AgentRuntimeVersion', ], ], 'pageNumber' => [ 'title' => '页码', 'description' => '页码', 'type' => 'integer', ], 'pageSize' => [ 'title' => '页面大小', 'description' => '页面大小', 'type' => 'integer', ], 'total' => [ 'title' => '总数', 'description' => '总数', 'type' => 'integer', ], ], ], 'ListAgentRuntimeVersionsResult' => [ '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' => '请求ID', 'description' => '唯一的请求标识符,用于问题追踪', 'type' => 'string', 'example' => 'F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E', ], 'data' => [ 'title' => '智能体运行时版本列表数据', 'description' => '智能体运行时版本列表的详细信息', 'example' => '{}', '$ref' => '#/components/schemas/ListAgentRuntimeVersionsOutput', ], ], ], 'ListAgentRuntimesInput' => [ 'title' => '列出智能体运行时输入', 'description' => '用于列出智能体运行时的请求参数', 'type' => 'object', 'properties' => [ 'agentRuntimeName' => [ 'title' => '智能体运行时名称', 'description' => '按名称过滤', 'type' => 'string', 'example' => 'my-agent-runtime', ], 'statuses' => [ 'title' => '状态列表', 'description' => '按状态过滤', 'type' => 'array', 'items' => [ 'type' => 'string', ], 'example' => 'READY,CREATING', ], 'pageNumber' => [ 'title' => '页码', 'description' => '页码', 'type' => 'integer', 'example' => '1', ], 'pageSize' => [ 'title' => '页面大小', 'description' => '每页记录数', 'type' => 'integer', 'example' => '20', ], ], ], 'ListAgentRuntimesOutput' => [ 'title' => '智能体运行时列表输出', 'description' => '智能体运行时列表输出', 'type' => 'object', 'properties' => [ 'items' => [ 'title' => '项目列表', 'description' => '项目列表', 'type' => 'array', 'items' => [ '$ref' => '#/components/schemas/AgentRuntime', ], ], 'pageNumber' => [ 'title' => '页码', 'description' => '页码', 'type' => 'integer', ], 'pageSize' => [ 'title' => '页面大小', 'description' => '页面大小', 'type' => 'integer', ], 'total' => [ 'title' => '总数', 'description' => '总数', 'type' => 'integer', ], ], ], 'ListAgentRuntimesResult' => [ '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' => '请求ID', 'description' => '唯一的请求标识符,用于问题追踪', 'type' => 'string', 'example' => 'F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E', ], 'data' => [ 'title' => '智能体运行时列表数据', 'description' => '智能体运行时列表的详细信息', 'example' => '{}', '$ref' => '#/components/schemas/ListAgentRuntimesOutput', ], ], ], 'ListBrowserSessionResult' => [ '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' => '请求ID', 'description' => '请求ID', 'type' => 'string', 'example' => 'F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E', ], 'data' => [ 'title' => '数据', 'description' => '数据', 'example' => '{}', '$ref' => '#/components/schemas/BrowserSessionListOut', ], ], ], 'ListBrowsersInput' => [ 'title' => '列出浏览器输入', 'description' => '列出浏览器输入', 'type' => 'object', 'properties' => [ 'browserName' => [ 'title' => '浏览器名称', 'description' => '按浏览器名称过滤', 'type' => 'string', 'example' => 'my-browser', ], 'pageSize' => [ 'title' => '页面大小', 'description' => '页面大小', 'type' => 'integer', 'example' => '20', ], 'pageNumber' => [ 'title' => '页码', 'description' => '页码', 'type' => 'integer', 'example' => '1', ], ], ], 'ListBrowsersOutput' => [ 'title' => '列出浏览器输出', 'description' => '列出浏览器输出', 'type' => 'object', 'properties' => [ 'pageNumber' => [ 'title' => '页码', 'description' => '页码', 'type' => 'integer', 'format' => 'int32', ], 'pageSize' => [ 'title' => '页面大小', 'description' => '页面大小', 'type' => 'integer', 'format' => 'int32', ], 'total' => [ 'title' => '总数', 'description' => '总数', 'type' => 'integer', 'format' => 'int64', ], 'items' => [ 'title' => '浏览器列表', 'description' => '浏览器列表', 'type' => 'array', 'items' => [ '$ref' => '#/components/schemas/Browser', ], ], ], ], 'ListBrowsersResult' => [ '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' => '请求ID', 'description' => '唯一的请求标识符,用于问题追踪', 'type' => 'string', 'example' => 'F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E', ], 'data' => [ 'title' => '浏览器列表数据', 'description' => '浏览器列表的详细信息', 'example' => '{}', '$ref' => '#/components/schemas/ListBrowsersOutput', ], ], ], 'ListCodeInterpreterSessionResult' => [ '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' => '请求ID', 'description' => '请求ID', 'type' => 'string', 'example' => 'F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E', ], 'data' => [ 'title' => '数据', 'description' => '数据', 'example' => '{}', '$ref' => '#/components/schemas/CodeInterpreterSessionListOut', ], ], ], 'ListCodeInterpretersInput' => [ 'title' => '列出代码解释器输入', 'description' => '列出代码解释器输入', 'type' => 'object', 'properties' => [ 'codeInterpreterName' => [ 'title' => '代码解释器名称', 'description' => '按代码解释器名称过滤', 'type' => 'string', ], 'pageNumber' => [ 'title' => '页码', 'description' => '页码', 'type' => 'integer', 'minimum' => '1', 'default' => '1', ], 'pageSize' => [ 'title' => '页面大小', 'description' => '页面大小', 'type' => 'integer', 'minimum' => '1', 'default' => '20', ], ], ], 'ListCodeInterpretersOutput' => [ 'title' => '列出代码解释器输出', 'description' => '列出代码解释器输出', 'type' => 'object', 'properties' => [ 'pageNumber' => [ 'title' => '页码', 'description' => '页码', 'type' => 'integer', 'format' => 'int32', ], 'pageSize' => [ 'title' => '页面大小', 'description' => '页面大小', 'type' => 'integer', 'format' => 'int32', ], 'total' => [ 'title' => '总数', 'description' => '总数', 'type' => 'integer', 'format' => 'int64', ], 'items' => [ 'title' => '代码解释器列表', 'description' => '代码解释器列表', 'type' => 'array', 'items' => [ '$ref' => '#/components/schemas/CodeInterpreter', ], ], ], ], 'ListCodeInterpretersResult' => [ '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' => '请求ID', 'description' => '唯一的请求标识符,用于问题追踪', 'type' => 'string', 'example' => 'F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E', ], 'data' => [ 'title' => '代码解释器列表数据', 'description' => '代码解释器列表的详细信息', 'example' => '{}', '$ref' => '#/components/schemas/ListCodeInterpretersOutput', ], ], ], 'ListCredentialsOutput' => [ 'type' => 'object', 'properties' => [ 'total' => [ 'type' => 'string', ], 'pageSize' => [ 'type' => 'string', ], 'pageNumber' => [ 'type' => 'string', ], 'items' => [ 'type' => 'array', 'items' => [ '$ref' => '#/components/schemas/CredentialListItem', ], ], ], ], 'ListCredentialsResult' => [ 'type' => 'object', 'properties' => [ 'code' => [ 'type' => 'string', ], 'requestId' => [ 'type' => 'string', ], 'data' => [ '$ref' => '#/components/schemas/ListCredentialsOutput', ], ], ], 'ListCustomDomainsOutput' => [ 'type' => 'object', 'properties' => [ 'pageSize' => [ 'type' => 'integer', 'format' => 'int32', ], 'pageNumber' => [ 'type' => 'integer', 'format' => 'int32', ], 'total' => [ 'type' => 'integer', 'format' => 'int32', ], 'items' => [ 'type' => 'array', 'items' => [ '$ref' => '#/components/schemas/CustomDomain', ], ], ], ], 'ListCustomDomainsResult' => [ 'type' => 'object', 'properties' => [ 'code' => [ 'type' => 'string', ], 'requestId' => [ 'type' => 'string', ], 'data' => [ '$ref' => '#/components/schemas/ListCustomDomainsOutput', ], ], ], 'ListDomainsOutput' => [ 'type' => 'object', 'properties' => [ 'items' => [ 'type' => 'array', 'items' => [ '$ref' => '#/components/schemas/DomainInfo', ], ], 'pageNumber' => [ 'type' => 'string', ], 'pageSize' => [ 'type' => 'string', ], 'totalCount' => [ 'type' => 'string', ], ], ], 'ListGatewaysOutput' => [ 'type' => 'object', 'properties' => [ 'items' => [ '$ref' => '#/components/schemas/Gateway', ], 'pageNumber' => [ 'type' => 'integer', 'format' => 'int32', ], 'pageSize' => [ 'type' => 'integer', 'format' => 'int32', ], 'total' => [ 'type' => 'integer', 'format' => 'int32', ], ], ], 'ListKnowledgeBasesOutput' => [ 'type' => 'object', 'properties' => [ 'pageNumber' => [ 'title' => '页数', 'type' => 'integer', 'format' => 'int32', ], 'pageSize' => [ 'title' => '每页实体的大小', 'type' => 'integer', 'format' => 'int32', ], 'total' => [ 'title' => '总页数', 'type' => 'integer', 'format' => 'int64', ], 'items' => [ 'title' => '知识库实体列表信息', 'type' => 'array', 'items' => [ '$ref' => '#/components/schemas/KnowledgeBase', ], ], ], ], 'ListKnowledgeBasesResult' => [ 'type' => 'object', 'properties' => [ 'code' => [ 'title' => '返回码', 'type' => 'string', ], 'requestId' => [ 'title' => '请求Id', 'type' => 'string', ], 'data' => [ 'title' => '返回知识库列表数据', '$ref' => '#/components/schemas/ListKnowledgeBasesOutput', ], ], ], 'ListMemoryCollectionsOutput' => [ '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/MemoryCollection', ], ], ], ], 'ListMemoryCollectionsResult' => [ 'type' => 'object', 'properties' => [ 'code' => [ 'type' => 'string', ], 'requestId' => [ 'type' => 'string', ], 'data' => [ '$ref' => '#/components/schemas/ListMemoryCollectionsOutput', ], ], ], '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', ], ], ], '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' => '获取沙箱列表的统一结果格式', 'type' => 'object', 'properties' => [ 'code' => [ 'title' => '返回码', 'description' => 'SUCCESS 为成功,失败情况返回对应错误类型,比如 ERR_BAD_REQUEST ERR_VALIDATION_FAILED ERR_INTERNAL_SERVER_ERROR', 'type' => 'string', 'example' => 'SUCCESS', ], 'requestId' => [ 'title' => '请求ID', 'description' => '唯一的请求标识符,用于问题追踪', 'type' => 'string', 'example' => '55D4BE40-2811-5CFB-8482-E0E98D575B1E', ], 'data' => [ 'title' => '沙箱列表数据', 'description' => '沙箱列表的详细信息', '$ref' => '#/components/schemas/ListSandboxesOutput', ], ], ], 'ListTemplatesOutput' => [ 'title' => '模板列表输出', 'description' => '模板列表查询结果', 'type' => 'object', 'properties' => [ 'pageNumber' => [ 'title' => '页码', 'description' => '页码', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1', ], 'pageSize' => [ 'title' => '每页大小', 'description' => '每页大小', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '10', ], 'total' => [ 'title' => '总数', 'description' => '总数', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '10', ], 'items' => [ 'title' => '模板列表', 'description' => '模板列表', 'type' => 'array', 'items' => [ 'title' => '模板', 'description' => '模板', '$ref' => '#/components/schemas/Template', ], 'required' => true, ], ], ], 'ListTemplatesResult' => [ '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' => '请求ID', 'description' => '唯一的请求标识符,用于问题追踪', 'type' => 'string', 'example' => 'C0595DB0-D1EE-55C3-8DDD-790872C7EC2F', ], 'data' => [ 'title' => '模板列表数据', 'description' => '模板列表的详细信息', '$ref' => '#/components/schemas/ListTemplatesOutput', ], ], ], 'ListToolsOutput' => [ 'type' => 'object', 'properties' => [ 'data' => [ 'type' => 'array', 'items' => [ '$ref' => '#/components/schemas/ToolListItem', ], ], 'pageSize' => [ 'type' => 'integer', 'format' => 'int32', ], 'pageNum' => [ 'type' => 'integer', 'format' => 'int32', ], 'total' => [ 'type' => 'integer', 'format' => 'int32', ], ], ], 'ListWorkspacesOutput' => [ 'type' => 'object', 'properties' => [ 'workspaces' => [ 'type' => 'array', 'items' => [ '$ref' => '#/components/schemas/Workspace', ], ], 'total' => [ 'type' => 'integer', 'format' => 'int64', ], 'pageNumber' => [ 'type' => 'integer', 'format' => 'int32', ], 'pageSize' => [ 'type' => 'integer', 'format' => 'int32', ], ], ], 'ListWorkspacesResult' => [ 'type' => 'object', 'properties' => [ 'code' => [ 'type' => 'string', ], 'requestId' => [ 'type' => 'string', ], 'data' => [ '$ref' => '#/components/schemas/ListWorkspacesOutput', ], ], ], 'LogConfiguration' => [ 'title' => '日志配置', 'description' => '智能体运行时的SLS(简单日志服务)配置', 'type' => 'object', 'properties' => [ 'project' => [ 'title' => '项目名称', 'description' => 'SLS项目名称', 'type' => 'string', 'example' => 'agent-runtime-logs', ], 'logstore' => [ 'title' => '日志库名称', 'description' => 'SLS日志库名称', 'type' => 'string', 'example' => 'agent-runtime-logs', ], ], ], 'MCPAPI' => [ 'type' => 'object', 'properties' => [ 'description' => [ 'type' => 'string', ], 'toolId' => [ 'type' => 'string', ], 'match' => [ '$ref' => '#/components/schemas/MCPMatch', ], 'backendConfig' => [ '$ref' => '#/components/schemas/MCPBackendConfig', ], 'protocol' => [ 'type' => 'string', ], 'exposedUriPath' => [ 'type' => 'string', ], 'mcpStatisticsEnable' => [ 'type' => 'boolean', ], 'toolsConfig' => [ 'type' => 'string', ], ], ], 'MCPAPIConfiguration' => [ 'type' => 'object', 'properties' => [ 'toolId' => [ 'type' => 'string', ], 'description' => [ 'type' => 'string', ], 'protocol' => [ 'type' => 'string', ], 'exposedUriPath' => [ 'type' => 'string', ], 'mcpStatisticsEnable' => [ 'type' => 'boolean', ], ], ], 'MCPBackendConfig' => [ 'type' => 'object', 'properties' => [ 'scene' => [ 'type' => 'string', ], 'services' => [ 'type' => 'array', 'items' => [ '$ref' => '#/components/schemas/MCPServiceConfig', ], ], ], ], 'MCPMatch' => [ 'type' => 'object', 'properties' => [ 'path' => [ '$ref' => '#/components/schemas/MCPPathMatch', ], ], ], 'MCPPathMatch' => [ 'type' => 'object', 'properties' => [ 'type' => [ 'type' => 'string', ], 'value' => [ 'type' => 'string', ], ], ], 'MCPServerConfig' => [ 'type' => 'object', 'properties' => [ 'transportType' => [ 'type' => 'string', ], 'serverUrl' => [ 'type' => 'string', ], 'ssePath' => [ 'type' => 'string', ], ], ], 'MCPServiceConfig' => [ 'type' => 'object', 'properties' => [ 'serviceId' => [ 'type' => 'string', ], ], ], 'MemoryCollection' => [ 'type' => 'object', 'properties' => [ 'memoryCollectionName' => [ 'type' => 'string', ], 'memoryCollectionId' => [ 'type' => 'string', ], 'description' => [ 'type' => 'string', ], 'llmConfig' => [ '$ref' => '#/components/schemas/LLMConfig', ], 'embedderConfig' => [ '$ref' => '#/components/schemas/EmbedderConfig', ], 'vectorStoreConfig' => [ '$ref' => '#/components/schemas/VectorStoreConfig', ], 'networkConfiguration' => [ '$ref' => '#/components/schemas/NetworkConfiguration', ], 'executionRoleArn' => [ 'type' => 'string', ], 'createdAt' => [ 'type' => 'string', ], 'lastUpdatedAt' => [ 'type' => 'string', ], 'enableConversationHistory' => [ 'type' => 'boolean', ], 'enableConversationState' => [ 'type' => 'boolean', ], ], ], 'MemoryCollectionResult' => [ 'type' => 'object', 'properties' => [ 'code' => [ 'type' => 'string', ], 'requestId' => [ 'type' => 'string', ], 'data' => [ '$ref' => '#/components/schemas/MemoryCollection', ], ], ], 'Model' => [ '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', ], ], ], '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', ], 'modelProxyName' => [ 'type' => 'string', ], 'description' => [ 'type' => 'string', ], 'modelType' => [ 'type' => 'string', ], 'proxyMode' => [ 'type' => 'string', ], 'proxyConfig' => [ '$ref' => '#/components/schemas/ProxyConfig', ], 'functionName' => [ 'type' => 'string', ], 'status' => [ 'type' => 'string', ], 'credentialName' => [ 'type' => 'string', ], 'serviceRegionId' => [ 'type' => 'string', ], 'endpoint' => [ 'type' => 'string', ], 'litellmVersion' => [ 'type' => 'string', ], 'cpu' => [ 'type' => 'number', 'format' => 'float', ], 'memory' => [ 'type' => 'integer', 'format' => 'int32', ], 'createdAt' => [ 'type' => 'string', ], 'lastUpdatedAt' => [ 'type' => 'string', ], 'networkConfiguration' => [ '$ref' => '#/components/schemas/NetworkConfiguration', ], 'statusReason' => [ 'type' => 'string', ], 'logConfiguration' => [ '$ref' => '#/components/schemas/LogConfiguration', ], 'executionRoleArn' => [ 'type' => 'string', ], ], ], 'ModelProxyResult' => [ 'type' => 'object', 'properties' => [ 'code' => [ 'type' => 'string', ], 'requestId' => [ 'type' => 'string', ], 'data' => [ '$ref' => '#/components/schemas/ModelProxy', ], ], ], 'ModelService' => [ 'type' => 'object', 'properties' => [ 'modelServiceName' => [ 'type' => 'string', ], 'description' => [ 'type' => 'string', ], 'modelType' => [ 'type' => 'string', ], 'provider' => [ 'type' => 'string', ], 'providerSettings' => [ '$ref' => '#/components/schemas/ProviderSettings', ], 'status' => [ 'type' => 'string', ], 'credentialName' => [ 'type' => 'string', ], 'createdAt' => [ 'type' => 'string', ], 'lastUpdatedAt' => [ 'type' => 'string', ], 'networkConfiguration' => [ '$ref' => '#/components/schemas/NetworkConfiguration', ], 'statusReason' => [ 'type' => 'string', ], 'modelInfoConfigs' => [ 'type' => 'array', 'items' => [ '$ref' => '#/components/schemas/ModelInfoConfig', ], ], 'modelServiceId' => [ 'type' => 'string', ], ], ], 'ModelServiceResult' => [ 'type' => 'object', 'properties' => [ 'code' => [ 'type' => 'string', ], 'requestId' => [ 'type' => 'string', ], 'data' => [ '$ref' => '#/components/schemas/ModelService', ], ], ], 'NASConfig' => [ 'title' => 'NAS配置', 'description' => 'NAS配置', 'type' => 'object', 'properties' => [ 'groupId' => [ 'title' => '群组ID。', 'description' => '群组ID', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '100', ], 'mountPoints' => [ 'title' => '挂载点列表。', 'description' => '挂载点列表', 'type' => 'array', 'items' => [ 'description' => '挂载点配置', '$ref' => '#/components/schemas/NASMountConfig', ], 'required' => false, 'maxItems' => 5, ], 'userId' => [ 'title' => '账号ID。', 'description' => '账号ID', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '100', ], ], ], 'NASMountConfig' => [ 'title' => 'NAS挂载点列表', 'description' => 'NAS挂载点列表', 'type' => 'object', 'properties' => [ 'enableTLS' => [ 'title' => '使用传输加密方式挂载。 说明:仅通用型NAS支持传输加密', 'description' => '使用传输加密方式挂载。 说明:仅通用型NAS支持传输加密', 'type' => 'boolean', 'required' => false, ], 'mountDir' => [ 'title' => '本地挂载目录。', 'description' => '本地挂载目录。', 'type' => 'string', 'required' => false, 'example' => '/home/test', 'maxLength' => 64, ], 'serverAddr' => [ 'title' => 'NAS服务器地址。', 'description' => 'NAS服务器地址。', 'type' => 'string', 'required' => false, 'example' => '***-uni85.cn-hangzhou.nas.com:/', 'maxLength' => 128, ], ], ], 'NetworkConfiguration' => [ 'description' => '网络配置信息', 'type' => 'object', 'properties' => [ 'networkMode' => [ 'title' => '网络模式', 'description' => '网络模式', 'type' => 'string', 'example' => 'PRIVATE', 'enum' => [ 'PUBLIC', 'PRIVATE', 'PUBLIC_AND_PRIVATE', ], ], 'vpcId' => [ 'title' => '专有网络ID', 'description' => '专有网络ID', 'type' => 'string', 'example' => 'vpc-1234567890abcdef0', ], 'securityGroupId' => [ 'title' => '安全组ID', 'description' => '安全组ID', 'type' => 'string', 'example' => 'sg-1234567890abcdef0', ], 'vswitchIds' => [ 'title' => '交换机ID列表', 'description' => '交换机ID列表', 'type' => 'array', 'items' => [ 'description' => '交换机ID', 'type' => 'string', 'example' => 'vsw-sg-1234567890abcdef0', ], 'example' => 'vsw-1234567890abcdef0,vsw-abcdef1234567890', ], ], ], 'OSSMountConfig' => [ 'title' => 'OSS挂载配置', 'description' => 'OSS挂载配置', 'type' => 'object', 'properties' => [ 'mountPoints' => [ 'title' => 'OSS挂载点配置。', 'description' => 'OSS挂载点配置。', 'type' => 'array', 'items' => [ 'description' => 'OSS 挂载点配置', '$ref' => '#/components/schemas/OSSMountPoint', ], 'required' => false, 'maxItems' => 5, ], ], ], 'OSSMountPoint' => [ 'title' => 'OSS挂载点配置', 'description' => 'OSS挂载点配置', 'type' => 'object', 'properties' => [ 'bucketName' => [ 'title' => '挂载的OSS Bucket。', 'description' => '挂载的OSS Bucket。', 'type' => 'string', 'required' => false, 'example' => 'my-bucket', 'maxLength' => 64, 'minLength' => 3, ], 'bucketPath' => [ 'title' => '挂载的OSS Bucket路径。', 'description' => '挂载的OSS Bucket路径。', 'type' => 'string', 'required' => false, 'example' => '/my-dir', 'maxLength' => 128, ], 'endpoint' => [ 'title' => 'OSS访问地址。', 'description' => 'OSS访问地址。', 'type' => 'string', 'required' => false, 'example' => 'http://oss-cn-shanghai.aliyuncs.com', 'maxLength' => 128, ], 'mountDir' => [ 'title' => '挂载目录。', 'description' => '挂载目录。', 'type' => 'string', 'required' => false, 'example' => '/mnt/dir', 'maxLength' => 64, 'minLength' => 2, ], 'readOnly' => [ 'title' => '是否只读。', 'description' => '是否只读。', 'type' => 'boolean', 'required' => false, 'example' => 'true', ], ], ], 'OssConfiguration' => [ 'title' => 'OSS配置', 'description' => '代码解释器或浏览器的OSS配置', 'type' => 'object', 'properties' => [ 'bucketName' => [ 'title' => 'OSS存储桶名称', 'description' => 'OSS存储桶名称', 'type' => 'string', 'required' => true, 'example' => 'a-test-oss', ], 'prefix' => [ 'title' => 'OSS对象前缀/路径', 'description' => 'OSS对象前缀/路径', 'type' => 'string', 'required' => true, 'example' => '/', ], 'mountPoint' => [ 'title' => 'OSS挂载点', 'description' => 'OSS挂载点', 'type' => 'string', 'required' => true, 'example' => '/mnt/oss1', ], 'permission' => [ 'title' => '权限', 'description' => '权限', 'type' => 'string', 'example' => 'READ_WRITE', 'enum' => [ 'READ_ONLY', 'READ_WRITE', ], ], 'region' => [ 'title' => 'oss地域', 'description' => 'oss地域', 'type' => 'string', 'example' => 'ch-hangzhou', 'default' => 'cn-hangzhou', ], ], ], 'PaginationInfo' => [ 'type' => 'object', 'properties' => [ 'page' => [ 'type' => 'integer', 'format' => 'int32', ], 'limit' => [ 'type' => 'integer', 'format' => 'int32', ], 'total' => [ 'type' => 'integer', 'format' => 'int32', ], 'totalPages' => [ 'type' => 'integer', 'format' => 'int32', ], ], ], 'PathConfig' => [ 'title' => '路径配置', 'description' => '路径配置:定义路由规则对应的请求路径、支持的方法和资源信息', 'type' => 'object', 'properties' => [ 'path' => [ 'title' => '请求路径', 'description' => '此条路由规则对应的请求路径。', 'type' => 'string', 'example' => '/login', ], 'resourceName' => [ 'title' => '资源名称', 'description' => '资源名称', 'type' => 'string', ], 'resourceType' => [ 'title' => '资源类型', 'description' => '资源类型(和凭证关联资源类型一致)', 'type' => 'string', 'example' => 'runtime', 'enum' => [ 'runtime', ], ], 'agentRuntimeEndpointName' => [ 'title' => 'Agent Runtime版本', 'description' => 'agent runtime 版本(仅当 resourceType 为 runtime 时有效)', 'type' => 'string', ], 'methods' => [ 'title' => '支持的方法', 'description' => '支持的方法有:HEAD, GET, POST, PUT, DELETE, PATCH, OPTIONS', 'type' => 'array', 'items' => [ 'type' => 'string', ], 'example' => '[\'GET\']', ], ], ], 'PolarFsConfig' => [ 'description' => 'PFS 挂载配置', 'type' => 'object', 'properties' => [ 'groupId' => [ 'description' => '组ID', 'type' => 'integer', 'format' => 'int32', 'example' => '1000', ], 'userId' => [ 'description' => '用户 ID', 'type' => 'integer', 'format' => 'int32', 'example' => '1000', ], 'mountPoints' => [ 'description' => 'FPS 挂载点', 'type' => 'array', 'items' => [ 'description' => 'PFS挂载点信息', '$ref' => '#/components/schemas/PolarFsMountConfig', ], ], ], ], 'PolarFsMountConfig' => [ 'description' => 'PFS文件挂载配置', 'type' => 'object', 'properties' => [ 'instanceId' => [ 'description' => '实例ID。', 'type' => 'string', 'example' => 'pfs-cn-6sa48a6gk001', ], 'mountDir' => [ 'description' => '本地挂载目录。'."\n" ."\n", 'type' => 'string', 'example' => '/', ], 'remoteDir' => [ 'description' => '远程挂载目录', 'type' => 'string', 'example' => '/mnt/pfs', ], ], ], 'PolicyConfig' => [ 'type' => 'object', 'properties' => [ 'type' => [ 'type' => 'string', ], 'enable' => [ 'type' => 'boolean', ], 'aiFallbackConfig' => [ '$ref' => '#/components/schemas/AiFallbackConfig', ], ], ], 'ProtocolConfiguration' => [ 'title' => '协议配置', 'description' => '协议配置', 'type' => 'object', 'properties' => [ 'type' => [ 'title' => '协议类型', 'description' => '协议类型', 'type' => 'string', 'deprecated' => true, 'example' => 'HTTP', 'enum' => [ 'HTTP', 'MCP', ], ], 'protocolSettings' => [ 'title' => '协议设置', 'description' => '详细的协议配置信息', 'type' => 'array', 'items' => [ 'title' => '协议设置项', 'description' => '协议设置项', '$ref' => '#/components/schemas/ProtocolSettings', ], ], ], ], 'ProtocolSettings' => [ 'title' => '协议设置', 'description' => '协议设置表示详细的协议配置信息', 'type' => 'object', 'properties' => [ 'name' => [ 'title' => '协议名称', 'description' => '协议名称', 'type' => 'string', ], 'path' => [ 'title' => '协议路径', 'description' => '协议路径', 'type' => 'string', ], 'pathPrefix' => [ 'title' => '协议路径前缀', 'description' => '协议路径前缀', 'type' => 'string', ], 'headers' => [ 'title' => '请求头', 'description' => '请求头', 'type' => 'string', ], 'method' => [ 'title' => 'HTTP方法', 'description' => 'HTTP方法', 'type' => 'string', ], 'inputBodyJsonSchema' => [ 'title' => '请求体JSON模式', 'description' => '请求体JSON模式', 'type' => 'string', ], 'outputBodyJsonSchema' => [ 'title' => '响应体JSON模式', 'description' => '响应体JSON模式', 'type' => 'string', ], 'requestContentType' => [ 'title' => '请求内容类型', 'description' => '请求内容类型', 'type' => 'string', ], 'responseContentType' => [ 'title' => '响应内容类型', 'description' => '响应内容类型', 'type' => 'string', ], 'A2AAgentCard' => [ 'title' => 'A2A Agent Card', 'description' => 'A2A Agent Card', 'type' => 'string', 'deprecated' => true, ], 'a2aAgentCard' => [ 'type' => 'string', ], 'a2aAgentCardUrl' => [ 'type' => 'string', ], ], ], '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', ], 'numRetries' => [ 'type' => 'integer', 'format' => 'int32', ], 'cache' => [ 'type' => 'boolean', ], 'concurrencyLimit' => [ 'type' => 'integer', 'format' => 'int32', ], 'fallbacks' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'modelServiceName' => [ 'type' => 'string', ], 'modelName' => [ 'type' => 'string', ], ], ], ], 'tokenRateLimiter' => [ 'type' => 'object', 'properties' => [ 'tps' => [ 'type' => 'integer', 'format' => 'int32', ], 'tpm' => [ 'type' => 'integer', 'format' => 'int32', ], 'tph' => [ 'type' => 'integer', 'format' => 'int32', ], 'tpd' => [ 'type' => 'integer', 'format' => 'int32', ], ], ], 'aiGuardrailConfig' => [ 'type' => 'object', 'properties' => [ 'checkRequest' => [ 'type' => 'boolean', ], 'checkResponse' => [ 'type' => 'boolean', ], 'level' => [ 'type' => 'string', ], 'maxTextLength' => [ 'type' => 'integer', 'format' => 'int32', ], 'blockOnContentModeration' => [ 'type' => 'boolean', ], 'blockOnSensitiveData' => [ 'type' => 'boolean', ], 'blockOnPromptAttack' => [ 'type' => 'boolean', ], 'blockOnMaliciousUrl' => [ 'type' => 'boolean', ], 'blockOnModelHallucination' => [ 'type' => 'boolean', ], ], ], ], ], 'endpoints' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'modelServiceName' => [ 'type' => 'string', ], 'weight' => [ 'type' => 'integer', 'format' => 'int32', ], 'baseUrl' => [ 'type' => 'string', ], 'modelNames' => [ 'type' => 'array', 'items' => [ 'type' => 'string', ], ], ], ], ], ], ], 'PublishRuntimeVersionInput' => [ 'title' => '发布运行时版本输入', 'description' => '发布运行时版本输入', 'type' => 'object', 'properties' => [ 'description' => [ 'title' => '版本描述', 'description' => '此版本的描述', 'type' => 'string', ], 'publisher' => [ 'title' => '发布者', 'description' => '发布此版本的用户或系统标识', 'type' => 'string', 'example' => 'user123', ], ], ], 'RecordingConfiguration' => [ 'title' => '浏览器录制配置', 'description' => '浏览器录制配置', 'type' => 'object', 'properties' => [ 'enabled' => [ 'title' => '是否启用录制', 'description' => '是否启用录制', 'type' => 'boolean', 'required' => true, ], 'ossLocation' => [ 'title' => 'OSS位置', '$ref' => '#/components/schemas/OssConfiguration', ], ], ], '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', ], ], ], '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', ], 'resourceName' => [ 'type' => 'string', ], 'resourceType' => [ 'type' => 'string', ], ], ], 'RouteConfig' => [ 'title' => '路由配置', 'description' => '路由表:自定义域名访问时的 PATH 到 Function 的映射列表。', 'type' => 'object', 'properties' => [ 'routes' => [ 'title' => '路由表', 'description' => '路由表:自定义域名访问时的 PATH 到 Function 的映射列表。', 'type' => 'array', 'items' => [ '$ref' => '#/components/schemas/PathConfig', ], 'example' => '[]', ], ], ], 'RoutingConfiguration' => [ 'title' => '路由配置', 'description' => '智能体运行时端点的路由配置,支持多版本权重分配', 'type' => 'object', 'properties' => [ 'versionWeights' => [ 'title' => '版本权重列表', 'description' => '不同版本的流量权重配置', 'type' => 'array', 'items' => [ '$ref' => '#/components/schemas/VersionWeight', ], ], ], ], 'Sandbox' => [ 'title' => '沙箱', 'description' => 'AgentRun沙箱实例', 'type' => 'object', 'properties' => [ 'sandboxId' => [ 'title' => '沙箱ID', 'description' => '沙箱ID', 'type' => 'string', 'required' => true, 'example' => '01KAWBP6JQD0J3Z34BP4WMX1KG', ], 'templateId' => [ 'title' => '模板ID', 'description' => '模板ID', 'type' => 'string', 'required' => true, 'example' => '8d409d30-cac1-445a-95d5-476c47780336.schema', ], 'templateName' => [ 'title' => '模板名称', 'description' => '模板名称', 'type' => 'string', 'example' => 'my-template', ], 'status' => [ 'title' => '状态', 'description' => '状态', 'type' => 'string', 'required' => true, 'example' => 'READY', 'enum' => [ 'READY', 'TERMINATED', ], ], 'createdAt' => [ 'title' => '创建时间', 'description' => '沙箱创建时间', 'type' => 'string', 'required' => true, 'example' => '2025-11-26T10:54:17.770719+08:00', ], 'lastUpdatedAt' => [ 'title' => '最后更新时间', 'description' => '最后更新时间', 'type' => 'string', 'example' => '2025-11-26T10:54:17.770719+08:00', ], 'sandboxIdleTimeoutSeconds' => [ 'title' => '沙箱空闲超时时间', 'description' => '沙箱空闲超时时间(秒)', 'type' => 'integer', 'format' => 'int32', 'maximum' => '21600', 'minimum' => '1', 'example' => '1800', ], 'endedAt' => [ 'title' => '沙箱终止时间', 'description' => '沙箱终止时间', 'type' => 'string', 'example' => '2025-11-26T10:54:17.770719+08:00', ], 'sandboxArn' => [ 'title' => '沙箱资源ARN', 'description' => '沙箱资源ARN', 'type' => 'string', 'example' => 'acs:ram::1760720386195983:role/aliyunfcdefaultrole', ], 'sandboxIdleTTLInSeconds' => [ 'title' => '沙箱生命周期存活时间', 'description' => '沙箱生命周期时间(已弃用)', 'type' => 'integer', 'format' => 'int32', 'example' => '已弃用', ], 'metadata' => [ 'title' => '沙箱元数据', 'description' => '沙箱元数据', 'type' => 'object', 'example' => '{}', ], ], ], 'SandboxHealthCheckOut' => [ 'type' => 'object', 'properties' => [ 'status' => [ 'title' => '健康状态', 'description' => '健康状态,OK表示健康', 'type' => 'string', 'required' => true, 'enum' => [ 'OK', ], ], ], ], 'SandboxHealthCheckResult' => [ 'title' => '沙箱健康检查结果', 'description' => '沙箱健康检查的统一结果格式', 'type' => 'object', 'properties' => [ 'code' => [ 'title' => '返回结果码', 'description' => 'SUCCESS 为成功', 'type' => 'string', ], 'requestId' => [ 'title' => '请求ID', 'description' => '唯一的请求标识符,用于问题追踪', 'type' => 'string', ], 'data' => [ '$ref' => '#/components/schemas/SandboxHealthCheckOut', ], ], ], 'SandboxResult' => [ 'title' => '沙箱结果', 'description' => '沙箱操作的统一结果格式', 'type' => 'object', 'properties' => [ 'code' => [ 'title' => '结果码', 'description' => 'SUCCESS 为成功,失败情况返回对应错误类型', 'type' => 'string', 'example' => 'SUCCESS', ], 'requestId' => [ 'title' => '请求ID', 'description' => '唯一的请求标识符,用于问题追踪', 'type' => 'string', 'example' => 'F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E', ], 'data' => [ 'title' => '沙箱数据', 'description' => '沙箱的详细信息', 'required' => true, '$ref' => '#/components/schemas/Sandbox', ], ], ], 'ServiceConfig' => [ 'type' => 'object', 'properties' => [ 'name' => [ 'type' => 'string', ], 'aiServiceConfig' => [ '$ref' => '#/components/schemas/AiServiceConfig', ], ], ], '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', ], ], ], 'StartBrowserSessionInput' => [ 'title' => '启动浏览器会话请求', 'description' => '启动浏览器会话请求', 'type' => 'object', 'properties' => [ 'name' => [ 'title' => '浏览器会话名称', 'description' => '浏览器会话名称', 'type' => 'string', 'example' => 'my-browser-session', ], ], ], 'StartBrowserSessionResult' => [ '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' => '请求ID', 'description' => '请求ID', 'type' => 'string', 'example' => 'F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E', ], 'data' => [ 'title' => '数据', 'description' => '数据', 'example' => '{}', '$ref' => '#/components/schemas/BrowserSessionOut', ], ], ], 'StartCodeInterpreterSessionInput' => [ 'title' => '启动代码解释器会话请求', 'description' => '启动代码解释器会话所需的请求参数', 'type' => 'object', 'properties' => [ 'name' => [ 'title' => '会话名称', 'description' => '代码解释器会话的名称,用于标识和区分不同的会话实例', 'type' => 'string', ], ], ], 'StartCodeInterpreterSessionResult' => [ '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' => '请求ID', 'type' => 'string', ], 'data' => [ 'title' => '数据', 'description' => '数据', '$ref' => '#/components/schemas/CodeInterpreterSessionOut', ], ], ], 'StopCodeInterpreterSessionResult' => [ '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' => '请求ID', 'type' => 'string', ], ], ], 'StopSandboxResult' => [ 'description' => '停止代码解释器结果', 'type' => 'object', 'properties' => [ 'code' => [ 'title' => '结果码', 'description' => '结果码', 'type' => 'string', 'example' => 'SUCCESS', ], 'requestId' => [ 'title' => '请求id', 'description' => '请求id', 'type' => 'string', 'example' => 'F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E', ], 'data' => [ 'description' => '代码解释器的详细信息,包含解释器的所有配置和状态信息', '$ref' => '#/components/schemas/Sandbox', ], ], ], 'TLSConfig' => [ 'title' => 'TLS配置', 'description' => 'TLS配置信息,包括TLS版本和加密套件', 'type' => 'object', 'properties' => [ 'minVersion' => [ 'title' => 'TLS最小版本号', 'description' => 'TLS 最小版本号。', 'type' => 'string', 'example' => 'TLSv1.2', 'enum' => [ 'TLSv1.3', 'TLSv1.2', ], ], 'cipherSuites' => [ 'title' => 'TLS加密套件列表', 'description' => 'TLS 加密套件列表。', 'type' => 'array', 'items' => [ 'type' => 'string', ], 'example' => '[\'TLS_RSA_WITH_RC4_128_SHA\']', ], 'maxVersion' => [ 'title' => 'TLS最大版本号', 'description' => 'TLS 最大版本号。', 'type' => 'string', 'example' => 'TLSv1.3', 'enum' => [ 'TLSv1.3', 'TLSv1.2', ], ], ], ], 'Target' => [ 'type' => 'object', 'properties' => [ 'targetType' => [ 'type' => 'string', ], 'llmConfig' => [ '$ref' => '#/components/schemas/LLMAPIConfiguration', ], 'mcpAPI' => [ '$ref' => '#/components/schemas/MCPAPI', ], ], ], 'TargetConfiguration' => [ 'type' => 'object', 'properties' => [ 'targetType' => [ 'type' => 'string', ], 'llmAPIConfig' => [ '$ref' => '#/components/schemas/LLMAPIConfiguration', ], 'mcpAPIConfig' => [ '$ref' => '#/components/schemas/MCPAPIConfiguration', ], ], ], 'TargetServiceConfig' => [ 'type' => 'object', 'properties' => [ 'weight' => [ 'type' => 'integer', 'format' => 'int64', ], 'modelName' => [ 'type' => 'string', ], 'modelNamePattern' => [ 'type' => 'string', ], 'modelId' => [ 'type' => 'string', ], ], ], 'Template' => [ 'title' => '模板数据', 'description' => '模板数据', 'type' => 'object', 'properties' => [ 'templateId' => [ 'title' => '模板id', 'description' => '模板id', 'type' => 'string', 'required' => true, 'example' => '996ffd5e-003f-4700-9f24-9e2a1c19019b.schema', ], 'templateName' => [ 'title' => '模板名称', 'description' => '模板名称', 'type' => 'string', 'required' => true, 'example' => 'browser-1767874121726', ], 'templateVersion' => [ 'title' => '模板版本', 'description' => '模板版本', 'type' => 'string', 'example' => '预留', ], 'cpu' => [ 'title' => 'cpu 核数', 'description' => 'cpu 核数', 'type' => 'number', 'format' => 'float', 'required' => true, 'example' => '4', ], 'memory' => [ 'title' => '内存规格', 'description' => '内存规格', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '4096', ], 'templateArn' => [ 'title' => '模板 ARN', 'description' => '模板 ARN', 'type' => 'string', 'example' => 'acs:agentrun:cn-hangzhou:12345678:templates/efb6de2f-1814-42a2-b7f3-474a0e0b3a48', ], 'createdAt' => [ 'title' => '创建时间', 'description' => '创建时间', 'type' => 'string', 'example' => '2026-01-15T17:12:59.375168+08:00', ], 'lastUpdatedAt' => [ 'title' => '最后更新时间', 'description' => '最后更新时间', 'type' => 'string', 'example' => '2026-01-15T17:12:59.375168+08:00', ], 'status' => [ 'title' => '状态', 'description' => '状态', 'type' => 'string', 'example' => 'READY', ], 'statusReason' => [ 'title' => '状态原因', 'description' => '状态原因', 'type' => 'string', 'example' => 'SDK Error', ], 'executionRoleArn' => [ 'title' => '执行角色', 'description' => '执行角色', 'type' => 'string', 'example' => 'acs:agentrun:cn-hangzhou:12345678:templates/efb6de2f-1814-42a2-b7f3-474a0e0b3a48', ], 'templateType' => [ 'title' => '模板类型', 'description' => '模板类型', 'type' => 'string', 'example' => 'Browser', ], 'containerConfiguration' => [ 'title' => '自定义镜像配置', 'description' => '自定义镜像配置', '$ref' => '#/components/schemas/ContainerConfiguration', ], 'networkConfiguration' => [ 'title' => '网络配置', 'description' => '网络配置', '$ref' => '#/components/schemas/NetworkConfiguration', ], 'credentialConfiguration' => [ 'title' => '鉴权配置', 'description' => '鉴权配置', '$ref' => '#/components/schemas/CredentialConfiguration', ], 'logConfiguration' => [ 'title' => '日志配置', 'description' => '日志配置', '$ref' => '#/components/schemas/LogConfiguration', ], 'sandboxIdleTimeoutInSeconds' => [ 'title' => '沙箱闲置超时时间', 'description' => '沙箱闲置超时时间', 'type' => 'string', 'example' => '1800', ], 'sandboxTTLInSeconds' => [ 'title' => '沙箱生命周期存活时间(已弃用)', 'description' => '沙箱生命周期存活时间(已弃用)', 'type' => 'string', 'deprecated' => true, 'example' => '已弃用', ], 'resourceName' => [ 'title' => '资源名称', 'description' => '资源名称', 'type' => 'string', 'example' => 'agentrun-f2570dd4-c8a2-452c-8bd5-4ef74b0a69b5', ], 'mcpOptions' => [ 'title' => 'MCP选项', 'description' => 'MCP选项', 'type' => 'object', 'properties' => [ 'transport' => [ 'title' => '传输类型', 'description' => '传输类型', 'type' => 'string', 'example' => 'streamable-http', ], 'enabledTools' => [ 'title' => '开启的工具列表', 'description' => '开启的工具列表', 'type' => 'array', 'items' => [ 'description' => '开启的工具', 'type' => 'string', 'example' => 'execute_code', ], ], ], ], 'mcpState' => [ 'title' => 'MCP服务器状态', 'description' => 'MCP服务器状态', 'type' => 'object', 'properties' => [ 'status' => [ 'title' => 'MCP状态', 'description' => 'MCP状态', 'type' => 'string', 'example' => 'CREATING', ], 'statusReason' => [ 'title' => '状态原因', 'description' => '状态原因', 'type' => 'string', 'example' => 'SDK Error', ], 'accessEndpoint' => [ 'title' => '访问端点', 'description' => '访问端点', 'type' => 'string', 'example' => '/mcp', ], ], ], 'diskSize' => [ 'title' => '磁盘大小', 'description' => '磁盘大小', 'type' => 'integer', 'format' => 'int32', 'example' => '10240', ], 'description' => [ 'title' => '模板描述', 'description' => '模板描述', 'type' => 'string', 'example' => 'template描述', ], 'allowAnonymousManage' => [ 'title' => '是否允许数据链路调用创建/停止/删除沙箱接口', 'description' => '是否允许数据链路调用创建/停止/删除沙箱接口', 'type' => 'boolean', 'example' => 'true', ], 'nasConfig' => [ 'title' => 'NAS 挂载配置项目', 'description' => 'NAS 挂载配置项目', '$ref' => '#/components/schemas/NASConfig', ], 'enableAgent' => [ 'title' => 'Sandbox Agent 开关', 'description' => 'Sandbox Agent 开关', 'type' => 'boolean', ], 'environmentVariables' => [ 'description' => '智能体运行时的环境变量配置', 'type' => 'object', 'additionalProperties' => [ 'description' => '智能体运行时的环境变量配置', 'type' => 'string', 'example' => '{\'FCTEST_IDE_ENV\': \'IDE\'}', ], ], 'templateConfiguration' => [ 'description' => '模板配置(灵活的对象结构,根据 templateType 不同而不同)', 'type' => 'object', 'additionalProperties' => [ 'description' => '模板配置(灵活的对象结构,根据 templateType 不同而不同)', 'type' => 'any', 'example' => '{"example":"test"}', ], ], 'ossConfiguration' => [ 'title' => 'oss 配置', 'description' => 'oss 配置', 'type' => 'array', 'items' => [ 'title' => 'oss 配置', 'description' => 'oss 配置', '$ref' => '#/components/schemas/OssConfiguration', ], ], ], ], 'TemplateResult' => [ 'title' => '模板结果', 'description' => '模板操作的统一结果格式', 'type' => 'object', 'properties' => [ 'code' => [ 'title' => '结果码', 'description' => 'SUCCESS 为成功,失败情况返回对应错误类型', 'type' => 'string', 'example' => 'SUCCESS', ], 'requestId' => [ 'title' => '请求ID', 'description' => '唯一的请求标识符,用于问题追踪', 'type' => 'string', 'example' => 'F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E', ], 'data' => [ 'title' => '模板数据', 'description' => '模板的详细信息', 'required' => true, '$ref' => '#/components/schemas/Template', ], ], ], 'ToolInfo' => [ 'type' => 'object', 'properties' => [ 'id' => [ 'type' => 'string', ], 'name' => [ 'type' => 'string', ], 'description' => [ 'type' => 'string', ], 'toolType' => [ 'type' => 'string', ], 'schema' => [ 'type' => 'string', ], 'createdAt' => [ 'type' => 'string', ], 'updatedAt' => [ 'type' => 'string', ], 'sourceType' => [ 'type' => 'string', ], 'CAPConfig' => [ '$ref' => '#/components/schemas/CAPConfig', ], ], ], 'ToolListItem' => [ 'type' => 'object', 'properties' => [ 'id' => [ 'type' => 'string', ], 'name' => [ 'type' => 'string', ], 'description' => [ 'type' => 'string', ], 'toolType' => [ 'type' => 'string', ], 'createdAt' => [ 'type' => 'string', ], 'updatedAt' => [ 'type' => 'string', ], 'sourceType' => [ 'type' => 'string', ], 'schema' => [ 'type' => 'string', ], 'CAPConfig' => [ '$ref' => '#/components/schemas/CAPConfig', ], ], ], 'TriggerConfig' => [ 'type' => 'object', 'properties' => [ 'authType' => [ 'type' => 'string', ], 'methods' => [ 'type' => 'array', 'items' => [ 'type' => 'string', ], ], ], ], 'UpdateAgentRuntimeEndpointInput' => [ 'title' => '更新智能体运行时端点输入', 'description' => '更新智能体运行时端点输入', 'type' => 'object', 'properties' => [ 'agentRuntimeEndpointName' => [ 'title' => '智能体运行时端点名称', 'description' => '智能体运行时端点名称', 'type' => 'string', 'example' => 'production-endpoint', ], 'targetVersion' => [ 'title' => '目标版本', 'description' => '智能体运行时的目标版本', 'type' => 'string', 'example' => 'LATEST', ], 'description' => [ 'title' => '描述', 'description' => '描述', 'type' => 'string', 'example' => 'Updated endpoint configuration', ], 'routingConfiguration' => [ 'title' => '路由配置', 'description' => '智能体运行时端点的路由配置,支持多版本权重分配', 'example' => '{}', '$ref' => '#/components/schemas/RoutingConfiguration', ], ], ], 'UpdateAgentRuntimeInput' => [ 'title' => '更新智能体运行时输入', 'description' => '更新智能体运行时输入', 'type' => 'object', 'properties' => [ 'agentRuntimeName' => [ 'title' => '智能体运行时名称', 'description' => '智能体运行时名称', 'type' => 'string', 'example' => 'my-agent-runtime', ], 'description' => [ 'title' => '描述', 'description' => '描述', 'type' => 'string', 'example' => '更新后的智能体运行时描述', ], 'artifactType' => [ 'title' => '制品类型', 'description' => '制品类型', 'type' => 'string', 'example' => 'Code', 'enum' => [ 'Code', 'Container', ], ], 'codeConfiguration' => [ 'title' => '代码配置', 'description' => '代码配置', 'example' => '{}', '$ref' => '#/components/schemas/CodeConfiguration', ], 'containerConfiguration' => [ 'title' => '容器配置', 'description' => '容器配置', 'example' => '{}', '$ref' => '#/components/schemas/ContainerConfiguration', ], 'credentialName' => [ 'title' => '凭证名称', 'description' => '用于访问智能体的凭证名称,访问智能体运行时将使用此凭证进行身份验证', 'type' => 'string', 'example' => 'my-credential', ], 'externalAgentEndpointUrl' => [ 'title' => '外部智能体端点URL', 'description' => '外部注册类型的智能体访问端点地址,用于连接已部署在外部的智能体服务', 'type' => 'string', 'example' => 'https://external-agent.example.com/api', ], 'networkConfiguration' => [ 'title' => '网络配置', 'description' => '网络配置', 'example' => '{}', '$ref' => '#/components/schemas/NetworkConfiguration', ], 'protocolConfiguration' => [ 'title' => '协议配置', 'description' => '协议配置', 'example' => '{}', '$ref' => '#/components/schemas/ProtocolConfiguration', ], 'executionRoleArn' => [ 'title' => '执行角色ARN', 'description' => '为智能体运行时提供访问云服务权限的执行角色ARN', 'type' => 'string', 'example' => 'acs:ram::1760720386195983:role/AgentRunExecutionRole', ], 'cpu' => [ 'title' => 'CPU配置', 'description' => 'CPU配置', 'type' => 'number', 'format' => 'float', 'required' => true, 'example' => '1.0', ], 'memory' => [ 'title' => '内存配置', 'description' => '内存配置', 'type' => 'integer', 'format' => 'int32', 'example' => '1024', ], 'port' => [ 'title' => '端口', 'description' => '端口', 'type' => 'integer', 'format' => 'int32', 'example' => '8080', ], 'sessionConcurrencyLimitPerInstance' => [ 'title' => '每个实例的会话并发数', 'description' => '每个运行时实例允许的最大并发会话数', 'type' => 'integer', 'format' => 'int32', 'maximum' => '200', 'minimum' => '1', 'example' => '100', ], 'logConfiguration' => [ 'title' => '日志配置', 'description' => 'SLS(简单日志服务)配置', 'example' => '{}', '$ref' => '#/components/schemas/LogConfiguration', ], 'sessionIdleTimeoutSeconds' => [ 'title' => '会话空闲超时秒数', 'description' => '会话的空闲超时时间,单位为秒。实例没有会话请求后处于空闲状态,空闲态为闲置计费模式,超过此超时时间后会话自动过期,不可继续使用', 'type' => 'integer', 'format' => 'int32', 'example' => '3600', ], 'healthCheckConfiguration' => [ 'title' => '健康检查配置', 'description' => '智能体运行时的健康检查配置,用于监控运行时实例的健康状态', 'example' => '{}', '$ref' => '#/components/schemas/HealthCheckConfiguration', ], 'nasConfig' => [ 'title' => 'NAS配置', 'description' => '文件存储NAS的配置信息,用于挂载NAS文件系统到智能体运行时', 'example' => '{}', '$ref' => '#/components/schemas/NASConfig', ], 'ossMountConfig' => [ 'title' => 'OSS挂载配置', 'description' => '对象存储OSS的挂载配置信息,用于挂载OSS存储桶到智能体运行时', 'example' => '{}', '$ref' => '#/components/schemas/OSSMountConfig', ], 'environmentVariables' => [ 'title' => '环境变量', 'description' => '环境变量', 'type' => 'object', 'additionalProperties' => [ 'type' => 'string', ], 'example' => 'ENV_VAR1=value1,ENV_VAR2=value2', ], 'workspaceId' => [ 'type' => 'string', ], ], ], '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', ], ], ], ], 'UpdateCredentialInput' => [ 'type' => 'object', 'properties' => [ 'credentialSecret' => [ 'type' => 'string', ], 'description' => [ 'type' => 'string', ], 'enabled' => [ 'type' => 'boolean', ], 'credentialPublicConfig' => [ '$ref' => '#/components/schemas/CredentialPublicConfig', ], ], ], 'UpdateCredentialOutput' => [ 'type' => 'object', 'properties' => [ 'credentialId' => [ 'type' => 'string', ], 'credentialName' => [ 'type' => 'string', ], 'description' => [ 'type' => 'string', ], 'credentialAuthType' => [ 'type' => 'string', ], 'credentialSourceType' => [ 'type' => 'string', ], 'enabled' => [ 'type' => 'boolean', ], 'credentialSecret' => [ 'type' => 'string', ], 'credentialPublicConfig' => [ 'type' => 'object', 'additionalProperties' => [ 'type' => 'string', ], ], 'createdAt' => [ 'type' => 'string', ], 'updatedAt' => [ 'type' => 'string', ], 'relatedResources' => [ 'type' => 'array', 'items' => [ '$ref' => '#/components/schemas/RelatedResource', ], ], ], ], 'UpdateCustomDomainInput' => [ 'title' => '更新自定义域名请求', 'description' => '更新自定义域名所需的输入参数', 'type' => 'object', 'properties' => [ 'description' => [ 'title' => '描述', 'description' => '描述', 'type' => 'string', ], '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' => 'HTTPS证书信息', 'description' => 'HTTPS 证书的信息。', 'example' => '{}', '$ref' => '#/components/schemas/CertConfig', ], 'tlsConfig' => [ 'title' => 'TLS配置信息', 'description' => 'TLS 配置信息。', 'example' => '{}', '$ref' => '#/components/schemas/TLSConfig', ], ], ], 'UpdateDiscoveryEndpointsInput' => [ 'type' => 'object', 'properties' => [ 'discoveryEndpoints' => [ 'type' => 'array', 'items' => [ '$ref' => '#/components/schemas/DiscoveryEndpoint', ], ], ], ], 'UpdateDomainInput' => [ 'type' => 'object', 'properties' => [ 'protocol' => [ 'type' => 'string', ], 'certIdentifier' => [ 'type' => 'string', ], ], ], 'UpdateKnowledgeBaseInput' => [ 'type' => 'object', 'properties' => [ 'description' => [ 'title' => '知识库描述', 'type' => 'string', ], 'credentialName' => [ 'title' => '凭证名称', 'type' => 'string', ], 'providerSettings' => [ 'title' => '知识库供应商配置', 'type' => 'object', 'additionalProperties' => [ 'type' => 'any', ], ], 'retrieveSettings' => [ 'title' => '检索配置', 'type' => 'object', 'additionalProperties' => [ 'type' => 'any', ], ], ], ], 'UpdateMemoryCollectionInput' => [ 'type' => 'object', 'properties' => [ 'description' => [ 'type' => 'string', ], 'llmConfig' => [ '$ref' => '#/components/schemas/LLMConfig', ], 'embedderConfig' => [ '$ref' => '#/components/schemas/EmbedderConfig', ], 'vectorStoreConfig' => [ '$ref' => '#/components/schemas/VectorStoreConfig', ], 'networkConfiguration' => [ '$ref' => '#/components/schemas/NetworkConfiguration', ], 'executionRoleArn' => [ 'type' => 'string', ], 'enableConversationHistory' => [ 'type' => 'boolean', ], 'enableConversationState' => [ 'type' => 'boolean', ], ], ], 'UpdateModelInput' => [ 'type' => 'object', 'properties' => [ 'name' => [ 'type' => 'string', ], 'provider' => [ 'type' => 'string', ], 'type' => [ 'type' => 'string', ], 'address' => [ 'type' => 'string', ], 'apiKey' => [ 'type' => 'string', ], 'models' => [ 'type' => 'array', 'items' => [ 'type' => 'string', ], ], 'desc' => [ 'type' => 'string', ], ], ], 'UpdateModelProxyInput' => [ 'type' => 'object', 'properties' => [ 'description' => [ 'type' => 'string', ], 'proxyConfig' => [ '$ref' => '#/components/schemas/ProxyConfig', ], 'credentialName' => [ 'type' => 'string', ], 'networkConfiguration' => [ '$ref' => '#/components/schemas/NetworkConfiguration', ], 'logConfiguration' => [ '$ref' => '#/components/schemas/LogConfiguration', ], 'armsConfiguration' => [ '$ref' => '#/components/schemas/ArmsConfiguration', ], 'executionRoleArn' => [ 'type' => 'string', ], ], ], 'UpdateModelServiceInput' => [ 'type' => 'object', 'properties' => [ 'description' => [ 'type' => 'string', ], 'credentialName' => [ 'type' => 'string', ], 'providerSettings' => [ '$ref' => '#/components/schemas/ProviderSettings', ], 'networkConfiguration' => [ '$ref' => '#/components/schemas/NetworkConfiguration', ], 'status' => [ 'type' => 'string', ], 'modelInfoConfigs' => [ 'type' => 'array', 'items' => [ '$ref' => '#/components/schemas/ModelInfoConfig', ], ], 'statusReason' => [ 'type' => 'string', ], ], ], 'UpdateTargetConfigurationInput' => [ 'type' => 'object', 'properties' => [ 'domainId' => [ 'type' => 'string', ], 'targetConfiguration' => [ '$ref' => '#/components/schemas/TargetConfiguration', ], ], ], 'UpdateTemplateInput' => [ 'title' => '更新模板输入', 'description' => '更新模板所需的输入参数', 'type' => 'object', 'properties' => [ 'description' => [ 'title' => '模板描述', 'type' => 'string', ], 'containerConfiguration' => [ 'title' => '容器配置', 'description' => '容器配置(内置的不可改)', '$ref' => '#/components/schemas/ContainerConfiguration', ], 'credentialConfiguration' => [ 'title' => '凭证配置', '$ref' => '#/components/schemas/CredentialConfiguration', ], 'networkConfiguration' => [ 'title' => '网络配置', '$ref' => '#/components/schemas/NetworkConfiguration', ], 'logConfiguration' => [ 'title' => '日志配置', '$ref' => '#/components/schemas/LogConfiguration', ], 'executionRoleArn' => [ 'title' => '执行角色ARN', 'type' => 'string', ], 'cpu' => [ 'title' => 'CPU资源配置', 'description' => 'CPU资源配置(单位:核心)', 'type' => 'number', 'format' => 'float', ], 'memory' => [ 'title' => '内存资源配置', 'description' => '内存资源配置(单位:MB)', 'type' => 'integer', 'format' => 'int32', ], 'sandboxIdleTimeoutInSeconds' => [ 'title' => '沙箱空闲超时时间', 'description' => '沙箱空闲超时时间(秒)', 'type' => 'integer', 'format' => 'int32', 'maximum' => '21600', 'minimum' => '1', ], 'sandboxTTLInSeconds' => [ 'title' => '沙箱生命周期存活时间(已弃用)', 'description' => '沙箱存活时间(秒)', 'type' => 'integer', 'format' => 'int32', 'deprecated' => true, 'maximum' => '21600', 'minimum' => '1', ], 'armsConfiguration' => [ '$ref' => '#/components/schemas/ArmsConfiguration', ], 'allowAnonymousManage' => [ 'title' => '是否允许数据链路调用创建/停止/删除沙箱接口', 'type' => 'boolean', ], 'nasConfig' => [ 'title' => 'NAS 挂载配置项', '$ref' => '#/components/schemas/NASConfig', ], 'ossConfiguration' => [ 'type' => 'array', 'items' => [ '$ref' => '#/components/schemas/OssConfiguration', ], ], 'environmentVariables' => [ 'title' => '环境变量', 'type' => 'object', 'additionalProperties' => [ 'type' => 'string', ], ], 'templateConfiguration' => [ 'title' => '模板配置', 'description' => '模板配置(灵活的对象结构,根据 templateType 不同而不同)', 'type' => 'object', 'additionalProperties' => [ 'type' => 'any', ], ], 'enableAgent' => [ 'title' => 'Sandbox Agent 开关', 'type' => 'boolean', ], ], ], 'UpdateToolData' => [ 'type' => 'object', 'properties' => [ 'id' => [ 'type' => 'string', ], 'name' => [ 'type' => 'string', ], 'sourceType' => [ 'type' => 'string', ], 'toolType' => [ 'type' => 'string', ], 'updatedAt' => [ 'type' => 'string', ], ], ], 'UpdateToolInput' => [ 'type' => 'object', 'properties' => [ 'name' => [ 'type' => 'string', ], 'description' => [ 'type' => 'string', ], 'schema' => [ 'type' => 'string', ], ], ], 'UpdateToolOutput' => [ 'type' => 'object', 'properties' => [ 'success' => [ 'type' => 'boolean', ], 'message' => [ 'type' => 'string', ], 'data' => [ '$ref' => '#/components/schemas/UpdateToolData', ], ], ], 'UpdateWorkspaceInput' => [ 'type' => 'object', 'properties' => [ 'description' => [ 'type' => 'string', ], ], ], 'VectorStoreConfig' => [ 'type' => 'object', 'properties' => [ 'provider' => [ 'type' => 'string', ], 'config' => [ 'type' => 'object', 'properties' => [ 'endpoint' => [ 'type' => 'string', ], 'instanceName' => [ 'type' => 'string', ], 'vectorDimension' => [ 'type' => 'integer', 'format' => 'int32', ], 'collectionName' => [ 'type' => 'string', ], ], ], 'mysqlConfig' => [ 'type' => 'object', 'properties' => [ 'host' => [ 'type' => 'string', ], 'dbName' => [ 'type' => 'string', ], 'collectionName' => [ 'type' => 'string', ], 'user' => [ 'type' => 'string', ], 'credentialName' => [ 'type' => 'string', ], 'vectorDimension' => [ 'type' => 'integer', 'format' => 'int32', ], 'port' => [ 'type' => 'integer', 'format' => 'int32', ], ], ], ], ], 'VersionWeight' => [ 'title' => '版本权重', 'description' => '单个版本的权重配置', 'type' => 'object', 'properties' => [ 'version' => [ 'title' => '版本号', 'description' => '智能体运行时版本号', 'type' => 'string', ], 'weight' => [ 'title' => '权重', 'description' => '流量权重比例(0.0-1.0)', 'type' => 'number', 'format' => 'float', 'maximum' => '1', 'minimum' => '0', ], ], ], 'ViewPortConfiguration' => [ 'title' => '浏览器视口配置', 'description' => '浏览器视口配置', 'type' => 'object', 'properties' => [ 'height' => [ 'title' => '视口高度', 'description' => '视口高度(像素)', 'type' => 'number', 'format' => 'float', 'required' => true, ], 'width' => [ 'title' => '视口宽度', 'description' => '视口宽度(像素)', 'type' => 'number', 'format' => 'float', 'required' => true, ], ], ], 'Workspace' => [ 'type' => 'object', 'properties' => [ 'workspaceId' => [ 'type' => 'string', ], 'workspaceArn' => [ 'type' => 'string', ], 'name' => [ 'type' => 'string', ], 'description' => [ 'type' => 'string', ], 'isDefault' => [ 'type' => 'boolean', ], 'resourceGroupId' => [ 'type' => 'string', ], 'createdAt' => [ 'type' => 'string', ], 'updatedAt' => [ 'type' => 'string', ], ], ], 'WorkspaceResult' => [ 'type' => 'object', 'properties' => [ 'code' => [ 'type' => 'string', ], 'requestId' => [ 'type' => 'string', ], 'data' => [ '$ref' => '#/components/schemas/Workspace', ], ], ], ], ], 'apis' => [ 'CreateAgentRuntime' => [ 'summary' => '创建智能体运行时。', 'description' => '创建一个新的智能体运行时实例,用于执行AI代理任务。智能体运行时是AgentRun服务的核心组件,提供代码执行、浏览器操作、内存管理等能力。', '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' => '创建代理运行时请求参数', 'required' => true, '$ref' => '#/components/schemas/CreateAgentRuntimeInput', ], ], ], 'responses' => [ 200 => [ 'description' => '成功响应 - 返回创建的智能体运行时信息,包括运行时ID、状态、配置等详细信息', 'schema' => [ 'title' => '返回创建结构体的结果', 'description' => '创建、获取代理运行时的结果格式', '$ref' => '#/components/schemas/AgentRuntimeResult', ], 'examples' => [], ], 500 => [ 'schema' => [ '$ref' => '#/components/schemas/ErrorResult', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], '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 \\"\\"\\n ],\\n \\"port\\": 0\\n },\\n \\"networkConfiguration\\": {\\n \\"networkMode\\": \\"PRIVATE\\",\\n \\"vpcId\\": \\"vpc-1234567890abcdef0\\",\\n \\"securityGroupId\\": \\"sg-1234567890abcdef0\\",\\n \\"vswitchIds\\": [\\n \\"\\"\\n ]\\n },\\n \\"protocolConfiguration\\": {\\n \\"type\\": \\"HTTP\\",\\n \\"protocolSettings\\": [\\n {\\n \\"name\\": \\"\\",\\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 \\"port\\": 8080,\\n \\"sessionConcurrencyLimitPerInstance\\": 100,\\n \\"logConfiguration\\": {\\n \\"project\\": \\"agent-runtime-logs\\",\\n \\"logstore\\": \\"agent-runtime-logs\\"\\n },\\n \\"resourceName\\": \\"my-agent-runtime-resource\\",\\n \\"healthCheckConfiguration\\": {\\n \\"httpGetUrl\\": \\"/ready\\",\\n \\"initialDelaySeconds\\": 30,\\n \\"periodSeconds\\": 30,\\n \\"timeoutSeconds\\": 3,\\n \\"failureThreshold\\": 3,\\n \\"successThreshold\\": 1\\n },\\n \\"armsConfiguration\\": {\\n \\"enableArms\\": true,\\n \\"armsLicenseKey\\": \\"arms-license-key-123456\\"\\n },\\n \\"sessionIdleTimeoutSeconds\\": 3600,\\n \\"environmentVariables\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"tags\\": [\\n \\"\\"\\n ],\\n \\"resourceGroupId\\": \\"\\",\\n \\"workspaceId\\": \\"ws-1234567890abcdef\\",\\n \\"nasConfig\\": {\\n \\"groupId\\": 100,\\n \\"mountPoints\\": [\\n {\\n \\"enableTLS\\": true,\\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 }\\n}","type":"json"}]', 'title' => '创建智能体运行时', ], 'GetAgentRuntime' => [ 'summary' => '获取智能体运行时', 'description' => '根据智能体运行时ID获取指定智能体运行时的详细信息,包括配置、状态、资源使用情况等。', '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' => [ 'FEATUREfcVF016G', ], ], 'parameters' => [ [ 'name' => 'agentRuntimeId', 'in' => 'path', 'allowEmptyValue' => true, 'schema' => [ 'title' => '智能体运行时ID', 'description' => '智能体运行时ID', 'type' => 'string', 'required' => true, 'example' => '12345678-1234-1234-1234-123456789abc', ], 'examples' => [], ], [ 'name' => 'agentRuntimeVersion', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => [ 'title' => '智能体运行时版本', 'description' => '智能体运行时版本', 'type' => 'string', 'required' => false, 'example' => 'v1.0.0', ], 'examples' => [], ], ], 'responses' => [ 200 => [ 'description' => '成功响应 - 返回指定智能体运行时的完整信息,包括配置参数、运行状态、资源分配等', 'schema' => [ 'title' => '返回获取结构体的结果', 'description' => '返回获取结构体的结果', '$ref' => '#/components/schemas/AgentRuntimeResult', ], 'examples' => [], ], ], '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 \\"\\"\\n ],\\n \\"port\\": 0\\n },\\n \\"networkConfiguration\\": {\\n \\"networkMode\\": \\"PRIVATE\\",\\n \\"vpcId\\": \\"vpc-1234567890abcdef0\\",\\n \\"securityGroupId\\": \\"sg-1234567890abcdef0\\",\\n \\"vswitchIds\\": [\\n \\"\\"\\n ]\\n },\\n \\"protocolConfiguration\\": {\\n \\"type\\": \\"HTTP\\",\\n \\"protocolSettings\\": [\\n {\\n \\"name\\": \\"\\",\\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 \\"port\\": 8080,\\n \\"sessionConcurrencyLimitPerInstance\\": 100,\\n \\"logConfiguration\\": {\\n \\"project\\": \\"agent-runtime-logs\\",\\n \\"logstore\\": \\"agent-runtime-logs\\"\\n },\\n \\"resourceName\\": \\"my-agent-runtime-resource\\",\\n \\"healthCheckConfiguration\\": {\\n \\"httpGetUrl\\": \\"/ready\\",\\n \\"initialDelaySeconds\\": 30,\\n \\"periodSeconds\\": 30,\\n \\"timeoutSeconds\\": 3,\\n \\"failureThreshold\\": 3,\\n \\"successThreshold\\": 1\\n },\\n \\"armsConfiguration\\": {\\n \\"enableArms\\": true,\\n \\"armsLicenseKey\\": \\"arms-license-key-123456\\"\\n },\\n \\"sessionIdleTimeoutSeconds\\": 3600,\\n \\"environmentVariables\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"tags\\": [\\n \\"\\"\\n ],\\n \\"resourceGroupId\\": \\"\\",\\n \\"workspaceId\\": \\"ws-1234567890abcdef\\",\\n \\"nasConfig\\": {\\n \\"groupId\\": 100,\\n \\"mountPoints\\": [\\n {\\n \\"enableTLS\\": true,\\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 }\\n}","type":"json"}]', 'title' => '获取智能体运行时', ], 'UpdateAgentRuntime' => [ 'summary' => '更新智能体运行时', 'description' => '更新指定智能体运行时的配置信息,包括资源分配、网络配置、环境变量等。更新操作会触发运行时重启。', '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' => '智能体运行时ID', 'description' => '代理运行时ID', 'type' => 'string', 'required' => true, 'example' => '12345678-1234-1234-1234-123456789abc', ], 'examples' => [], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'title' => '更新智能体运行时输入参数', 'description' => '更新代理运行时输入参数', 'required' => true, '$ref' => '#/components/schemas/UpdateAgentRuntimeInput', ], ], ], 'responses' => [ 200 => [ 'description' => '成功响应 - 返回更新后的智能体运行时信息,包括新的配置参数和运行状态', 'schema' => [ 'title' => '返回更新结构体的结果', 'description' => '返回更新结构体的结果', '$ref' => '#/components/schemas/AgentRuntimeResult', ], 'examples' => [], ], 500 => [ 'schema' => [ '$ref' => '#/components/schemas/ErrorResult', ], ], ], '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 \\"\\"\\n ],\\n \\"port\\": 0\\n },\\n \\"networkConfiguration\\": {\\n \\"networkMode\\": \\"PRIVATE\\",\\n \\"vpcId\\": \\"vpc-1234567890abcdef0\\",\\n \\"securityGroupId\\": \\"sg-1234567890abcdef0\\",\\n \\"vswitchIds\\": [\\n \\"\\"\\n ]\\n },\\n \\"protocolConfiguration\\": {\\n \\"type\\": \\"HTTP\\",\\n \\"protocolSettings\\": [\\n {\\n \\"name\\": \\"\\",\\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 \\"port\\": 8080,\\n \\"sessionConcurrencyLimitPerInstance\\": 100,\\n \\"logConfiguration\\": {\\n \\"project\\": \\"agent-runtime-logs\\",\\n \\"logstore\\": \\"agent-runtime-logs\\"\\n },\\n \\"resourceName\\": \\"my-agent-runtime-resource\\",\\n \\"healthCheckConfiguration\\": {\\n \\"httpGetUrl\\": \\"/ready\\",\\n \\"initialDelaySeconds\\": 30,\\n \\"periodSeconds\\": 30,\\n \\"timeoutSeconds\\": 3,\\n \\"failureThreshold\\": 3,\\n \\"successThreshold\\": 1\\n },\\n \\"armsConfiguration\\": {\\n \\"enableArms\\": true,\\n \\"armsLicenseKey\\": \\"arms-license-key-123456\\"\\n },\\n \\"sessionIdleTimeoutSeconds\\": 3600,\\n \\"environmentVariables\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"tags\\": [\\n \\"\\"\\n ],\\n \\"resourceGroupId\\": \\"\\",\\n \\"workspaceId\\": \\"ws-1234567890abcdef\\",\\n \\"nasConfig\\": {\\n \\"groupId\\": 100,\\n \\"mountPoints\\": [\\n {\\n \\"enableTLS\\": true,\\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 }\\n}","type":"json"}]', 'title' => '更新智能体运行时', ], 'DeleteAgentRuntime' => [ 'summary' => '删除智能体运行时', 'description' => '删除指定的智能体运行时实例,包括其所有相关资源和数据。删除操作不可逆,请谨慎操作。', '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' => '智能体运行时ID', 'description' => '智能体运行时ID', 'type' => 'string', 'required' => true, 'example' => '12345678-1234-1234-1234-123456789abc', ], 'examples' => [], ], ], 'responses' => [ 200 => [ 'description' => '成功响应 - 确认智能体运行时已成功删除,返回删除操作的结果信息', 'schema' => [ 'title' => '返回删除结构体的结果', 'description' => '返回删除结构体的结果', '$ref' => '#/components/schemas/AgentRuntimeResult', ], 'examples' => [], ], 500 => [ 'schema' => [ '$ref' => '#/components/schemas/ErrorResult', ], ], ], '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 \\"\\"\\n ],\\n \\"port\\": 0\\n },\\n \\"networkConfiguration\\": {\\n \\"networkMode\\": \\"PRIVATE\\",\\n \\"vpcId\\": \\"vpc-1234567890abcdef0\\",\\n \\"securityGroupId\\": \\"sg-1234567890abcdef0\\",\\n \\"vswitchIds\\": [\\n \\"\\"\\n ]\\n },\\n \\"protocolConfiguration\\": {\\n \\"type\\": \\"HTTP\\",\\n \\"protocolSettings\\": [\\n {\\n \\"name\\": \\"\\",\\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 \\"port\\": 8080,\\n \\"sessionConcurrencyLimitPerInstance\\": 100,\\n \\"logConfiguration\\": {\\n \\"project\\": \\"agent-runtime-logs\\",\\n \\"logstore\\": \\"agent-runtime-logs\\"\\n },\\n \\"resourceName\\": \\"my-agent-runtime-resource\\",\\n \\"healthCheckConfiguration\\": {\\n \\"httpGetUrl\\": \\"/ready\\",\\n \\"initialDelaySeconds\\": 30,\\n \\"periodSeconds\\": 30,\\n \\"timeoutSeconds\\": 3,\\n \\"failureThreshold\\": 3,\\n \\"successThreshold\\": 1\\n },\\n \\"armsConfiguration\\": {\\n \\"enableArms\\": true,\\n \\"armsLicenseKey\\": \\"arms-license-key-123456\\"\\n },\\n \\"sessionIdleTimeoutSeconds\\": 3600,\\n \\"environmentVariables\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"tags\\": [\\n \\"\\"\\n ],\\n \\"resourceGroupId\\": \\"\\",\\n \\"workspaceId\\": \\"ws-1234567890abcdef\\",\\n \\"nasConfig\\": {\\n \\"groupId\\": 100,\\n \\"mountPoints\\": [\\n {\\n \\"enableTLS\\": true,\\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 }\\n}","type":"json"}]', 'title' => '删除智能体运行时', ], 'ListAgentRuntimes' => [ 'summary' => '获取智能体运行时列表', 'description' => '获取当前用户的所有智能体运行时列表,支持按名称、标签等条件过滤,支持分页查询。', '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' => '按智能体运行时名称过滤', 'type' => 'string', 'required' => false, 'example' => 'my-runtime', ], 'examples' => [], ], [ 'name' => 'status', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => [ 'title' => '按状态过滤', 'description' => '按状态过滤', 'type' => 'string', 'required' => false, 'example' => 'READY,CREATING', ], 'examples' => [], ], [ 'name' => 'pageNumber', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => [ 'title' => '页码', 'description' => '页码', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', ], 'examples' => [], ], [ 'name' => 'pageSize', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => [ 'title' => '页面大小', 'description' => '页面大小', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', ], 'examples' => [], ], [ 'name' => 'searchMode', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => [ 'title' => '查询模式', 'description' => '查询模式', 'type' => 'string', 'required' => false, 'example' => 'fuzzy', ], 'examples' => [], ], [ 'name' => 'resourceGroupId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'deprecated' => true, 'required' => false, ], ], [ 'name' => 'workspaceId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => [ 'title' => '工作空间ID', 'description' => '工作空间ID', 'type' => 'string', 'required' => false, 'example' => 'ws-1234567890abcdef', ], 'examples' => [], ], [ 'name' => 'discoveryResourceGroupId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => [ 'title' => '服务发现资源组ID', 'description' => '服务发现资源组ID', 'type' => 'string', 'deprecated' => true, 'required' => false, 'example' => 'rg-123456', ], 'examples' => [], ], ], 'responses' => [ 200 => [ 'description' => '成功响应 - 返回智能体运行时列表,包含分页信息和运行时详情', 'schema' => [ 'title' => '返回列表结构体的结果', 'description' => '返回列表结构体的结果', '$ref' => '#/components/schemas/ListAgentRuntimesResult', ], 'examples' => [], ], 500 => [ 'schema' => [ '$ref' => '#/components/schemas/ErrorResult', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"SUCCESS\\",\\n \\"requestId\\": \\"F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E\\",\\n \\"data\\": {\\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 \\"\\"\\n ],\\n \\"port\\": 0\\n },\\n \\"networkConfiguration\\": {\\n \\"networkMode\\": \\"PRIVATE\\",\\n \\"vpcId\\": \\"vpc-1234567890abcdef0\\",\\n \\"securityGroupId\\": \\"sg-1234567890abcdef0\\",\\n \\"vswitchIds\\": [\\n \\"\\"\\n ]\\n },\\n \\"protocolConfiguration\\": {\\n \\"type\\": \\"HTTP\\",\\n \\"protocolSettings\\": [\\n {\\n \\"name\\": \\"\\",\\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 \\"port\\": 8080,\\n \\"sessionConcurrencyLimitPerInstance\\": 100,\\n \\"logConfiguration\\": {\\n \\"project\\": \\"agent-runtime-logs\\",\\n \\"logstore\\": \\"agent-runtime-logs\\"\\n },\\n \\"resourceName\\": \\"my-agent-runtime-resource\\",\\n \\"healthCheckConfiguration\\": {\\n \\"httpGetUrl\\": \\"/ready\\",\\n \\"initialDelaySeconds\\": 30,\\n \\"periodSeconds\\": 30,\\n \\"timeoutSeconds\\": 3,\\n \\"failureThreshold\\": 3,\\n \\"successThreshold\\": 1\\n },\\n \\"armsConfiguration\\": {\\n \\"enableArms\\": true,\\n \\"armsLicenseKey\\": \\"arms-license-key-123456\\"\\n },\\n \\"sessionIdleTimeoutSeconds\\": 3600,\\n \\"environmentVariables\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"tags\\": [\\n \\"\\"\\n ],\\n \\"resourceGroupId\\": \\"\\",\\n \\"workspaceId\\": \\"ws-1234567890abcdef\\",\\n \\"nasConfig\\": {\\n \\"groupId\\": 100,\\n \\"mountPoints\\": [\\n {\\n \\"enableTLS\\": true,\\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 }\\n ],\\n \\"pageNumber\\": 0,\\n \\"pageSize\\": 0,\\n \\"total\\": 0\\n }\\n}","type":"json"}]', 'title' => '获取智能体运行时列表', ], 'CreateAgentRuntimeEndpoint' => [ 'summary' => '创建智能体运行时的访问端点', 'description' => '为指定的智能体运行时创建新的端点,用于外部访问和调用。端点是智能体运行时对外提供服务的入口。', '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' => '智能体运行时ID', 'description' => '代理运行时ID', 'type' => 'string', 'required' => true, 'example' => '12345678-1234-1234-1234-123456789abc', ], 'examples' => [], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'title' => '创建智能体运行时端点输入', 'description' => '创建代理运行时端点输入', 'required' => true, '$ref' => '#/components/schemas/CreateAgentRuntimeEndpointInput', ], ], ], 'responses' => [ 200 => [ 'description' => '成功响应 - 返回创建的智能体运行时端点信息,包括端点ID、访问地址、状态等', 'schema' => [ 'title' => '返回创建结构体的结果', 'description' => '返回创建结构体的结果', '$ref' => '#/components/schemas/AgentRuntimeEndpointResult', ], 'examples' => [], ], 500 => [ 'schema' => [ '$ref' => '#/components/schemas/ErrorResult', ], ], ], '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 \\"tags\\": [\\n \\"\\"\\n ],\\n \\"resourceName\\": \\"my-runtime-endpoint-resource\\",\\n \\"endpointPublicUrl\\": \\"https://ar-1234567890abcdef.cn-hangzhou.agentrun.aliyuncs.com\\"\\n }\\n}","type":"json"}]', 'title' => '创建智能体运行时的访问端点', ], 'ListAgentRuntimeEndpoints' => [ 'summary' => '获取智能体运行时访问端点列表', 'description' => '获取指定智能体运行时的所有端点列表,支持按名称过滤和分页查询。端点用于外部系统访问智能体运行时服务。', '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' => '智能体运行时ID', 'description' => '智能体运行时ID', 'type' => 'string', 'required' => true, 'example' => '12345678-1234-1234-1234-123456789abc', ], 'examples' => [], ], [ 'name' => 'endpointName', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => [ 'title' => '按端点名称过滤', 'description' => '按端点名称过滤', 'type' => 'string', 'required' => false, 'example' => 'my-endpoint', ], 'examples' => [], ], [ 'name' => 'pageNumber', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => [ 'title' => '页码', 'description' => '页码', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', ], 'examples' => [], ], [ 'name' => 'pageSize', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => [ 'title' => '页面大小', 'description' => '页面大小', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', ], 'examples' => [], ], [ 'name' => 'searchMode', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => [ 'title' => '查询模式', 'description' => '查询模式', 'type' => 'string', 'required' => false, 'example' => 'fuzzy', ], 'examples' => [], ], ], 'responses' => [ 200 => [ 'description' => '成功响应 - 返回智能体运行时端点列表,包含分页信息和端点详情', 'schema' => [ 'title' => '返回列表结构体的结果', 'description' => '返回列表结构体的结果', '$ref' => '#/components/schemas/ListAgentRuntimeEndpointsResult', ], 'examples' => [], ], 500 => [ 'schema' => [ '$ref' => '#/components/schemas/ErrorResult', ], ], ], '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 \\"tags\\": [\\n \\"\\"\\n ],\\n \\"resourceName\\": \\"my-runtime-endpoint-resource\\",\\n \\"endpointPublicUrl\\": \\"https://ar-1234567890abcdef.cn-hangzhou.agentrun.aliyuncs.com\\"\\n }\\n ],\\n \\"pageNumber\\": 0,\\n \\"pageSize\\": 0,\\n \\"total\\": 0\\n }\\n}","type":"json"}]', 'title' => '获取智能体运行时访问端点列表', ], 'GetAgentRuntimeEndpoint' => [ 'summary' => '获取智能体运行时访问端点', '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' => '智能体运行时ID', 'description' => '智能体运行时ID', 'type' => 'string', 'required' => true, 'example' => '12345678-1234-1234-1234-123456789abc', ], 'examples' => [], ], [ 'name' => 'agentRuntimeEndpointId', 'in' => 'path', 'allowEmptyValue' => true, 'schema' => [ 'title' => '智能体运行时端点ID', 'description' => '智能体运行时端点ID', 'type' => 'string', 'required' => true, 'example' => '87654321-4321-4321-4321-210987654321', ], 'examples' => [], ], ], 'responses' => [ 200 => [ 'description' => '成功响应 - 返回指定智能体运行时端点的详细信息', 'schema' => [ 'title' => '返回获取结构体的结果', 'description' => '返回获取结构体的结果', '$ref' => '#/components/schemas/AgentRuntimeEndpointResult', ], 'examples' => [], ], 500 => [ 'schema' => [ '$ref' => '#/components/schemas/ErrorResult', ], ], ], '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 \\"tags\\": [\\n \\"\\"\\n ],\\n \\"resourceName\\": \\"my-runtime-endpoint-resource\\",\\n \\"endpointPublicUrl\\": \\"https://ar-1234567890abcdef.cn-hangzhou.agentrun.aliyuncs.com\\"\\n }\\n}","type":"json"}]', 'title' => '获取智能体运行时访问端点', ], 'UpdateAgentRuntimeEndpoint' => [ 'summary' => '更新智能体运行时访问端点', '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' => '智能体运行时ID', 'description' => '智能体运行时ID', 'type' => 'string', 'required' => true, 'example' => '12345678-1234-1234-1234-123456789abc', ], 'examples' => [], ], [ 'name' => 'agentRuntimeEndpointId', 'in' => 'path', 'allowEmptyValue' => true, 'schema' => [ 'title' => '智能体运行时端点ID', 'description' => '智能体运行时端点ID', 'type' => 'string', 'required' => true, 'example' => '87654321-4321-4321-4321-210987654321', ], 'examples' => [], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'title' => '更新智能体运行时端点输入', 'description' => '更新智能体运行时端点输入', 'required' => true, '$ref' => '#/components/schemas/UpdateAgentRuntimeEndpointInput', ], ], ], 'responses' => [ 200 => [ 'description' => '成功响应 - 返回更新后的智能体运行时端点信息', 'schema' => [ 'title' => '返回更新结构体的结果', 'description' => '返回更新结构体的结果', '$ref' => '#/components/schemas/AgentRuntimeEndpointResult', ], 'examples' => [], ], 500 => [ 'schema' => [ '$ref' => '#/components/schemas/ErrorResult', ], ], ], '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 \\"tags\\": [\\n \\"\\"\\n ],\\n \\"resourceName\\": \\"my-runtime-endpoint-resource\\",\\n \\"endpointPublicUrl\\": \\"https://ar-1234567890abcdef.cn-hangzhou.agentrun.aliyuncs.com\\"\\n }\\n}","type":"json"}]', 'title' => '更新智能体运行时访问端点', ], 'DeleteAgentRuntimeEndpoint' => [ 'summary' => '删除智能体访问端点', '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' => '智能体运行时ID', 'description' => '智能体运行时ID', 'type' => 'string', 'required' => true, 'example' => '12345678-1234-1234-1234-123456789abc', ], 'examples' => [], ], [ 'name' => 'agentRuntimeEndpointId', 'in' => 'path', 'allowEmptyValue' => true, 'schema' => [ 'title' => '智能体运行时端点ID', 'description' => '智能体运行时端点ID', 'type' => 'string', 'required' => true, 'example' => '87654321-4321-4321-4321-210987654321', ], 'examples' => [], ], ], 'responses' => [ 200 => [ 'description' => '成功响应 - 确认智能体运行时端点已成功删除', 'schema' => [ 'title' => '返回删除结构体的结果', 'description' => '返回删除结构体的结果', '$ref' => '#/components/schemas/AgentRuntimeEndpointResult', ], 'examples' => [], ], 500 => [ 'schema' => [ '$ref' => '#/components/schemas/ErrorResult', ], ], ], '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 \\"tags\\": [\\n \\"\\"\\n ],\\n \\"resourceName\\": \\"my-runtime-endpoint-resource\\",\\n \\"endpointPublicUrl\\": \\"https://ar-1234567890abcdef.cn-hangzhou.agentrun.aliyuncs.com\\"\\n }\\n}","type":"json"}]', 'title' => '删除智能体访问端点', ], 'PublishRuntimeVersion' => [ 'summary' => '发布智能体运行时新版本', 'description' => '为指定的智能体运行时发布新版本,用于版本管理和部署。新版本可以包含代码更新、配置变更等内容。', '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' => [ 'FEATUREdevsTN0KZI', ], ], 'parameters' => [ [ 'name' => 'agentRuntimeId', 'in' => 'path', 'allowEmptyValue' => true, 'schema' => [ 'title' => '智能体运行时ID', 'description' => '智能体运行时ID', 'type' => 'string', 'required' => true, 'example' => '12345678-1234-1234-1234-123456789abc', ], 'examples' => [], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => '发布版本的请求体信息', 'required' => false, '$ref' => '#/components/schemas/PublishRuntimeVersionInput', ], ], ], 'responses' => [ 200 => [ 'description' => '成功响应 - 返回新发布的运行时版本信息,包括版本号、状态、发布时间等', 'schema' => [ 'title' => '返回创建结构体的结果', 'description' => '返回创建结构体的结果', '$ref' => '#/components/schemas/AgentRuntimeVersionResult', ], 'examples' => [], ], 500 => [ 'schema' => [ '$ref' => '#/components/schemas/ErrorResult', ], ], ], '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"}]', 'title' => '发布智能体运行时新版本', ], 'ListAgentRuntimeVersions' => [ 'summary' => '获取智能体运行时版本', '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' => '智能体运行时ID', 'description' => '智能体运行时ID', 'type' => 'string', 'required' => true, 'example' => '12345678-1234-1234-1234-123456789abc', ], 'examples' => [], ], [ 'name' => 'pageNumber', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => [ 'title' => '页码', 'description' => '页码', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', ], 'examples' => [], ], [ 'name' => 'pageSize', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => [ 'title' => '页面大小', 'description' => '页面大小', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', ], 'examples' => [], ], ], 'responses' => [ 200 => [ 'description' => '成功响应 - 返回智能体运行时版本列表,包含分页信息和版本详情', 'schema' => [ 'title' => '返回列表结构体的结果', 'description' => '返回列表结构体的结果', '$ref' => '#/components/schemas/ListAgentRuntimeVersionsResult', ], 'examples' => [], ], 500 => [ 'schema' => [ '$ref' => '#/components/schemas/ErrorResult', ], ], ], '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"}]', 'title' => '获取智能体运行时版本', ], 'CreateTemplate' => [ 'summary' => '创建模板。', 'description' => '创建一个新的模板,用于后续创建沙箱。模板定义了沙箱的运行时环境、资源配置等。', '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' => '创建模板请求参数', 'required' => true, '$ref' => '#/components/schemas/CreateTemplateInput', ], ], ], 'responses' => [ 200 => [ 'description' => '成功响应 - 返回创建的模板信息,包括模板ID、状态、配置等详细信息', 'schema' => [ 'title' => '返回创建结构体的结果', 'description' => '返回模板创建结果', '$ref' => '#/components/schemas/TemplateResult', ], 'examples' => [], ], 500 => [ 'schema' => [ '$ref' => '#/components/schemas/ErrorResult', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"\\",\\n \\"requestId\\": \\"\\",\\n \\"data\\": {\\n \\"templateId\\": \\"\\",\\n \\"templateName\\": \\"\\",\\n \\"templateVersion\\": \\"\\",\\n \\"cpu\\": 0,\\n \\"memory\\": 0,\\n \\"templateArn\\": \\"\\",\\n \\"createdAt\\": \\"\\",\\n \\"lastUpdatedAt\\": \\"\\",\\n \\"status\\": \\"\\",\\n \\"statusReason\\": \\"\\",\\n \\"executionRoleArn\\": \\"\\",\\n \\"templateType\\": \\"\\",\\n \\"containerConfiguration\\": {\\n \\"image\\": \\"registry.cn-hangzhou.aliyuncs.com/my-namespace/agent-runtime:latest\\",\\n \\"imageRegistryType\\": \\"ACR\\",\\n \\"acrInstanceId\\": \\"cri-xxxxx\\",\\n \\"command\\": [\\n \\"\\"\\n ],\\n \\"port\\": 0\\n },\\n \\"networkConfiguration\\": {\\n \\"networkMode\\": \\"PRIVATE\\",\\n \\"vpcId\\": \\"vpc-1234567890abcdef0\\",\\n \\"securityGroupId\\": \\"sg-1234567890abcdef0\\",\\n \\"vswitchIds\\": [\\n \\"\\"\\n ]\\n },\\n \\"credentialConfiguration\\": {\\n \\"credentialName\\": \\"\\"\\n },\\n \\"logConfiguration\\": {\\n \\"project\\": \\"agent-runtime-logs\\",\\n \\"logstore\\": \\"agent-runtime-logs\\"\\n },\\n \\"sandboxIdleTimeoutInSeconds\\": \\"\\",\\n \\"sandboxTTLInSeconds\\": \\"\\",\\n \\"resourceName\\": \\"\\",\\n \\"mcpOptions\\": {\\n \\"transport\\": \\"streamable-http\\",\\n \\"enabledTools\\": [\\n \\"\\"\\n ]\\n },\\n \\"mcpState\\": {\\n \\"status\\": \\"\\",\\n \\"statusReason\\": \\"\\",\\n \\"accessEndpoint\\": \\"\\"\\n },\\n \\"diskSize\\": 0,\\n \\"description\\": \\"\\",\\n \\"allowAnonymousManage\\": true,\\n \\"nasConfig\\": {\\n \\"groupId\\": 100,\\n \\"mountPoints\\": [\\n {\\n \\"enableTLS\\": true,\\n \\"mountDir\\": \\"/home/test\\",\\n \\"serverAddr\\": \\"***-uni85.cn-hangzhou.nas.com:/\\"\\n }\\n ],\\n \\"userId\\": 100\\n },\\n \\"enableAgent\\": true,\\n \\"environmentVariables\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"templateConfiguration\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"ossConfiguration\\": [\\n {\\n \\"bucketName\\": \\"\\",\\n \\"prefix\\": \\"\\",\\n \\"mountPoint\\": \\"\\",\\n \\"permission\\": \\"\\",\\n \\"region\\": \\"ch-hangzhou\\"\\n }\\n ]\\n }\\n}","type":"json"}]', 'title' => '创建模板', ], 'GetTemplate' => [ 'summary' => '获取模板。', 'description' => '根据模板名称获取指定模板的详细信息,包括配置、状态等。', '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' => [ 'title' => '模板名称', 'description' => '模板名称', 'type' => 'string', 'required' => true, 'example' => 'my-template', ], 'examples' => [], ], ], 'responses' => [ 200 => [ 'description' => '成功响应 - 返回指定模板的完整信息,包括配置参数、运行状态等', 'schema' => [ 'title' => '返回获取结构体的结果', 'description' => '返回获取模板结果', '$ref' => '#/components/schemas/TemplateResult', ], 'examples' => [], ], 500 => [ 'schema' => [ '$ref' => '#/components/schemas/ErrorResult', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"\\",\\n \\"requestId\\": \\"\\",\\n \\"data\\": {\\n \\"templateId\\": \\"\\",\\n \\"templateName\\": \\"\\",\\n \\"templateVersion\\": \\"\\",\\n \\"cpu\\": 0,\\n \\"memory\\": 0,\\n \\"templateArn\\": \\"\\",\\n \\"createdAt\\": \\"\\",\\n \\"lastUpdatedAt\\": \\"\\",\\n \\"status\\": \\"\\",\\n \\"statusReason\\": \\"\\",\\n \\"executionRoleArn\\": \\"\\",\\n \\"templateType\\": \\"\\",\\n \\"containerConfiguration\\": {\\n \\"image\\": \\"registry.cn-hangzhou.aliyuncs.com/my-namespace/agent-runtime:latest\\",\\n \\"imageRegistryType\\": \\"ACR\\",\\n \\"acrInstanceId\\": \\"cri-xxxxx\\",\\n \\"command\\": [\\n \\"\\"\\n ],\\n \\"port\\": 0\\n },\\n \\"networkConfiguration\\": {\\n \\"networkMode\\": \\"PRIVATE\\",\\n \\"vpcId\\": \\"vpc-1234567890abcdef0\\",\\n \\"securityGroupId\\": \\"sg-1234567890abcdef0\\",\\n \\"vswitchIds\\": [\\n \\"\\"\\n ]\\n },\\n \\"credentialConfiguration\\": {\\n \\"credentialName\\": \\"\\"\\n },\\n \\"logConfiguration\\": {\\n \\"project\\": \\"agent-runtime-logs\\",\\n \\"logstore\\": \\"agent-runtime-logs\\"\\n },\\n \\"sandboxIdleTimeoutInSeconds\\": \\"\\",\\n \\"sandboxTTLInSeconds\\": \\"\\",\\n \\"resourceName\\": \\"\\",\\n \\"mcpOptions\\": {\\n \\"transport\\": \\"streamable-http\\",\\n \\"enabledTools\\": [\\n \\"\\"\\n ]\\n },\\n \\"mcpState\\": {\\n \\"status\\": \\"\\",\\n \\"statusReason\\": \\"\\",\\n \\"accessEndpoint\\": \\"\\"\\n },\\n \\"diskSize\\": 0,\\n \\"description\\": \\"\\",\\n \\"allowAnonymousManage\\": true,\\n \\"nasConfig\\": {\\n \\"groupId\\": 100,\\n \\"mountPoints\\": [\\n {\\n \\"enableTLS\\": true,\\n \\"mountDir\\": \\"/home/test\\",\\n \\"serverAddr\\": \\"***-uni85.cn-hangzhou.nas.com:/\\"\\n }\\n ],\\n \\"userId\\": 100\\n },\\n \\"enableAgent\\": true,\\n \\"environmentVariables\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"templateConfiguration\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"ossConfiguration\\": [\\n {\\n \\"bucketName\\": \\"\\",\\n \\"prefix\\": \\"\\",\\n \\"mountPoint\\": \\"\\",\\n \\"permission\\": \\"\\",\\n \\"region\\": \\"ch-hangzhou\\"\\n }\\n ]\\n }\\n}","type":"json"}]', 'title' => '获取模板', ], 'ListTemplates' => [ 'summary' => '列出模板。', 'description' => '获取当前用户的所有模板列表,支持按模板类型过滤,支持分页查询。', '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' => [ 'title' => '模板类型', 'description' => '模板类型', 'type' => 'string', 'required' => false, 'example' => 'Browser', 'enum' => [ 'Browser', 'CodeInterpreter', 'AllInOne', 'CustomImage', ], ], 'examples' => [], ], [ 'name' => 'pageNumber', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => [ 'title' => '页码', 'description' => '页码', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', ], 'examples' => [], ], [ 'name' => 'pageSize', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => [ 'title' => '页面大小', 'description' => '页面大小', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20', ], 'examples' => [], ], [ 'name' => 'status', 'in' => 'query', 'schema' => [ 'title' => '状态', 'description' => '状态', 'type' => 'string', 'required' => false, 'example' => 'READY', ], ], [ 'name' => 'templateName', 'in' => 'query', 'schema' => [ 'title' => '模板名称', 'description' => '模板名称', 'type' => 'string', 'required' => false, 'example' => 'temp-abc', ], ], ], 'responses' => [ 200 => [ 'description' => '成功响应 - 返回模板列表,包含分页信息和模板详情', 'schema' => [ 'description' => '返回列表结构体的结果', '$ref' => '#/components/schemas/ListTemplatesResult', ], 'examples' => [], ], 500 => [ 'schema' => [ '$ref' => '#/components/schemas/ErrorResult', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"\\",\\n \\"requestId\\": \\"\\",\\n \\"data\\": {\\n \\"pageNumber\\": 0,\\n \\"pageSize\\": 0,\\n \\"total\\": 0,\\n \\"items\\": [\\n {\\n \\"templateId\\": \\"\\",\\n \\"templateName\\": \\"\\",\\n \\"templateVersion\\": \\"\\",\\n \\"cpu\\": 0,\\n \\"memory\\": 0,\\n \\"templateArn\\": \\"\\",\\n \\"createdAt\\": \\"\\",\\n \\"lastUpdatedAt\\": \\"\\",\\n \\"status\\": \\"\\",\\n \\"statusReason\\": \\"\\",\\n \\"executionRoleArn\\": \\"\\",\\n \\"templateType\\": \\"\\",\\n \\"containerConfiguration\\": {\\n \\"image\\": \\"registry.cn-hangzhou.aliyuncs.com/my-namespace/agent-runtime:latest\\",\\n \\"imageRegistryType\\": \\"ACR\\",\\n \\"acrInstanceId\\": \\"cri-xxxxx\\",\\n \\"command\\": [\\n \\"\\"\\n ],\\n \\"port\\": 0\\n },\\n \\"networkConfiguration\\": {\\n \\"networkMode\\": \\"PRIVATE\\",\\n \\"vpcId\\": \\"vpc-1234567890abcdef0\\",\\n \\"securityGroupId\\": \\"sg-1234567890abcdef0\\",\\n \\"vswitchIds\\": [\\n \\"\\"\\n ]\\n },\\n \\"credentialConfiguration\\": {\\n \\"credentialName\\": \\"\\"\\n },\\n \\"logConfiguration\\": {\\n \\"project\\": \\"agent-runtime-logs\\",\\n \\"logstore\\": \\"agent-runtime-logs\\"\\n },\\n \\"sandboxIdleTimeoutInSeconds\\": \\"\\",\\n \\"sandboxTTLInSeconds\\": \\"\\",\\n \\"resourceName\\": \\"\\",\\n \\"mcpOptions\\": {\\n \\"transport\\": \\"streamable-http\\",\\n \\"enabledTools\\": [\\n \\"\\"\\n ]\\n },\\n \\"mcpState\\": {\\n \\"status\\": \\"\\",\\n \\"statusReason\\": \\"\\",\\n \\"accessEndpoint\\": \\"\\"\\n },\\n \\"diskSize\\": 0,\\n \\"description\\": \\"\\",\\n \\"allowAnonymousManage\\": true,\\n \\"nasConfig\\": {\\n \\"groupId\\": 100,\\n \\"mountPoints\\": [\\n {\\n \\"enableTLS\\": true,\\n \\"mountDir\\": \\"/home/test\\",\\n \\"serverAddr\\": \\"***-uni85.cn-hangzhou.nas.com:/\\"\\n }\\n ],\\n \\"userId\\": 100\\n },\\n \\"enableAgent\\": true,\\n \\"environmentVariables\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"templateConfiguration\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"ossConfiguration\\": [\\n {\\n \\"bucketName\\": \\"\\",\\n \\"prefix\\": \\"\\",\\n \\"mountPoint\\": \\"\\",\\n \\"permission\\": \\"\\",\\n \\"region\\": \\"ch-hangzhou\\"\\n }\\n ]\\n }\\n ]\\n }\\n}","type":"json"}]', 'title' => '列出模板', ], 'UpdateTemplate' => [ 'summary' => '更新模板。', 'description' => '更新指定模板的配置信息,包括资源配置、网络配置、环境变量等。', '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' => [ 'title' => '模板名称', 'description' => '模板名称', 'type' => 'string', 'required' => true, 'example' => 'my-template', ], 'examples' => [], ], [ 'name' => 'clientToken', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => [ 'title' => '客户端令牌', 'description' => '客户端令牌', 'type' => 'string', 'required' => false, 'example' => 'clientToken', ], 'examples' => [], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'title' => '更新模板请求参数', 'description' => '更新模板请求参数', 'required' => true, '$ref' => '#/components/schemas/UpdateTemplateInput', ], ], ], 'responses' => [ 200 => [ 'description' => '成功响应 - 返回更新后的模板信息', 'schema' => [ 'title' => '返回更新结构体的结果', 'description' => '返回更新模板的结果', '$ref' => '#/components/schemas/TemplateResult', ], 'examples' => [], ], 500 => [ 'schema' => [ '$ref' => '#/components/schemas/ErrorResult', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"\\",\\n \\"requestId\\": \\"\\",\\n \\"data\\": {\\n \\"templateId\\": \\"\\",\\n \\"templateName\\": \\"\\",\\n \\"templateVersion\\": \\"\\",\\n \\"cpu\\": 0,\\n \\"memory\\": 0,\\n \\"templateArn\\": \\"\\",\\n \\"createdAt\\": \\"\\",\\n \\"lastUpdatedAt\\": \\"\\",\\n \\"status\\": \\"\\",\\n \\"statusReason\\": \\"\\",\\n \\"executionRoleArn\\": \\"\\",\\n \\"templateType\\": \\"\\",\\n \\"containerConfiguration\\": {\\n \\"image\\": \\"registry.cn-hangzhou.aliyuncs.com/my-namespace/agent-runtime:latest\\",\\n \\"imageRegistryType\\": \\"ACR\\",\\n \\"acrInstanceId\\": \\"cri-xxxxx\\",\\n \\"command\\": [\\n \\"\\"\\n ],\\n \\"port\\": 0\\n },\\n \\"networkConfiguration\\": {\\n \\"networkMode\\": \\"PRIVATE\\",\\n \\"vpcId\\": \\"vpc-1234567890abcdef0\\",\\n \\"securityGroupId\\": \\"sg-1234567890abcdef0\\",\\n \\"vswitchIds\\": [\\n \\"\\"\\n ]\\n },\\n \\"credentialConfiguration\\": {\\n \\"credentialName\\": \\"\\"\\n },\\n \\"logConfiguration\\": {\\n \\"project\\": \\"agent-runtime-logs\\",\\n \\"logstore\\": \\"agent-runtime-logs\\"\\n },\\n \\"sandboxIdleTimeoutInSeconds\\": \\"\\",\\n \\"sandboxTTLInSeconds\\": \\"\\",\\n \\"resourceName\\": \\"\\",\\n \\"mcpOptions\\": {\\n \\"transport\\": \\"streamable-http\\",\\n \\"enabledTools\\": [\\n \\"\\"\\n ]\\n },\\n \\"mcpState\\": {\\n \\"status\\": \\"\\",\\n \\"statusReason\\": \\"\\",\\n \\"accessEndpoint\\": \\"\\"\\n },\\n \\"diskSize\\": 0,\\n \\"description\\": \\"\\",\\n \\"allowAnonymousManage\\": true,\\n \\"nasConfig\\": {\\n \\"groupId\\": 100,\\n \\"mountPoints\\": [\\n {\\n \\"enableTLS\\": true,\\n \\"mountDir\\": \\"/home/test\\",\\n \\"serverAddr\\": \\"***-uni85.cn-hangzhou.nas.com:/\\"\\n }\\n ],\\n \\"userId\\": 100\\n },\\n \\"enableAgent\\": true,\\n \\"environmentVariables\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"templateConfiguration\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"ossConfiguration\\": [\\n {\\n \\"bucketName\\": \\"\\",\\n \\"prefix\\": \\"\\",\\n \\"mountPoint\\": \\"\\",\\n \\"permission\\": \\"\\",\\n \\"region\\": \\"ch-hangzhou\\"\\n }\\n ]\\n }\\n}","type":"json"}]', 'title' => '更新模板', ], 'DeleteTemplate' => [ 'summary' => '删除模板。', 'description' => '删除指定的模板。删除后,该模板将无法再用于创建新的沙箱。', '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' => [ 'title' => '模板名称', 'description' => '模板名称', 'type' => 'string', 'required' => true, 'example' => 'my-template', ], 'examples' => [], ], ], 'responses' => [ 200 => [ 'description' => '成功响应 - 模板删除成功', 'schema' => [ 'title' => '返回删除结构体的结果', 'description' => '返回删除模板的结果', '$ref' => '#/components/schemas/DeleteTemplateResult', ], 'examples' => [], ], 500 => [ 'schema' => [ '$ref' => '#/components/schemas/ErrorResult', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"\\",\\n \\"requestId\\": \\"\\",\\n \\"data\\": {\\n \\"templateId\\": \\"\\",\\n \\"templateName\\": \\"\\",\\n \\"templateVersion\\": \\"\\",\\n \\"cpu\\": 0,\\n \\"memory\\": 0,\\n \\"templateArn\\": \\"\\",\\n \\"createdAt\\": \\"\\",\\n \\"lastUpdatedAt\\": \\"\\",\\n \\"status\\": \\"\\",\\n \\"statusReason\\": \\"\\",\\n \\"executionRoleArn\\": \\"\\",\\n \\"templateType\\": \\"\\",\\n \\"containerConfiguration\\": {\\n \\"image\\": \\"registry.cn-hangzhou.aliyuncs.com/my-namespace/agent-runtime:latest\\",\\n \\"imageRegistryType\\": \\"ACR\\",\\n \\"acrInstanceId\\": \\"cri-xxxxx\\",\\n \\"command\\": [\\n \\"\\"\\n ],\\n \\"port\\": 0\\n },\\n \\"networkConfiguration\\": {\\n \\"networkMode\\": \\"PRIVATE\\",\\n \\"vpcId\\": \\"vpc-1234567890abcdef0\\",\\n \\"securityGroupId\\": \\"sg-1234567890abcdef0\\",\\n \\"vswitchIds\\": [\\n \\"\\"\\n ]\\n },\\n \\"credentialConfiguration\\": {\\n \\"credentialName\\": \\"\\"\\n },\\n \\"logConfiguration\\": {\\n \\"project\\": \\"agent-runtime-logs\\",\\n \\"logstore\\": \\"agent-runtime-logs\\"\\n },\\n \\"sandboxIdleTimeoutInSeconds\\": \\"\\",\\n \\"sandboxTTLInSeconds\\": \\"\\",\\n \\"resourceName\\": \\"\\",\\n \\"mcpOptions\\": {\\n \\"transport\\": \\"streamable-http\\",\\n \\"enabledTools\\": [\\n \\"\\"\\n ]\\n },\\n \\"mcpState\\": {\\n \\"status\\": \\"\\",\\n \\"statusReason\\": \\"\\",\\n \\"accessEndpoint\\": \\"\\"\\n },\\n \\"diskSize\\": 0,\\n \\"description\\": \\"\\",\\n \\"allowAnonymousManage\\": true,\\n \\"nasConfig\\": {\\n \\"groupId\\": 100,\\n \\"mountPoints\\": [\\n {\\n \\"enableTLS\\": true,\\n \\"mountDir\\": \\"/home/test\\",\\n \\"serverAddr\\": \\"***-uni85.cn-hangzhou.nas.com:/\\"\\n }\\n ],\\n \\"userId\\": 100\\n },\\n \\"enableAgent\\": true,\\n \\"environmentVariables\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"templateConfiguration\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"ossConfiguration\\": [\\n {\\n \\"bucketName\\": \\"\\",\\n \\"prefix\\": \\"\\",\\n \\"mountPoint\\": \\"\\",\\n \\"permission\\": \\"\\",\\n \\"region\\": \\"ch-hangzhou\\"\\n }\\n ]\\n }\\n}","type":"json"}]', 'title' => '删除模板', ], 'StopTemplateMCP' => [ 'summary' => '停止 TemplateMCP 服务。', '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' => [ 'title' => '模板名称'."\n", 'description' => '模板名称'."\n", 'type' => 'string', 'required' => false, 'example' => 'demo-template', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '沙箱模板详情', '$ref' => '#/components/schemas/TemplateResult', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"\\",\\n \\"requestId\\": \\"\\",\\n \\"data\\": {\\n \\"templateId\\": \\"\\",\\n \\"templateName\\": \\"\\",\\n \\"templateVersion\\": \\"\\",\\n \\"cpu\\": 0,\\n \\"memory\\": 0,\\n \\"templateArn\\": \\"\\",\\n \\"createdAt\\": \\"\\",\\n \\"lastUpdatedAt\\": \\"\\",\\n \\"status\\": \\"\\",\\n \\"statusReason\\": \\"\\",\\n \\"executionRoleArn\\": \\"\\",\\n \\"templateType\\": \\"\\",\\n \\"containerConfiguration\\": {\\n \\"image\\": \\"registry.cn-hangzhou.aliyuncs.com/my-namespace/agent-runtime:latest\\",\\n \\"imageRegistryType\\": \\"ACR\\",\\n \\"acrInstanceId\\": \\"cri-xxxxx\\",\\n \\"command\\": [\\n \\"\\"\\n ],\\n \\"port\\": 0\\n },\\n \\"networkConfiguration\\": {\\n \\"networkMode\\": \\"PRIVATE\\",\\n \\"vpcId\\": \\"vpc-1234567890abcdef0\\",\\n \\"securityGroupId\\": \\"sg-1234567890abcdef0\\",\\n \\"vswitchIds\\": [\\n \\"\\"\\n ]\\n },\\n \\"credentialConfiguration\\": {\\n \\"credentialName\\": \\"\\"\\n },\\n \\"logConfiguration\\": {\\n \\"project\\": \\"agent-runtime-logs\\",\\n \\"logstore\\": \\"agent-runtime-logs\\"\\n },\\n \\"sandboxIdleTimeoutInSeconds\\": \\"\\",\\n \\"sandboxTTLInSeconds\\": \\"\\",\\n \\"resourceName\\": \\"\\",\\n \\"mcpOptions\\": {\\n \\"transport\\": \\"streamable-http\\",\\n \\"enabledTools\\": [\\n \\"\\"\\n ]\\n },\\n \\"mcpState\\": {\\n \\"status\\": \\"\\",\\n \\"statusReason\\": \\"\\",\\n \\"accessEndpoint\\": \\"\\"\\n },\\n \\"diskSize\\": 0,\\n \\"description\\": \\"\\",\\n \\"allowAnonymousManage\\": true,\\n \\"nasConfig\\": {\\n \\"groupId\\": 100,\\n \\"mountPoints\\": [\\n {\\n \\"enableTLS\\": true,\\n \\"mountDir\\": \\"/home/test\\",\\n \\"serverAddr\\": \\"***-uni85.cn-hangzhou.nas.com:/\\"\\n }\\n ],\\n \\"userId\\": 100\\n },\\n \\"enableAgent\\": true,\\n \\"environmentVariables\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"templateConfiguration\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"ossConfiguration\\": [\\n {\\n \\"bucketName\\": \\"\\",\\n \\"prefix\\": \\"\\",\\n \\"mountPoint\\": \\"\\",\\n \\"permission\\": \\"\\",\\n \\"region\\": \\"ch-hangzhou\\"\\n }\\n ]\\n }\\n}","type":"json"}]', 'title' => '停止 TemplateMCP 服务', 'description' => '停止MCP服务后,会删除对应的MCP资源,MCP地址不可访问', ], 'ActivateTemplateMCP' => [ 'summary' => '启用 沙箱 MCP 服务,用于客户端通过MCP协议进行访问沙箱。', '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' => '请求Body。', 'type' => 'object', 'properties' => [ 'enabledTools' => [ 'title' => '启用的工具列表'."\n", 'description' => '启用的工具列表'."\n", 'type' => 'array', 'items' => [ 'description' => 'enabledTools', '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"]', ], 'required' => false, ], 'transport' => [ 'title' => '传输协议', 'description' => '传输协议', 'type' => 'string', 'required' => false, 'example' => 'streamable-http', 'enum' => [ 'sse', 'streamable-http', ], ], ], 'required' => false, ], ], [ 'name' => 'templateName', 'in' => 'path', 'schema' => [ 'title' => '模板名称', 'description' => '模板名称', 'type' => 'string', 'required' => false, 'example' => 'demo-template', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '沙箱模板详情', '$ref' => '#/components/schemas/TemplateResult', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"\\",\\n \\"requestId\\": \\"\\",\\n \\"data\\": {\\n \\"templateId\\": \\"\\",\\n \\"templateName\\": \\"\\",\\n \\"templateVersion\\": \\"\\",\\n \\"cpu\\": 0,\\n \\"memory\\": 0,\\n \\"templateArn\\": \\"\\",\\n \\"createdAt\\": \\"\\",\\n \\"lastUpdatedAt\\": \\"\\",\\n \\"status\\": \\"\\",\\n \\"statusReason\\": \\"\\",\\n \\"executionRoleArn\\": \\"\\",\\n \\"templateType\\": \\"\\",\\n \\"containerConfiguration\\": {\\n \\"image\\": \\"registry.cn-hangzhou.aliyuncs.com/my-namespace/agent-runtime:latest\\",\\n \\"imageRegistryType\\": \\"ACR\\",\\n \\"acrInstanceId\\": \\"cri-xxxxx\\",\\n \\"command\\": [\\n \\"\\"\\n ],\\n \\"port\\": 0\\n },\\n \\"networkConfiguration\\": {\\n \\"networkMode\\": \\"PRIVATE\\",\\n \\"vpcId\\": \\"vpc-1234567890abcdef0\\",\\n \\"securityGroupId\\": \\"sg-1234567890abcdef0\\",\\n \\"vswitchIds\\": [\\n \\"\\"\\n ]\\n },\\n \\"credentialConfiguration\\": {\\n \\"credentialName\\": \\"\\"\\n },\\n \\"logConfiguration\\": {\\n \\"project\\": \\"agent-runtime-logs\\",\\n \\"logstore\\": \\"agent-runtime-logs\\"\\n },\\n \\"sandboxIdleTimeoutInSeconds\\": \\"\\",\\n \\"sandboxTTLInSeconds\\": \\"\\",\\n \\"resourceName\\": \\"\\",\\n \\"mcpOptions\\": {\\n \\"transport\\": \\"streamable-http\\",\\n \\"enabledTools\\": [\\n \\"\\"\\n ]\\n },\\n \\"mcpState\\": {\\n \\"status\\": \\"\\",\\n \\"statusReason\\": \\"\\",\\n \\"accessEndpoint\\": \\"\\"\\n },\\n \\"diskSize\\": 0,\\n \\"description\\": \\"\\",\\n \\"allowAnonymousManage\\": true,\\n \\"nasConfig\\": {\\n \\"groupId\\": 100,\\n \\"mountPoints\\": [\\n {\\n \\"enableTLS\\": true,\\n \\"mountDir\\": \\"/home/test\\",\\n \\"serverAddr\\": \\"***-uni85.cn-hangzhou.nas.com:/\\"\\n }\\n ],\\n \\"userId\\": 100\\n },\\n \\"enableAgent\\": true,\\n \\"environmentVariables\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"templateConfiguration\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"ossConfiguration\\": [\\n {\\n \\"bucketName\\": \\"\\",\\n \\"prefix\\": \\"\\",\\n \\"mountPoint\\": \\"\\",\\n \\"permission\\": \\"\\",\\n \\"region\\": \\"ch-hangzhou\\"\\n }\\n ]\\n }\\n}","type":"json"}]', 'title' => '启用 TemplateMCP 服务', 'description' => '启动后,会自动部署沙箱模板对应的MCP服务函数,MCP服务保证mcp-session-id和SandboxID的唯一映射。MCP client执行工具调用时,MCP服务会自动创建Sandbox', ], 'CreateSandbox' => [ 'summary' => '创建 Sandbox。', 'description' => '根据模板创建一个新的沙箱实例。沙箱是运行时的执行环境,可以执行代码或运行浏览器。', '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' => [ 'title' => '创建沙箱请求参数', 'description' => '创建沙箱请求参数', 'required' => true, '$ref' => '#/components/schemas/CreateSandboxInput', ], ], ], 'responses' => [ 200 => [ 'description' => '成功响应 - 返回创建的沙箱信息,包括沙箱ID、状态等详细信息', 'schema' => [ 'title' => '返回创建结构体的结果', 'description' => '返回创建结构体的结果', '$ref' => '#/components/schemas/SandboxResult', ], 'examples' => [], ], 500 => [ 'schema' => [ '$ref' => '#/components/schemas/ErrorResult', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"\\",\\n \\"requestId\\": \\"\\",\\n \\"data\\": {\\n \\"sandboxId\\": \\"\\",\\n \\"templateId\\": \\"\\",\\n \\"templateName\\": \\"\\",\\n \\"status\\": \\"\\",\\n \\"createdAt\\": \\"\\",\\n \\"lastUpdatedAt\\": \\"\\",\\n \\"sandboxIdleTimeoutSeconds\\": 0,\\n \\"endedAt\\": \\"\\",\\n \\"sandboxArn\\": \\"\\",\\n \\"sandboxIdleTTLInSeconds\\": 0,\\n \\"metadata\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n }\\n}","type":"json"}]', 'title' => '创建 Sandbox', ], 'GetSandbox' => [ 'summary' => '获取 Sandbox。', 'description' => '根据沙箱ID获取指定沙箱的详细信息,包括状态、配置等。', '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' => [ 'title' => '沙箱ID', 'description' => '沙箱ID', 'type' => 'string', 'required' => true, 'example' => 'sb-1234567890abcdef', ], 'examples' => [], ], ], 'responses' => [ 200 => [ 'description' => '成功响应 - 返回指定沙箱的完整信息,包括状态、配置等', 'schema' => [ 'title' => '返回获取结构体的结果', 'description' => '返回获取结构体的结果', '$ref' => '#/components/schemas/SandboxResult', ], 'examples' => [], ], 500 => [ 'schema' => [ '$ref' => '#/components/schemas/ErrorResult', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"\\",\\n \\"requestId\\": \\"\\",\\n \\"data\\": {\\n \\"sandboxId\\": \\"\\",\\n \\"templateId\\": \\"\\",\\n \\"templateName\\": \\"\\",\\n \\"status\\": \\"\\",\\n \\"createdAt\\": \\"\\",\\n \\"lastUpdatedAt\\": \\"\\",\\n \\"sandboxIdleTimeoutSeconds\\": 0,\\n \\"endedAt\\": \\"\\",\\n \\"sandboxArn\\": \\"\\",\\n \\"sandboxIdleTTLInSeconds\\": 0,\\n \\"metadata\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n }\\n}","type":"json"}]', 'title' => '获取 Sandbox', ], 'ListSandboxes' => [ 'summary' => '列出 Sandbox。', 'description' => '获取当前用户的所有沙箱列表,支持按模板名称过滤,支持分页查询。', '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' => [ 'title' => '模板名称', 'description' => '模板名称', 'type' => 'string', 'required' => false, 'example' => 'templateName', ], 'examples' => [], ], [ 'name' => 'templateType', 'in' => 'query', 'schema' => [ 'title' => '模板类型', 'description' => '模板类型', 'type' => 'string', 'required' => false, 'example' => 'TASK', ], ], [ 'name' => 'maxResults', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => [ 'title' => '最大返回数量', 'description' => '页码', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1000', ], 'examples' => [], ], [ 'name' => 'nextToken', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => [ 'title' => '分页Token', 'description' => '分页游标。 说明 该字段不为空,表示有更多数据。', 'type' => 'string', 'required' => false, 'example' => 'dnLkmeaJc9vHgbzREh2l0J4dD+2BRJj42DLT6GrZysw=', ], 'examples' => [], ], [ 'name' => 'status', 'in' => 'query', 'schema' => [ 'title' => '状态', 'description' => '状态', 'type' => 'string', 'required' => false, 'example' => 'CREATING', ], ], ], 'responses' => [ 200 => [ 'description' => '成功响应 - 返回沙箱列表,包含分页信息和沙箱详情', 'schema' => [ 'title' => '返回列表结构体的结果', 'description' => '返回列表结构体的结果', '$ref' => '#/components/schemas/ListSandboxesResult', ], 'examples' => [], ], 500 => [ 'schema' => [ '$ref' => '#/components/schemas/ErrorResult', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"\\",\\n \\"requestId\\": \\"\\",\\n \\"data\\": {\\n \\"nextToken\\": \\"\\",\\n \\"items\\": [\\n {\\n \\"sandboxId\\": \\"\\",\\n \\"templateId\\": \\"\\",\\n \\"templateName\\": \\"\\",\\n \\"status\\": \\"\\",\\n \\"createdAt\\": \\"\\",\\n \\"lastUpdatedAt\\": \\"\\",\\n \\"sandboxIdleTimeoutSeconds\\": 0,\\n \\"endedAt\\": \\"\\",\\n \\"sandboxArn\\": \\"\\",\\n \\"sandboxIdleTTLInSeconds\\": 0,\\n \\"metadata\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n }\\n ]\\n }\\n}","type":"json"}]', 'title' => '列出 Sandbox', ], 'StopSandbox' => [ 'summary' => '停止 Sandbox。', 'description' => '停止指定的沙箱实例。停止后,沙箱将进入TERMINATED状态。', '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' => [ 'title' => '沙箱ID', 'description' => '沙箱ID', 'type' => 'string', 'required' => true, 'example' => 'sb-1234567890abcdef', ], 'examples' => [], ], ], 'responses' => [ 200 => [ 'description' => '成功响应 - 沙箱停止成功', 'schema' => [ 'description' => '返回删除结构体的结果', '$ref' => '#/components/schemas/StopSandboxResult', ], 'examples' => [], ], 500 => [ 'schema' => [ '$ref' => '#/components/schemas/ErrorResult', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"\\",\\n \\"requestId\\": \\"\\",\\n \\"data\\": {\\n \\"sandboxId\\": \\"\\",\\n \\"templateId\\": \\"\\",\\n \\"templateName\\": \\"\\",\\n \\"status\\": \\"\\",\\n \\"createdAt\\": \\"\\",\\n \\"lastUpdatedAt\\": \\"\\",\\n \\"sandboxIdleTimeoutSeconds\\": 0,\\n \\"endedAt\\": \\"\\",\\n \\"sandboxArn\\": \\"\\",\\n \\"sandboxIdleTTLInSeconds\\": 0,\\n \\"metadata\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n }\\n}","type":"json"}]', 'title' => '停止 Sandbox', ], 'DeleteSandbox' => [ 'summary' => '删除Sandbox实例。', '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' => [ 'title' => '沙箱 ID', 'description' => '沙箱 ID', 'type' => 'string', 'required' => true, 'example' => 'sb-1234567', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '沙箱删除结果', 'description' => '沙箱删除结果', '$ref' => '#/components/schemas/DeleteSandboxResult', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"\\",\\n \\"requestId\\": \\"\\",\\n \\"data\\": {\\n \\"sandboxId\\": \\"\\",\\n \\"templateId\\": \\"\\",\\n \\"templateName\\": \\"\\",\\n \\"status\\": \\"\\",\\n \\"createdAt\\": \\"\\",\\n \\"lastUpdatedAt\\": \\"\\",\\n \\"sandboxIdleTimeoutSeconds\\": 0,\\n \\"endedAt\\": \\"\\",\\n \\"sandboxArn\\": \\"\\",\\n \\"sandboxIdleTTLInSeconds\\": 0,\\n \\"metadata\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n }\\n}","type":"json"}]', 'title' => '删除 Sandbox', 'description' => '根据模板创建一个新的沙箱实例。沙箱是运行时的执行环境,可以执行代码或运行浏览器。', ], 'CreateModelService' => [ 'summary' => '创建模型。', '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' => '创建代码解释器所需的输入参数', 'required' => false, '$ref' => '#/components/schemas/CreateModelServiceInput', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => 'ModelServiceResult', '$ref' => '#/components/schemas/ModelServiceResult', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], '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 \\"\\"\\n ]\\n },\\n \\"statusReason\\": \\"\\",\\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 \\"modelServiceId\\": \\"\\"\\n }\\n}","type":"json"}]', 'title' => '创建模型', 'description' => '获取当前用户的所有模板列表,支持按模板类型过滤,支持分页查询。', ], 'UpdateModelService' => [ 'summary' => '更新模型。', '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' => 'modelServiceName', 'type' => 'string', 'required' => true, 'example' => 'modelServiceName', ], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => '请求体', 'required' => false, '$ref' => '#/components/schemas/UpdateModelServiceInput', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => 'ModelServiceResult', '$ref' => '#/components/schemas/ModelServiceResult', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], '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 \\"\\"\\n ]\\n },\\n \\"statusReason\\": \\"\\",\\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 \\"modelServiceId\\": \\"\\"\\n }\\n}","type":"json"}]', 'title' => '更新模型', 'description' => '获取当前用户的所有模板列表,支持按模板类型过滤,支持分页查询。', ], 'GetModelService' => [ 'summary' => '获取模型信息。', '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' => 'modelServiceName', 'type' => 'string', 'required' => true, 'example' => 'modelServiceName', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => 'ModelServiceResult', '$ref' => '#/components/schemas/ModelServiceResult', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], '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 \\"\\"\\n ]\\n },\\n \\"statusReason\\": \\"\\",\\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 \\"modelServiceId\\": \\"\\"\\n }\\n}","type":"json"}]', 'title' => '获取模型信息', 'description' => '获取当前用户的所有模板列表,支持按模板类型过滤,支持分页查询。', ], 'DeleteModelService' => [ 'summary' => '删除模型。', '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' => 'A short description of struct', 'description' => 'A short description of struct', 'type' => 'string', 'required' => true, 'example' => 'modelServiceName', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => 'DeleteModelServiceResult', '$ref' => '#/components/schemas/DeleteModelServiceResult', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], '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 \\"\\"\\n ]\\n },\\n \\"statusReason\\": \\"\\",\\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 \\"modelServiceId\\": \\"\\"\\n }\\n}","type":"json"}]', 'title' => '删除模型', 'description' => '获取当前用户的所有模板列表,支持按模板类型过滤,支持分页查询。', ], 'ListModelServices' => [ 'summary' => '列出全部模型。', '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' => '模型类型'."\n" ."\n" .'- system 系统内置模型'."\n" .'- deployment 自定义部署模型', 'type' => 'string', 'required' => true, 'example' => 'system', ], ], [ 'name' => 'provider', 'in' => 'query', 'schema' => [ 'description' => '云厂商,目前只支持Aliyun。', 'type' => 'string', 'required' => false, 'example' => 'Aliyun', ], ], [ 'name' => 'providerType', 'in' => 'query', 'schema' => [ 'description' => '供应商类型', 'type' => 'string', 'required' => false, 'example' => 'providerType', ], ], [ 'name' => 'pageNumber', 'in' => 'query', 'schema' => [ 'description' => '页码', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', ], ], [ 'name' => 'pageSize', 'in' => 'query', 'schema' => [ 'description' => '页面大小', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => 'ListModelServicesResult', '$ref' => '#/components/schemas/ListModelServicesResult', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], '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 \\"\\"\\n ]\\n },\\n \\"statusReason\\": \\"\\",\\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 \\"modelServiceId\\": \\"\\"\\n }\\n ]\\n }\\n}","type":"json"}]', 'title' => '列出全部模型', 'description' => '获取当前用户的所有模板列表,支持按模板类型过滤,支持分页查询。', ], 'CreateModelProxy' => [ 'summary' => '创建模型治理', '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' => '创建智能体运行时所需的输入参数', 'required' => false, '$ref' => '#/components/schemas/CreateModelProxyInput', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => 'ModelProxyResult', '$ref' => '#/components/schemas/ModelProxyResult', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], '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\\": true,\\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\\": true,\\n \\"checkResponse\\": true,\\n \\"level\\": \\"\\",\\n \\"maxTextLength\\": 0,\\n \\"blockOnContentModeration\\": true,\\n \\"blockOnSensitiveData\\": true,\\n \\"blockOnPromptAttack\\": true,\\n \\"blockOnMaliciousUrl\\": true,\\n \\"blockOnModelHallucination\\": true\\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 \\"\\"\\n ]\\n },\\n \\"statusReason\\": \\"\\",\\n \\"logConfiguration\\": {\\n \\"project\\": \\"agent-runtime-logs\\",\\n \\"logstore\\": \\"agent-runtime-logs\\"\\n },\\n \\"executionRoleArn\\": \\"\\"\\n }\\n}","type":"json"}]', 'title' => '创建模型治理', 'description' => '获取当前用户的所有模板列表,支持按模板类型过滤,支持分页查询。', ], 'UpdateModelProxy' => [ 'summary' => '更新模型治理。', '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' => 'modelProxyName', 'type' => 'string', 'required' => true, 'example' => 'modelProxyName', ], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => '更新智能体运行时输入', 'required' => false, '$ref' => '#/components/schemas/UpdateModelProxyInput', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => 'ModelProxyResult', '$ref' => '#/components/schemas/ModelProxyResult', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], '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\\": true,\\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\\": true,\\n \\"checkResponse\\": true,\\n \\"level\\": \\"\\",\\n \\"maxTextLength\\": 0,\\n \\"blockOnContentModeration\\": true,\\n \\"blockOnSensitiveData\\": true,\\n \\"blockOnPromptAttack\\": true,\\n \\"blockOnMaliciousUrl\\": true,\\n \\"blockOnModelHallucination\\": true\\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 \\"\\"\\n ]\\n },\\n \\"statusReason\\": \\"\\",\\n \\"logConfiguration\\": {\\n \\"project\\": \\"agent-runtime-logs\\",\\n \\"logstore\\": \\"agent-runtime-logs\\"\\n },\\n \\"executionRoleArn\\": \\"\\"\\n }\\n}","type":"json"}]', 'title' => '更新模型治理', 'description' => '获取当前用户的所有模板列表,支持按模板类型过滤,支持分页查询。', ], 'GetModelProxy' => [ 'summary' => '获取模型治理信息。', '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' => 'modelProxyName', 'type' => 'string', 'required' => true, 'example' => 'modelProxyName', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => 'ModelProxyResult', '$ref' => '#/components/schemas/ModelProxyResult', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], '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\\": true,\\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\\": true,\\n \\"checkResponse\\": true,\\n \\"level\\": \\"\\",\\n \\"maxTextLength\\": 0,\\n \\"blockOnContentModeration\\": true,\\n \\"blockOnSensitiveData\\": true,\\n \\"blockOnPromptAttack\\": true,\\n \\"blockOnMaliciousUrl\\": true,\\n \\"blockOnModelHallucination\\": true\\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 \\"\\"\\n ]\\n },\\n \\"statusReason\\": \\"\\",\\n \\"logConfiguration\\": {\\n \\"project\\": \\"agent-runtime-logs\\",\\n \\"logstore\\": \\"agent-runtime-logs\\"\\n },\\n \\"executionRoleArn\\": \\"\\"\\n }\\n}","type":"json"}]', 'title' => '获取模型治理信息', 'description' => '获取当前用户的所有模板列表,支持按模板类型过滤,支持分页查询。', ], 'DeleteModelProxy' => [ 'summary' => '删除模型', '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' => 'A short description of struct', 'description' => 'A short description of struct', 'type' => 'string', 'required' => true, 'example' => 'modelProxyName', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => 'DeleteModelProxyResult', '$ref' => '#/components/schemas/DeleteModelProxyResult', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], '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\\": true,\\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\\": true,\\n \\"checkResponse\\": true,\\n \\"level\\": \\"\\",\\n \\"maxTextLength\\": 0,\\n \\"blockOnContentModeration\\": true,\\n \\"blockOnSensitiveData\\": true,\\n \\"blockOnPromptAttack\\": true,\\n \\"blockOnMaliciousUrl\\": true,\\n \\"blockOnModelHallucination\\": true\\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 \\"\\"\\n ]\\n },\\n \\"statusReason\\": \\"\\",\\n \\"logConfiguration\\": {\\n \\"project\\": \\"agent-runtime-logs\\",\\n \\"logstore\\": \\"agent-runtime-logs\\"\\n },\\n \\"executionRoleArn\\": \\"\\"\\n }\\n}","type":"json"}]', 'title' => '删除模型治理', 'description' => '获取当前用户的所有模板列表,支持按模板类型过滤,支持分页查询。', ], 'ListModelProxies' => [ 'summary' => '列出全部模型治理。', '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' => 'proxyMode', 'type' => 'string', 'required' => false, 'example' => 'proxyMode', ], ], [ 'name' => 'status', 'in' => 'query', 'schema' => [ 'description' => '按状态过滤', 'type' => 'string', 'required' => false, 'example' => 'CREATING', ], ], [ 'name' => 'pageNumber', 'in' => 'query', 'schema' => [ 'description' => '页码', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', ], ], [ 'name' => 'pageSize', 'in' => 'query', 'schema' => [ 'description' => '分页大小,默认pageSize = 20', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => 'ListModelProxiesResult', '$ref' => '#/components/schemas/ListModelProxiesResult', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], '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\\": true,\\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\\": true,\\n \\"checkResponse\\": true,\\n \\"level\\": \\"\\",\\n \\"maxTextLength\\": 0,\\n \\"blockOnContentModeration\\": true,\\n \\"blockOnSensitiveData\\": true,\\n \\"blockOnPromptAttack\\": true,\\n \\"blockOnMaliciousUrl\\": true,\\n \\"blockOnModelHallucination\\": true\\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 \\"\\"\\n ]\\n },\\n \\"statusReason\\": \\"\\",\\n \\"logConfiguration\\": {\\n \\"project\\": \\"agent-runtime-logs\\",\\n \\"logstore\\": \\"agent-runtime-logs\\"\\n },\\n \\"executionRoleArn\\": \\"\\"\\n }\\n ]\\n }\\n}","type":"json"}]', 'title' => '列出全部模型治理', 'description' => '获取当前用户的所有沙箱列表,支持按模板名称过滤,支持分页查询。', ], 'GetMemoryCollection' => [ 'summary' => '查询记忆存储详情', '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' => '记忆存储名称', 'type' => 'string', 'required' => false, 'example' => 'my-memory-1', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '记忆存储详情', '$ref' => '#/components/schemas/MemoryCollectionResult', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], '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 \\"\\"\\n ]\\n },\\n \\"executionRoleArn\\": \\"\\",\\n \\"createdAt\\": \\"\\",\\n \\"lastUpdatedAt\\": \\"\\",\\n \\"enableConversationHistory\\": true,\\n \\"enableConversationState\\": true\\n }\\n}","type":"json"}]', 'title' => '获取记忆存储', ], 'UpdateMemoryCollection' => [ 'summary' => '修改记忆存储信息', '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' => '记忆存储名称', 'type' => 'string', 'required' => false, 'example' => 'my-memory-1', ], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => '更新记忆存储所需的输入参数', 'required' => false, '$ref' => '#/components/schemas/UpdateMemoryCollectionInput', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '记忆存储', '$ref' => '#/components/schemas/MemoryCollectionResult', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], '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 \\"\\"\\n ]\\n },\\n \\"executionRoleArn\\": \\"\\",\\n \\"createdAt\\": \\"\\",\\n \\"lastUpdatedAt\\": \\"\\",\\n \\"enableConversationHistory\\": true,\\n \\"enableConversationState\\": true\\n }\\n}","type":"json"}]', 'title' => '更新记忆存储', ], 'DeleteMemoryCollection' => [ 'summary' => '删除记忆存储', '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' => '记忆存储名称', 'type' => 'string', 'required' => false, 'example' => 'my-memory-1', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '记忆存储详情', '$ref' => '#/components/schemas/MemoryCollectionResult', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], '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 \\"\\"\\n ]\\n },\\n \\"executionRoleArn\\": \\"\\",\\n \\"createdAt\\": \\"\\",\\n \\"lastUpdatedAt\\": \\"\\",\\n \\"enableConversationHistory\\": true,\\n \\"enableConversationState\\": true\\n }\\n}","type":"json"}]', 'title' => '删除记忆存储', ], 'CreateMemoryCollection' => [ 'summary' => '添加记忆存储', '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' => '记忆存储配置信息', 'required' => false, '$ref' => '#/components/schemas/CreateMemoryCollectionInput', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '记忆存储配置信息', '$ref' => '#/components/schemas/MemoryCollectionResult', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], '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 \\"\\"\\n ]\\n },\\n \\"executionRoleArn\\": \\"\\",\\n \\"createdAt\\": \\"\\",\\n \\"lastUpdatedAt\\": \\"\\",\\n \\"enableConversationHistory\\": true,\\n \\"enableConversationState\\": true\\n }\\n}","type":"json"}]', 'title' => '创建记忆存储', ], 'ListMemoryCollections' => [ 'summary' => '查询记忆存储列表', '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' => '页码,默认 pageNumber=1', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', ], ], [ 'name' => 'pageSize', 'in' => 'query', 'schema' => [ 'description' => '分页大小,默认pageSize = 20', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20', ], ], [ 'name' => 'status', 'in' => 'query', 'schema' => [ 'description' => '状态', 'type' => 'string', 'required' => false, 'example' => 'READY', ], ], [ 'name' => 'type', 'in' => 'query', 'schema' => [ 'description' => '类型', 'type' => 'string', 'required' => false, 'example' => 'mem0', ], ], [ 'name' => 'memoryCollectionName', 'in' => 'query', 'schema' => [ 'description' => '记忆存储名称', 'type' => 'string', 'required' => false, 'example' => 'my-memory-1', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '记忆存储列表', '$ref' => '#/components/schemas/ListMemoryCollectionsResult', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], '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 \\"\\"\\n ]\\n },\\n \\"executionRoleArn\\": \\"\\",\\n \\"createdAt\\": \\"\\",\\n \\"lastUpdatedAt\\": \\"\\",\\n \\"enableConversationHistory\\": true,\\n \\"enableConversationState\\": true\\n }\\n ]\\n }\\n}","type":"json"}]', 'title' => '列出记忆存储', ], 'GetCredential' => [ 'summary' => '获取凭证信息。', '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' => 'credentialName', 'type' => 'string', 'required' => false, 'example' => 'credentialName', ], 'examples' => [], ], ], 'responses' => [ 200 => [ 'description' => 'Successful response', 'headers' => [], 'schema' => [ 'description' => 'CredentialResult', '$ref' => '#/components/schemas/CredentialResult', ], 'examples' => [], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"\\",\\n \\"requestId\\": \\"\\",\\n \\"data\\": {\\n \\"credentialId\\": \\"\\",\\n \\"credentialName\\": \\"\\",\\n \\"description\\": \\"\\",\\n \\"credentialAuthType\\": \\"\\",\\n \\"credentialSourceType\\": \\"\\",\\n \\"enabled\\": true,\\n \\"credentialSecret\\": \\"\\",\\n \\"credentialPublicConfig\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"createdAt\\": \\"\\",\\n \\"updatedAt\\": \\"\\",\\n \\"relatedResources\\": [\\n {\\n \\"resourceId\\": \\"\\",\\n \\"resourceName\\": \\"\\",\\n \\"resourceType\\": \\"\\"\\n }\\n ]\\n }\\n}","type":"json"}]', 'title' => '获取凭证信息', 'description' => '根据会话ID获取指定内存会话的详细信息,包括会话中的事件记录、时间戳等。用于查看和管理对话历史。', ], 'UpdateCredential' => [ 'summary' => '更新凭证。', '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' => 'credentialName', 'type' => 'string', 'required' => false, 'example' => 'credentialName', ], 'examples' => [], ], [ 'name' => 'body', 'in' => 'body', 'schema' => [ 'description' => '更新智能体运行时输入', 'required' => false, '$ref' => '#/components/schemas/UpdateCredentialInput', ], ], ], 'responses' => [ 200 => [ 'description' => 'Successful response', 'headers' => [], 'schema' => [ 'description' => 'CredentialResult', '$ref' => '#/components/schemas/CredentialResult', ], 'examples' => [], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"\\",\\n \\"requestId\\": \\"\\",\\n \\"data\\": {\\n \\"credentialId\\": \\"\\",\\n \\"credentialName\\": \\"\\",\\n \\"description\\": \\"\\",\\n \\"credentialAuthType\\": \\"\\",\\n \\"credentialSourceType\\": \\"\\",\\n \\"enabled\\": true,\\n \\"credentialSecret\\": \\"\\",\\n \\"credentialPublicConfig\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"createdAt\\": \\"\\",\\n \\"updatedAt\\": \\"\\",\\n \\"relatedResources\\": [\\n {\\n \\"resourceId\\": \\"\\",\\n \\"resourceName\\": \\"\\",\\n \\"resourceType\\": \\"\\"\\n }\\n ]\\n }\\n}","type":"json"}]', 'title' => '更新凭证', 'description' => '获取当前用户的所有模板列表,支持按模板类型过滤,支持分页查询。', ], 'ListCredentials' => [ 'summary' => '列出全部凭证。', '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' => '页面大小', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '0', ], 'examples' => [], ], [ 'name' => 'pageNumber', 'in' => 'query', 'allowEmptyValue' => true, 'schema' => [ 'description' => '页码', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', ], 'examples' => [], ], [ 'name' => 'credentialAuthType', 'in' => 'query', 'schema' => [ 'description' => 'credentialAuthType', 'type' => 'string', 'required' => false, 'example' => 'credentialAuthType', 'enum' => [ 'jwt', 'api_key', 'basic', 'ak_sk', 'custom_header', ], ], ], [ 'name' => 'credentialSourceType', 'in' => 'query', 'schema' => [ 'description' => 'credentialSourceType', 'type' => 'string', 'required' => false, 'example' => 'credentialSourceType', 'enum' => [ 'internal', 'external', 'external_llm', 'external_tool', ], ], ], [ 'name' => 'credentialName', 'in' => 'query', 'schema' => [ 'description' => 'credentialName', 'type' => 'string', 'required' => false, 'example' => 'credentialName', ], ], [ 'name' => 'provider', 'in' => 'query', 'schema' => [ 'description' => '云厂商,目前只支持Aliyun。', 'type' => 'string', 'required' => false, 'example' => 'Aliyun', ], ], [ 'name' => 'enabled', 'in' => 'query', 'schema' => [ 'description' => '是否启用录制', 'type' => 'boolean', 'required' => false, 'example' => 'False', ], ], ], 'responses' => [ 200 => [ 'description' => 'Successful response', 'headers' => [], 'schema' => [ 'description' => 'ListCredentialsResult', '$ref' => '#/components/schemas/ListCredentialsResult', ], 'examples' => [], ], ], '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\\": true,\\n \\"createdAt\\": \\"\\",\\n \\"updatedAt\\": \\"\\",\\n \\"relatedResourceCount\\": 0\\n }\\n ]\\n }\\n}","type":"json"}]', 'title' => '列出全部凭证', 'description' => '获取当前用户的所有沙箱列表,支持按模板名称过滤,支持分页查询。', ], 'CreateCredential' => [ 'summary' => '创建新凭证。', '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' => '创建智能体运行时所需的输入参数', 'required' => false, '$ref' => '#/components/schemas/CreateCredentialInput', ], ], ], 'responses' => [ 200 => [ 'description' => 'Successful response', 'headers' => [], 'schema' => [ 'description' => 'CredentialResult', '$ref' => '#/components/schemas/CredentialResult', ], 'examples' => [], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"\\",\\n \\"requestId\\": \\"\\",\\n \\"data\\": {\\n \\"credentialId\\": \\"\\",\\n \\"credentialName\\": \\"\\",\\n \\"description\\": \\"\\",\\n \\"credentialAuthType\\": \\"\\",\\n \\"credentialSourceType\\": \\"\\",\\n \\"enabled\\": true,\\n \\"credentialSecret\\": \\"\\",\\n \\"credentialPublicConfig\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"createdAt\\": \\"\\",\\n \\"updatedAt\\": \\"\\",\\n \\"relatedResources\\": [\\n {\\n \\"resourceId\\": \\"\\",\\n \\"resourceName\\": \\"\\",\\n \\"resourceType\\": \\"\\"\\n }\\n ]\\n }\\n}","type":"json"}]', 'title' => '创建新凭证', 'description' => '获取当前用户的所有模板列表,支持按模板类型过滤,支持分页查询。', ], 'DeleteCredential' => [ 'summary' => '删除指定凭证。', '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' => 'credentialName', 'type' => 'string', 'required' => false, 'example' => 'credentialName', ], 'examples' => [], ], ], 'responses' => [ 200 => [ 'description' => 'Successful response', 'headers' => [], 'schema' => [ 'description' => 'CredentialResult', '$ref' => '#/components/schemas/CredentialResult', ], 'examples' => [], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"\\",\\n \\"requestId\\": \\"\\",\\n \\"data\\": {\\n \\"credentialId\\": \\"\\",\\n \\"credentialName\\": \\"\\",\\n \\"description\\": \\"\\",\\n \\"credentialAuthType\\": \\"\\",\\n \\"credentialSourceType\\": \\"\\",\\n \\"enabled\\": true,\\n \\"credentialSecret\\": \\"\\",\\n \\"credentialPublicConfig\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"createdAt\\": \\"\\",\\n \\"updatedAt\\": \\"\\",\\n \\"relatedResources\\": [\\n {\\n \\"resourceId\\": \\"\\",\\n \\"resourceName\\": \\"\\",\\n \\"resourceType\\": \\"\\"\\n }\\n ]\\n }\\n}","type":"json"}]', 'title' => '删除指定凭证', 'description' => '获取当前用户的所有模板列表,支持按模板类型过滤,支持分页查询。', ], 'GetAccessToken' => [ 'summary' => '获取accessToken。', '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' => '智能体运行时的资源名称', 'type' => 'string', 'required' => false, 'example' => 'COUPON_OPERATION_CALLBACK', ], 'examples' => [], ], [ 'name' => 'resourceType', 'in' => 'query', 'schema' => [ 'description' => '资源类型', 'type' => 'string', 'required' => false, 'example' => 'SceneTestingTask', 'enum' => [ 'runtime', 'litellm', 'tool', 'template', 'sandbox', ], ], ], [ 'name' => 'resourceId', 'in' => 'query', 'schema' => [ 'description' => '资源ID。', 'type' => 'string', 'required' => false, 'example' => 'mod-kw1750tjqs94n9k37o5hjk', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'code' => [ 'description' => 'SUCCESS 为成功,失败情况返回对应错误类型,比如 ERR_BAD_REQUEST ERR_VALIDATION_FAILED ERR_INTERNAL_SERVER_ERROR', 'type' => 'string', 'example' => 'SUCCESS', ], 'requestId' => [ 'description' => '唯一的请求标识符,用于问题追踪', 'type' => 'string', 'example' => 'F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E', ], 'data' => [ 'description' => '返回结果', 'type' => 'object', 'properties' => [ 'accessToken' => [ 'description' => '个人访问令牌。 '."\n" .'使用阿里云AK+SK或使用STS临时授权方式不需要传该字段'."\n" ."\n", 'type' => 'string', 'example' => 'accessToken', ], ], ], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"SUCCESS\\",\\n \\"requestId\\": \\"F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E\\",\\n \\"data\\": {\\n \\"accessToken\\": \\"accessToken\\"\\n }\\n}","type":"json"}]', 'title' => '获取accessToken', 'description' => '根据会话ID获取指定内存会话的详细信息,包括会话中的事件记录、时间戳等。用于查看和管理对话历史。', ], 'CreateKnowledgeBase' => [ 'summary' => '创建知识库。', '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' => '创建知识库数据结构。', 'required' => false, '$ref' => '#/components/schemas/CreateKnowledgeBaseInput', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '创建知识库返回结果。', '$ref' => '#/components/schemas/KnowledgeBaseResult', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], '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 }\\n}","type":"json"}]', 'title' => '创建知识库', ], 'UpdateKnowledgeBase' => [ 'summary' => '更新知识库。', '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' => '知识库名称。', 'type' => 'string', 'required' => true, 'example' => 'my-knowledgebase-name', ], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => '更新知识库请求体。', 'required' => false, '$ref' => '#/components/schemas/UpdateKnowledgeBaseInput', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '更新后的知识库返回结果。', '$ref' => '#/components/schemas/KnowledgeBaseResult', ], ], ], '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.', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], '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 }\\n}","type":"json"}]', 'title' => '更新知识库', ], 'DeleteKnowledgeBase' => [ 'summary' => '删除知识库。', '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' => '知识库名称。', 'type' => 'string', 'required' => true, 'example' => 'my-knowledgebase-name', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '删除知识库返回结果。', '$ref' => '#/components/schemas/KnowledgeBaseResult', ], ], ], '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.', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], '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 }\\n}","type":"json"}]', 'title' => '删除知识库', ], 'GetKnowledgeBase' => [ 'summary' => '获取知识库。', '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' => '知识库名称。', 'type' => 'string', 'required' => true, 'example' => 'my-knowledgebase-name', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '获取知识库结果。', '$ref' => '#/components/schemas/KnowledgeBaseResult', ], ], ], '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.', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], '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 }\\n}","type":"json"}]', 'title' => '获取知识库', ], 'ListKnowledgeBases' => [ 'summary' => '列出知识库。', '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' => '知识库供应商。', 'type' => 'string', 'required' => false, 'example' => 'bailian', ], ], [ 'name' => 'pageNumber', 'in' => 'query', 'schema' => [ 'description' => '分页页码,从1开始,不填默认1。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', ], ], [ 'name' => 'pageSize', 'in' => 'query', 'schema' => [ 'description' => '分页大小,默认pageSize = 20', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '知识库列表结果。', '$ref' => '#/components/schemas/ListKnowledgeBasesResult', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], '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 }\\n ]\\n }\\n}","type":"json"}]', 'title' => '列出知识库', ], 'ListModelProviders' => [ 'summary' => '列出全部模型供应商。', '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' => '模型类型'."\n" ."\n" .'- system 系统内置模型'."\n" .'- deployment 自定义部署模型', 'type' => 'string', 'required' => false, 'example' => 'pop', ], ], [ 'name' => 'provider', 'in' => 'query', 'schema' => [ 'description' => '云厂商,目前只支持Aliyun。', 'type' => 'string', 'required' => false, 'example' => 'Aliyun', ], ], [ 'name' => 'modelName', 'in' => 'query', 'schema' => [ 'description' => '模型名称', 'type' => 'string', 'required' => false, 'example' => 'aa', ], ], [ 'name' => 'pageNumber', 'in' => 'query', 'schema' => [ 'description' => '页码', 'type' => 'string', 'required' => false, 'example' => '1', ], ], [ 'name' => 'pageSize', 'in' => 'query', 'schema' => [ 'description' => '页面大小', 'type' => 'string', 'required' => false, 'example' => '10', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'code' => [ 'description' => '响应码。', 'type' => 'string', 'example' => 'SUCCESS', ], 'requestId' => [ 'description' => '唯一的请求标识符,用于问题追踪', 'type' => 'string', 'example' => 'F8A0F5F3-0C3E-4C82-9D4F-5E4B6A7C8D9E', ], 'data' => [ 'description' => '智能体运行时版本列表输出', 'type' => 'object', 'properties' => [ 'items' => [ 'description' => '记忆名称。', 'type' => 'array', 'items' => [ 'description' => '浏览器列表', 'type' => 'object', 'properties' => [ 'providerName' => [ 'description' => '提供者名称', 'type' => 'string', 'example' => 'providerName', ], 'modelType' => [ 'description' => '模型类别'."\n" .'- a. 文本向量化:text_embedding'."\n" .'- b. 文本稀疏向量化:text_sparse_embedding'."\n" .'- c. 图片向量化:image_embedding'."\n" .'- d. 图片内容解析:image_analyze', 'type' => 'string', 'example' => 'native', ], 'baseUrl' => [ 'description' => 'baseUrl', 'type' => 'string', 'example' => 'baseUrl', ], 'models' => [ 'description' => '算法工程ID', 'type' => 'array', 'items' => [ 'description' => '模型名称', 'type' => 'string', 'example' => 'name', ], ], 'modelInfoConfig' => [ 'description' => 'modelInfoConfig', '$ref' => '#/components/schemas/ModelInfoConfig', ], ], ], ], 'total' => [ 'description' => '总数', 'type' => 'integer', 'format' => 'int64', 'example' => '211', ], 'pageSize' => [ 'description' => '页面大小', 'type' => 'integer', 'format' => 'int32', 'example' => '10', ], 'pageNumber' => [ 'description' => '页码', 'type' => 'integer', 'format' => 'int32', 'example' => '1', ], ], ], ], ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], '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"}]', 'title' => '列出全部模型供应商', 'description' => '获取当前用户的所有沙箱列表,支持按模板名称过滤,支持分页查询。', ], 'DeleteCustomDomain' => [ 'summary' => '删除自定义域名。', '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' => '自定义域名', 'type' => 'string', 'required' => false, 'example' => 'mydomain.com', ], ], ], 'responses' => [ 200 => [ 'description' => 'Successful response', 'headers' => [], 'schema' => [ 'description' => '自定义域名信息', '$ref' => '#/components/schemas/CustomDomainResult', ], 'examples' => [], ], ], '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 \\"methods\\": [\\n \\"\\"\\n ]\\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"}]', 'title' => '删除自定义域名', ], 'ListCustomDomains' => [ 'summary' => '获取自定义域名信息列表。', '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' => '页面大小', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20', ], 'examples' => [], ], [ 'name' => 'pageNumber', 'in' => 'query', 'allowEmptyValue' => true, 'schema' => [ 'description' => '页码', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', ], 'examples' => [], ], [ 'name' => 'domainName', 'in' => 'query', 'schema' => [ 'description' => '自定义域名', 'type' => 'string', 'required' => false, 'example' => 'mydomain.com', ], ], [ 'name' => 'resourceName', 'in' => 'query', 'schema' => [ 'description' => '关联自定义域名的资源名称', 'type' => 'string', 'required' => false, 'example' => 'agent-1', ], ], [ 'name' => 'resourceType', 'in' => 'query', 'schema' => [ 'description' => '关联自定义域名的资源类型', 'type' => 'string', 'required' => false, 'enumValueTitles' => [ 'runtime' => 'runtime', ], 'example' => 'runtime', 'enum' => [ 'runtime', 'litellm', 'template', 'tool', ], ], ], ], 'responses' => [ 200 => [ 'description' => 'Successful response', 'headers' => [], 'schema' => [ 'description' => '自定义域名信息', '$ref' => '#/components/schemas/ListCustomDomainsResult', ], 'examples' => [], ], ], '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 \\"methods\\": [\\n \\"\\"\\n ]\\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"}]', 'title' => '列出自定义域名', ], 'CreateCustomDomain' => [ 'summary' => '创建自定义域名', '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' => '创建自定义域名请求参数', 'required' => false, '$ref' => '#/components/schemas/CreateCustomDomainInput', ], ], ], 'responses' => [ 200 => [ 'description' => 'Successful response', 'headers' => [], 'schema' => [ 'description' => '自定义域名的结果格式', '$ref' => '#/components/schemas/CustomDomainResult', ], 'examples' => [], ], ], '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 \\"methods\\": [\\n \\"\\"\\n ]\\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"}]', 'title' => '创建自定义域名', ], 'GetCustomDomain' => [ 'summary' => '获取自定义域名配置。', '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' => '自定义域名', 'type' => 'string', 'required' => false, 'example' => 'mydomain.com', ], ], ], 'responses' => [ 200 => [ 'description' => 'Successful response', 'headers' => [], 'schema' => [ 'description' => '自定义域名信息', '$ref' => '#/components/schemas/CustomDomainResult', ], 'examples' => [], ], ], '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 \\"methods\\": [\\n \\"\\"\\n ]\\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"}]', 'title' => '获取自定义域名', ], 'UpdateCustomDomain' => [ 'summary' => '更新自定义域名。', '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' => '自定义域名', 'type' => 'string', 'required' => false, 'example' => 'foo.bar.com', ], ], [ 'name' => 'body', 'in' => 'body', 'schema' => [ 'description' => '自定义域名信息', 'required' => false, '$ref' => '#/components/schemas/UpdateCustomDomainInput', ], ], ], 'responses' => [ 200 => [ 'description' => 'Successful response', 'headers' => [], 'schema' => [ 'description' => '自定义域名信息', '$ref' => '#/components/schemas/CustomDomainResult', ], 'examples' => [], ], ], '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 \\"methods\\": [\\n \\"\\"\\n ]\\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"}]', 'title' => '更新自定义域名', ], 'CreateBrowser' => [ 'summary' => '创建浏览器沙箱', 'description' => '创建一个新的浏览器实例,用于执行网页自动化任务。浏览器实例提供网页浏览、元素操作、截图录制等功能。', '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' => '创建参数请求体', 'required' => true, '$ref' => '#/components/schemas/CreateBrowserInput', ], ], ], 'responses' => [ 200 => [ 'description' => '成功响应 - 返回创建的浏览器实例信息,包括浏览器ID、状态、配置等详细信息', 'schema' => [ 'title' => '返回创建结构体的结果', 'description' => '返回创建结构体的结果', '$ref' => '#/components/schemas/BrowserResult', ], 'examples' => [], ], ], '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 \\"\\"\\n ]\\n },\\n \\"recording\\": {\\n \\"enabled\\": true,\\n \\"ossLocation\\": {\\n \\"bucket\\": \\"\\",\\n \\"prefix\\": \\"\\"\\n }\\n },\\n \\"memory\\": 2048,\\n \\"resourceName\\": \\"my-browser-resource\\",\\n \\"credentialId\\": \\"cred-1234567890abcdef\\",\\n \\"cpu\\": 2,\\n \\"tags\\": [\\n \\"\\"\\n ],\\n \\"tenantId\\": \\"tenant-1234567890abcdef\\"\\n }\\n}","type":"json"}]', 'title' => '创建浏览器沙箱', ], 'ListBrowsers' => [ 'summary' => '获取浏览器沙箱列表', 'description' => '获取当前用户的所有浏览器实例列表,支持按名称、状态等条件过滤,支持分页查询。', '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' => '按浏览器名称过滤', 'type' => 'string', 'required' => false, 'example' => 'browser', ], 'examples' => [], ], [ 'name' => 'pageSize', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => [ 'title' => '页面大小', 'description' => '页面大小', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', ], 'examples' => [], ], [ 'name' => 'pageNumber', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => [ 'title' => '页码', 'description' => '页码', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', ], 'examples' => [], ], [ 'name' => 'status', 'in' => 'query', 'allowEmptyValue' => true, 'schema' => [ 'title' => '按状态过滤', 'description' => '按状态过滤', 'type' => 'string', 'required' => false, 'example' => 'CREATING', ], 'examples' => [], ], ], 'responses' => [ 200 => [ 'description' => '成功响应 - 返回浏览器实例列表,包含分页信息和实例详情', 'schema' => [ 'title' => '返回列表结构体的结果', 'description' => '返回列表结构体的结果', '$ref' => '#/components/schemas/ListBrowsersResult', ], 'examples' => [], ], ], '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 \\"\\"\\n ]\\n },\\n \\"recording\\": {\\n \\"enabled\\": true,\\n \\"ossLocation\\": {\\n \\"bucket\\": \\"\\",\\n \\"prefix\\": \\"\\"\\n }\\n },\\n \\"memory\\": 2048,\\n \\"resourceName\\": \\"my-browser-resource\\",\\n \\"credentialId\\": \\"cred-1234567890abcdef\\",\\n \\"cpu\\": 2,\\n \\"tags\\": [\\n \\"\\"\\n ],\\n \\"tenantId\\": \\"tenant-1234567890abcdef\\"\\n }\\n ]\\n }\\n}","type":"json"}]', 'title' => '获取浏览器沙箱列表', ], 'GetBrowser' => [ 'summary' => '获取浏览器沙箱', 'description' => '根据浏览器ID获取指定浏览器实例的详细信息,包括配置、状态、资源使用情况等。', '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' => '浏览器ID', 'description' => '浏览器ID', 'type' => 'string', 'required' => true, 'example' => '12345678-1234-1234-1234-123456789abc', ], 'examples' => [], ], ], 'responses' => [ 200 => [ 'description' => '成功响应 - 返回指定浏览器实例的完整信息,包括配置参数、运行状态、资源分配等', 'schema' => [ 'title' => '返回获取结构体的结果', 'description' => '返回获取结构体的结果', '$ref' => '#/components/schemas/BrowserResult', ], 'examples' => [], ], ], '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 \\"\\"\\n ]\\n },\\n \\"recording\\": {\\n \\"enabled\\": true,\\n \\"ossLocation\\": {\\n \\"bucket\\": \\"\\",\\n \\"prefix\\": \\"\\"\\n }\\n },\\n \\"memory\\": 2048,\\n \\"resourceName\\": \\"my-browser-resource\\",\\n \\"credentialId\\": \\"cred-1234567890abcdef\\",\\n \\"cpu\\": 2,\\n \\"tags\\": [\\n \\"\\"\\n ],\\n \\"tenantId\\": \\"tenant-1234567890abcdef\\"\\n }\\n}","type":"json"}]', 'title' => '获取浏览器沙箱', ], 'DeleteBrowser' => [ 'summary' => '删除浏览器沙箱', 'description' => '删除指定的浏览器实例,包括其所有相关资源和数据。删除操作不可逆,请谨慎操作。', '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' => '浏览器ID', 'description' => '浏览器ID', 'type' => 'string', 'required' => true, 'example' => '12345678-1234-1234-1234-123456789abc', ], 'examples' => [], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '返回删除结构体的结果', 'description' => '返回删除结构体的结果', '$ref' => '#/components/schemas/DeleteBrowserResult', ], ], ], '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 \\"\\"\\n ]\\n },\\n \\"recording\\": {\\n \\"enabled\\": true,\\n \\"ossLocation\\": {\\n \\"bucket\\": \\"\\",\\n \\"prefix\\": \\"\\"\\n }\\n },\\n \\"memory\\": 2048,\\n \\"resourceName\\": \\"my-browser-resource\\",\\n \\"credentialId\\": \\"cred-1234567890abcdef\\",\\n \\"cpu\\": 2,\\n \\"tags\\": [\\n \\"\\"\\n ],\\n \\"tenantId\\": \\"tenant-1234567890abcdef\\"\\n }\\n}","type":"json"}]', 'title' => '删除浏览器沙箱', ], 'CreateCodeInterpreter' => [ 'summary' => '创建代码解释器', 'description' => '创建一个新的代码解释器实例,用于执行代码解释和运行任务。代码解释器提供Python代码执行、数据处理、机器学习等功能。', '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' => '创建请求参数', 'required' => true, '$ref' => '#/components/schemas/CreateCodeInterpreterInput', ], ], ], 'responses' => [ 200 => [ 'description' => '代码解释器创建已接受,正在异步处理中 - 返回202状态码表示请求已接受,正在后台创建代码解释器实例', 'schema' => [ 'title' => '返回创建结构体的结果', 'description' => '返回创建结构体的结果', '$ref' => '#/components/schemas/CodeInterpreterResult', ], 'examples' => [], ], ], '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 \\"\\"\\n ]\\n },\\n \\"memory\\": 2048,\\n \\"credentialId\\": \\"cred-1234567890abcdef\\",\\n \\"cpu\\": 2,\\n \\"tenantId\\": \\"tenant-1234567890abcdef\\",\\n \\"tags\\": [\\n \\"\\"\\n ]\\n }\\n}","type":"json"}]', 'title' => '创建代码解释器', ], 'ListCodeInterpreters' => [ 'summary' => '获取代码解释器列表', 'description' => '获取当前用户的所有代码解释器实例列表,支持按名称等条件过滤,支持分页查询。', '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' => '按代码解释器名称过滤', 'type' => 'string', 'required' => false, 'example' => 'code', ], 'examples' => [], ], [ 'name' => 'pageNumber', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => [ 'title' => '页码', 'description' => '页码', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'default' => '1', ], 'examples' => [], ], [ 'name' => 'pageSize', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => [ 'title' => '页面大小', 'description' => '页面大小', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'default' => '20', ], 'examples' => [], ], ], 'responses' => [ 200 => [ 'description' => '成功响应 - 返回代码解释器实例列表,包含分页信息和实例详情', 'schema' => [ 'title' => '返回列表结构体的结果', 'description' => '返回列表结构体的结果', '$ref' => '#/components/schemas/ListCodeInterpretersResult', ], 'examples' => [], ], ], '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 \\"\\"\\n ]\\n },\\n \\"memory\\": 2048,\\n \\"credentialId\\": \\"cred-1234567890abcdef\\",\\n \\"cpu\\": 2,\\n \\"tenantId\\": \\"tenant-1234567890abcdef\\",\\n \\"tags\\": [\\n \\"\\"\\n ]\\n }\\n ]\\n }\\n}","type":"json"}]', 'title' => '获取代码解释器列表', ], 'GetCodeInterpreter' => [ 'summary' => '获取代码解释器', 'description' => '根据代码解释器ID获取指定代码解释器实例的详细信息,包括配置、状态、资源使用情况等。', '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' => '代码解释器ID', 'description' => '代码解释器ID', 'type' => 'string', 'required' => true, 'example' => '12345678-1234-1234-1234-123456789abc', ], 'examples' => [], ], ], 'responses' => [ 200 => [ 'description' => '成功响应 - 返回指定代码解释器实例的完整信息,包括配置参数、运行状态、资源分配等', 'schema' => [ 'title' => '返回获取结构体的结果', 'description' => '返回获取结构体的结果', '$ref' => '#/components/schemas/CodeInterpreterResult', ], 'examples' => [], ], ], '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 \\"\\"\\n ]\\n },\\n \\"memory\\": 2048,\\n \\"credentialId\\": \\"cred-1234567890abcdef\\",\\n \\"cpu\\": 2,\\n \\"tenantId\\": \\"tenant-1234567890abcdef\\",\\n \\"tags\\": [\\n \\"\\"\\n ]\\n }\\n}","type":"json"}]', 'title' => '获取代码解释器', ], 'DeleteCodeInterpreter' => [ 'summary' => '删除代码解释器', 'description' => '删除指定的代码解释器实例,包括其所有相关资源和数据。删除操作不可逆,请谨慎操作。', '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' => '代码解释器ID', 'description' => '代码解释器ID', 'type' => 'string', 'required' => true, 'example' => '12345678-1234-1234-1234-123456789abc', ], 'examples' => [], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '返回删除结构体的结果', 'description' => '返回删除结构体的结果', '$ref' => '#/components/schemas/DeleteCodeInterpreterResult', ], ], ], '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 \\"\\"\\n ]\\n },\\n \\"memory\\": 2048,\\n \\"credentialId\\": \\"cred-1234567890abcdef\\",\\n \\"cpu\\": 2,\\n \\"tenantId\\": \\"tenant-1234567890abcdef\\",\\n \\"tags\\": [\\n \\"\\"\\n ]\\n }\\n}","type":"json"}]', 'title' => '删除代码解释器', ], ], 'endpoints' => [ [ 'regionId' => 'cn-hangzhou', 'endpoint' => 'agentrun.cn-hangzhou.aliyuncs.com', ], [ 'regionId' => 'cn-beijing', 'endpoint' => 'agentrun.cn-beijing.aliyuncs.com', ], [ 'regionId' => 'cn-shanghai', 'endpoint' => 'agentrun.cn-shanghai.aliyuncs.com', ], [ 'regionId' => 'cn-shenzhen', 'endpoint' => 'agentrun.cn-shenzhen.aliyuncs.com', ], [ 'regionId' => 'ap-southeast-1', 'endpoint' => 'agentrun.ap-southeast-1.aliyuncs.com', ], ], ];