{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://zieapi.vercel.app"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/cloud:aliyun-agentrun/activate-template-mcp":{"post":{"operationId":"cloud_aliyun_agentrun_activate_template_mcp","summary":"Enables the sandbox MCP service, which allows clients to access sandboxes through the MCP protocol","description":"PATCH /2025-09-10/templates/{templateName}/mcp/activate","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["templateName"],"properties":{"endpoint":{"type":"string","enum":["https://agentrun.ap-southeast-1.aliyuncs.com","https://agentrun.cn-beijing.aliyuncs.com","https://agentrun.cn-hangzhou.aliyuncs.com","https://agentrun.cn-shanghai.aliyuncs.com","https://agentrun.cn-shenzhen.aliyuncs.com"],"default":"https://agentrun.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com"},"enabledTools":{"type":"array","description":"The list of enabled tools"},"transport":{"type":"string","description":"The transport protocol"},"templateName":{"type":"string","description":"The template name"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-agentrun/convert-flow-dsl":{"post":{"operationId":"cloud_aliyun_agentrun_convert_flow_dsl","summary":"Converts a flow DSL","description":"POST /2025-09-10/flows/action/convertDsl","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["dslSource"],"properties":{"endpoint":{"type":"string","enum":["https://agentrun.ap-southeast-1.aliyuncs.com","https://agentrun.cn-beijing.aliyuncs.com","https://agentrun.cn-hangzhou.aliyuncs.com","https://agentrun.cn-shanghai.aliyuncs.com","https://agentrun.cn-shenzhen.aliyuncs.com"],"default":"https://agentrun.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com"},"dslSource":{"type":"object","description":"The source configuration of the workflow DSL, supporting inline and base64 formats"},"options":{"type":"object","description":"The optional configuration parameters for DSL conversion"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-agentrun/create-agent-runtime":{"post":{"operationId":"cloud_aliyun_agentrun_create_agent_runtime","summary":"Creates an agent runtime","description":"POST /2025-09-10/agents/runtimes","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["agentRuntimeName","artifactType","cpu","memory","networkConfiguration","port"],"properties":{"endpoint":{"type":"string","enum":["https://agentrun.ap-southeast-1.aliyuncs.com","https://agentrun.cn-beijing.aliyuncs.com","https://agentrun.cn-hangzhou.aliyuncs.com","https://agentrun.cn-shanghai.aliyuncs.com","https://agentrun.cn-shenzhen.aliyuncs.com"],"default":"https://agentrun.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com"},"agentIdentityConfig":{"type":"object","description":"The agent identity configuration"},"agentIdentityEnabled":{"type":"string","description":"Specifies whether to enable the agent identity feature"},"agentRuntimeName":{"type":"string","description":"The name of the agent runtime. The name must be unique"},"armsConfiguration":{"type":"object","description":"应用实时监控服务（ARMS）的配置信息"},"artifactType":{"type":"string","description":"Specifies the deployment type of the agent runtime. Valid values: Code (code mode) and Container (container mode)"},"codeConfiguration":{"type":"object","description":"The code configuration information when artifactType is set to Code, including the code source and entry file"},"containerConfiguration":{"type":"object","description":"The container configuration information when artifactType is set to Container, including the image address and startup command"},"cpu":{"type":"number","description":"The CPU resources allocated to the agent runtime, in cores"},"credentialId":{"type":"string","description":"The ID of the credential used to access external services"},"credentialName":{"type":"string","description":"The name of the credential used to access the agent runtime"},"description":{"type":"string","description":"The description of the agent runtime"},"disableOndemand":{"type":"string","description":"Specifies whether to disable on-demand scaling. Default value: false. Set to true to disable on-demand scaling"},"disableSessionAffinity":{"type":"string","description":"Specifies whether to disable session affinity. Default value: false, which means session affinity is enabled by default. Set to true to…"},"diskSize":{"type":"integer","description":"The disk size"},"edition":{"type":"string","description":"The runtime version specifications"},"enableSessionIsolation":{"type":"string","description":"Specifies whether to enable session isolation. If enabled, each session runs in an isolated environment"},"environmentVariables":{"type":"object","description":"The environment variables of the agent runtime"},"executionRoleArn":{"type":"string","description":"The ARN of the execution role that grants the agent runtime permissions to access cloud services"},"externalAgentEndpointUrl":{"type":"string","description":"The endpoint URL of the external agent"},"headerFieldName":{"type":"string","description":"The name of the request header used for session affinity when sessionAffinityType is set to HEADER_FIELD"},"healthCheckConfiguration":{"type":"object","description":"The health check configuration of the agent runtime"},"logConfiguration":{"type":"object","description":"The Simple Log Service (SLS) configuration"},"memory":{"type":"integer","description":"The memory resources allocated to the agent runtime, in MB"},"nasConfig":{"type":"object","description":"The NAS mount configuration"},"networkConfiguration":{"type":"object","description":"The network configuration of the agent runtime"},"ossMountConfig":{"type":"object","description":"The OSS mount configuration"},"port":{"type":"integer","description":"The listening port of the agent runtime"},"protocolConfiguration":{"type":"object","description":"The communication protocol configuration of the agent runtime"},"resourceGroupId":{"type":"string","description":"The ID of the resource group to which the resource belongs"},"sessionAffinityType":{"type":"string","description":"The session affinity mode. Valid values: NONE (disables session affinity), HEADER_FIELD (enables session affinity based on request…"},"sessionConcurrencyLimitPerInstance":{"type":"integer","description":"The maximum number of concurrent sessions allowed per runtime instance"},"sessionIdleTimeoutSeconds":{"type":"integer","description":"The idle timeout period for a session, in seconds. When an instance has no session requests, it enters an idle state and is billed in idle…"},"systemTags":{"type":"array","description":"The system tags of the agent runtime"},"workspaceId":{"type":"string","description":"The ID of the workspace to which the resource belongs"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-agentrun/create-agent-runtime-endpoint":{"post":{"operationId":"cloud_aliyun_agentrun_create_agent_runtime_endpoint","summary":"Creates an access endpoint for an agent runtime","description":"POST /2025-09-10/agents/runtimes/{agentRuntimeId}/endpoints","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["agentRuntimeId"],"properties":{"endpoint":{"type":"string","enum":["https://agentrun.ap-southeast-1.aliyuncs.com","https://agentrun.cn-beijing.aliyuncs.com","https://agentrun.cn-hangzhou.aliyuncs.com","https://agentrun.cn-shanghai.aliyuncs.com","https://agentrun.cn-shenzhen.aliyuncs.com"],"default":"https://agentrun.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com"},"agentRuntimeId":{"type":"string","description":"The ID of the agent runtime"},"agentRuntimeEndpointName":{"type":"string","description":"The name of the agent runtime endpoint"},"description":{"type":"string","description":"The description"},"disablePublicNetworkAccess":{"type":"string","description":"Specifies whether to disable public network access for the endpoint"},"routingConfiguration":{"type":"object","description":"The routing configuration of the agent runtime endpoint. Multi-version weight allocation is supported"},"scalingConfig":{"type":"object","description":"The elastic scaling configuration of the endpoint, including the minimum number of instances and scheduled scaling policies. This reuses…"},"targetVersion":{"type":"string","description":"The target version of the agent runtime"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-agentrun/create-browser":{"post":{"operationId":"cloud_aliyun_agentrun_create_browser","summary":"Creates a browser sandbox","description":"POST /2025-09-10/agents/browsers","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["browserName","cpu","memory","networkConfiguration"],"properties":{"endpoint":{"type":"string","enum":["https://agentrun.ap-southeast-1.aliyuncs.com","https://agentrun.cn-beijing.aliyuncs.com","https://agentrun.cn-hangzhou.aliyuncs.com","https://agentrun.cn-shanghai.aliyuncs.com","https://agentrun.cn-shenzhen.aliyuncs.com"],"default":"https://agentrun.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com"},"browserName":{"type":"string","description":"The name of the browser"},"cpu":{"type":"number","description":"The CPU cores to allocate to the browser instance"},"credentialId":{"type":"string","description":"The credential ID used for authentication"},"description":{"type":"string","description":"A description of the browser instance"},"executionRoleArn":{"type":"string","description":"The ARN of the execution role"},"memory":{"type":"integer","description":"The memory (in MB) to allocate to the browser instance"},"networkConfiguration":{"type":"object","description":"The network configuration for the browser instance"},"sessionIdleTimeoutSeconds":{"type":"integer","description":"The idle time in seconds before a session expires. When a session is idle, the instance enters an idle billing mode"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-agentrun/create-code-interpreter":{"post":{"operationId":"cloud_aliyun_agentrun_create_code_interpreter","summary":"Creates a code interpreter","description":"POST /2025-09-10/agents/code-interpreters","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["codeInterpreterName","cpu","memory","networkConfiguration"],"properties":{"endpoint":{"type":"string","enum":["https://agentrun.ap-southeast-1.aliyuncs.com","https://agentrun.cn-beijing.aliyuncs.com","https://agentrun.cn-hangzhou.aliyuncs.com","https://agentrun.cn-shanghai.aliyuncs.com","https://agentrun.cn-shenzhen.aliyuncs.com"],"default":"https://agentrun.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com"},"codeInterpreterName":{"type":"string","description":"The name of the code interpreter. Use this to identify and distinguish code interpreter instances"},"cpu":{"type":"number","description":"The amount of CPU to allocate, in cores"},"credentialId":{"type":"string","description":"The credential ID used for authentication"},"description":{"type":"string","description":"A description of the code interpreter"},"executionRoleArn":{"type":"string","description":"The Alibaba Cloud Resource Name (ARN) of the execution role for the code interpreter"},"memory":{"type":"integer","description":"The amount of memory to allocate, in megabytes (MB)"},"networkConfiguration":{"type":"object","description":"Specifies the network configuration for the code interpreter, including VPC and security group settings"},"sessionIdleTimeoutSeconds":{"type":"integer","description":"The idle timeout for a session, in seconds. If an instance has no new requests for this duration, its session expires and cannot be reused"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-agentrun/create-credential":{"post":{"operationId":"cloud_aliyun_agentrun_create_credential","summary":"Creates a new credential","description":"POST /2025-09-10/agents/credentials","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["credentialAuthType","credentialName","credentialSourceType"],"properties":{"endpoint":{"type":"string","enum":["https://agentrun.ap-southeast-1.aliyuncs.com","https://agentrun.cn-beijing.aliyuncs.com","https://agentrun.cn-hangzhou.aliyuncs.com","https://agentrun.cn-shanghai.aliyuncs.com","https://agentrun.cn-shenzhen.aliyuncs.com"],"default":"https://agentrun.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com"},"credentialAuthType":{"type":"string","description":"The authentication type of the credential"},"credentialName":{"type":"string","description":"The name of the credential"},"credentialPublicConfig":{"type":"object","description":"The public configuration of the credential"},"credentialSecret":{"type":"string","description":"The secret key of the credential"},"credentialSourceType":{"type":"string","description":"The source type of the credential"},"description":{"type":"string","description":"The description text for the credential creation input"},"enabled":{"type":"string","description":"Specifies whether the credential is enabled"},"workspaceId":{"type":"string","description":"The ID of the workspace to which the resource belongs"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-agentrun/create-custom-domain":{"post":{"operationId":"cloud_aliyun_agentrun_create_custom_domain","summary":"Creates a custom domain name","description":"POST /2025-09-10/agents/custom-domains","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["domainName","protocol"],"properties":{"endpoint":{"type":"string","enum":["https://agentrun.ap-southeast-1.aliyuncs.com","https://agentrun.cn-beijing.aliyuncs.com","https://agentrun.cn-hangzhou.aliyuncs.com","https://agentrun.cn-shanghai.aliyuncs.com","https://agentrun.cn-shenzhen.aliyuncs.com"],"default":"https://agentrun.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com"},"certConfig":{"type":"object","description":"The HTTPS certificate information"},"description":{"type":"string","description":"The description"},"domainName":{"type":"string","description":"The domain name. Enter a custom domain name that has an ICP filing or is connected to an ICP filing through Alibaba Cloud"},"domainType":{"type":"string","description":"The domain name type"},"protocol":{"type":"string","description":"The protocol types supported by the domain name. Valid values: HTTP: Supports only the HTTP protocol. HTTPS: Supports only the HTTPS…"},"routeConfig":{"type":"object","description":"The route table. The mapping from paths to resources when the custom domain name is accessed"},"tlsConfig":{"type":"object","description":"The TLS configuration information"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-agentrun/create-flow":{"post":{"operationId":"cloud_aliyun_agentrun_create_flow","summary":"Creates a workflow","description":"POST /2025-09-10/flows","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["flowName"],"properties":{"endpoint":{"type":"string","enum":["https://agentrun.ap-southeast-1.aliyuncs.com","https://agentrun.cn-beijing.aliyuncs.com","https://agentrun.cn-hangzhou.aliyuncs.com","https://agentrun.cn-shanghai.aliyuncs.com","https://agentrun.cn-shenzhen.aliyuncs.com"],"default":"https://agentrun.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com"},"definition":{"type":"string","description":"The definition of the workflow in JSON or YAML format"},"description":{"type":"string","description":"The description of the workflow, which explains the purpose and functionality of the workflow"},"disablePublicNetworkAccess":{"type":"string","description":"Specifies whether to disable public network access for the workflow. This value serves as the default policy at the workflow level. If…"},"environmentConfiguration":{"type":"object","description":"The environment variable configuration of the workflow, which contains a list of named variables"},"executionRoleArn":{"type":"string","description":"The Alibaba Cloud Resource Name (ARN) of the execution role that grants the workflow permissions to access cloud services"},"externalStorageLocation":{"type":"string","description":"The external storage location of the workflow, such as an OSS path"},"flowName":{"type":"string","description":"The unique name of the workflow, which is used to distinguish different workflow instances"},"loggingConfiguration":{"type":"object","description":"The logging configuration of the workflow"},"resourceGroupId":{"type":"string","description":"The ID of the resource group to which the workflow belongs"},"tracingConfiguration":{"type":"object","description":"The Tracing Analysis configuration of the workflow"},"workspaceId":{"type":"string","description":"The ID of the workspace to which the workflow belongs. This parameter is used for resource isolation and permission management"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-agentrun/create-flow-endpoint":{"post":{"operationId":"cloud_aliyun_agentrun_create_flow_endpoint","summary":"Creates a workflow endpoint","description":"POST /2025-09-10/flows/{flowName}/endpoints","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["flowName","flowEndpointName"],"properties":{"endpoint":{"type":"string","enum":["https://agentrun.ap-southeast-1.aliyuncs.com","https://agentrun.cn-beijing.aliyuncs.com","https://agentrun.cn-hangzhou.aliyuncs.com","https://agentrun.cn-shanghai.aliyuncs.com","https://agentrun.cn-shenzhen.aliyuncs.com"],"default":"https://agentrun.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com"},"flowName":{"type":"string","description":"The workflow ID"},"description":{"type":"string","description":"The description of the workflow endpoint"},"disablePublicNetworkAccess":{"type":"string","description":"Specifies whether to disable public network access for the endpoint. If not specified during creation, the value is inherited from the…"},"flowEndpointName":{"type":"string","description":"The unique name of the workflow endpoint"},"routingConfiguration":{"type":"array","description":"The array of version routing configurations for the workflow endpoint, used for traffic distribution"},"targetVersion":{"type":"string","description":"The target version number that the workflow endpoint points to"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-agentrun/create-imbot":{"post":{"operationId":"cloud_aliyun_agentrun_create_imbot","summary":"Creates an IM bot","description":"POST /2025-09-10/agents/im-bots","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["botBizId","botBizSecret","botBizType","botName"],"properties":{"endpoint":{"type":"string","enum":["https://agentrun.ap-southeast-1.aliyuncs.com","https://agentrun.cn-beijing.aliyuncs.com","https://agentrun.cn-hangzhou.aliyuncs.com","https://agentrun.cn-shanghai.aliyuncs.com","https://agentrun.cn-shenzhen.aliyuncs.com"],"default":"https://agentrun.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com"},"botBizId":{"type":"string","description":"The identifier of the IM bot, which must be unique within the same account"},"botBizSecret":{"type":"string","description":"The secret key of the IM bot"},"botBizType":{"type":"string","description":"The type of the IM platform"},"botMode":{"type":"string","description":"The mode of the IM bot"},"botName":{"type":"string","description":"The name of the IM bot"},"description":{"type":"string","description":"The description of the IM bot"},"metadata":{"type":"object","description":"The configuration of the IM bot"},"minInstances":{"type":"integer","description":"The minimum number of Function Compute instances"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-agentrun/create-knowledge-base":{"post":{"operationId":"cloud_aliyun_agentrun_create_knowledge_base","summary":"Creates a knowledge base","description":"POST /2025-09-10/agents/knowledgebases","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["knowledgeBaseName","provider","providerSettings"],"properties":{"endpoint":{"type":"string","enum":["https://agentrun.ap-southeast-1.aliyuncs.com","https://agentrun.cn-beijing.aliyuncs.com","https://agentrun.cn-hangzhou.aliyuncs.com","https://agentrun.cn-shanghai.aliyuncs.com","https://agentrun.cn-shenzhen.aliyuncs.com"],"default":"https://agentrun.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com"},"credentialName":{"type":"string","description":"The name of the credential"},"description":{"type":"string","description":"The description of the knowledge base"},"knowledgeBaseName":{"type":"string","description":"The name of the knowledge base"},"provider":{"type":"string","description":"The provider of the knowledge base"},"providerSettings":{"type":"object","description":"The configuration of the knowledge base provider"},"retrieveSettings":{"type":"object","description":"The retrieval configuration"},"workspaceId":{"type":"string","description":"The ID of the workspace"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-agentrun/create-memory-collection":{"post":{"operationId":"cloud_aliyun_agentrun_create_memory_collection","summary":"Adds memory storage","description":"POST /2025-09-10/agents/memory-collections","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://agentrun.ap-southeast-1.aliyuncs.com","https://agentrun.cn-beijing.aliyuncs.com","https://agentrun.cn-hangzhou.aliyuncs.com","https://agentrun.cn-shanghai.aliyuncs.com","https://agentrun.cn-shenzhen.aliyuncs.com"],"default":"https://agentrun.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com"},"description":{"type":"string","description":"The description"},"embedderConfig":{"type":"object","description":"The embedding model configuration"},"enableConversationHistory":{"type":"string","description":"Specifies whether to enable conversation history"},"enableConversationState":{"type":"string","description":"Specifies whether to enable conversation state management"},"executionRoleArn":{"type":"string","description":"The function execution role"},"llmConfig":{"type":"object","description":"The large language model configuration"},"memoryCollectionName":{"type":"string","description":"The name of the memory store"},"networkConfiguration":{"type":"object","description":"The network configuration"},"type":{"type":"string","description":"The memory store type"},"vectorStoreConfig":{"type":"object","description":"The vector database configuration"},"workspaceId":{"type":"string","description":"The ID of the workspace to which the resource belongs"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-agentrun/create-model-proxy":{"post":{"operationId":"cloud_aliyun_agentrun_create_model_proxy","summary":"Creates model governance","description":"POST /2025-09-10/agents/model-proxies","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["cpu","memory","modelProxyName","proxyConfig","proxyMode"],"properties":{"endpoint":{"type":"string","enum":["https://agentrun.ap-southeast-1.aliyuncs.com","https://agentrun.cn-beijing.aliyuncs.com","https://agentrun.cn-hangzhou.aliyuncs.com","https://agentrun.cn-shanghai.aliyuncs.com","https://agentrun.cn-shenzhen.aliyuncs.com"],"default":"https://agentrun.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com"},"armsConfiguration":{"type":"object","description":"Specifies whether to enable Application Real-Time Monitoring Service (ARMS)"},"cpu":{"type":"number","description":"The number of CPU cores"},"credentialName":{"type":"string","description":"The name of the credential associated with the model proxy"},"description":{"type":"string","description":"The description"},"executionRoleArn":{"type":"string","description":"The ARN of the execution role"},"litellmVersion":{"type":"string","description":"The LiteLLM version used by the model proxy"},"logConfiguration":{"type":"object","description":"The Simple Log Service (SLS) configuration for the agent runtime"},"memory":{"type":"integer","description":"The memory size"},"modelProxyName":{"type":"string","description":"The name of the model proxy"},"modelType":{"type":"string","description":"The model type. Valid values: system: Built-in system model. deployment: Custom-deployed model"},"networkConfiguration":{"type":"object","description":"The network mode"},"proxyConfig":{"type":"object","description":"The proxy configuration of the model proxy"},"proxyMode":{"type":"string","description":"The proxy mode of the model proxy"},"serviceRegionId":{"type":"string","description":"The region ID where the model proxy service is located"},"workspaceId":{"type":"string","description":"The ID of the workspace to which the resource belongs"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-agentrun/create-model-service":{"post":{"operationId":"cloud_aliyun_agentrun_create_model_service","summary":"Initiates model creation","description":"POST /2025-09-10/agents/model-services","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["modelServiceName","modelType","provider","providerSettings"],"properties":{"endpoint":{"type":"string","enum":["https://agentrun.ap-southeast-1.aliyuncs.com","https://agentrun.cn-beijing.aliyuncs.com","https://agentrun.cn-hangzhou.aliyuncs.com","https://agentrun.cn-shanghai.aliyuncs.com","https://agentrun.cn-shenzhen.aliyuncs.com"],"default":"https://agentrun.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com"},"credentialName":{"type":"string","description":"The name of the credential"},"description":{"type":"string","description":"The description"},"modelInfoConfigs":{"type":"array","description":"The list of model information configurations"},"modelServiceName":{"type":"string","description":"The service name of the model"},"modelType":{"type":"string","description":"The model type. Valid values: system: system built-in model deployment: custom-deployed model"},"networkConfiguration":{"type":"object","description":"The network configuration information"},"provider":{"type":"string","description":"The cloud provider. Currently, only Alibaba Cloud is supported"},"providerSettings":{"type":"object","description":"The model provider configuration"},"workspaceId":{"type":"string","description":"The ID of the workspace to which the resource belongs"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-agentrun/create-sandbox":{"post":{"operationId":"cloud_aliyun_agentrun_create_sandbox","summary":"Creates a sandbox","description":"POST /2025-09-10/sandboxes","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["templateName"],"properties":{"endpoint":{"type":"string","enum":["https://agentrun.ap-southeast-1.aliyuncs.com","https://agentrun.cn-beijing.aliyuncs.com","https://agentrun.cn-hangzhou.aliyuncs.com","https://agentrun.cn-shanghai.aliyuncs.com","https://agentrun.cn-shenzhen.aliyuncs.com"],"default":"https://agentrun.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com"},"nasConfig":{"type":"object","description":"The NAS configuration"},"ossMountConfig":{"type":"object","description":"The OSS mount configuration"},"polarFsConfig":{"type":"object","description":"The group ID"},"sandboxId":{"type":"string","description":"The sandbox instance ID"},"sandboxIdleTimeoutInSeconds":{"type":"integer","description":"The sandbox idle timeout in seconds"},"sandboxIdleTimeoutSeconds":{"type":"integer","description":"The sandbox idle timeout in seconds"},"templateName":{"type":"string","description":"The template name"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-agentrun/create-template":{"post":{"operationId":"cloud_aliyun_agentrun_create_template","summary":"Creates a template","description":"POST /2025-09-10/templates","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["cpu","memory","networkConfiguration","templateName","templateType"],"properties":{"endpoint":{"type":"string","enum":["https://agentrun.ap-southeast-1.aliyuncs.com","https://agentrun.cn-beijing.aliyuncs.com","https://agentrun.cn-hangzhou.aliyuncs.com","https://agentrun.cn-shanghai.aliyuncs.com","https://agentrun.cn-shenzhen.aliyuncs.com"],"default":"https://agentrun.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com"},"allowAnonymousManage":{"type":"string","description":"Specifies whether the data link is allowed to call the create, stop, and delete sandbox operations"},"armsConfiguration":{"type":"object","description":"The ARMS configuration"},"containerConfiguration":{"type":"object","description":"The container configuration. Only images based on Browser or Code Interpreter base images are allowed"},"cpu":{"type":"number","description":"The CPU resource configuration, in cores"},"credentialConfiguration":{"type":"object","description":"The credential configuration"},"description":{"type":"string","description":"The template description"},"disablePublicNetworkAccess":{"type":"string","description":"Specifies whether public network access is disabled"},"diskSize":{"type":"integer","description":"The disk size"},"enableAgent":{"type":"string","description":"Specifies whether Sandbox Agent is enabled"},"enablePreStop":{"type":"string","description":"Specifies whether the pre-stop callback is enabled before an instance is destroyed"},"environmentVariables":{"type":"object","description":"The environment variables"},"executionRoleArn":{"type":"string","description":"The execution role ARN"},"logConfiguration":{"type":"object","description":"The log configuration"},"memory":{"type":"integer","description":"The memory resources configuration, in MB"},"nasConfig":{"type":"object","description":"The NAS mount configuration"},"networkConfiguration":{"type":"object","description":"The network configuration"},"ossConfiguration":{"type":"array","description":"The OSS configuration"},"preStopTimeoutInSeconds":{"type":"integer","description":"The timeout period for the pre-stop callback before an instance is destroyed, in seconds"},"sandboxIdleTimeoutInSeconds":{"type":"integer","description":"The sandbox idle timeout period, in seconds"},"sandboxTTLInSeconds":{"type":"integer","description":"The sandbox time-to-live (TTL), in seconds"},"scalingConfig":{"type":"object","description":"The elastic scaling configuration"},"templateConfiguration":{"type":"object","description":"The template configuration. This is a flexible object structure that varies based on the templateType value"},"templateName":{"type":"string","description":"The template name. The name must be unique within the account"},"templateType":{"type":"string","description":"The templatetype"},"workspaceId":{"type":"string","description":"The ID of the associated workspace"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-agentrun/create-tool":{"post":{"operationId":"cloud_aliyun_agentrun_create_tool","summary":"Creates a tool","description":"POST /2025-09-10/agents/tools","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["createMethod","toolName","toolType"],"properties":{"endpoint":{"type":"string","enum":["https://agentrun.ap-southeast-1.aliyuncs.com","https://agentrun.cn-beijing.aliyuncs.com","https://agentrun.cn-hangzhou.aliyuncs.com","https://agentrun.cn-shanghai.aliyuncs.com","https://agentrun.cn-shenzhen.aliyuncs.com"],"default":"https://agentrun.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com"},"agentIdentityConfig":{"type":"object","description":"The agent identity configuration"},"agentIdentityEnabled":{"type":"string","description":"Specifies whether to enable the agent identity capability"},"artifactType":{"type":"string","description":"The artifact type for tool deployment. Valid values: Code (code package) and Container (container image)"},"codeConfiguration":{"type":"object","description":"The configuration information of the code package tool, including the code location, entry function, and runtime. This parameter is…"},"containerConfiguration":{"type":"object","description":"The configuration information of the container tool, including the image address, startup command, and port mapping. This parameter is…"},"cpu":{"type":"number","description":"The number of CPU cores for the tool instance. Unit: cores. Decimals are supported. For example, 0.5 indicates half a core"},"createMethod":{"type":"string","description":"The creation method of the tool. This parameter is required. Valid values: MCP_REMOTE (remote MCP server), MCP_LOCAL_STDIO (local MCP…"},"credentialName":{"type":"string","description":"The name of the credential used to access external services. The credential must be created in advance"},"description":{"type":"string","description":"The description of the tool"},"environmentVariables":{"type":"object","description":"The environment variables of the tool, in key-value pairs"},"executionRoleArn":{"type":"string","description":"The ARN of the RAM role used for permission control when the tool is executed. Format: acs:ram::123456789:role/AliyunFCDefaultRole"},"logConfiguration":{"type":"object","description":"The log configuration of the tool"},"mcpConfig":{"type":"object","description":"The configuration information of the MCP tool, including session affinity, proxy configuration, and binding configuration. This parameter…"},"memory":{"type":"integer","description":"The memory size of the tool instance. Unit: MB. Configure this parameter based on the actual requirements of the tool"},"nasConfig":{"type":"object","description":"The NAS mount configuration of the tool"},"networkConfiguration":{"type":"object","description":"The network configuration of the tool"},"ossMountConfig":{"type":"object","description":"The OSS mount configuration of the tool"},"port":{"type":"integer","description":"The listening port of the tool"},"protocolSpec":{"type":"string","description":"The protocol specification of the tool, which is a JSON string"},"timeout":{"type":"integer","description":"The timeout period for tool execution. Unit: seconds. If this period is exceeded, the tool invocation is terminated"},"toolName":{"type":"string","description":"The name of the tool. This parameter is required and must be unique within the workspace"},"toolType":{"type":"string","description":"The type of the tool. This parameter is required. Valid values: MCP (Model Context Protocol tool), FUNCTIONCALL (function calling tool),…"},"workspaceId":{"type":"string","description":"The identifier of the workspace to which the tool belongs. This parameter is optional. If you do not specify this parameter, the default…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-agentrun/create-workspace":{"post":{"operationId":"cloud_aliyun_agentrun_create_workspace","summary":"Creates a workspace","description":"POST /2025-09-10/workspaces","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://agentrun.ap-southeast-1.aliyuncs.com","https://agentrun.cn-beijing.aliyuncs.com","https://agentrun.cn-hangzhou.aliyuncs.com","https://agentrun.cn-shanghai.aliyuncs.com","https://agentrun.cn-shenzhen.aliyuncs.com"],"default":"https://agentrun.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com"},"description":{"type":"string","description":"The description of the workspace"},"enablePresetModel":{"type":"string","description":"Specifies whether to enable preset models"},"name":{"type":"string","description":"The name of the workspace"},"resourceGroupId":{"type":"string","description":"The ID of the resource group to which the resource belongs"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-agentrun/delete-agent-runtime":{"post":{"operationId":"cloud_aliyun_agentrun_delete_agent_runtime","summary":"Deletes an agent runtime","description":"DELETE /2025-09-10/agents/runtimes/{agentRuntimeId}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["agentRuntimeId"],"properties":{"endpoint":{"type":"string","enum":["https://agentrun.ap-southeast-1.aliyuncs.com","https://agentrun.cn-beijing.aliyuncs.com","https://agentrun.cn-hangzhou.aliyuncs.com","https://agentrun.cn-shanghai.aliyuncs.com","https://agentrun.cn-shenzhen.aliyuncs.com"],"default":"https://agentrun.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com"},"agentRuntimeId":{"type":"string","description":"The ID of the agent runtime"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-agentrun/delete-agent-runtime-endpoint":{"post":{"operationId":"cloud_aliyun_agentrun_delete_agent_runtime_endpoint","summary":"Deletes an agent access endpoint","description":"DELETE /2025-09-10/agents/runtimes/{agentRuntimeId}/endpoints/{agentRuntimeEndpointId}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["agentRuntimeId","agentRuntimeEndpointId"],"properties":{"endpoint":{"type":"string","enum":["https://agentrun.ap-southeast-1.aliyuncs.com","https://agentrun.cn-beijing.aliyuncs.com","https://agentrun.cn-hangzhou.aliyuncs.com","https://agentrun.cn-shanghai.aliyuncs.com","https://agentrun.cn-shenzhen.aliyuncs.com"],"default":"https://agentrun.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com"},"agentRuntimeId":{"type":"string","description":"The agent runtime ID"},"agentRuntimeEndpointId":{"type":"string","description":"The agent runtime endpoint ID"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-agentrun/delete-browser":{"post":{"operationId":"cloud_aliyun_agentrun_delete_browser","summary":"Deletes a browser sandbox","description":"DELETE /2025-09-10/agents/browsers/{browserId}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["browserId"],"properties":{"endpoint":{"type":"string","enum":["https://agentrun.ap-southeast-1.aliyuncs.com","https://agentrun.cn-beijing.aliyuncs.com","https://agentrun.cn-hangzhou.aliyuncs.com","https://agentrun.cn-shanghai.aliyuncs.com","https://agentrun.cn-shenzhen.aliyuncs.com"],"default":"https://agentrun.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com"},"browserId":{"type":"string","description":"The browser ID"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-agentrun/delete-code-interpreter":{"post":{"operationId":"cloud_aliyun_agentrun_delete_code_interpreter","summary":"Deletes a code interpreter","description":"DELETE /2025-09-10/agents/code-interpreters/{codeInterpreterId}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["codeInterpreterId"],"properties":{"endpoint":{"type":"string","enum":["https://agentrun.ap-southeast-1.aliyuncs.com","https://agentrun.cn-beijing.aliyuncs.com","https://agentrun.cn-hangzhou.aliyuncs.com","https://agentrun.cn-shanghai.aliyuncs.com","https://agentrun.cn-shenzhen.aliyuncs.com"],"default":"https://agentrun.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com"},"codeInterpreterId":{"type":"string","description":"The ID of the code interpreter"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-agentrun/delete-credential":{"post":{"operationId":"cloud_aliyun_agentrun_delete_credential","summary":"Deletes the specified credential","description":"DELETE /2025-09-10/agents/credentials/{credentialName}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["credentialName"],"properties":{"endpoint":{"type":"string","enum":["https://agentrun.ap-southeast-1.aliyuncs.com","https://agentrun.cn-beijing.aliyuncs.com","https://agentrun.cn-hangzhou.aliyuncs.com","https://agentrun.cn-shanghai.aliyuncs.com","https://agentrun.cn-shenzhen.aliyuncs.com"],"default":"https://agentrun.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com"},"credentialName":{"type":"string","description":"credentialName"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-agentrun/delete-custom-domain":{"post":{"operationId":"cloud_aliyun_agentrun_delete_custom_domain","summary":"Deletes a custom domain name","description":"DELETE /2025-09-10/agents/custom-domains/{domainName}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["domainName"],"properties":{"endpoint":{"type":"string","enum":["https://agentrun.ap-southeast-1.aliyuncs.com","https://agentrun.cn-beijing.aliyuncs.com","https://agentrun.cn-hangzhou.aliyuncs.com","https://agentrun.cn-shanghai.aliyuncs.com","https://agentrun.cn-shenzhen.aliyuncs.com"],"default":"https://agentrun.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com"},"domainName":{"type":"string","description":"The custom domain name"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-agentrun/delete-flow":{"post":{"operationId":"cloud_aliyun_agentrun_delete_flow","summary":"Deletes a workflow","description":"DELETE /2025-09-10/flows/{flowName}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["flowName"],"properties":{"endpoint":{"type":"string","enum":["https://agentrun.ap-southeast-1.aliyuncs.com","https://agentrun.cn-beijing.aliyuncs.com","https://agentrun.cn-hangzhou.aliyuncs.com","https://agentrun.cn-shanghai.aliyuncs.com","https://agentrun.cn-shenzhen.aliyuncs.com"],"default":"https://agentrun.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com"},"flowName":{"type":"string","description":"The workflow ID"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-agentrun/delete-flow-endpoint":{"post":{"operationId":"cloud_aliyun_agentrun_delete_flow_endpoint","summary":"Deletes a workflow endpoint","description":"DELETE /2025-09-10/flows/{flowName}/endpoints/{flowEndpointName}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["flowName","flowEndpointName"],"properties":{"endpoint":{"type":"string","enum":["https://agentrun.ap-southeast-1.aliyuncs.com","https://agentrun.cn-beijing.aliyuncs.com","https://agentrun.cn-hangzhou.aliyuncs.com","https://agentrun.cn-shanghai.aliyuncs.com","https://agentrun.cn-shenzhen.aliyuncs.com"],"default":"https://agentrun.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com"},"flowName":{"type":"string","description":"The workflow ID"},"flowEndpointName":{"type":"string","description":"The workflow endpoint ID"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-agentrun/delete-flow-version":{"post":{"operationId":"cloud_aliyun_agentrun_delete_flow_version","summary":"Deletes a workflow version","description":"DELETE /2025-09-10/flows/{flowName}/versions/{flowVersion}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["flowName","flowVersion"],"properties":{"endpoint":{"type":"string","enum":["https://agentrun.ap-southeast-1.aliyuncs.com","https://agentrun.cn-beijing.aliyuncs.com","https://agentrun.cn-hangzhou.aliyuncs.com","https://agentrun.cn-shanghai.aliyuncs.com","https://agentrun.cn-shenzhen.aliyuncs.com"],"default":"https://agentrun.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com"},"flowName":{"type":"string","description":"The name of the workflow"},"flowVersion":{"type":"string","description":"The version number"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-agentrun/delete-imbot":{"post":{"operationId":"cloud_aliyun_agentrun_delete_imbot","summary":"Deletes an IM bot","description":"DELETE /2025-09-10/agents/im-bots/{imBotId}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["imBotId"],"properties":{"endpoint":{"type":"string","enum":["https://agentrun.ap-southeast-1.aliyuncs.com","https://agentrun.cn-beijing.aliyuncs.com","https://agentrun.cn-hangzhou.aliyuncs.com","https://agentrun.cn-shanghai.aliyuncs.com","https://agentrun.cn-shenzhen.aliyuncs.com"],"default":"https://agentrun.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com"},"imBotId":{"type":"string","description":"The ID of the IM bot to delete, in UUID format"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-agentrun/delete-knowledge-base":{"post":{"operationId":"cloud_aliyun_agentrun_delete_knowledge_base","summary":"Deletes a knowledge base","description":"DELETE /2025-09-10/agents/knowledgebases/{knowledgeBaseName}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["knowledgeBaseName"],"properties":{"endpoint":{"type":"string","enum":["https://agentrun.ap-southeast-1.aliyuncs.com","https://agentrun.cn-beijing.aliyuncs.com","https://agentrun.cn-hangzhou.aliyuncs.com","https://agentrun.cn-shanghai.aliyuncs.com","https://agentrun.cn-shenzhen.aliyuncs.com"],"default":"https://agentrun.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com"},"knowledgeBaseName":{"type":"string","description":"The name of the knowledge base"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-agentrun/delete-memory-collection":{"post":{"operationId":"cloud_aliyun_agentrun_delete_memory_collection","summary":"Deletes a memory store","description":"DELETE /2025-09-10/agents/memory-collections/{memoryCollectionName}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["memoryCollectionName"],"properties":{"endpoint":{"type":"string","enum":["https://agentrun.ap-southeast-1.aliyuncs.com","https://agentrun.cn-beijing.aliyuncs.com","https://agentrun.cn-hangzhou.aliyuncs.com","https://agentrun.cn-shanghai.aliyuncs.com","https://agentrun.cn-shenzhen.aliyuncs.com"],"default":"https://agentrun.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com"},"memoryCollectionName":{"type":"string","description":"The name of the memory store"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-agentrun/delete-model-proxy":{"post":{"operationId":"cloud_aliyun_agentrun_delete_model_proxy","summary":"Deletes a model","description":"DELETE /2025-09-10/agents/model-proxies/{modelProxyName}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["modelProxyName"],"properties":{"endpoint":{"type":"string","enum":["https://agentrun.ap-southeast-1.aliyuncs.com","https://agentrun.cn-beijing.aliyuncs.com","https://agentrun.cn-hangzhou.aliyuncs.com","https://agentrun.cn-shanghai.aliyuncs.com","https://agentrun.cn-shenzhen.aliyuncs.com"],"default":"https://agentrun.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com"},"modelProxyName":{"type":"string","description":"A short description of struct"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-agentrun/delete-model-service":{"post":{"operationId":"cloud_aliyun_agentrun_delete_model_service","summary":"Deletes a model","description":"DELETE /2025-09-10/agents/model-services/{modelServiceName}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["modelServiceName"],"properties":{"endpoint":{"type":"string","enum":["https://agentrun.ap-southeast-1.aliyuncs.com","https://agentrun.cn-beijing.aliyuncs.com","https://agentrun.cn-hangzhou.aliyuncs.com","https://agentrun.cn-shanghai.aliyuncs.com","https://agentrun.cn-shenzhen.aliyuncs.com"],"default":"https://agentrun.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com"},"modelServiceName":{"type":"string","description":"A short description of struct"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-agentrun/delete-sandbox":{"post":{"operationId":"cloud_aliyun_agentrun_delete_sandbox","summary":"Deletes a sandbox instance","description":"DELETE /2025-09-10/sandboxes/{sandboxId}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["sandboxId"],"properties":{"endpoint":{"type":"string","enum":["https://agentrun.ap-southeast-1.aliyuncs.com","https://agentrun.cn-beijing.aliyuncs.com","https://agentrun.cn-hangzhou.aliyuncs.com","https://agentrun.cn-shanghai.aliyuncs.com","https://agentrun.cn-shenzhen.aliyuncs.com"],"default":"https://agentrun.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com"},"sandboxId":{"type":"string","description":"The sandbox ID"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-agentrun/delete-template":{"post":{"operationId":"cloud_aliyun_agentrun_delete_template","summary":"Deletes a template","description":"DELETE /2025-09-10/templates/{templateName}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["templateName"],"properties":{"endpoint":{"type":"string","enum":["https://agentrun.ap-southeast-1.aliyuncs.com","https://agentrun.cn-beijing.aliyuncs.com","https://agentrun.cn-hangzhou.aliyuncs.com","https://agentrun.cn-shanghai.aliyuncs.com","https://agentrun.cn-shenzhen.aliyuncs.com"],"default":"https://agentrun.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com"},"templateName":{"type":"string","description":"The template name"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-agentrun/delete-tool":{"post":{"operationId":"cloud_aliyun_agentrun_delete_tool","summary":"Deletes a tool","description":"DELETE /2025-09-10/agents/tools/{toolName}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["toolName"],"properties":{"endpoint":{"type":"string","enum":["https://agentrun.ap-southeast-1.aliyuncs.com","https://agentrun.cn-beijing.aliyuncs.com","https://agentrun.cn-hangzhou.aliyuncs.com","https://agentrun.cn-shanghai.aliyuncs.com","https://agentrun.cn-shenzhen.aliyuncs.com"],"default":"https://agentrun.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com"},"toolName":{"type":"string","description":"The name of the tool"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-agentrun/delete-workspace":{"post":{"operationId":"cloud_aliyun_agentrun_delete_workspace","summary":"Deletes a workspace","description":"DELETE /2025-09-10/workspaces/{workspaceId}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["workspaceId"],"properties":{"endpoint":{"type":"string","enum":["https://agentrun.ap-southeast-1.aliyuncs.com","https://agentrun.cn-beijing.aliyuncs.com","https://agentrun.cn-hangzhou.aliyuncs.com","https://agentrun.cn-shanghai.aliyuncs.com","https://agentrun.cn-shenzhen.aliyuncs.com"],"default":"https://agentrun.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com"},"workspaceId":{"type":"string","description":"The workspace ID"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-agentrun/get-access-token":{"get":{"operationId":"cloud_aliyun_agentrun_get_access_token","summary":"Retrieves an access token","description":"GET /2025-09-10/agents/accessToken","tags":["cloud"],"parameters":[{"name":"endpoint","in":"query","required":false,"description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com","schema":{"type":"string","enum":["https://agentrun.ap-southeast-1.aliyuncs.com","https://agentrun.cn-beijing.aliyuncs.com","https://agentrun.cn-hangzhou.aliyuncs.com","https://agentrun.cn-shanghai.aliyuncs.com","https://agentrun.cn-shenzhen.aliyuncs.com"],"default":"https://agentrun.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com"}},{"name":"resourceName","in":"query","required":false,"description":"The resource name of the agent runtime","schema":{"type":"string","description":"The resource name of the agent runtime"},"example":"COUPON_OPERATION_CALLBACK"},{"name":"resourceType","in":"query","required":false,"description":"The resource type","schema":{"type":"string","enum":["runtime","litellm","tool","template","sandbox"],"description":"The resource type"},"example":"SceneTestingTask"},{"name":"resourceId","in":"query","required":false,"description":"The resource ID","schema":{"type":"string","description":"The resource ID"},"example":"mod-kw1750tjqs94n9k37o5hjk"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-agentrun/get-agent-runtime":{"get":{"operationId":"cloud_aliyun_agentrun_get_agent_runtime","summary":"Retrieves the agent runtime","description":"GET /2025-09-10/agents/runtimes/{agentRuntimeId}","tags":["cloud"],"parameters":[{"name":"endpoint","in":"query","required":false,"description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com","schema":{"type":"string","enum":["https://agentrun.ap-southeast-1.aliyuncs.com","https://agentrun.cn-beijing.aliyuncs.com","https://agentrun.cn-hangzhou.aliyuncs.com","https://agentrun.cn-shanghai.aliyuncs.com","https://agentrun.cn-shenzhen.aliyuncs.com"],"default":"https://agentrun.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com"}},{"name":"agentRuntimeId","in":"query","required":true,"description":"The agent runtime ID","schema":{"type":"string","description":"The agent runtime ID"}},{"name":"agentRuntimeVersion","in":"query","required":false,"description":"The agent runtime version","schema":{"type":"string","description":"The agent runtime version"},"example":"v1.0.0"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-agentrun/get-agent-runtime-endpoint":{"get":{"operationId":"cloud_aliyun_agentrun_get_agent_runtime_endpoint","summary":"Retrieves the access endpoint of an agent runtime","description":"GET /2025-09-10/agents/runtimes/{agentRuntimeId}/endpoints/{agentRuntimeEndpointId}","tags":["cloud"],"parameters":[{"name":"endpoint","in":"query","required":false,"description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com","schema":{"type":"string","enum":["https://agentrun.ap-southeast-1.aliyuncs.com","https://agentrun.cn-beijing.aliyuncs.com","https://agentrun.cn-hangzhou.aliyuncs.com","https://agentrun.cn-shanghai.aliyuncs.com","https://agentrun.cn-shenzhen.aliyuncs.com"],"default":"https://agentrun.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com"}},{"name":"agentRuntimeId","in":"query","required":true,"description":"The agent runtime ID","schema":{"type":"string","description":"The agent runtime ID"}},{"name":"agentRuntimeEndpointId","in":"query","required":true,"description":"The agent runtime endpoint ID","schema":{"type":"string","description":"The agent runtime endpoint ID"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-agentrun/get-browser":{"get":{"operationId":"cloud_aliyun_agentrun_get_browser","summary":"Retrieves a browser sandbox","description":"GET /2025-09-10/agents/browsers/{browserId}","tags":["cloud"],"parameters":[{"name":"endpoint","in":"query","required":false,"description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com","schema":{"type":"string","enum":["https://agentrun.ap-southeast-1.aliyuncs.com","https://agentrun.cn-beijing.aliyuncs.com","https://agentrun.cn-hangzhou.aliyuncs.com","https://agentrun.cn-shanghai.aliyuncs.com","https://agentrun.cn-shenzhen.aliyuncs.com"],"default":"https://agentrun.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com"}},{"name":"browserId","in":"query","required":true,"description":"The browser ID","schema":{"type":"string","description":"The browser ID"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-agentrun/get-code-interpreter":{"get":{"operationId":"cloud_aliyun_agentrun_get_code_interpreter","summary":"Retrieves a code interpreter","description":"GET /2025-09-10/agents/code-interpreters/{codeInterpreterId}","tags":["cloud"],"parameters":[{"name":"endpoint","in":"query","required":false,"description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com","schema":{"type":"string","enum":["https://agentrun.ap-southeast-1.aliyuncs.com","https://agentrun.cn-beijing.aliyuncs.com","https://agentrun.cn-hangzhou.aliyuncs.com","https://agentrun.cn-shanghai.aliyuncs.com","https://agentrun.cn-shenzhen.aliyuncs.com"],"default":"https://agentrun.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com"}},{"name":"codeInterpreterId","in":"query","required":true,"description":"The ID of the code interpreter","schema":{"type":"string","description":"The ID of the code interpreter"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-agentrun/get-credential":{"get":{"operationId":"cloud_aliyun_agentrun_get_credential","summary":"Retrieves credential information","description":"GET /2025-09-10/agents/credentials/{credentialName}","tags":["cloud"],"parameters":[{"name":"endpoint","in":"query","required":false,"description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com","schema":{"type":"string","enum":["https://agentrun.ap-southeast-1.aliyuncs.com","https://agentrun.cn-beijing.aliyuncs.com","https://agentrun.cn-hangzhou.aliyuncs.com","https://agentrun.cn-shanghai.aliyuncs.com","https://agentrun.cn-shenzhen.aliyuncs.com"],"default":"https://agentrun.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com"}},{"name":"credentialName","in":"query","required":true,"description":"credentialName","schema":{"type":"string","description":"credentialName"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-agentrun/get-custom-domain":{"get":{"operationId":"cloud_aliyun_agentrun_get_custom_domain","summary":"Retrieves the custom domain name configuration","description":"GET /2025-09-10/agents/custom-domains/{domainName}","tags":["cloud"],"parameters":[{"name":"endpoint","in":"query","required":false,"description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com","schema":{"type":"string","enum":["https://agentrun.ap-southeast-1.aliyuncs.com","https://agentrun.cn-beijing.aliyuncs.com","https://agentrun.cn-hangzhou.aliyuncs.com","https://agentrun.cn-shanghai.aliyuncs.com","https://agentrun.cn-shenzhen.aliyuncs.com"],"default":"https://agentrun.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com"}},{"name":"domainName","in":"query","required":true,"description":"The custom domain name","schema":{"type":"string","description":"The custom domain name"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-agentrun/get-flow":{"get":{"operationId":"cloud_aliyun_agentrun_get_flow","summary":"Retrieves the details of a workflow","description":"GET /2025-09-10/flows/{flowName}","tags":["cloud"],"parameters":[{"name":"endpoint","in":"query","required":false,"description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com","schema":{"type":"string","enum":["https://agentrun.ap-southeast-1.aliyuncs.com","https://agentrun.cn-beijing.aliyuncs.com","https://agentrun.cn-hangzhou.aliyuncs.com","https://agentrun.cn-shanghai.aliyuncs.com","https://agentrun.cn-shenzhen.aliyuncs.com"],"default":"https://agentrun.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com"}},{"name":"flowName","in":"query","required":true,"description":"The workflow ID","schema":{"type":"string","description":"The workflow ID"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-agentrun/get-flow-draft":{"get":{"operationId":"cloud_aliyun_agentrun_get_flow_draft","summary":"Retrieves a workflow draft","description":"GET /2025-09-10/flows/{flowName}/draft","tags":["cloud"],"parameters":[{"name":"endpoint","in":"query","required":false,"description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com","schema":{"type":"string","enum":["https://agentrun.ap-southeast-1.aliyuncs.com","https://agentrun.cn-beijing.aliyuncs.com","https://agentrun.cn-hangzhou.aliyuncs.com","https://agentrun.cn-shanghai.aliyuncs.com","https://agentrun.cn-shenzhen.aliyuncs.com"],"default":"https://agentrun.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com"}},{"name":"flowName","in":"query","required":true,"description":"The workflow ID","schema":{"type":"string","description":"The workflow ID"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-agentrun/get-flow-endpoint":{"get":{"operationId":"cloud_aliyun_agentrun_get_flow_endpoint","summary":"Retrieves the details of a workflow endpoint","description":"GET /2025-09-10/flows/{flowName}/endpoints/{flowEndpointName}","tags":["cloud"],"parameters":[{"name":"endpoint","in":"query","required":false,"description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com","schema":{"type":"string","enum":["https://agentrun.ap-southeast-1.aliyuncs.com","https://agentrun.cn-beijing.aliyuncs.com","https://agentrun.cn-hangzhou.aliyuncs.com","https://agentrun.cn-shanghai.aliyuncs.com","https://agentrun.cn-shenzhen.aliyuncs.com"],"default":"https://agentrun.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com"}},{"name":"flowName","in":"query","required":true,"description":"The workflow ID","schema":{"type":"string","description":"The workflow ID"}},{"name":"flowEndpointName","in":"query","required":true,"description":"The workflow endpoint ID","schema":{"type":"string","description":"The workflow endpoint ID"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-agentrun/get-flow-version":{"get":{"operationId":"cloud_aliyun_agentrun_get_flow_version","summary":"Retrieves the details of a workflow version","description":"GET /2025-09-10/flows/{flowName}/versions/{flowVersion}","tags":["cloud"],"parameters":[{"name":"endpoint","in":"query","required":false,"description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com","schema":{"type":"string","enum":["https://agentrun.ap-southeast-1.aliyuncs.com","https://agentrun.cn-beijing.aliyuncs.com","https://agentrun.cn-hangzhou.aliyuncs.com","https://agentrun.cn-shanghai.aliyuncs.com","https://agentrun.cn-shenzhen.aliyuncs.com"],"default":"https://agentrun.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com"}},{"name":"flowName","in":"query","required":true,"description":"The workflow name","schema":{"type":"string","description":"The workflow name"}},{"name":"flowVersion","in":"query","required":true,"description":"The version number","schema":{"type":"string","description":"The version number"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-agentrun/get-imbot":{"get":{"operationId":"cloud_aliyun_agentrun_get_imbot","summary":"Retrieves an IM bot","description":"GET /2025-09-10/agents/im-bots/{imBotId}","tags":["cloud"],"parameters":[{"name":"endpoint","in":"query","required":false,"description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com","schema":{"type":"string","enum":["https://agentrun.ap-southeast-1.aliyuncs.com","https://agentrun.cn-beijing.aliyuncs.com","https://agentrun.cn-hangzhou.aliyuncs.com","https://agentrun.cn-shanghai.aliyuncs.com","https://agentrun.cn-shenzhen.aliyuncs.com"],"default":"https://agentrun.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com"}},{"name":"imBotId","in":"query","required":true,"description":"The primary key UUID of the bot","schema":{"type":"string","description":"The primary key UUID of the bot"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-agentrun/get-knowledge-base":{"get":{"operationId":"cloud_aliyun_agentrun_get_knowledge_base","summary":"Retrieves a knowledge base","description":"GET /2025-09-10/agents/knowledgebases/{knowledgeBaseName}","tags":["cloud"],"parameters":[{"name":"endpoint","in":"query","required":false,"description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com","schema":{"type":"string","enum":["https://agentrun.ap-southeast-1.aliyuncs.com","https://agentrun.cn-beijing.aliyuncs.com","https://agentrun.cn-hangzhou.aliyuncs.com","https://agentrun.cn-shanghai.aliyuncs.com","https://agentrun.cn-shenzhen.aliyuncs.com"],"default":"https://agentrun.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com"}},{"name":"knowledgeBaseName","in":"query","required":true,"description":"The name of the knowledge base","schema":{"type":"string","description":"The name of the knowledge base"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-agentrun/get-memory-collection":{"get":{"operationId":"cloud_aliyun_agentrun_get_memory_collection","summary":"Queries the details of the memory storage","description":"GET /2025-09-10/agents/memory-collections/{memoryCollectionName}","tags":["cloud"],"parameters":[{"name":"endpoint","in":"query","required":false,"description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com","schema":{"type":"string","enum":["https://agentrun.ap-southeast-1.aliyuncs.com","https://agentrun.cn-beijing.aliyuncs.com","https://agentrun.cn-hangzhou.aliyuncs.com","https://agentrun.cn-shanghai.aliyuncs.com","https://agentrun.cn-shenzhen.aliyuncs.com"],"default":"https://agentrun.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com"}},{"name":"memoryCollectionName","in":"query","required":true,"description":"The name of the memory storage","schema":{"type":"string","description":"The name of the memory storage"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-agentrun/get-model-proxy":{"get":{"operationId":"cloud_aliyun_agentrun_get_model_proxy","summary":"Retrieves model governance information","description":"GET /2025-09-10/agents/model-proxies/{modelProxyName}","tags":["cloud"],"parameters":[{"name":"endpoint","in":"query","required":false,"description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com","schema":{"type":"string","enum":["https://agentrun.ap-southeast-1.aliyuncs.com","https://agentrun.cn-beijing.aliyuncs.com","https://agentrun.cn-hangzhou.aliyuncs.com","https://agentrun.cn-shanghai.aliyuncs.com","https://agentrun.cn-shenzhen.aliyuncs.com"],"default":"https://agentrun.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com"}},{"name":"modelProxyName","in":"query","required":true,"description":"modelProxyName","schema":{"type":"string","description":"modelProxyName"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-agentrun/get-model-service":{"get":{"operationId":"cloud_aliyun_agentrun_get_model_service","summary":"Retrieves model information","description":"GET /2025-09-10/agents/model-services/{modelServiceName}","tags":["cloud"],"parameters":[{"name":"endpoint","in":"query","required":false,"description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com","schema":{"type":"string","enum":["https://agentrun.ap-southeast-1.aliyuncs.com","https://agentrun.cn-beijing.aliyuncs.com","https://agentrun.cn-hangzhou.aliyuncs.com","https://agentrun.cn-shanghai.aliyuncs.com","https://agentrun.cn-shenzhen.aliyuncs.com"],"default":"https://agentrun.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com"}},{"name":"modelServiceName","in":"query","required":true,"description":"modelServiceName","schema":{"type":"string","description":"modelServiceName"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-agentrun/get-sandbox":{"get":{"operationId":"cloud_aliyun_agentrun_get_sandbox","summary":"Retrieves the details of a specific sandbox","description":"GET /2025-09-10/sandboxes/{sandboxId}","tags":["cloud"],"parameters":[{"name":"endpoint","in":"query","required":false,"description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com","schema":{"type":"string","enum":["https://agentrun.ap-southeast-1.aliyuncs.com","https://agentrun.cn-beijing.aliyuncs.com","https://agentrun.cn-hangzhou.aliyuncs.com","https://agentrun.cn-shanghai.aliyuncs.com","https://agentrun.cn-shenzhen.aliyuncs.com"],"default":"https://agentrun.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com"}},{"name":"sandboxId","in":"query","required":true,"description":"The unique identifier of the sandbox","schema":{"type":"string","description":"The unique identifier of the sandbox"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-agentrun/get-template":{"get":{"operationId":"cloud_aliyun_agentrun_get_template","summary":"Retrieves a template","description":"GET /2025-09-10/templates/{templateName}","tags":["cloud"],"parameters":[{"name":"endpoint","in":"query","required":false,"description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com","schema":{"type":"string","enum":["https://agentrun.ap-southeast-1.aliyuncs.com","https://agentrun.cn-beijing.aliyuncs.com","https://agentrun.cn-hangzhou.aliyuncs.com","https://agentrun.cn-shanghai.aliyuncs.com","https://agentrun.cn-shenzhen.aliyuncs.com"],"default":"https://agentrun.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com"}},{"name":"templateName","in":"query","required":true,"description":"The template name","schema":{"type":"string","description":"The template name"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-agentrun/get-tool":{"get":{"operationId":"cloud_aliyun_agentrun_get_tool","summary":"Gets a tool","description":"GET /2025-09-10/agents/tools/{toolName}","tags":["cloud"],"parameters":[{"name":"endpoint","in":"query","required":false,"description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com","schema":{"type":"string","enum":["https://agentrun.ap-southeast-1.aliyuncs.com","https://agentrun.cn-beijing.aliyuncs.com","https://agentrun.cn-hangzhou.aliyuncs.com","https://agentrun.cn-shanghai.aliyuncs.com","https://agentrun.cn-shenzhen.aliyuncs.com"],"default":"https://agentrun.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com"}},{"name":"toolName","in":"query","required":true,"description":"The tool name","schema":{"type":"string","description":"The tool name"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-agentrun/get-workspace":{"get":{"operationId":"cloud_aliyun_agentrun_get_workspace","summary":"Retrieves the details of a workspace","description":"GET /2025-09-10/workspaces/{workspaceId}","tags":["cloud"],"parameters":[{"name":"endpoint","in":"query","required":false,"description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com","schema":{"type":"string","enum":["https://agentrun.ap-southeast-1.aliyuncs.com","https://agentrun.cn-beijing.aliyuncs.com","https://agentrun.cn-hangzhou.aliyuncs.com","https://agentrun.cn-shanghai.aliyuncs.com","https://agentrun.cn-shenzhen.aliyuncs.com"],"default":"https://agentrun.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com"}},{"name":"workspaceId","in":"query","required":true,"description":"The workspace ID","schema":{"type":"string","description":"The workspace ID"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-agentrun/get-workspace-discovery-endpoints":{"get":{"operationId":"cloud_aliyun_agentrun_get_workspace_discovery_endpoints","summary":"Gets the discovery endpoints for a workspace","description":"GET /2025-09-10/workspaces/{workspaceId}/discovery/endpoints","tags":["cloud"],"parameters":[{"name":"endpoint","in":"query","required":false,"description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com","schema":{"type":"string","enum":["https://agentrun.ap-southeast-1.aliyuncs.com","https://agentrun.cn-beijing.aliyuncs.com","https://agentrun.cn-hangzhou.aliyuncs.com","https://agentrun.cn-shanghai.aliyuncs.com","https://agentrun.cn-shenzhen.aliyuncs.com"],"default":"https://agentrun.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com"}},{"name":"workspaceId","in":"query","required":true,"description":"The workspace ID","schema":{"type":"string","description":"The workspace ID"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-agentrun/list-agent-runtime-endpoints":{"get":{"operationId":"cloud_aliyun_agentrun_list_agent_runtime_endpoints","summary":"Retrieves the list of access endpoints for an agent runtime","description":"GET /2025-09-10/agents/runtimes/{agentRuntimeId}/endpoints","tags":["cloud"],"parameters":[{"name":"endpoint","in":"query","required":false,"description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com","schema":{"type":"string","enum":["https://agentrun.ap-southeast-1.aliyuncs.com","https://agentrun.cn-beijing.aliyuncs.com","https://agentrun.cn-hangzhou.aliyuncs.com","https://agentrun.cn-shanghai.aliyuncs.com","https://agentrun.cn-shenzhen.aliyuncs.com"],"default":"https://agentrun.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com"}},{"name":"agentRuntimeId","in":"query","required":true,"description":"The agent runtime ID","schema":{"type":"string","description":"The agent runtime ID"}},{"name":"endpointName","in":"query","required":false,"description":"Filters results by endpoint name","schema":{"type":"string","description":"Filters results by endpoint name"},"example":"my-endpoint"},{"name":"pageNumber","in":"query","required":false,"description":"The page number","schema":{"type":"integer","description":"The page number"},"example":"1"},{"name":"pageSize","in":"query","required":false,"description":"The page size","schema":{"type":"integer","description":"The page size"},"example":"10"},{"name":"searchMode","in":"query","required":false,"description":"The search mode","schema":{"type":"string","description":"The search mode"},"example":"fuzzy"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-agentrun/list-agent-runtime-versions":{"get":{"operationId":"cloud_aliyun_agentrun_list_agent_runtime_versions","summary":"Retrieves agent runtime versions","description":"GET /2025-09-10/agents/runtimes/{agentRuntimeId}/versions","tags":["cloud"],"parameters":[{"name":"endpoint","in":"query","required":false,"description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com","schema":{"type":"string","enum":["https://agentrun.ap-southeast-1.aliyuncs.com","https://agentrun.cn-beijing.aliyuncs.com","https://agentrun.cn-hangzhou.aliyuncs.com","https://agentrun.cn-shanghai.aliyuncs.com","https://agentrun.cn-shenzhen.aliyuncs.com"],"default":"https://agentrun.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com"}},{"name":"agentRuntimeId","in":"query","required":true,"description":"The agent runtime ID","schema":{"type":"string","description":"The agent runtime ID"}},{"name":"pageNumber","in":"query","required":false,"description":"The page number","schema":{"type":"integer","description":"The page number"},"example":"1"},{"name":"pageSize","in":"query","required":false,"description":"The page size","schema":{"type":"integer","description":"The page size"},"example":"10"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-agentrun/list-agent-runtimes":{"get":{"operationId":"cloud_aliyun_agentrun_list_agent_runtimes","summary":"Retrieves a list of agent runtimes","description":"GET /2025-09-10/agents/runtimes","tags":["cloud"],"parameters":[{"name":"endpoint","in":"query","required":false,"description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com","schema":{"type":"string","enum":["https://agentrun.ap-southeast-1.aliyuncs.com","https://agentrun.cn-beijing.aliyuncs.com","https://agentrun.cn-hangzhou.aliyuncs.com","https://agentrun.cn-shanghai.aliyuncs.com","https://agentrun.cn-shenzhen.aliyuncs.com"],"default":"https://agentrun.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com"}},{"name":"agentRuntimeName","in":"query","required":false,"description":"Filters the results by agent runtime name","schema":{"type":"string","description":"Filters the results by agent runtime name"},"example":"my-runtime"},{"name":"status","in":"query","required":false,"description":"Filters the results by status","schema":{"type":"string","description":"Filters the results by status"},"example":"READY,CREATING"},{"name":"systemTags","in":"query","required":false,"description":"Filters the results by system tags","schema":{"type":"string","description":"Filters the results by system tags"},"example":"acs:ecs:tag1,acs:ecs:tag2"},{"name":"pageNumber","in":"query","required":false,"description":"The page number","schema":{"type":"integer","description":"The page number"},"example":"1"},{"name":"pageSize","in":"query","required":false,"description":"The number of entries per page","schema":{"type":"integer","description":"The number of entries per page"},"example":"10"},{"name":"searchMode","in":"query","required":false,"description":"The search mode","schema":{"type":"string","description":"The search mode"},"example":"fuzzy"},{"name":"resourceGroupId","in":"query","required":false,"description":"The ID of the resource group to which the resource belongs","schema":{"type":"string","description":"The ID of the resource group to which the resource belongs"},"example":"rg-acfm2pz25js****"},{"name":"workspaceId","in":"query","required":false,"description":"The workspace ID","schema":{"type":"string","description":"The workspace ID"},"example":"ws-1234567890abcdef"},{"name":"discoveryResourceGroupId","in":"query","required":false,"description":"The ID of the service discovery resource group","schema":{"type":"string","description":"The ID of the service discovery resource group"},"example":"rg-123456"},{"name":"workspaceIds","in":"query","required":false,"description":"Filters the results by multiple workspace IDs. Separate multiple IDs with commas (,)","schema":{"type":"string","description":"Filters the results by multiple workspace IDs. Separate multiple IDs with commas (,)"},"example":"ws-1234567890abcdef,ws-abcdef1234567890"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-agentrun/list-browsers":{"get":{"operationId":"cloud_aliyun_agentrun_list_browsers","summary":"List Browser Sandboxes","description":"GET /2025-09-10/agents/browsers","tags":["cloud"],"parameters":[{"name":"endpoint","in":"query","required":false,"description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com","schema":{"type":"string","enum":["https://agentrun.ap-southeast-1.aliyuncs.com","https://agentrun.cn-beijing.aliyuncs.com","https://agentrun.cn-hangzhou.aliyuncs.com","https://agentrun.cn-shanghai.aliyuncs.com","https://agentrun.cn-shenzhen.aliyuncs.com"],"default":"https://agentrun.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com"}},{"name":"browserName","in":"query","required":false,"description":"Filter by browser name","schema":{"type":"string","description":"Filter by browser name"},"example":"browser"},{"name":"pageSize","in":"query","required":false,"description":"Page size","schema":{"type":"integer","description":"Page size"},"example":"1"},{"name":"pageNumber","in":"query","required":false,"description":"Page number","schema":{"type":"integer","description":"Page number"},"example":"10"},{"name":"status","in":"query","required":false,"description":"Filter by status","schema":{"type":"string","description":"Filter by status"},"example":"CREATING"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-agentrun/list-code-interpreters":{"get":{"operationId":"cloud_aliyun_agentrun_list_code_interpreters","summary":"List Code Interpreters","description":"GET /2025-09-10/agents/code-interpreters","tags":["cloud"],"parameters":[{"name":"endpoint","in":"query","required":false,"description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com","schema":{"type":"string","enum":["https://agentrun.ap-southeast-1.aliyuncs.com","https://agentrun.cn-beijing.aliyuncs.com","https://agentrun.cn-hangzhou.aliyuncs.com","https://agentrun.cn-shanghai.aliyuncs.com","https://agentrun.cn-shenzhen.aliyuncs.com"],"default":"https://agentrun.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com"}},{"name":"codeInterpreterName","in":"query","required":false,"description":"Filter by code interpreter name","schema":{"type":"string","description":"Filter by code interpreter name"},"example":"code"},{"name":"pageNumber","in":"query","required":false,"description":"Page number","schema":{"type":"integer","description":"Page number"},"example":"1"},{"name":"pageSize","in":"query","required":false,"description":"Page size","schema":{"type":"integer","description":"Page size"},"example":"10"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-agentrun/list-credentials":{"get":{"operationId":"cloud_aliyun_agentrun_list_credentials","summary":"Lists all credentials","description":"GET /2025-09-10/agents/credentials","tags":["cloud"],"parameters":[{"name":"endpoint","in":"query","required":false,"description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com","schema":{"type":"string","enum":["https://agentrun.ap-southeast-1.aliyuncs.com","https://agentrun.cn-beijing.aliyuncs.com","https://agentrun.cn-hangzhou.aliyuncs.com","https://agentrun.cn-shanghai.aliyuncs.com","https://agentrun.cn-shenzhen.aliyuncs.com"],"default":"https://agentrun.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com"}},{"name":"pageSize","in":"query","required":false,"description":"The page size","schema":{"type":"integer","description":"The page size"},"example":"0"},{"name":"pageNumber","in":"query","required":false,"description":"The page number","schema":{"type":"integer","description":"The page number"},"example":"1"},{"name":"credentialAuthType","in":"query","required":false,"description":"The credential type","schema":{"type":"string","enum":["jwt","api_key","basic","ak_sk","custom_header"],"description":"The credential type"},"example":"credentialAuthType"},{"name":"credentialSourceType","in":"query","required":false,"description":"The credential source type","schema":{"type":"string","enum":["internal","external","external_llm","external_tool"],"description":"The credential source type"},"example":"credentialSourceType"},{"name":"credentialName","in":"query","required":false,"description":"The credential name","schema":{"type":"string","description":"The credential name"},"example":"credentialName"},{"name":"provider","in":"query","required":false,"description":"The third-party credential provider","schema":{"type":"string","description":"The third-party credential provider"},"example":"Aliyun"},{"name":"enabled","in":"query","required":false,"description":"Specifies whether the credential is enabled","schema":{"type":"string","description":"Specifies whether the credential is enabled"},"example":"False"},{"name":"workspaceId","in":"query","required":false,"description":"The unique identifier of the workspace","schema":{"type":"string","description":"The unique identifier of the workspace"},"example":"ws-1"},{"name":"workspaceIds","in":"query","required":false,"description":"The identifiers of multiple workspaces","schema":{"type":"string","description":"The identifiers of multiple workspaces"},"example":"ws-1,ws-2"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-agentrun/list-custom-domains":{"get":{"operationId":"cloud_aliyun_agentrun_list_custom_domains","summary":"Lists custom domains","description":"GET /2025-09-10/agents/custom-domains","tags":["cloud"],"parameters":[{"name":"endpoint","in":"query","required":false,"description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com","schema":{"type":"string","enum":["https://agentrun.ap-southeast-1.aliyuncs.com","https://agentrun.cn-beijing.aliyuncs.com","https://agentrun.cn-hangzhou.aliyuncs.com","https://agentrun.cn-shanghai.aliyuncs.com","https://agentrun.cn-shenzhen.aliyuncs.com"],"default":"https://agentrun.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com"}},{"name":"pageSize","in":"query","required":false,"description":"The number of entries per page","schema":{"type":"integer","description":"The number of entries per page"},"example":"20"},{"name":"pageNumber","in":"query","required":false,"description":"The page number","schema":{"type":"integer","description":"The page number"},"example":"1"},{"name":"domainName","in":"query","required":false,"description":"The custom domain name","schema":{"type":"string","description":"The custom domain name"},"example":"mydomain.com"},{"name":"resourceName","in":"query","required":false,"description":"The name of the resource associated with the custom domain","schema":{"type":"string","description":"The name of the resource associated with the custom domain"},"example":"agent-1"},{"name":"resourceType","in":"query","required":false,"description":"The type of the resource associated with the custom domain","schema":{"type":"string","enum":["runtime","litellm","template","tool","flow"],"description":"The type of the resource associated with the custom domain"},"example":"runtime"},{"name":"domainType","in":"query","required":false,"description":"The domain type used for filtering. Valid values: STANDARD and SANDBOX","schema":{"type":"string","enum":["STANDARD","SANDBOX"],"description":"The domain type used for filtering. Valid values: STANDARD and SANDBOX"},"example":"STANDARD"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-agentrun/list-flow-endpoints":{"get":{"operationId":"cloud_aliyun_agentrun_list_flow_endpoints","summary":"Lists workflow endpoints","description":"GET /2025-09-10/flows/{flowId}/endpoints","tags":["cloud"],"parameters":[{"name":"endpoint","in":"query","required":false,"description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com","schema":{"type":"string","enum":["https://agentrun.ap-southeast-1.aliyuncs.com","https://agentrun.cn-beijing.aliyuncs.com","https://agentrun.cn-hangzhou.aliyuncs.com","https://agentrun.cn-shanghai.aliyuncs.com","https://agentrun.cn-shenzhen.aliyuncs.com"],"default":"https://agentrun.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com"}},{"name":"flowId","in":"query","required":true,"description":"The workflow ID","schema":{"type":"string","description":"The workflow ID"}},{"name":"pageNumber","in":"query","required":false,"description":"The page number","schema":{"type":"integer","description":"The page number"},"example":"1"},{"name":"pageSize","in":"query","required":false,"description":"The page size","schema":{"type":"integer","description":"The page size"},"example":"10"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-agentrun/list-flow-versions":{"get":{"operationId":"cloud_aliyun_agentrun_list_flow_versions","summary":"Lists the versions of a flow","description":"GET /2025-09-10/flows/{flowName}/versions","tags":["cloud"],"parameters":[{"name":"endpoint","in":"query","required":false,"description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com","schema":{"type":"string","enum":["https://agentrun.ap-southeast-1.aliyuncs.com","https://agentrun.cn-beijing.aliyuncs.com","https://agentrun.cn-hangzhou.aliyuncs.com","https://agentrun.cn-shanghai.aliyuncs.com","https://agentrun.cn-shenzhen.aliyuncs.com"],"default":"https://agentrun.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com"}},{"name":"flowName","in":"query","required":true,"description":"The flow ID","schema":{"type":"string","description":"The flow ID"}},{"name":"pageNumber","in":"query","required":false,"description":"The page number","schema":{"type":"integer","description":"The page number"},"example":"1"},{"name":"pageSize","in":"query","required":false,"description":"The page size","schema":{"type":"integer","description":"The page size"},"example":"10"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-agentrun/list-flows":{"get":{"operationId":"cloud_aliyun_agentrun_list_flows","summary":"List flows","description":"GET /2025-09-10/flows","tags":["cloud"],"parameters":[{"name":"endpoint","in":"query","required":false,"description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com","schema":{"type":"string","enum":["https://agentrun.ap-southeast-1.aliyuncs.com","https://agentrun.cn-beijing.aliyuncs.com","https://agentrun.cn-hangzhou.aliyuncs.com","https://agentrun.cn-shanghai.aliyuncs.com","https://agentrun.cn-shenzhen.aliyuncs.com"],"default":"https://agentrun.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com"}},{"name":"flowName","in":"query","required":false,"description":"Filter by flow name","schema":{"type":"string","description":"Filter by flow name"},"example":"my-flow"},{"name":"workspaceId","in":"query","required":false,"description":"Workspace ID","schema":{"type":"string","description":"Workspace ID"},"example":"ws-1234567890abcdef"},{"name":"workspaceIds","in":"query","required":false,"description":"List of workspace IDs","schema":{"type":"string","description":"List of workspace IDs"},"example":"ws-1234567890abcdef,ws-1234567890bcdefg"},{"name":"pageNumber","in":"query","required":false,"description":"Page number","schema":{"type":"integer","description":"Page number"},"example":"1"},{"name":"pageSize","in":"query","required":false,"description":"Page size","schema":{"type":"integer","description":"Page size"},"example":"10"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-agentrun/list-imbots":{"get":{"operationId":"cloud_aliyun_agentrun_list_imbots","summary":"Lists IM bots by page","description":"GET /2025-09-10/agents/im-bots","tags":["cloud"],"parameters":[{"name":"endpoint","in":"query","required":false,"description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com","schema":{"type":"string","enum":["https://agentrun.ap-southeast-1.aliyuncs.com","https://agentrun.cn-beijing.aliyuncs.com","https://agentrun.cn-hangzhou.aliyuncs.com","https://agentrun.cn-shanghai.aliyuncs.com","https://agentrun.cn-shenzhen.aliyuncs.com"],"default":"https://agentrun.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com"}},{"name":"pageNumber","in":"query","required":false,"description":"The page number. Default value: 1. Minimum value: 1","schema":{"type":"integer","description":"The page number. Default value: 1. Minimum value: 1"},"example":"1"},{"name":"pageSize","in":"query","required":false,"description":"The number of entries per page. Default value: 20. Valid values: 1 to 100","schema":{"type":"integer","description":"The number of entries per page. Default value: 20. Valid values: 1 to 100"},"example":"10"},{"name":"botName","in":"query","required":false,"description":"Filters by bot name by using case-insensitive substring matching","schema":{"type":"string","description":"Filters by bot name by using case-insensitive substring matching"},"example":"customer-service-bot"},{"name":"agentRuntimeId","in":"query","required":false,"description":"Filters by the associated agent runtime ID","schema":{"type":"string","description":"Filters by the associated agent runtime ID"},"example":"ar-1234567890abcdef"},{"name":"botBizType","in":"query","required":false,"description":"Filters by the bot business type","schema":{"type":"string","description":"Filters by the bot business type"},"example":"dingtalk"},{"name":"status","in":"query","required":false,"description":"The IM bot status. Valid values: running and stopped","schema":{"type":"string","description":"The IM bot status. Valid values: running and stopped"},"example":"running"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-agentrun/list-knowledge-bases":{"get":{"operationId":"cloud_aliyun_agentrun_list_knowledge_bases","summary":"Lists knowledge bases","description":"GET /2025-09-10/agents/knowledgebases","tags":["cloud"],"parameters":[{"name":"endpoint","in":"query","required":false,"description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com","schema":{"type":"string","enum":["https://agentrun.ap-southeast-1.aliyuncs.com","https://agentrun.cn-beijing.aliyuncs.com","https://agentrun.cn-hangzhou.aliyuncs.com","https://agentrun.cn-shanghai.aliyuncs.com","https://agentrun.cn-shenzhen.aliyuncs.com"],"default":"https://agentrun.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com"}},{"name":"provider","in":"query","required":false,"description":"The knowledge base provider","schema":{"type":"string","description":"The knowledge base provider"},"example":"bailian"},{"name":"pageNumber","in":"query","required":false,"description":"The page number. Pages start from 1. Default value: 1","schema":{"type":"integer","description":"The page number. Pages start from 1. Default value: 1"},"example":"1"},{"name":"pageSize","in":"query","required":false,"description":"The number of entries per page. Default value: 20","schema":{"type":"integer","description":"The number of entries per page. Default value: 20"},"example":"20"},{"name":"workspaceId","in":"query","required":false,"description":"The workspace ID","schema":{"type":"string","description":"The workspace ID"},"example":"1e546db8-bd93-5a52-9be1-5a1351cdac95"},{"name":"workspaceIds","in":"query","required":false,"description":"The workspace IDs","schema":{"type":"string","description":"The workspace IDs"},"example":"1e546db8-bd93-5a52-9be1-5a1351cdac95,1e546db8-bd93-5a52-9be1-5a1351caass4"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-agentrun/list-memory-collections":{"get":{"operationId":"cloud_aliyun_agentrun_list_memory_collections","summary":"Queries a list of memory storages","description":"GET /2025-09-10/agents/memory-collections","tags":["cloud"],"parameters":[{"name":"endpoint","in":"query","required":false,"description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com","schema":{"type":"string","enum":["https://agentrun.ap-southeast-1.aliyuncs.com","https://agentrun.cn-beijing.aliyuncs.com","https://agentrun.cn-hangzhou.aliyuncs.com","https://agentrun.cn-shanghai.aliyuncs.com","https://agentrun.cn-shenzhen.aliyuncs.com"],"default":"https://agentrun.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com"}},{"name":"pageNumber","in":"query","required":false,"description":"The page number. Default value: 1","schema":{"type":"integer","description":"The page number. Default value: 1"},"example":"1"},{"name":"pageSize","in":"query","required":false,"description":"The number of entries per page. Default value: 20","schema":{"type":"integer","description":"The number of entries per page. Default value: 20"},"example":"20"},{"name":"status","in":"query","required":false,"description":"The status","schema":{"type":"string","description":"The status"},"example":"READY"},{"name":"type","in":"query","required":false,"description":"The type","schema":{"type":"string","description":"The type"},"example":"mem0"},{"name":"memoryCollectionName","in":"query","required":false,"description":"The name of the memory storage","schema":{"type":"string","description":"The name of the memory storage"},"example":"my-memory-1"},{"name":"workspaceId","in":"query","required":false,"description":"The ID of the workspace to which the resource belongs","schema":{"type":"string","description":"The ID of the workspace to which the resource belongs"},"example":"ws-1234567890abcdef"},{"name":"workspaceIds","in":"query","required":false,"description":"The workspace IDs. Separate multiple IDs with commas","schema":{"type":"string","description":"The workspace IDs. Separate multiple IDs with commas"},"example":"ws-1234567890abcdef,ws-abcdef1234567890"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-agentrun/list-model-providers":{"get":{"operationId":"cloud_aliyun_agentrun_list_model_providers","summary":"Lists all model providers","description":"GET /2025-09-10/agents/model-providers","tags":["cloud"],"parameters":[{"name":"endpoint","in":"query","required":false,"description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com","schema":{"type":"string","enum":["https://agentrun.ap-southeast-1.aliyuncs.com","https://agentrun.cn-beijing.aliyuncs.com","https://agentrun.cn-hangzhou.aliyuncs.com","https://agentrun.cn-shanghai.aliyuncs.com","https://agentrun.cn-shenzhen.aliyuncs.com"],"default":"https://agentrun.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com"}},{"name":"modelType","in":"query","required":false,"description":"The model type. Valid values: system: built-in model. deployment: custom deployed model","schema":{"type":"string","description":"The model type. Valid values: system: built-in model. deployment: custom deployed model"},"example":"pop"},{"name":"provider","in":"query","required":false,"description":"The cloud provider. Only Aliyun is supported","schema":{"type":"string","description":"The cloud provider. Only Aliyun is supported"},"example":"Aliyun"},{"name":"modelName","in":"query","required":false,"description":"The model name","schema":{"type":"string","description":"The model name"},"example":"aa"},{"name":"pageNumber","in":"query","required":false,"description":"The page number","schema":{"type":"string","description":"The page number"},"example":"1"},{"name":"pageSize","in":"query","required":false,"description":"The page size","schema":{"type":"string","description":"The page size"},"example":"10"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-agentrun/list-model-proxies":{"get":{"operationId":"cloud_aliyun_agentrun_list_model_proxies","summary":"Lists all Model Proxies","description":"GET /2025-09-10/agents/model-proxies","tags":["cloud"],"parameters":[{"name":"endpoint","in":"query","required":false,"description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com","schema":{"type":"string","enum":["https://agentrun.ap-southeast-1.aliyuncs.com","https://agentrun.cn-beijing.aliyuncs.com","https://agentrun.cn-hangzhou.aliyuncs.com","https://agentrun.cn-shanghai.aliyuncs.com","https://agentrun.cn-shenzhen.aliyuncs.com"],"default":"https://agentrun.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com"}},{"name":"proxyMode","in":"query","required":false,"description":"Specifies the proxy mode","schema":{"type":"string","description":"Specifies the proxy mode"},"example":"single"},{"name":"status","in":"query","required":false,"description":"Filters the list by Model Proxy status","schema":{"type":"string","description":"Filters the list by Model Proxy status"},"example":"CREATING"},{"name":"pageNumber","in":"query","required":false,"description":"The page number for pagination","schema":{"type":"integer","description":"The page number for pagination"},"example":"1"},{"name":"pageSize","in":"query","required":false,"description":"The number of entries per page. The default is 20","schema":{"type":"integer","description":"The number of entries per page. The default is 20"},"example":"10"},{"name":"workspaceId","in":"query","required":false,"description":"The ID of the workspace","schema":{"type":"string","description":"The ID of the workspace"},"example":"ws-1234567890abcdef"},{"name":"workspaceIds","in":"query","required":false,"description":"A comma-separated list of workspace IDs to query","schema":{"type":"string","description":"A comma-separated list of workspace IDs to query"},"example":"ws-1234567890abcdef,ws-abcdef1234567890"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-agentrun/list-model-services":{"get":{"operationId":"cloud_aliyun_agentrun_list_model_services","summary":"Lists all models","description":"GET /2025-09-10/agents/model-services","tags":["cloud"],"parameters":[{"name":"endpoint","in":"query","required":false,"description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com","schema":{"type":"string","enum":["https://agentrun.ap-southeast-1.aliyuncs.com","https://agentrun.cn-beijing.aliyuncs.com","https://agentrun.cn-hangzhou.aliyuncs.com","https://agentrun.cn-shanghai.aliyuncs.com","https://agentrun.cn-shenzhen.aliyuncs.com"],"default":"https://agentrun.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com"}},{"name":"modelType","in":"query","required":true,"description":"The model type. Valid values: system: Built-in system model. deployment: Custom deployed model","schema":{"type":"string","description":"The model type. Valid values: system: Built-in system model. deployment: Custom deployed model"},"example":"system"},{"name":"provider","in":"query","required":false,"description":"The cloud provider. Only Aliyun is supported","schema":{"type":"string","description":"The cloud provider. Only Aliyun is supported"},"example":"Aliyun"},{"name":"providerType","in":"query","required":false,"description":"The provider type","schema":{"type":"string","description":"The provider type"},"example":"providerType"},{"name":"pageNumber","in":"query","required":false,"description":"The page number","schema":{"type":"integer","description":"The page number"},"example":"10"},{"name":"pageSize","in":"query","required":false,"description":"The page size","schema":{"type":"integer","description":"The page size"},"example":"10"},{"name":"workspaceId","in":"query","required":false,"description":"The ID of the workspace to which the resource belongs","schema":{"type":"string","description":"The ID of the workspace to which the resource belongs"},"example":"ws-1234567890abcdef"},{"name":"workspaceIds","in":"query","required":false,"description":"The list of workspace IDs. Separate multiple values with commas","schema":{"type":"string","description":"The list of workspace IDs. Separate multiple values with commas"},"example":"ws-1234567890abcdef,ws-abcdef1234567890"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-agentrun/list-sandboxes":{"get":{"operationId":"cloud_aliyun_agentrun_list_sandboxes","summary":"Lists sandboxes","description":"GET /2025-09-10/sandboxes","tags":["cloud"],"parameters":[{"name":"endpoint","in":"query","required":false,"description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com","schema":{"type":"string","enum":["https://agentrun.ap-southeast-1.aliyuncs.com","https://agentrun.cn-beijing.aliyuncs.com","https://agentrun.cn-hangzhou.aliyuncs.com","https://agentrun.cn-shanghai.aliyuncs.com","https://agentrun.cn-shenzhen.aliyuncs.com"],"default":"https://agentrun.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com"}},{"name":"templateName","in":"query","required":false,"description":"The template name","schema":{"type":"string","description":"The template name"},"example":"templateName"},{"name":"templateType","in":"query","required":false,"description":"The templatetype","schema":{"type":"string","description":"The templatetype"},"example":"TASK"},{"name":"maxResults","in":"query","required":false,"description":"The maximum number of results","schema":{"type":"integer","description":"The maximum number of results"},"example":"1000"},{"name":"nextToken","in":"query","required":false,"description":"The pagination cursor. If this field is not empty, more data is available","schema":{"type":"string","description":"The pagination cursor. If this field is not empty, more data is available"},"example":"dnLkmeaJc9vHgbzREh2l0J4dD+2BRJj42DLT6GrZysw="},{"name":"status","in":"query","required":false,"description":"The status","schema":{"type":"string","description":"The status"},"example":"CREATING"},{"name":"sandboxId","in":"query","required":false,"description":"The ID of the sandbox instance","schema":{"type":"string","description":"The ID of the sandbox instance"},"example":"01KMB33KCB3YRYE9C2AJCW5DQK"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-agentrun/list-templates":{"get":{"operationId":"cloud_aliyun_agentrun_list_templates","summary":"Lists templates","description":"GET /2025-09-10/templates","tags":["cloud"],"parameters":[{"name":"endpoint","in":"query","required":false,"description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com","schema":{"type":"string","enum":["https://agentrun.ap-southeast-1.aliyuncs.com","https://agentrun.cn-beijing.aliyuncs.com","https://agentrun.cn-hangzhou.aliyuncs.com","https://agentrun.cn-shanghai.aliyuncs.com","https://agentrun.cn-shenzhen.aliyuncs.com"],"default":"https://agentrun.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com"}},{"name":"templateType","in":"query","required":false,"description":"The templatetype","schema":{"type":"string","enum":["Browser","CodeInterpreter","AllInOne","CustomImage","ComputerUse"],"description":"The templatetype"},"example":"Browser"},{"name":"pageNumber","in":"query","required":false,"description":"The page number","schema":{"type":"integer","description":"The page number"},"example":"1"},{"name":"pageSize","in":"query","required":false,"description":"The page size","schema":{"type":"integer","description":"The page size"},"example":"20"},{"name":"status","in":"query","required":false,"description":"The status","schema":{"type":"string","description":"The status"},"example":"READY"},{"name":"templateName","in":"query","required":false,"description":"The template name","schema":{"type":"string","description":"The template name"},"example":"temp-abc"},{"name":"workspaceId","in":"query","required":false,"description":"The workspace ID used for filtering","schema":{"type":"string","description":"The workspace ID used for filtering"},"example":"aaa"},{"name":"workspaceIds","in":"query","required":false,"description":"The workspace IDs used for filtering","schema":{"type":"string","description":"The workspace IDs used for filtering"},"example":"aaa,bbb"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-agentrun/list-tools":{"get":{"operationId":"cloud_aliyun_agentrun_list_tools","summary":"Lists tools","description":"GET /2025-09-10/agents/tools","tags":["cloud"],"parameters":[{"name":"endpoint","in":"query","required":false,"description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com","schema":{"type":"string","enum":["https://agentrun.ap-southeast-1.aliyuncs.com","https://agentrun.cn-beijing.aliyuncs.com","https://agentrun.cn-hangzhou.aliyuncs.com","https://agentrun.cn-shanghai.aliyuncs.com","https://agentrun.cn-shenzhen.aliyuncs.com"],"default":"https://agentrun.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com"}},{"name":"pageSize","in":"query","required":false,"description":"The number of entries per page","schema":{"type":"integer","description":"The number of entries per page"},"example":"10"},{"name":"pageNumber","in":"query","required":false,"description":"The page number","schema":{"type":"integer","description":"The page number"},"example":"1"},{"name":"toolType","in":"query","required":false,"description":"The tool type. Valid values: MCP: MCP tool. A tool based on Model Context Protocol. FUNCTIONCALL: Function call tool. A tool implemented…","schema":{"type":"string","enum":["MCP","FUNCTIONCALL","SKILL"],"description":"The tool type. Valid values: MCP: MCP tool. A tool based on Model Context Protocol. FUNCTIONCALL: Function call tool. A tool implemented…"},"example":"MCP"},{"name":"toolName","in":"query","required":false,"description":"The tool name. Fuzzy match is supported","schema":{"type":"string","description":"The tool name. Fuzzy match is supported"},"example":"tool-1"},{"name":"workspaceId","in":"query","required":false,"description":"The workspace ID","schema":{"type":"string","description":"The workspace ID"},"example":"workspace-xyz789"},{"name":"workspaceIds","in":"query","required":false,"description":"The list of workspace IDs, separated by commas","schema":{"type":"string","description":"The list of workspace IDs, separated by commas"},"example":"ws1,ws2"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-agentrun/list-workspaces":{"get":{"operationId":"cloud_aliyun_agentrun_list_workspaces","summary":"Retrieves a list of workspaces","description":"GET /2025-09-10/workspaces","tags":["cloud"],"parameters":[{"name":"endpoint","in":"query","required":false,"description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com","schema":{"type":"string","enum":["https://agentrun.ap-southeast-1.aliyuncs.com","https://agentrun.cn-beijing.aliyuncs.com","https://agentrun.cn-hangzhou.aliyuncs.com","https://agentrun.cn-shanghai.aliyuncs.com","https://agentrun.cn-shenzhen.aliyuncs.com"],"default":"https://agentrun.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com"}},{"name":"pageSize","in":"query","required":false,"description":"The page size","schema":{"type":"string","description":"The page size"},"example":"10"},{"name":"pageNumber","in":"query","required":false,"description":"The page number. Default value: 1","schema":{"type":"string","description":"The page number. Default value: 1"},"example":"1"},{"name":"name","in":"query","required":false,"description":"The name","schema":{"type":"string","description":"The name"},"example":"intl_synonym_module"},{"name":"resourceGroupId","in":"query","required":false,"description":"The ID of the resource group","schema":{"type":"string","description":"The ID of the resource group"},"example":"rg-aek25sodlatnioq"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-agentrun/pause-sandbox":{"post":{"operationId":"cloud_aliyun_agentrun_pause_sandbox","summary":"Pauses the sandbox, retains memory and file system snapshots, and transitions the sandbox to the PAUSED…","description":"PUT /2025-09-10/sandboxes/{sandboxId}/pause","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["sandboxId"],"properties":{"endpoint":{"type":"string","enum":["https://agentrun.ap-southeast-1.aliyuncs.com","https://agentrun.cn-beijing.aliyuncs.com","https://agentrun.cn-hangzhou.aliyuncs.com","https://agentrun.cn-shanghai.aliyuncs.com","https://agentrun.cn-shenzhen.aliyuncs.com"],"default":"https://agentrun.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com"},"sandboxId":{"type":"string","description":"The sandbox ID"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-agentrun/publish-flow-version":{"post":{"operationId":"cloud_aliyun_agentrun_publish_flow_version","summary":"Publishes a workflow version","description":"POST /2025-09-10/flows/{flowName}/versions","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["flowName"],"properties":{"endpoint":{"type":"string","enum":["https://agentrun.ap-southeast-1.aliyuncs.com","https://agentrun.cn-beijing.aliyuncs.com","https://agentrun.cn-hangzhou.aliyuncs.com","https://agentrun.cn-shanghai.aliyuncs.com","https://agentrun.cn-shenzhen.aliyuncs.com"],"default":"https://agentrun.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com"},"flowName":{"type":"string","description":"The workflow ID"},"description":{"type":"string","description":"The description of the workflow version"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-agentrun/publish-runtime-version":{"post":{"operationId":"cloud_aliyun_agentrun_publish_runtime_version","summary":"Publishes a new version of an agent runtime","description":"POST /2025-09-10/agents/runtimes/{agentRuntimeId}/versions","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["agentRuntimeId"],"properties":{"endpoint":{"type":"string","enum":["https://agentrun.ap-southeast-1.aliyuncs.com","https://agentrun.cn-beijing.aliyuncs.com","https://agentrun.cn-hangzhou.aliyuncs.com","https://agentrun.cn-shanghai.aliyuncs.com","https://agentrun.cn-shenzhen.aliyuncs.com"],"default":"https://agentrun.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com"},"agentRuntimeId":{"type":"string","description":"The ID of the agent runtime"},"description":{"type":"string","description":"The description of the version"},"publisher":{"type":"string","description":"The user or system identity that published the version"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-agentrun/resume-sandbox":{"post":{"operationId":"cloud_aliyun_agentrun_resume_sandbox","summary":"Resumes a paused sandbox and restores it from the PAUSED state to the READY state","description":"PUT /2025-09-10/sandboxes/{sandboxId}/resume","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["sandboxId"],"properties":{"endpoint":{"type":"string","enum":["https://agentrun.ap-southeast-1.aliyuncs.com","https://agentrun.cn-beijing.aliyuncs.com","https://agentrun.cn-hangzhou.aliyuncs.com","https://agentrun.cn-shanghai.aliyuncs.com","https://agentrun.cn-shenzhen.aliyuncs.com"],"default":"https://agentrun.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com"},"sandboxId":{"type":"string","description":"The ID of the sandbox instance"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-agentrun/stop-sandbox":{"post":{"operationId":"cloud_aliyun_agentrun_stop_sandbox","summary":"Stops a sandbox","description":"POST /2025-09-10/sandboxes/{sandboxId}/stop","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["sandboxId"],"properties":{"endpoint":{"type":"string","enum":["https://agentrun.ap-southeast-1.aliyuncs.com","https://agentrun.cn-beijing.aliyuncs.com","https://agentrun.cn-hangzhou.aliyuncs.com","https://agentrun.cn-shanghai.aliyuncs.com","https://agentrun.cn-shenzhen.aliyuncs.com"],"default":"https://agentrun.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com"},"sandboxId":{"type":"string","description":"The sandbox ID"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-agentrun/stop-template-mcp":{"post":{"operationId":"cloud_aliyun_agentrun_stop_template_mcp","summary":"Stops a TemplateMCP service","description":"PATCH /2025-09-10/templates/{templateName}/mcp/stop","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["templateName"],"properties":{"endpoint":{"type":"string","enum":["https://agentrun.ap-southeast-1.aliyuncs.com","https://agentrun.cn-beijing.aliyuncs.com","https://agentrun.cn-hangzhou.aliyuncs.com","https://agentrun.cn-shanghai.aliyuncs.com","https://agentrun.cn-shenzhen.aliyuncs.com"],"default":"https://agentrun.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com"},"templateName":{"type":"string","description":"The template name"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-agentrun/update-agent-runtime":{"post":{"operationId":"cloud_aliyun_agentrun_update_agent_runtime","summary":"Updates an agent runtime","description":"PUT /2025-09-10/agents/runtimes/{agentRuntimeId}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["agentRuntimeId","cpu"],"properties":{"endpoint":{"type":"string","enum":["https://agentrun.ap-southeast-1.aliyuncs.com","https://agentrun.cn-beijing.aliyuncs.com","https://agentrun.cn-hangzhou.aliyuncs.com","https://agentrun.cn-shanghai.aliyuncs.com","https://agentrun.cn-shenzhen.aliyuncs.com"],"default":"https://agentrun.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com"},"agentRuntimeId":{"type":"string","description":"The agent runtime ID"},"agentIdentityConfig":{"type":"object","description":"The agent identity configuration"},"agentIdentityEnabled":{"type":"string","description":"Specifies whether to enable the agent identity capability"},"agentRuntimeName":{"type":"string","description":"The name of the agent runtime"},"armsConfiguration":{"type":"object","description":"应用实时监控服务（ARMS）的配置信息"},"artifactType":{"type":"string","description":"The artifact type"},"codeConfiguration":{"type":"object","description":"The code configuration"},"containerConfiguration":{"type":"object","description":"The container configuration"},"cpu":{"type":"number","description":"The CPU configuration"},"credentialName":{"type":"string","description":"The name of the credential used to access the agent runtime"},"description":{"type":"string","description":"The description"},"disableOndemand":{"type":"string","description":"Specifies whether to disable on-demand scaling. Default value: false. Set to true to disable on-demand scaling"},"disableSessionAffinity":{"type":"string","description":"Specifies whether to disable session affinity. Default value: false, which means session affinity is enabled by default. Set to true to…"},"diskSize":{"type":"integer","description":"The disk size"},"edition":{"type":"string","description":"The runtime version specifications"},"enableSessionIsolation":{"type":"string","description":"Specifies whether to enable session isolation. If enabled, each session runs in an isolated environment"},"environmentVariables":{"type":"object","description":"The environment variables"},"executionRoleArn":{"type":"string","description":"The ARN of the execution role that grants the agent runtime permissions to access cloud services"},"externalAgentEndpointUrl":{"type":"string","description":"The access endpoint URL of the external agent"},"forceEvictInstances":{"type":"string","description":"Specifies whether to make a best effort to evict active Function Compute (FC) sessions after the runtime configuration is updated, so that…"},"headerFieldName":{"type":"string","description":"The name of the request header used for session affinity when sessionAffinityType is set to HEADER_FIELD"},"healthCheckConfiguration":{"type":"object","description":"The health check configuration for the agent runtime"},"logConfiguration":{"type":"object","description":"The Simple Log Service (SLS) configuration"},"memory":{"type":"integer","description":"The memory configuration"},"nasConfig":{"type":"object","description":"The NAS mount configuration"},"networkConfiguration":{"type":"object","description":"The network configuration"},"ossMountConfig":{"type":"object","description":"The OSS mount configuration"},"port":{"type":"integer","description":"The port"},"protocolConfiguration":{"type":"object","description":"The protocol configuration"},"sessionAffinityType":{"type":"string","description":"The session affinity mode. Valid values: NONE: Disables session affinity. HEADER_FIELD: Enables session affinity based on request headers.…"},"sessionConcurrencyLimitPerInstance":{"type":"integer","description":"The maximum number of concurrent sessions allowed per runtime instance"},"sessionIdleTimeoutSeconds":{"type":"integer","description":"The idle timeout period for a session, in seconds. When an instance has no session requests, it enters an idle state and is billed in idle…"},"systemTags":{"type":"array","description":"The system tags for the agent runtime"},"workspaceId":{"type":"string","description":"The ID of the workspace to which the resource belongs"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-agentrun/update-agent-runtime-endpoint":{"post":{"operationId":"cloud_aliyun_agentrun_update_agent_runtime_endpoint","summary":"Updates an agent runtime access endpoint","description":"PUT /2025-09-10/agents/runtimes/{agentRuntimeId}/endpoints/{agentRuntimeEndpointId}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["agentRuntimeId","agentRuntimeEndpointId"],"properties":{"endpoint":{"type":"string","enum":["https://agentrun.ap-southeast-1.aliyuncs.com","https://agentrun.cn-beijing.aliyuncs.com","https://agentrun.cn-hangzhou.aliyuncs.com","https://agentrun.cn-shanghai.aliyuncs.com","https://agentrun.cn-shenzhen.aliyuncs.com"],"default":"https://agentrun.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com"},"agentRuntimeId":{"type":"string","description":"The agent runtime ID"},"agentRuntimeEndpointId":{"type":"string","description":"The agent runtime endpoint ID"},"agentRuntimeEndpointName":{"type":"string","description":"The name of the agent runtime endpoint"},"deleteScalingConfig":{"type":"string","description":"Specifies whether to delete the scaling configuration of the endpoint. If this parameter is set to true, the scaling configuration is…"},"description":{"type":"string","description":"The description"},"disablePublicNetworkAccess":{"type":"string","description":"Specifies whether to disable public network access for the endpoint"},"routingConfiguration":{"type":"object","description":"The routing configuration of the agent runtime endpoint. Multi-version weight allocation is supported"},"scalingConfig":{"type":"object","description":"The elastic scaling configuration of the endpoint, including the minimum number of instances and scheduled scale-out policies. This reuses…"},"targetVersion":{"type":"string","description":"The target version of the agent runtime"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-agentrun/update-credential":{"post":{"operationId":"cloud_aliyun_agentrun_update_credential","summary":"Updates a credential","description":"PUT /2025-09-10/agents/credentials/{credentialName}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["credentialName"],"properties":{"endpoint":{"type":"string","enum":["https://agentrun.ap-southeast-1.aliyuncs.com","https://agentrun.cn-beijing.aliyuncs.com","https://agentrun.cn-hangzhou.aliyuncs.com","https://agentrun.cn-shanghai.aliyuncs.com","https://agentrun.cn-shenzhen.aliyuncs.com"],"default":"https://agentrun.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com"},"credentialName":{"type":"string","description":"credentialName"},"credentialPublicConfig":{"type":"object","description":"The public configuration of the credential"},"credentialSecret":{"type":"string","description":"The credential secret"},"description":{"type":"string","description":"The description text for the credential update input"},"enabled":{"type":"string","description":"Specifies whether it is enabled"},"workspaceId":{"type":"string","description":"The ID of the workspace to which the resource belongs"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-agentrun/update-custom-domain":{"post":{"operationId":"cloud_aliyun_agentrun_update_custom_domain","summary":"Updates a custom domain name","description":"PUT /2025-09-10/agents/custom-domains/{domainName}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["domainName"],"properties":{"endpoint":{"type":"string","enum":["https://agentrun.ap-southeast-1.aliyuncs.com","https://agentrun.cn-beijing.aliyuncs.com","https://agentrun.cn-hangzhou.aliyuncs.com","https://agentrun.cn-shanghai.aliyuncs.com","https://agentrun.cn-shenzhen.aliyuncs.com"],"default":"https://agentrun.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com"},"domainName":{"type":"string","description":"The custom domain name"},"certConfig":{"type":"object","description":"The HTTPS certificate information"},"description":{"type":"string","description":"The description"},"protocol":{"type":"string","description":"The protocol types supported by the domain name. Valid values: HTTP: Only the HTTP protocol is supported. HTTPS: Only the HTTPS protocol…"},"routeConfig":{"type":"object","description":"The route table that maps the path to the resource when the custom domain name is accessed"},"tlsConfig":{"type":"object","description":"The TLS configuration information"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-agentrun/update-flow":{"post":{"operationId":"cloud_aliyun_agentrun_update_flow","summary":"Updates a workflow","description":"PUT /2025-09-10/flows/{flowName}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["flowName"],"properties":{"endpoint":{"type":"string","enum":["https://agentrun.ap-southeast-1.aliyuncs.com","https://agentrun.cn-beijing.aliyuncs.com","https://agentrun.cn-hangzhou.aliyuncs.com","https://agentrun.cn-shanghai.aliyuncs.com","https://agentrun.cn-shenzhen.aliyuncs.com"],"default":"https://agentrun.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com"},"flowName":{"type":"string","description":"The workflow ID"},"definition":{"type":"string","description":"The definition content of the workflow, in JSON or YAML format"},"description":{"type":"string","description":"The description of the workflow, used to explain its purpose and functionality"},"disablePublicNetworkAccess":{"type":"string","description":"Whether to disable public network access for the workflow, serving as the default policy at the workflow level. When FlowEndpoint is not…"},"environmentConfiguration":{"type":"object","description":"The environment variable configuration of the workflow, containing a list of named variables"},"executionRoleArn":{"type":"string","description":"The execution role ARN that grants the workflow access permissions to cloud services"},"externalStorageLocation":{"type":"string","description":"The external storage location of the workflow, such as an OSS path"},"loggingConfiguration":{"type":"object","description":"The logging configuration of the workflow"},"resourceGroupId":{"type":"string","description":"The resource group identifier to which the workflow belongs"},"tracingConfiguration":{"type":"object","description":"The distributed tracing configuration of the workflow"},"workspaceId":{"type":"string","description":"The workspace identifier to which the workflow belongs, used for resource isolation and permission management"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-agentrun/update-flow-draft":{"post":{"operationId":"cloud_aliyun_agentrun_update_flow_draft","summary":"Update a flow draft","description":"PUT /2025-09-10/flows/{flowName}/draft","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["flowName"],"properties":{"endpoint":{"type":"string","enum":["https://agentrun.ap-southeast-1.aliyuncs.com","https://agentrun.cn-beijing.aliyuncs.com","https://agentrun.cn-hangzhou.aliyuncs.com","https://agentrun.cn-shanghai.aliyuncs.com","https://agentrun.cn-shenzhen.aliyuncs.com"],"default":"https://agentrun.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com"},"flowName":{"type":"string","description":"Flow ID"},"definition":{"type":"string","description":"The Flow Definition Language (FDL) definition of the workflow"},"description":{"type":"string","description":"The description of the workflow"},"environmentConfiguration":{"type":"object","description":"The environment variable configurations accessible during workflow execution, including a list of named variables"},"executionRoleArn":{"type":"string","description":"The ARN of the RAM role used for workflow execution"},"externalStorageLocation":{"type":"string","description":"The external storage location for the workflow execution history"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-agentrun/update-flow-endpoint":{"post":{"operationId":"cloud_aliyun_agentrun_update_flow_endpoint","summary":"Updates a workflow endpoint","description":"PUT /2025-09-10/flows/{flowName}/endpoints/{flowEndpointName}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["flowName","flowEndpointName"],"properties":{"endpoint":{"type":"string","enum":["https://agentrun.ap-southeast-1.aliyuncs.com","https://agentrun.cn-beijing.aliyuncs.com","https://agentrun.cn-hangzhou.aliyuncs.com","https://agentrun.cn-shanghai.aliyuncs.com","https://agentrun.cn-shenzhen.aliyuncs.com"],"default":"https://agentrun.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com"},"flowName":{"type":"string","description":"The workflow ID"},"flowEndpointName":{"type":"string","description":"The workflow endpoint ID"},"description":{"type":"string","description":"The description of the workflow endpoint"},"disablePublicNetworkAccess":{"type":"string","description":"Specifies whether to disable public network access for the endpoint"},"routingConfiguration":{"type":"array","description":"The list of version routing configurations for the workflow endpoint, used for traffic distribution"},"targetVersion":{"type":"string","description":"The target version number that the workflow endpoint points to"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-agentrun/update-imbot":{"post":{"operationId":"cloud_aliyun_agentrun_update_imbot","summary":"Updates an IM bot","description":"PUT /2025-09-10/agents/im-bots/{imBotId}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["imBotId"],"properties":{"endpoint":{"type":"string","enum":["https://agentrun.ap-southeast-1.aliyuncs.com","https://agentrun.cn-beijing.aliyuncs.com","https://agentrun.cn-hangzhou.aliyuncs.com","https://agentrun.cn-shanghai.aliyuncs.com","https://agentrun.cn-shenzhen.aliyuncs.com"],"default":"https://agentrun.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com"},"imBotId":{"type":"string","description":"The ID of the IM bot to update, in UUID format"},"botBizId":{"type":"string","description":"The identifier of the IM bot. It must be unique within the same account"},"botBizSecret":{"type":"string","description":"The secret of the IM bot"},"botBizType":{"type":"string","description":"The type of the IM platform"},"botMode":{"type":"string","description":"The mode of the IM bot"},"botName":{"type":"string","description":"The name of the IM bot"},"description":{"type":"string","description":"The description of the IM bot"},"metadata":{"type":"object","description":"The configuration of the IM bot. It is merged with the existing configuration"},"minInstances":{"type":"integer","description":"The minimum number of Function Compute instances"},"status":{"type":"string","description":"The status of the IM bot"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-agentrun/update-knowledge-base":{"post":{"operationId":"cloud_aliyun_agentrun_update_knowledge_base","summary":"Updates a knowledge base","description":"PUT /2025-09-10/agents/knowledgebases/{knowledgeBaseName}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["knowledgeBaseName"],"properties":{"endpoint":{"type":"string","enum":["https://agentrun.ap-southeast-1.aliyuncs.com","https://agentrun.cn-beijing.aliyuncs.com","https://agentrun.cn-hangzhou.aliyuncs.com","https://agentrun.cn-shanghai.aliyuncs.com","https://agentrun.cn-shenzhen.aliyuncs.com"],"default":"https://agentrun.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com"},"knowledgeBaseName":{"type":"string","description":"The name of the knowledge base"},"credentialName":{"type":"string","description":"The credential name"},"description":{"type":"string","description":"The knowledge base description"},"providerSettings":{"type":"object","description":"The knowledge base provider configuration"},"retrieveSettings":{"type":"object","description":"The retrieval configuration"},"workspaceId":{"type":"string","description":"The workspace ID"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-agentrun/update-memory-collection":{"post":{"operationId":"cloud_aliyun_agentrun_update_memory_collection","summary":"Updates the memory store information","description":"PUT /2025-09-10/agents/memory-collections/{memoryCollectionName}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["memoryCollectionName"],"properties":{"endpoint":{"type":"string","enum":["https://agentrun.ap-southeast-1.aliyuncs.com","https://agentrun.cn-beijing.aliyuncs.com","https://agentrun.cn-hangzhou.aliyuncs.com","https://agentrun.cn-shanghai.aliyuncs.com","https://agentrun.cn-shenzhen.aliyuncs.com"],"default":"https://agentrun.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com"},"memoryCollectionName":{"type":"string","description":"The name of the memory store"},"description":{"type":"string","description":"The description"},"embedderConfig":{"type":"object","description":"The embedding model configuration"},"enableConversationHistory":{"type":"string","description":"Specifies whether to enable conversation history"},"enableConversationState":{"type":"string","description":"Specifies whether to enable conversation state management"},"executionRoleArn":{"type":"string","description":"The ARN of the execution role"},"llmConfig":{"type":"object","description":"The large language model configuration"},"networkConfiguration":{"type":"object","description":"The network configuration"},"vectorStoreConfig":{"type":"object","description":"The vector database configuration"},"workspaceId":{"type":"string","description":"The ID of the workspace to which the resource belongs"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-agentrun/update-model-proxy":{"post":{"operationId":"cloud_aliyun_agentrun_update_model_proxy","summary":"Updates model governance","description":"PUT /2025-09-10/agents/model-proxies/{modelProxyName}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["modelProxyName"],"properties":{"endpoint":{"type":"string","enum":["https://agentrun.ap-southeast-1.aliyuncs.com","https://agentrun.cn-beijing.aliyuncs.com","https://agentrun.cn-hangzhou.aliyuncs.com","https://agentrun.cn-shanghai.aliyuncs.com","https://agentrun.cn-shenzhen.aliyuncs.com"],"default":"https://agentrun.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com"},"modelProxyName":{"type":"string","description":"modelProxyName"},"armsConfiguration":{"type":"object","description":"The configuration information for Application Real-Time Monitoring Service (ARMS)"},"credentialName":{"type":"string","description":"The name of the credential associated with the model proxy input"},"description":{"type":"string","description":"The description text for the model proxy input"},"executionRoleArn":{"type":"string","description":"The ARN of the execution role"},"logConfiguration":{"type":"object","description":"The log configuration"},"networkConfiguration":{"type":"object","description":"The network configuration"},"proxyConfig":{"type":"object","description":"The proxy configuration"},"workspaceId":{"type":"string","description":"The ID of the workspace to which the resource belongs"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-agentrun/update-model-service":{"post":{"operationId":"cloud_aliyun_agentrun_update_model_service","summary":"Updates a model","description":"PUT /2025-09-10/agents/model-services/{modelServiceName}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["modelServiceName"],"properties":{"endpoint":{"type":"string","enum":["https://agentrun.ap-southeast-1.aliyuncs.com","https://agentrun.cn-beijing.aliyuncs.com","https://agentrun.cn-hangzhou.aliyuncs.com","https://agentrun.cn-shanghai.aliyuncs.com","https://agentrun.cn-shenzhen.aliyuncs.com"],"default":"https://agentrun.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com"},"modelServiceName":{"type":"string","description":"modelServiceName"},"credentialName":{"type":"string","description":"The name of the credential associated with the model service"},"description":{"type":"string","description":"The description text in the request to update a model service"},"modelInfoConfigs":{"type":"array","description":"The list of model information configurations"},"networkConfiguration":{"type":"object","description":"The network configuration"},"providerSettings":{"type":"object","description":"The model provider configuration"},"status":{"type":"string","description":"The current status of the model service"},"statusReason":{"type":"string","description":"The reason for the current status of the model service"},"workspaceId":{"type":"string","description":"The ID of the workspace to which the resource belongs"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-agentrun/update-template":{"post":{"operationId":"cloud_aliyun_agentrun_update_template","summary":"Updates a template","description":"PUT /2025-09-10/templates/{templateName}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["templateName"],"properties":{"endpoint":{"type":"string","enum":["https://agentrun.ap-southeast-1.aliyuncs.com","https://agentrun.cn-beijing.aliyuncs.com","https://agentrun.cn-hangzhou.aliyuncs.com","https://agentrun.cn-shanghai.aliyuncs.com","https://agentrun.cn-shenzhen.aliyuncs.com"],"default":"https://agentrun.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com"},"templateName":{"type":"string","description":"The template name"},"clientToken":{"type":"string","description":"The client token"},"allowAnonymousManage":{"type":"string","description":"Specifies whether the data link is allowed to invoke the create, stop, and delete sandbox operations"},"armsConfiguration":{"type":"object","description":"The configuration information for Application Real-Time Monitoring Service (ARMS)"},"containerConfiguration":{"type":"object","description":"The container configuration. Built-in configurations cannot be modified"},"cpu":{"type":"number","description":"The CPU resource configuration, in cores"},"credentialConfiguration":{"type":"object","description":"The credential configuration"},"description":{"type":"string","description":"The template description"},"disablePublicNetworkAccess":{"type":"string","description":"Specifies whether to disable public network access"},"enableAgent":{"type":"string","description":"The Sandbox Agent switch"},"enablePreStop":{"type":"string","description":"Specifies whether to enable the pre-stop callback before an instance is destroyed"},"environmentVariables":{"type":"object","description":"The environment variables"},"executionRoleArn":{"type":"string","description":"The ARN of the execution role"},"logConfiguration":{"type":"object","description":"The log configuration"},"memory":{"type":"integer","description":"The memory resources configuration, in MB"},"nasConfig":{"type":"object","description":"The NAS mount configuration"},"networkConfiguration":{"type":"object","description":"The network configuration"},"ossConfiguration":{"type":"array","description":"The OSS mount configuration"},"preStopTimeoutInSeconds":{"type":"integer","description":"The timeout period for the pre-stop callback before an instance is destroyed, in seconds"},"sandboxIdleTimeoutInSeconds":{"type":"integer","description":"The sandbox idle timeout period, in seconds"},"sandboxTTLInSeconds":{"type":"integer","description":"The sandbox time-to-live (TTL), in seconds"},"scalingConfig":{"type":"object","description":"The elastic scaling configuration"},"templateConfiguration":{"type":"object","description":"The template configuration. This is a flexible object structure that varies based on the templatetype value"},"workspaceId":{"type":"string","description":"The ID of the associated workspace"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-agentrun/update-tool":{"post":{"operationId":"cloud_aliyun_agentrun_update_tool","summary":"Updates a tool","description":"PUT /2025-09-10/agents/tools/{toolName}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["toolName"],"properties":{"endpoint":{"type":"string","enum":["https://agentrun.ap-southeast-1.aliyuncs.com","https://agentrun.cn-beijing.aliyuncs.com","https://agentrun.cn-hangzhou.aliyuncs.com","https://agentrun.cn-shanghai.aliyuncs.com","https://agentrun.cn-shenzhen.aliyuncs.com"],"default":"https://agentrun.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com"},"toolName":{"type":"string","description":"The name of the tool"},"agentIdentityConfig":{"type":"object","description":"The agent identity configuration"},"agentIdentityEnabled":{"type":"string","description":"Specifies whether to enable the agent identity capability"},"artifactType":{"type":"string","description":"The artifact type for tool deployment. Valid values: Code (code package) and Container (container image)"},"codeConfiguration":{"type":"object","description":"The configuration information for code package type tools"},"containerConfiguration":{"type":"object","description":"The configuration information for container type tools"},"cpu":{"type":"number","description":"The number of CPU cores for the tool instance, in cores"},"createMethod":{"type":"string","description":"The creation method of the tool. Valid values: MCP_REMOTE, MCP_LOCAL_STDIO, MCP_BUNDLE, CODE_PACKAGE, and OPENAPI_IMPORT"},"credentialName":{"type":"string","description":"The name of the credential used by the tool"},"description":{"type":"string","description":"The description of the tool"},"environmentVariables":{"type":"object","description":"The environment variable configuration for the tool runtime"},"executionRoleArn":{"type":"string","description":"The ARN of the RAM role used when the tool is executed"},"logConfiguration":{"type":"object","description":"The log configuration of the tool"},"mcpConfig":{"type":"object","description":"The configuration information of the MCP tool, including session affinity and proxy configuration"},"memory":{"type":"integer","description":"The memory size for the tool instance, in MB"},"nasConfig":{"type":"object","description":"The configuration information for File Storage NAS"},"networkConfiguration":{"type":"object","description":"The network configuration of the tool"},"ossMountConfig":{"type":"object","description":"The mount configuration for Object Storage Service (OSS)"},"port":{"type":"integer","description":"The port number that the tool service listens on"},"protocolSpec":{"type":"string","description":"The protocol specification definition used by the tool"},"timeout":{"type":"integer","description":"The timeout period for tool execution, in seconds"},"workspaceId":{"type":"string","description":"The identifier of the workspace to which the tool belongs"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-agentrun/update-workspace":{"post":{"operationId":"cloud_aliyun_agentrun_update_workspace","summary":"Updates a workspace","description":"PUT /2025-09-10/workspaces/{workspaceId}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["workspaceId"],"properties":{"endpoint":{"type":"string","enum":["https://agentrun.ap-southeast-1.aliyuncs.com","https://agentrun.cn-beijing.aliyuncs.com","https://agentrun.cn-hangzhou.aliyuncs.com","https://agentrun.cn-shanghai.aliyuncs.com","https://agentrun.cn-shenzhen.aliyuncs.com"],"default":"https://agentrun.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com"},"description":{"type":"string","description":"The description of the workspace. The original description is overwritten after the update"},"workspaceId":{"type":"string","description":"The workspace ID"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-agentrun/update-workspace-discovery-endpoints":{"post":{"operationId":"cloud_aliyun_agentrun_update_workspace_discovery_endpoints","summary":"Updates the discovery endpoint configuration for a specified workspace","description":"PUT /2025-09-10/workspaces/{workspaceId}/discovery/endpoints","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["workspaceId"],"properties":{"endpoint":{"type":"string","enum":["https://agentrun.ap-southeast-1.aliyuncs.com","https://agentrun.cn-beijing.aliyuncs.com","https://agentrun.cn-hangzhou.aliyuncs.com","https://agentrun.cn-shanghai.aliyuncs.com","https://agentrun.cn-shenzhen.aliyuncs.com"],"default":"https://agentrun.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com"},"credentialName":{"type":"string","description":"The name of the credential associated with the input for updating discovery endpoints"},"discoveryEndpoints":{"type":"array","description":"The list of discovery endpoints"},"workspaceId":{"type":"string","description":"The unique identifier for the workspace"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-agentrun/version":{"post":{"operationId":"cloud_aliyun_agentrun_version","summary":"version","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://agentrun.ap-southeast-1.aliyuncs.com","https://agentrun.cn-beijing.aliyuncs.com","https://agentrun.cn-hangzhou.aliyuncs.com","https://agentrun.cn-shanghai.aliyuncs.com","https://agentrun.cn-shenzhen.aliyuncs.com"],"default":"https://agentrun.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://agentrun.ap-southeast-1.aliyuncs.com"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}}},"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key"}},"schemas":{"RunEnvelope":{"type":"object","required":["project","data","timestamp"],"properties":{"project":{"type":"string","example":"dev-tools:hash"},"data":{},"timestamp":{"type":"string","format":"date-time"}}},"ErrorEnvelope":{"type":"object","properties":{"content":{},"message":{"type":"string"},"errors":{"type":"array","items":{}},"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}},"responses":{"Error":{"description":"Invalid key, plan gate, rate limit or upstream failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}}