Get Index (Azure Search Service REST API)
The Get Index operation gets the index definition from Azure Search.
GET https://[service name].search.windows.net/indexes/[index name]?api-version=[api-version] api-key: [admin key]
HTTPS is required for service requests. The Get Index request can be constructed using the GET method.
[index name] in the request URI species which index to return from the indexes collection.
api-version parameter is required. The current version is
api-version=2017-11-11. See API versions in Azure Search for details.
The following table describes the required and optional request headers.
You will also need the service name to construct the request URL. You can get the service name and
api-key from your service dashboard in the Azure Preview Portal. See Create an Azure Search service in the portal for page navigation help.
Status Code: "200 OK" is returned for a successful response. See the example request JSON in Create Index (Azure Search Service REST API) for an example of the response payload. The Get Index response body and the Create Index response and response bodies are all of the same format.
You can use a diagnostic tool such as Fiddler to view the response payload. See How to use Fiddler to evaluate and test Azure Search REST APIs.