API Overview ============ All ModelArts APIs are proprietary. You can use these APIs to manage datasets, training jobs, models, and services. Data Management APIs -------------------- Data management APIs include the APIs for managing datasets, dataset versions, samples, and labels. Use these APIs to create datasets and label data. For details, see `Data Management APIs `__. Development Environment APIs ---------------------------- .. _modelarts030002enustopic0129435564table6223102719106: .. table:: **Table 1** Development environment APIs +-----------------------------------------------------------------------------------------------------------------------------------------------------------------------+----------------------------------------------------------------------------+ | API | Description | +=======================================================================================================================================================================+============================================================================+ | `Creating a Development Environment Instance `__ | Create a development environment instance for code development. | +-----------------------------------------------------------------------------------------------------------------------------------------------------------------------+----------------------------------------------------------------------------+ | `Querying a List of Development Environment Instances `__ | Query the development environment instances that meet the search criteria. | +-----------------------------------------------------------------------------------------------------------------------------------------------------------------------+----------------------------------------------------------------------------+ | `Querying the Details About a Development Environment Instance `__ | Query the details about a development environment instance. | +-----------------------------------------------------------------------------------------------------------------------------------------------------------------------+----------------------------------------------------------------------------+ | `Modifying the Description of a Development Environment Instance `__ | Modify the description of a development environment instance. | +-----------------------------------------------------------------------------------------------------------------------------------------------------------------------+----------------------------------------------------------------------------+ | `Deleting a Development Environment Instance `__ | Delete a development environment instance. | +-----------------------------------------------------------------------------------------------------------------------------------------------------------------------+----------------------------------------------------------------------------+ | `Managing a Development Environment Instance `__ | Start or stop a development environment instance. | +-----------------------------------------------------------------------------------------------------------------------------------------------------------------------+----------------------------------------------------------------------------+ Training Management APIs ------------------------ .. _modelarts030002enustopic0129435564table19560011132619: .. table:: **Table 2** Training management APIs +--------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------+ | Type | API | Description | +======================================+=====================================================================================================================================================================================================+==============================================================================+ | Training Jobs | `Creating a Training Job `__ | Create a training job. | +--------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------+ | | `Querying a Training Job List `__ | Query the created training jobs that meet the search criteria. | +--------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------+ | | `Querying the Details About a Training Job Version `__ | Query the details about a specified training job based on the job ID. | +--------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------+ | | `Deleting a Version of a Training Job `__ | Delete a version of a training job. | +--------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------+ | | `Querying a List of Training Job Versions `__ | Query the version of a specified training job based on the job ID. | +--------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------+ | | `Creating a Version of a Training Job `__ | Create a version of a training job. | +--------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------+ | | `Stopping a Training Job `__ | Stop a training job. | +--------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------+ | | `Modifying the Description of a Training Job `__ | Modify the description of a training job. | +--------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------+ | | `Deleting a Training Job `__ | Delete a training job. | +--------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------+ | | `Obtaining the Name of a Training Job Log File `__ | Obtain the name of a training job log file. | +--------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------+ | | `Querying a Built-in Algorithm `__ | Query the details about a built-in model. | +--------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------+ | | `Querying Training Job Logs `__ | Query detailed information about training job logs by row. | +--------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------+ | Training Job Parameter Configuration | `Creating a Training Job Configuration `__ | Create a training job configuration. | +--------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------+ | | `Querying a List of Training Job Configurations `__ | Query the created training job configurations that meet the search criteria. | +--------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------+ | | `Modifying a Training Job Configuration `__ | Modify a training job configuration. | +--------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------+ | | `Deleting a Training Job Configuration `__ | Delete a training job configuration. | +--------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------+ | | `Querying the Details About a Training Job Configuration `__ | Query the details about a specified training job configuration. | +--------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------+ | Visualization Job Management | `Creating a Visualization Job `__ | Create a visualization job. | +--------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------+ | | `Querying a Visualization Job List `__ | Query the visualization jobs that meet the search criteria. | +--------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------+ | | `Querying the Details About a Visualization Job `__ | Query the details about a specified visualization job based on the job name. | +--------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------+ | | `Modifying the Description of a Visualization Job `__ | Modify the description of a visualization job. | +--------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------+ | | `Deleting a Visualization Job `__ | Delete a visualization job. | +--------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------+ | | `Stopping a Visualization Job `__ | Stop a visualization job. | +--------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------+ | | `Restarting a Visualization Job `__ | Restart a visualization job. | +--------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------+ | Resource and Engine Specifications | `Querying Job Resource Specifications `__ | Query the resource specifications of a specified job. | +--------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------+ | | `Querying Job Engine Specifications `__ | Query the engine type and version of a specified job. | +--------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------+ | Job Statuses | `Job Statuses `__ | View job statuses and status description. | +--------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------+ Model Management APIs --------------------- .. _modelarts030002enustopic0129435564table172059163715: .. table:: **Table 3** Model management APIs +--------------------------------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------+ | API | Description | +==========================================================================================================================+=============================================================================================================+ | `Importing a Model `__ | Import a model. | +--------------------------------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------+ | `Querying a Model List `__ | Query the models that meet the search criteria. | +--------------------------------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------+ | `Querying the Details About a Model `__ | Query details about a model based on the model ID. | +--------------------------------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------+ | `Deleting a Model `__ | Delete a specified model based on the model ID. All versions of the model can be deleted in cascading mode. | +--------------------------------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------+ Service Management APIs ----------------------- .. _modelarts030002enustopic0129435564table17144179535: .. table:: **Table 4** Service management APIs +---------------------------------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------+ | API | Description | +=========================================================================================================================================================+==============================================================================================================================+ | `Deploying a Model as a Service `__ | Deploy a model service. | +---------------------------------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------+ | `Querying a Service List `__ | Query model services. | +---------------------------------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------+ | `Querying the Details About a Service `__ | Query the details about a model service based on the service ID. | +---------------------------------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------+ | `Updating Service Configurations `__ | Update a model service. | +---------------------------------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------+ | `Querying Service Monitoring Information `__ | Query service monitoring information. | +---------------------------------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------+ | `Querying Service Update Logs `__ | Query the update logs of a real-time service. | +---------------------------------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------+ | `Querying Service Event Logs `__ | Query service event logs, including service operation records, key actions during deployment, and deployment failure causes. | +---------------------------------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------+ | `Deleting a Service `__ | Delete a model service. | +---------------------------------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------+ | `Querying Supported Service Deployment Specifications `__ | Query supported service deployment specifications. | +---------------------------------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------+ Authorization Management APIs ----------------------------- .. _modelarts030002enustopic0129435564table19853112615335: .. table:: **Table 5** Workspace management APIs +-------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | API | Description | +=================================================================================================+=========================================================================================================================================================================================================================+ | `Viewing an Authorization List `__ | View an authorization list. | +-------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | `Configuring Authorization `__ | Configure ModelArts authorization. ModelArts functions such as training management, development environment, data management, and real-time services can be properly used only after required permissions are assigned. | +-------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | `Deleting Authorization `__ | Delete the authorization of a specified user or all users. | +-------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | `Creating a ModelArts Agency `__ | Create a ModelArts agency for dependent services such as OBS, SWR, and IEF. | +-------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+