UpdateAtiAgentRegisterInfo
Updates the registration information of an agent.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ClientToken |
string |
No |
Ensures the idempotence of the request. You can generate a client token on your client to ensure that the value is unique across different requests. The ClientToken parameter supports only ASCII characters and can be up to 64 characters in length. If you do not specify this parameter, the system automatically uses the RequestId of the API request as the ClientToken. The RequestId of each API request may be different. |
eyJhbGciOiJIUzI1NiIsInR5cC..... |
| AgentRegisterInfoId |
string |
No |
The agent registration ID. This ID is automatically generated by the Alibaba Cloud ATS platform and is globally unique within the platform. It is generated during the agent registration process. You must include this ID in all API registration and query operations. To obtain the AgentRegisterInfoId, call the ListAtiAgentRegisterInfos operation to query the target agent and extract the ID from the response. |
2074753647748672512 |
| AgentDisplayName |
string |
No |
The display name of the agent. |
Test Agent |
| AgentHost |
string |
No |
The host address of the agent. |
example.com |
| AgentVersion |
string |
No |
The version of the agent. |
1.0.0 |
| AgentDescription |
string |
No |
The capability description of the agent. |
Payment service |
| RegistrantId |
string |
No |
The ID of the real-name verified registrant. |
2072277378616354816 |
| Endpoints |
array<object> |
No |
The endpoints for each protocol. |
[{"AgentUrl":"https://my-agent.example.com/mcp","Protocol":"MCP","Transports":["STREAMABLE-HTTP"]}] |
|
object |
No |
The endpoints for each protocol. |
||
| AgentUrl |
string |
No |
The actual service address of the agent endpoint, which is the HTTPS entry point where the agent runs online. This is a required field and can be up to 500 characters in length. Example: https://my-agent.example.com/mcp. Purpose: After a caller discovers the agent through DNS, the caller can use this URL to directly initiate a connection. This is the actual online address of the agent. |
https://my-agent.example.com/mcp |
| Protocol |
string |
No |
The communication protocol standard followed by the agent endpoint, which determines how callers interact with the agent. Protocols and descriptions: MCP: Model Context Protocol, an agent tool calling protocol introduced by Anthropic. A2A: Agent-to-Agent Protocol, a cross-agent communication protocol introduced by Google. OpenAPI: Standard RESTful API specification (Swagger/OpenAPI). Purpose: After other agents or clients see this protocol identifier, they know how to communicate with the agent. For example, the MCP protocol uses the MCP SDK, A2A uses the A2A SDK, and OpenAPI uses standard HTTP requests. |
mcp |
| Transports |
array |
No |
The transport methods. |
|
|
string |
No |
The communication transport mechanisms supported by the agent endpoint, which are linked to the protocol:
|
[\"STREAMABLE-HTTP\",\"SSE\"] |
|
| MetadataUrl |
string |
No |
An optional URL that points to the metadata description file of the agent, which is usually in JSON format. Purpose: This URL allows other agents or clients to automatically discover the capability description of the agent before connecting, including the features supported by the agent, input/output formats, version information, and other capability declarations. |
// https://my-agent.example.com/.well-known/agent.json { "name": "Intelligent Customer Service Assistant", "version": "1.2.0", "protocol": "MCP", "description": "An intelligent customer service agent that provides product consultation, order query, and after-sales services", "capabilities": { "tools": [ { "name": "order_query", "description": "Query order status" }, { "name": "product_search", "description": "Search product information" }, { "name": "refund_request", "description": "Initiate a refund request" } ], "resources": [ { "uri": "faq://knowledge-base", "description": "FAQ knowledge base" } ] }, "endpoint": { "url": "https://my-agent.example.com/mcp", "transport": ["STREAMABLE-HTTP", "SSE"] }, "policy": { "authentication": "mTLS", "rateLimit": "100/min" } } |
| AgentSubHost |
string |
No |
The subdomain of the agent endpoint. This is required only in shared domain name mode and is used to uniquely identify the agent under the shared parent domain name. |
agent.example.com |
| DomainMode |
string |
No |
The domain name mode of the agent, which is used to determine the relationship between the access hostname and the identity hostname. In independent domain name mode, the two are the same. In shared domain name mode, an additional subdomain must be used as the identity hostname. |
INDEPENDENT |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The unique request ID. |
536E9CAD-DB30-4647-AC87-AA5CC38C5382 |
| Success |
boolean |
Indicates whether the request is successful. Valid values:
|
true |
| AccessDeniedDetail |
object |
The details of the access denial. This field is returned only when RAM authentication fails. |
|
| AuthAction |
string |
The unauthorized action that is attempted to be performed. |
CreateUser |
| AuthPrincipalDisplayName |
string |
The display name of the authorized principal. |
2015555733387XXXX |
| AuthPrincipalOwnerId |
string |
The ID of the owner of the authorized principal. |
10469733312XXX |
| AuthPrincipalType |
string |
The identity type. |
SubUser |
| EncodedDiagnosticMessage |
string |
The encoded complete diagnostic message. |
AQEAAAAAaNIARXXXXUQwNjE0LUQzN0XXXXVEQy1BQzExLTMzXXXXNTkxRjk1Ng== |
| NoPermissionType |
string |
The cause of the authentication failure. Valid values:
|
ImplicitDeny |
| PolicyType |
string |
The policy type. |
DlpSend |
Examples
Success response
JSON format
{
"RequestId": "536E9CAD-DB30-4647-AC87-AA5CC38C5382",
"Success": true,
"AccessDeniedDetail": {
"AuthAction": "CreateUser",
"AuthPrincipalDisplayName": "2015555733387XXXX",
"AuthPrincipalOwnerId": "10469733312XXX",
"AuthPrincipalType": "SubUser",
"EncodedDiagnosticMessage": "AQEAAAAAaNIARXXXXUQwNjE0LUQzN0XXXXVEQy1BQzExLTMzXXXXNTkxRjk1Ng==",
"NoPermissionType": "ImplicitDeny",
"PolicyType": "DlpSend"
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.