All Products
Search
Document Center

OpenSearch:Query the endpoints

Last Updated:Aug 28, 2024

When you call API operations of OpenSearch Search Development Workbench, you must specify an API endpoint. This topic describes how to query the endpoints of OpenSearch Search Development Workbench

Procedure

  1. Log on to the OpenSearch console.

  2. In the top navigation bar, select the China (Shanghai) region. Then, switch to the OpenSearch Search Development Workbench.

  3. In the left-side navigation pane, click API-KEY Management. On the API-KEY Management page, you can view the endpoints.

    A public endpoint and an internal endpoint are provided. You can call API operations over the Internet or a virtual private cloud (VPC). host in the URL specifies the API endpoint.

    For example, the URL used to call an operation to perform text segmentation is {host}/v3/openapi/workspaces/{workspace_name}/document-analyze/{service_id}/async.

    If you call the operation over the Internet, the specified URL is:

    http://xxxxxxx.platform-xxx-shanghai.opensearch.aliyuncs.com/v3/openapi/workspaces/xxxxxxx/document-analyze/ops-document-split-001/async

    Note

    HTTPS is supported for all the preceding endpoints.