Endpoint

An endpoint is the request address for calling an API. Endpoints vary depending on services and regions. To obtain the regions and endpoints, contact the enterprise administrator.

A service endpoint consists of the service name, region ID, and external domain name in the format of "{service_name}.{region_id}.{external_domain_name}". Table 1 describes these parameters.

Table 1 Endpoint parameters

Parameter

Description

How to Obtain

service_name

Abbreviation of a case-insensitive service name

modelarts for ModelArts by default.

region_id

Region ID

Contact the system administrator to obtain.

external_domain_name

External domain name suffix

Contact the system administrator to obtain.

Important

If an endpoint uses a domain name, configure the hosts file in the format of "{float-ip} {service_name}.{region_id}.{external_domain_name}" on the local PC. Contact the system administrator to obtain float-ip.