Managing AI service deployments
After you deploy an AI service, you can manage the deployment by updating details, scaling, or deleting the deployment from the user interface or programmatically.
Managing AI services deployment from the user interface
You can access, update, scale, delete your AI service asset from the user interface of your deployment space.
Accessing details for AI service deployments
You can access details about your AI services deployment, such as deployment ID, software specification, associated asset, and more from the deployment details page.
Updating details for AI service deployments
You can update the details for your AI services deployment, such as name, serving name, description, and hardware specifications. For more information, see Updating a deployment.
Scaling AI service deployments
You can scale your AI services deployment by increasing the number of copies that are created for your deployment. For more information, see Scaling a deployment.
Deleting AI service deployments
You can delete your AI services deployment when you don't require it to free up the resources. For more information, see Deleting a deployment.
Managing AI service deployments with watsonx.ai Python client library
You can access, update, revise or delete your AI services deployment by using the watsonx.ai Python client library.
Accessing AI service deployment
To get the ID of your stored AI service, use the
function. For more information, see watsonx.ai Python client library documentation.get_ai_service_id
To access the metadata about your AI service deployment, use the
function. For more information, see watsonx.ai Python client library documentation.get_ai_service_details
Updating AI service deployment
To update the details of your AI service deployment, use the
function. For more information, see watsonx.ai Python client library documentation.update_ai_service
Revising AI service deployment
To create a new AI service revision by using the watsonx.ai Python client library, use the
function. For more information, see watsonx.ai Python client library documentation.create_ai_service_revision
To get a list of all revisions of your AI service in a table format, use the
function. For more information, see watsonx.ai Python client library documentation.list_ai_service_revisions
Deleting AI service deployment
Use the
function to delete an AI service deployment by using the watsonx.ai Python client library. For more information, see watsonx.ai Python client library documentation.delete
Managing AI service deployments with REST API
You can access, update, manage or delete your AI services deployment by using the watsonx.ai REST API.
Retrieving AI service deployment
You can retrieve the AI services in a specified project or deployment space by sending a
request to the GET
endpoint. For more information, see watsonx.ai REST API documentation for AI services./ml/v4/ai_services
To retrieve an AI service with a specific idenfier, send a
request to the GET
endpoint and provide a project or space ID. For more information, see watsonx.ai REST API documentation for AI services./ml/v4/ai_services/{id}
Updating AI service deployment
To update the AI service with the provided data, use the
operation with the PATCH
endpoint. For more information, see watsonx.ai REST API documentation for AI services./ml/v4/ai_services/{id}
Delete AI service deployment
To update the AI service with the provided data, send a
request to the DELETE
endpoint. For more information, see watsonx.ai REST API documentation for AI services./ml/v4/ai_services/{id}
Revising AI service deployment
To create a new revision of an AI service, send a
request to the POST
endpoint. For more information, see watsonx.ai REST API documentation for AI services./ml/v4/ai_services/{id}/revisions
To retrieve the AI service revisions, send a
request to the revisions endpoint GET
. For more information, see watsonx.ai REST API documentation for AI services./ml/v4/ai_services/{id}/revisions
Parent topic: Deploying AI services