Required. Resource identifier of the conversation to ingest context information for. Format: projects/<Project ID>/locations/<Location
ID>/conversations/<Conversation ID>.
Authorization requires the following IAM permission on the specified resource conversation:
dialogflow.conversations.update
Request body
The request body contains data with the following structure:
Required. The context references to ingest. The key is the name of the context reference and the value contains the contents of the context reference. The key is used to incorporate ingested context references to enhance the generator.
An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
Response body
The response message for [ConversationsService.IngestContextReferences][].
If successful, the response body contains data with the following structure:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-27 UTC."],[[["\u003cp\u003eThis API is designed for ingesting context references into an existing conversation, enhancing the conversation's generator with relevant information.\u003c/p\u003e\n"],["\u003cp\u003eThe HTTP request is a POST request to a specific endpoint, requiring a conversation resource identifier within the URL path, following gRPC Transcoding syntax.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must include a map of \u003ccode\u003econtextReferences\u003c/code\u003e, where each key-value pair represents the name and content of a context reference, in a specific JSON format.\u003c/p\u003e\n"],["\u003cp\u003eUpon successful ingestion, the response body will contain a map of \u003ccode\u003eingestedContextReferences\u003c/code\u003e, reflecting all the context references that were successfully added.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization to use this API requires either the \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e or \u003ccode\u003ehttps://www.googleapis.com/auth/dialogflow\u003c/code\u003e OAuth scopes.\u003c/p\u003e\n"]]],[],null,[]]