v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1475719557.8 KB

Lists the data sources in a knowledge base and information about each one.

post/knowledgebases/{knowledgeBaseId}/datasources/

Path parameters

knowledgeBaseIdstring required

The unique identifier of the knowledge base for which to return a list of information.

Request body

maxResultsinteger

The maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in the <code>nextToken</code> field when making another request to return the next batch of results.

nextTokenstring

If the total number of results is greater than the <code>maxResults</code> value provided in the request, enter the token returned in the <code>nextToken</code> field in the response in this field to return the next batch of results.

Response

Success

nextTokenstring

If the total number of results is greater than the <code>maxResults</code> value provided in the request, use this token when making another request in the <code>nextToken</code> field to return the next batch of results.