v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1483595482.8 KB

A list of documents attached to an index.

get/applications/{applicationId}/index/{indexId}/documents

Path parameters

applicationIdstring required

The identifier of the application id the documents are attached to.

indexIdstring required

The identifier of the index the documents are attached to.

Query parameters

dataSourceIdsDataSourceId[]

The identifier of the data sources the documents are attached to.

nextTokenstring

If the <code>maxResults</code> response was incomplete because there is more data to retrieve, Amazon Q Business returns a pagination token in the response. You can use this pagination token to retrieve the next set of documents.

maxResultsinteger

The maximum number of documents to return.

Response

Success

nextTokenstring

If the <code>maxResults</code> response was incomplete because there is more data to retrieve, Amazon Q Business returns a pagination token in the response. You can use this pagination token to retrieve the next set of documents.