Version 4.0.26.22 (latest)

# Reads a Notification

The endpoint marks a given alert notification as read by the user, in case it wasn't already read. The AlertNotification model is updated for this purpose. It returns the notification as a response.

## Request

PATCH /alert_notifications/{alert_notification_id} Datatype Description Request HTTP Request path HTTP Path Expand HTTP Path definition... alert_notification_id string ID of a notification

## Response

### 200: It updates that the given alert notification has been read by the user

Datatype Description (object) [AlertNotifications](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest/types/AlertNotifications) notification_id string ID of the notification alert_condition_id string ID of the alert user_id string ID of the user is_read boolean Read state of the notification field_value number The value of the field on which the alert condition is set threshold_value number The value of the threshold which triggers the alert notification ran_at string The time at which the alert query ran alert [MobilePayload](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest/types/MobilePayload) It contains the details needed for mobile alerts payload Expand MobilePayload definition... title string Title of the alert alert_id string ID of the alert investigative_content_id string ID of the investigative content dashboard_name string Name of the dashboard on which the alert has been set dashboard_id string ID of the dashboard on which the alert has been set query_slug string Slug of the query which runs the alert queries. query_id string ID of the query notification_type string The type of notification, 'email' or 'slack' triggering_field_title string The title of the field on which the alert condition is set

### 400: Bad Request

Datatype Description (object) [Error](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest/types/Error) message string Error details documentation_url string Documentation link

### 404: Not Found

Datatype Description (object) [Error](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest/types/Error) message string Error details documentation_url string Documentation link

### 422: Validation Error

Datatype Description (object) [ValidationError](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest/types/ValidationError) message string Error details errors [ValidationErrorDetail](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest/types/ValidationErrorDetail)\[\] Expand ValidationErrorDetail definition... field string Field with error code string Error code message string Error info message documentation_url string Documentation link documentation_url string Documentation link

### 429: Too Many Requests

Datatype Description (object) [Error](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest/types/Error) message string Error details documentation_url string Documentation link