Method: brands.agents.dialogflowAssociation.knowledgebases.documents.create

Creates a document in a Dialogflow project knowledge base. Creating a document may take 2-3 minutes.

To check the document status, get the agent data and check the document's operationInfo.

HTTP request


The URL uses gRPC Transcoding syntax.

Path parameters



Required. The unique identifier of the knowledge base that document represents. If the brand identifier is "1234", the agent identifier is "5678" and knowledge base identifier is "002", this field resolves to "brands/1234/agents/5678/dialogflowAssociation/knowledgebases/002".

Request body

The request body contains an instance of Document.

Response body

If successful, the response body contains a newly created instance of Document.