- [HTTP request](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.legacySoarReports/legacyGetReportTemplates#body.HTTP_TEMPLATE)
- [Path parameters](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.legacySoarReports/legacyGetReportTemplates#body.PATH_PARAMETERS)
- [Request body](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.legacySoarReports/legacyGetReportTemplates#body.request_body)
- [Response body](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.legacySoarReports/legacyGetReportTemplates#body.response_body)
  - [JSON representation](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.legacySoarReports/legacyGetReportTemplates#body.LegacyGetReportTemplatesResponse.SCHEMA_REPRESENTATION)
- [Authorization scopes](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.legacySoarReports/legacyGetReportTemplates#body.aspect)
- [IAM Permissions](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.legacySoarReports/legacyGetReportTemplates#body.aspect_1)
- [LegacyReportTemplateDetails](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.legacySoarReports/legacyGetReportTemplates#LegacyReportTemplateDetails)
  - [JSON representation](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.legacySoarReports/legacyGetReportTemplates#LegacyReportTemplateDetails.SCHEMA_REPRESENTATION)
- [ReportTemplateCategoryEnum](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.legacySoarReports/legacyGetReportTemplates#ReportTemplateCategoryEnum)

**Full name**: projects.locations.instances.legacySoarReports.legacyGetReportTemplates

Returns a list of all report templates defined in the system. These templates serve as the foundation for both manual and scheduled report generation.

### HTTP request

`GET https://{endpoint}/v1alpha/{instance}/legacySoarReports:legacyGetReportTemplates`

Where `{endpoint}` is one of the [supported service endpoints](https://docs.cloud.google.com/chronicle/docs/reference/rest#rest_endpoints).

### Path parameters

| Parameters ||
|---|---|
| `instance` | `string` Required. The instance to get the report templates for. Format: projects/{project}/locations/{location}/instances/{instance} |

### Request body

The request body must be empty.

### Response body

Response message for legacySoarReports.legacyGetReportTemplates.

If successful, the response body contains data with the following structure:

| JSON representation |
|---|
| ``` { "payload": [ { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.legacySoarReports/legacyGetReportTemplates#LegacyReportTemplateDetails`) } ] } ``` |

| Fields ||
|---|---|
| `payload[]` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.legacySoarReports/legacyGetReportTemplates#LegacyReportTemplateDetails`)`` Optional. The report templates. |

### Authorization scopes

Requires one of the following OAuth scopes:

- `https://www.googleapis.com/auth/cloud-platform`
- `
  https://www.googleapis.com/auth/chronicle`

For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication#authorization-gcp).

### IAM Permissions

Requires the following [IAM](https://cloud.google.com/iam/docs) permission on the `instance` resource:

- `chronicle.legacySoarReports.get`

For more information, see the [IAM documentation](https://cloud.google.com/iam/docs).

## LegacyReportTemplateDetails

ReportTemplateDetails represents the details of a report template.

| JSON representation |
|---|
| ``` { "creator": string, "creatorFullName": string, "category": enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.legacySoarReports/legacyGetReportTemplates#ReportTemplateCategoryEnum`), "name": string, "reportWidgets": [ { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/LegacyDashboardWidgetDataModel`) } ], "id": string, "creationTimeUnixTimeInMs": string, "modificationTimeUnixTimeInMs": string, "isSystem": boolean, "hasScheduler": boolean } ``` |

| Fields ||
|---|---|
| `creator (deprecated)` | `string` > [!WARNING] > This item is deprecated! Optional. The creator of the report template. |
| `creatorFullName (deprecated)` | `string` > [!WARNING] > This item is deprecated! Optional. The creator full name of the report template. |
| `category` | ``enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.legacySoarReports/legacyGetReportTemplates#ReportTemplateCategoryEnum`)`` Optional. The category of the report template. |
| `name` | `string` Optional. The name of the report template. |
| `reportWidgets[]` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/LegacyDashboardWidgetDataModel`)`` Optional. The report widgets of the report template. |
| `id` | `string (https://developers.google.com/discovery/v1/type-format format)` Output only. The report template id. |
| `creationTimeUnixTimeInMs` | `string (https://developers.google.com/discovery/v1/type-format format)` Optional. The creation time of the report template. |
| `modificationTimeUnixTimeInMs` | `string (https://developers.google.com/discovery/v1/type-format format)` Optional. The last modified time of the report template. |
| `isSystem` | `boolean` Optional. Is the report template a system report template. |
| `hasScheduler` | `boolean` Optional. Does the report template has scheduler. |

## ReportTemplateCategoryEnum

ReportTemplateCategoryEnum defines the category of the report template.

| Enums ||
|---|---|
| `ROI` | Roi category. |
| `MANAGEMENT` | Management category. |
| `SLA` | Sla category. |
| `TIER1` | Tier1 category. |
| `GENERAL` | General category. |