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

**Full name**: projects.locations.instances.uniqueEntities.addNote

Adds a comment or note to a unique entity. Use this method to record observations or findings related to a specific entity for future investigation or collaboration.

### HTTP request

`POST https://{endpoint}/v1alpha/{parent}/uniqueEntities:addNote`

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

### Path parameters

| Parameters ||
|---|---|
| `parent` | `string` Required. Format: projects/{project}/locations/{location}/instances/{instance}/uniqueEntities |

### Request body

The request body contains an instance of `https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.uniqueEntities/addNote#UniqueEntityAddNote`.

### Response body

If successful, the response body is an empty JSON object.

### 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 `parent` resource:

- `chronicle.uniqueEntities.update`

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

## UniqueEntityAddNote

Request message for UniqueEntityAddNote.

| JSON representation |
|---|
| ``` { "author": string, "content": string, "entityIdentifier": string, "entityType": string, "entityEnvironment": string } ``` |

| Fields ||
|---|---|
| `author` | `string` Required. The author of the note. |
| `content` | `string` Required. The content of the note. |
| `entityIdentifier` | `string` Required. The entity identifier. |
| `entityType` | `string` Required. The entity type. |
| `entityEnvironment` | `string` Required. The entity environment. |