API Overview¶
All ModelArts APIs are proprietary.
You can use these APIs to manage development environments, training jobs, AI applications, and services.
DevEnviron APIs¶
Type | API | Description |
---|---|---|
Managing DevEnviron Instances | Obtain the list of notebook instances meeting search criteria | |
Create a notebook instance based on parameters such as the instance flavor, AI engine, and storage. | ||
Obtain details about a notebook instance. | ||
Modify a notebook instance. | ||
Delete the container and all storage resources of a notebook instance. | ||
Save the running instance as a container image. In the saved image, the installed dependency package (pip package) is retained. In VS Code remote development, the plug-ins installed on the server are retained. | ||
Obtain available flavors. | ||
Obtain the flavors available for a notebook instance. | ||
Obtaining the Available Duration of a Running Notebook Instance | Obtain the available duration of a running notebook instance. | |
Prolong the available duration of a running notebook instance. | ||
Start a notebook instance. | ||
Stop a notebook instance. | ||
Dynamically Mounting OBS | Obtain the notebook instances with OBS storage mounted. | |
Dynamically mount OBS to a notebook instance in running state. | ||
Obtaining Details About a Notebook Instance with OBS Storage Mounted | Obtain details about a notebook instance with OBS storage mounted. | |
Dynamically unmount OBS from a notebook instance. | ||
Image Management | Obtain all images by page based on specified conditions. | |
Register a custom image with ModelArts image management. | ||
Obtain the overview of user image information. Image names are used for aggregation. | ||
Obtain details about an image. | ||
Delete an image. For a private image, you can also delete its SWR image using parameters. |
Training Management APIs¶
API | Description |
---|---|
Create an algorithm. | |
Obtain algorithms. | |
Obtain a specified algorithm based on the algorithm ID. | |
Update an algorithm. | |
Delete an algorithm. |
API | Description |
---|---|
Create a training job. | |
Obtain details about a training job. | |
Modify the description of a training job. | |
Delete a training job. | |
Terminate a training job. Only jobs in the creating, awaiting, or running state can be terminated. | |
Obtaining the Logs of a Specified Task in a Training Job (Preview) | Obtain the logs of a specified task in a training job (preview). |
Obtaining the Logs of a Specified Task in a Training Job (OBS Link) | Obtain the logs of a specified task in a training job (OBS link). You can view all logs or download the logs. |
Obtaining the Runtime Metrics of a Specified Task in a Training Job | Obtain the runtime metrics of a specified task in a training job. |
Obtain the created training jobs by search criteria. |
API | Description |
---|---|
Obtaining the General Specifications Supported by a Training Job | Obtain the general specifications supported by a training job. |
Obtaining the Preset AI Frameworks Supported by a Training Job | Obtain the preset AI frameworks supported by a training job. |
AI Application Management APIs¶
API | Description |
---|---|
Obtain the AI engine and runtime of models. | |
Create an AI application. | |
Obtain AI applications by different search criteria. | |
Obtain AI application details by ID. | |
Delete AI applications by ID. All versions of the AI application can be deleted. |
Service Management APIs¶
API | Description |
---|---|
Deploy a service. | |
Obtain services. | |
Obtain service details by ID. | |
Update a model service. | |
Obtain service monitoring information. | |
Obtain the update logs of a real-time service. | |
Obtain service event logs, including service operation records, key actions during deployment, and deployment failure causes. | |
Delete a service. | |
Obtain supported service deployment specifications. |
Resource Management APIs¶
API | Description |
---|---|
Obtain the configuration parameters of the ModelArts OS service, such as the CIDR block and user resource quota. |
API | Description |
---|---|
Obtain the quotas of some ModelArts OS resources, such as the quotas for resource pool quotas and networks. |
API | Description |
---|---|
This API is used to add tags to a specified resource pool. Tags can be added in batches. If a tag to be added has the same key as an existing tag, the tag will overwrite the existing one. | |
This API is used to delete tags of a specified resource. Batch deletion is supported. | |
This API is used to query all tags of a resource pool in the current project. | |
This API is used to query tags of a specified resource pool. | |
This API is used to query resources by tag. Multiple tags can be ANDed. Fuzzy search by resource name is supported. |
API | Description |
---|---|
Obtain details of a specified plug-in template. |
API | Description |
---|---|
Obtain the list of nodes in a resource pool. | |
Delete nodes in a specific resource pool. At least one node must be reserved in the resource pool. |
API | Description |
---|---|
Obtain events. |
API | Description |
---|---|
Create network resources. | |
Obtain a list of network resources. | |
Obtain details about a specified network resource. | |
Delete a specified network resource. | |
Update a specified network resource. |
API | Description |
---|---|
Obtain the real-time usage of all resource pools in the current project. |
API | Description |
---|---|
Create a resource pool. | |
Obtain resource pools. | |
Obtain details about a specified resource pool. | |
Delete a specified resource pool. | |
Update a specified resource pool. | |
Obtain the monitoring information of a resource pool. | |
Obtain the statistics of a resource pool. |
API | Description |
---|---|
Obtain resource flavors. |
API | Description |
---|---|
Obtain dedicated resource pool jobs. | |
Obtain statistics for dedicated resource pool jobs. |