Updated on 2026-02-26 GMT+08:00

API Overview

This section describes the APIs supported by MaaS.

Endpoint

Table 1 Endpoint

API

Description

Creating an Endpoint

This API is used to establish independent call entry points, set rate-limiting rules, and achieve precise fee tracking based on endpoint names. This assists you in effectively managing inference service resources and optimizing usage costs.

Editing an Endpoint

This API is used to edit the throttling settings, content guard switch, endpoint name, and endpoint description of a specified endpoint.

Querying Custom Endpoints

This API is used to query the endpoint list.

Deleting an Endpoint

This API is used to delete a specified endpoint based on the input custom_endpoint_id.

Enabling or Disabling an Endpoint

This API is used to enable or disable an endpoint based on the input project-id and custom_endpoint_id.

Querying ModelArts Real-Time Services

API

Description

Obtaining Region Information

This API is used to obtain the region information of ModelArts real-time services. When source is set to custom_from_modelarts_v2 during the creation of a custom endpoint, the region parameter in the request is obtained.

Obtaining Workspace Information

This API is used to obtain the workspace information of ModelArts real-time services. When source is set to custom_from_modelarts_v2 during the creation of a custom endpoint, the infer_service_id is obtained.

Obtaining Inference Service Information

This API is used to obtain the workspace information of ModelArts real-time services. When source is set to custom_from_modelarts_v2 during the creation of a custom endpoint, the inference service information is obtained.