Required. The name of the document to retrieve. Format projects/<Project ID>/locations/<Location
ID>/knowledgeBases/<Knowledge Base ID>/documents/<Document ID>.
Authorization requires the following IAM permission on the specified resource name:
dialogflow.documents.get
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of Document.
[[["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 endpoint retrieves a specific document using a GET request, identified by its unique name within a knowledge base.\u003c/p\u003e\n"],["\u003cp\u003eThe request URL requires a specific format including project, location, knowledge base, and document IDs, following gRPC Transcoding syntax.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must be empty, and the success of the request is determined by the response body, which will contain an instance of a document.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization requires specific IAM permissions, notably \u003ccode\u003edialogflow.documents.get\u003c/code\u003e, on the requested resource and one of two OAuth scopes.\u003c/p\u003e\n"],["\u003cp\u003eThis feature is using a deprecated resource, \u003ccode\u003eprojects.agent.knowledgeBases.documents\u003c/code\u003e, and should only use \u003ccode\u003eprojects.knowledgeBases.documents\u003c/code\u003e from here on out.\u003c/p\u003e\n"]]],[],null,["# Method: projects.knowledgeBases.documents.get\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nRetrieves the specified document.\n\nNote: The `projects.agent.knowledgeBases.documents` resource is deprecated; only use `projects.knowledgeBases.documents`.\n\n### HTTP request\n\n`GET https://{endpoint}/v2beta1/{name=projects/*/knowledgeBases/*/documents/*}`\n\nWhere `{endpoint}` is one of the [supported service endpoints](/dialogflow/es/docs/reference/rest#rest_endpoints).\n\nThe URLs use [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body contains an instance of [Document](/dialogflow/es/docs/reference/rest/v2beta1/projects.agent.knowledgeBases.documents#Document).\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n- `\n https://www.googleapis.com/auth/dialogflow`\n\nFor more information, see the [Authentication Overview](/docs/authentication#authorization-gcp)."]]