Request URI
A request URI of a service is the endpoint for calling an API. The endpoint is used to communicate and interact with the API.
To obtain the URI, perform the following steps:
- Log in to ModelArts Studio.
- Go to the target workspace.
- Obtain the request URI.
- Obtain the request URI of the model.
- To call a deployed model, choose Model Development > Model Deployment in the navigation pane on the left. On the My Service tab page, click the model name in the model deployment list. On the Details tab page, obtain the request URI of the model.
Figure 1 Calling a deployed model
To call the inference service you deployed, obtain the URL of the V1 API or the URI of the V2 API on the API Invoking page.
Figure 2 Calling an service - To call a preset model, choose Model Development > Model Deployment in the navigation pane on the left, click Call Path in the model list on the Preset service page, and obtain the request URI of the model.
Figure 3 Calling a preset model
- To call a deployed model, choose Model Development > Model Deployment in the navigation pane on the left. On the My Service tab page, click the model name in the model deployment list. On the Details tab page, obtain the request URI of the model.
- Obtain the request URI of the Agent application.
- In the navigation pane on the left, choose Agent Dev. On the displayed page, choose Workstation. In the right pane, click the Application tab, select the application to be deployed, and choose
> Call Path.
- On the Call Path page, you can obtain the request URI of the Agent application.
Figure 4 Call path
- In the navigation pane on the left, choose Agent Dev. On the displayed page, choose Workstation. In the right pane, click the Application tab, select the application to be deployed, and choose
- Obtain the request URI of the model.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot