---
title: "Test Notification Rule"
method: POST
path: "/api/agent/deployments/{deploymentId}/actions/{notificationRuleId}/test"
tags: ["NotificationRulesService"]
---

# Test Notification Rule

`POST /api/agent/deployments/{deploymentId}/actions/{notificationRuleId}/test`

Test a notification rule

## Path parameters

- `deploymentId` integer, required
- `notificationRuleId` integer, required

## Request body

- ProtosNotificationRulesV1TestNotificationRuleRequest
  - `deploymentId` integer
  - `notificationRuleId` integer

## Response `200`

OK

- ProtosNotificationRulesV1TestNotificationRuleResponse
  - `success` boolean

---

[API](https://skmtc.net/semgrep/apis/semgrep-web-app.md) · [All operations](https://skmtc.net/semgrep/apis/semgrep-web-app/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/semgrep/semgrep-web-app/versions/6483eeecd582/schema)
