Required. Full resource name of the SiteSearchEngine, such as projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine.
Request body
The request body contains data with the following structure:
JSON representation
{"uris": [string],"siteCredential": string}
Fields
uris[]
string
Required. List of URIs to crawl. At most 10K URIs are supported, otherwise an INVALID_ARGUMENT error is thrown. Each URI should match at least one TargetSite in siteSearchEngine.
siteCredential
string
Optional. Credential id to use for crawling.
Response body
If successful, the response body contains an instance of Operation.
[[["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 initiates an on-demand recrawl of a list of URIs for a specified Site Search Engine using a POST request.\u003c/p\u003e\n"],["\u003cp\u003eThe request URL requires the \u003ccode\u003esiteSearchEngine\u003c/code\u003e path parameter, which represents the full resource name of the target Site Search Engine.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must include a list of \u003ccode\u003euris\u003c/code\u003e to be recrawled, with a maximum limit of 10,000 URIs per request, and each one should be a target site, with an optional \u003ccode\u003esiteCredential\u003c/code\u003e field for authentication.\u003c/p\u003e\n"],["\u003cp\u003eA successful request will return an \u003ccode\u003eOperation\u003c/code\u003e instance in the response body, indicating the status of the recrawl process.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization for this operation requires the OAuth scope \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e and the IAM permission \u003ccode\u003ediscoveryengine.siteSearchEngines.recrawlUris\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Method: projects.locations.dataStores.siteSearchEngine.recrawlUris\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n - [JSON representation](#body.request_body.SCHEMA_REPRESENTATION)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [IAM Permissions](#body.aspect_1)\n\nRequest on-demand recrawl for a list of URIs.\n\n### HTTP request\n\n`POST https://discoveryengine.googleapis.com/v1beta/{siteSearchEngine=projects/*/locations/*/dataStores/*/siteSearchEngine}:recrawlUris`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Request body\n\nThe request body contains data with the following structure:\n\n### Response body\n\nIf successful, the response body contains an instance of [Operation](/generative-ai-app-builder/docs/reference/rest/Shared.Types/ListOperationsResponse#Operation).\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](/docs/authentication#authorization-gcp).\n\n### IAM Permissions\n\nRequires the following [IAM](https://cloud.google.com/iam/docs) permission on the `siteSearchEngine` resource:\n\n- `discoveryengine.siteSearchEngines.recrawlUris`\n\nFor more information, see the [IAM documentation](https://cloud.google.com/iam/docs)."]]