AI Search Open Platform allows you to call services via the internet or a Virtual Private Cloud (VPC) endpoint. VPC endpoints also enable cross-region service calls. This topic explains how to find the service endpoint for your workspace.
Procedure
-
Log in to the AI Search Open Platform console.
-
Select the region, navigate to AI Search Open Platform, and then select the workspace.
-
In the left-side navigation pane, select API keys. The service endpoint is listed on the API keys page.
Note-
AI Search Open Platform is available only in the China (Shanghai) and Germany (Frankfurt) regions.
-
Users in the China (Hangzhou), China (Shenzhen), China (Beijing), China (Zhangjiakou), and China (Qingdao) regions can use a VPC endpoint to call AI Search Open Platform services across regions.
The Endpoints section lists both a public endpoint and a VPC endpoint. Both support HTTPS. The VPC endpoint is formed by adding a
-vpcsuffix to the public endpoint. For example,https://xxx-cn-shanghai-vpc.opensearch.aliyuncs.com.For example, the URL for the document segmentation service uses the following format: {host}/v3/openapi/workspaces/{workspace_name}/document-analyze/{service_id}/async
When calling the service over the internet, a complete URL looks like this:
https://xxxxxxx.platform-xxx-shanghai.opensearch.aliyuncs.com/v3/openapi/workspaces/xxxxxxx/document-analyze/ops-document-split-001/async
-