v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1446252177.2 KB

Retrieves information about an index in an OpenSearch Serverless collection, including its schema definition. The index might be configured to conduct automatic semantic enrichment ingestion and search. For more information, see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-manage.html#serverless-semantic-enrichment">About automatic semantic enrichment</a>.

post/#X-Amz-Target=OpenSearchServerless.GetIndex

Headers

X-Amz-Target'OpenSearchServerless.GetIndex' required

Request body

idstring required

The unique identifier of the collection containing the index.

indexNamestring required

The name of the index to retrieve information about.

Response

Success

indexSchemaobject

The JSON schema definition for the index, including field mappings and settings.