Full name: projects.locations.instances.legacy.legacyBatchGetCases
RPC for fetching cases for the given caseNames. If a case is not found, it is skipped (nothing is returned in its place).
HTTP request
Path parameters
Parameters
instance
string
Required. The name of the parent resource, which is the SecOps instance this request is sent to. Format: projects/{project}/locations/{location}/instances/{instance}
Query parameters
Parameters
names[]
string
Required. Names of required cases A maximum of 1000 cases can be retrieved in a batch.
Request body
The request body must be empty.
Response body
The BatchGetCasesResponse message NEXT TAG: 2
If successful, the response body contains data with the following structure:
Cases corresponding to the given case names. The returned cases would be in the same order as the requested case names, except for cases that were not found.
[[["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.legacy.legacyBatchGetCases\u003c/code\u003e, allows you to retrieve up to 1000 cases in a batch using their names.\u003c/p\u003e\n"],["\u003cp\u003eThe HTTP request is a \u003ccode\u003eGET\u003c/code\u003e request to \u003ccode\u003ehttps://chronicle.googleapis.com/v1alpha/{instance}/legacy:legacyBatchGetCases\u003c/code\u003e, requiring the \u003ccode\u003einstance\u003c/code\u003e as a path parameter.\u003c/p\u003e\n"],["\u003cp\u003eYou must provide the \u003ccode\u003enames[]\u003c/code\u003e query parameter to specify the cases to retrieve, and the request body should be empty.\u003c/p\u003e\n"],["\u003cp\u003eThe response body contains an array of \u003ccode\u003eLegacyCase\u003c/code\u003e objects, each representing a case, and includes details like ID, display name, stage, priority, status, and related alert IDs, with missing cases being skipped.\u003c/p\u003e\n"],["\u003cp\u003eTo successfully use this endpoint, the caller must have the \u003ccode\u003echronicle.legacies.legacyBatchGetCases\u003c/code\u003e IAM permission on the specified instance and use the \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e OAuth scope.\u003c/p\u003e\n"]]],[],null,["# Method: legacy.legacyBatchGetCases\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.LegacyBatchGetCasesResponse.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.legacy.legacyBatchGetCases\n\nRPC for fetching cases for the given caseNames. If a case is not found, it is skipped (nothing is returned in its place).\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### Query parameters\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nThe BatchGetCasesResponse message NEXT TAG: 2\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 `instance` resource:\n\n- `chronicle.legacies.legacyBatchGetCases`\n\nFor more information, see the [IAM documentation](https://cloud.google.com/iam/docs)."]]