CreateAtiAgentRegisterInfo

Updated at:

Registers an agent.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

ClientToken

string

No

Ensures idempotence. The same value takes effect only once within 3 minutes.

eyJhbGciOiJIUzI1NiIsInR5cC.....

AgentDisplayName

string

Yes

The display name of the agent.

TestAgent

AgentHost

string

Yes

The domain name of the endpoint that the agent uses to provide external services.

example.com

AgentVersion

string

Yes

The version of the agent.

1.0.1

AgentDescription

string

No

The description of the agent capabilities.

Payment service

RegistrantId

string

Yes

The ID of the real-name verified registrant. Obtain this ID by calling the real-name verification API operation or from the ATS console.

2072277378616354816

Endpoints

array<object>

Yes

The endpoint configurations for the agent.

[{"AgentUrl":"https://www.example.com/mcp","Protocol":"A2A","Transports":["STREAMABLE-HTTP"]}]

object

No

[Deprecated] Use the Endpoint parameter instead.

Protocol

string

No

Specifies the communication protocol standard followed by the agent endpoint, which determines how callers invoke the agent: Protocol Description

  • 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: This protocol identity informs other agents or clients how to communicate with the endpoint. For example, the MCP protocol uses the MCP SDK, A2A uses the A2A SDK, and OpenAPI uses standard HTTP requests.

A2A

AgentUrl

string

No

The actual service address of the agent endpoint, which is the HTTPS entry point for the online agent. This parameter is required 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 initiate a connection. This is the actual online address of the agent.

https://www.example.com/mcp

Transports

array

No

The transport mechanisms.

["STREAMABLE-HTTP"]

string

No

Specifies the communication transport mechanisms supported by the agent endpoint, which are linked to the protocol: Protocol Optional transport mechanisms Description

  1. Protocol: MCP. Optional transport mechanisms: STREAMABLE-HTTP, SSE. Description: The MCP protocol supports streaming HTTP and Server-Sent Events.

  2. Protocol: A2A. Optional transport mechanisms: STREAMABLE-HTTP, SSE. Description: The A2A protocol also supports these two mechanisms.

  3. Protocol: OpenAPI. Optional transport mechanisms: REST, HTTP. Description: Traditional REST API communication methods.

STREAMABLE-HTTP

MetadataUrl

string

No

An optional URL that points to the metadata description file of the agent, typically in JSON format. Purpose: This URL allows other agents or clients to automatically discover the capability descriptions of the agent before connecting, including:

  • Features supported by the agent

  • Input/output formats

  • Version information

  • 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 inquiry, 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" } }

DomainMode

string

No

The domain name mode of the agent, which determines the relationship between the access hostname and the identity hostname. In independent domain name mode, the two hostnames are the same. In shared domain name mode, an additional subdomain must be used as the identity hostname.

INDEPENDENT

AgentSubHost

string

No

The subdomain of the agent endpoint. This parameter 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

Response elements

Element

Type

Description

Example

object

Schema of Response

RequestId

string

The request ID.

536E9CAD-DB30-4647-AC87-AA5CC38C5382

AgentRegisterInfoId

string

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. In a multi-step API registration process, this ID must be included in all steps to ensure that all steps are associated with the same agent and to complete the registration process.

2074031103110331392

AtiName

string

The ATI name, which is a globally unique identifier in the ATI trust system. Example analysis: ati://v1.0.0.www.example.com

  • ati://: The protocol prefix, which identifies this as a resource in the ATI system.

  • v1.0.0: The agent version number.

  • www.example.com: The domain name (FQDN) bound to the agent.

ati://v1.0.0.www.example.com

Status

string

The status of the DNS record. Valid values:

  • Enable: Resolution is enabled.

  • Disable: Resolution is paused.

enable disable

CreateTimestamp

integer

The creation timestamp.

1527690629357

AccessDeniedDetail

object

The details of the access denied error. This field is returned only when RAM authentication fails.

AuthAction

string

The unauthorized operation that was attempted.

AddRspDomainServerHoldStatusForGateway

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 full diagnostic message.

AQFohtp4aIbaeEXXXXQxNjFDLUIzMzgtNTXXXX05NkFCLUI2RkY5XXXXzAzQQ==

NoPermissionType

string

The cause of the authentication failure. Valid values:

  • ExplicitDeny: The request is explicitly denied.

  • ImplicitDeny: The request is implicitly denied.

ImplicitDeny

PolicyType

string

The policy type.

DlpSend

Examples

Success response

JSON format

{
  "RequestId": "536E9CAD-DB30-4647-AC87-AA5CC38C5382",
  "AgentRegisterInfoId": "2074031103110331392",
  "AtiName": "ati://v1.0.0.www.example.com",
  "Status": "enable\ndisable",
  "CreateTimestamp": 1527690629357,
  "AccessDeniedDetail": {
    "AuthAction": "AddRspDomainServerHoldStatusForGateway",
    "AuthPrincipalDisplayName": "2015555733387XXXX",
    "AuthPrincipalOwnerId": "10469733312XXX",
    "AuthPrincipalType": "SubUser",
    "EncodedDiagnosticMessage": "AQFohtp4aIbaeEXXXXQxNjFDLUIzMzgtNTXXXX05NkFCLUI2RkY5XXXXzAzQQ==",
    "NoPermissionType": "ImplicitDeny",
    "PolicyType": "DlpSend"
  }
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.