---
title: "Send a test incident"
method: POST
path: "/incident-providers/{providerId}/test"
tags: ["incidents"]
---

# Send a test incident

`POST /incident-providers/{providerId}/test`

Sends a test trigger and resolve event to one incident provider. Developer, manager, or admin only.

## Path parameters

- `providerId` string, required

## Query parameters

- `remoteNode` string

## Response `200`

Test incident delivery attempted

- TestIncidentProviderResponse — Result of test incident delivery
  - `result` TestIncidentProviderResult, required — Delivery result for one incident provider
    - `providerId` string, required
    - `providerName` string, required
    - `providerType` 'pagerduty' | 'solarwinds_incident_response', required — Incident provider type
    - `delivered` boolean, required
    - `error` string

## Other responses

- `403` — Forbidden - requires an active Dagu license or trial
- `404` — Incident provider not found
- `default` — Unexpected error

## Changes

- **2026-07-23** (v1) `75b8e91aaf57` — 9 warning
  - added the new `conflict` enum value to the `code` response property for the response status `403`
  - added the new `conflict` enum value to the `code` response property for the response status `404`
  - added the new `conflict` enum value to the `code` response property for the response status `default`
  - added the new `human_task_resume_failed` enum value to the `code` response property for the response status `403`
  - …5 more
- **2026-05-24** (v1) `8a2d5d3e9608` — 3 warning
  - added the new `rate_limited` enum value to the `code` response property for the response status `403`
  - added the new `rate_limited` enum value to the `code` response property for the response status `404`
  - added the new `rate_limited` enum value to the `code` response property for the response status `default`
- **2026-05-18** (v1) `9216dd5a50bc` — 1 info
  - endpoint added
- **2026-04-30** (v1) `50e1d517afc1` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/dagucloud/apis/dagu/changes/incident-providers/:providerId/test/post.md)

---

[API](https://skmtc.dev/dagucloud/apis/dagu.md) · [All operations](https://skmtc.dev/dagucloud/apis/dagu/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/dagucloud/dagu/revisions/6f043af8f6d3/schema)
