Ingests documents directly into the knowledge base that is connected to the data source. The <code>dataSourceType</code> specified in the content for each document must match the type of the data source that you specify in the header. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/kb-direct-ingestion.html">Ingest changes directly into a knowledge base</a> in the Amazon Bedrock User Guide.
put/knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}/documents
Path parameters
knowledgeBaseIdstring required
The unique identifier of the knowledge base to ingest the documents into.
dataSourceIdstring required
The unique identifier of the data source connected to the knowledge base that you're adding documents to.
Request body
Response
Success