Full name: projects.locations.instances.watchlists.entities.batchAdd
Adds a batch of entities under watchlist.
HTTP request
Path parameters
Parameters
parent
string
Required. The parent resource shared by all entities being added. Format: projects/{project}/locations/{location}/instances/{instance}/watchlists/{watchlist} If this is set, the parent field in the AddWatchlistEntityRequest messages must either be empty or match this field.
Request body
The request 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-08-25 UTC."],[[["\u003cp\u003eThis endpoint, \u003ccode\u003eprojects.locations.instances.watchlists.entities.batchAdd\u003c/code\u003e, allows for adding multiple entities to a watchlist in a single request.\u003c/p\u003e\n"],["\u003cp\u003eThe HTTP request must be a \u003ccode\u003ePOST\u003c/code\u003e request to the specified URL, including the required \u003ccode\u003eparent\u003c/code\u003e path parameter to identify the watchlist.\u003c/p\u003e\n"],["\u003cp\u003eThe request body should contain a JSON object with an array of \u003ccode\u003eAddWatchlistEntityRequest\u003c/code\u003e objects, each specifying an entity to be added.\u003c/p\u003e\n"],["\u003cp\u003eThe response body will return a JSON object containing an array of \u003ccode\u003eEntity\u003c/code\u003e objects representing the added entities.\u003c/p\u003e\n"],["\u003cp\u003eTo use this endpoint, the request must include the OAuth scope \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e and the user must have the \u003ccode\u003echronicle.entities.batchCreate\u003c/code\u003e IAM permission on the \u003ccode\u003eparent\u003c/code\u003e resource.\u003c/p\u003e\n"]]],[],null,["# Method: entities.batchAdd\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 - [JSON representation](#body.BatchAddWatchlistEntitiesResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [IAM Permissions](#body.aspect_1)\n- [Try it!](#try-it)\n\n**Full name**: projects.locations.instances.watchlists.entities.batchAdd\n\nAdds a batch of entities under watchlist.\n\n### HTTP request\n\nChoose a location: \nafrica-south1 asia-northeast1 asia-south1 asia-southeast1 asia-southeast2 australia-southeast1 europe-west12 europe-west2 europe-west3 europe-west6 europe-west9 me-central1 me-central2 me-west1 northamerica-northeast2 southamerica-east1 us eu \n\n\u003cbr /\u003e\n\n### Path parameters\n\n### Request body\n\nThe request body contains data with the following structure:\n\n### Response body\n\nResponse message for adding entities in batch.\n\nIf successful, the response body contains data with the following structure:\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 `parent` resource:\n\n- `chronicle.entities.batchCreate`\n\nFor more information, see the [IAM documentation](https://cloud.google.com/iam/docs)."]]