Documentation Index
Fetch the complete documentation index at: https://mintlify.com/TinsFox/ai-review/llms.txt
Use this file to discover all available pages before exploring further.
The notification infrastructure is in place for all channels listed below, but
individual channel readiness may vary. Verify each channel with the test
endpoint before relying on it in production.
Available channels
AI Review includes implementations for the following notification channels:| Channel | Identifier |
|---|---|
email | |
| Slack | slack |
| Webhook | webhook |
| DingTalk | dingtalk |
| Feishu | feishu |
wechat | |
| Browser Push | push |
Configure notifications
Retrieve current configuration
Create or replace configuration
| Field | Type | Description |
|---|---|---|
channels | string[] | List of enabled channel identifiers |
emailEnabled | boolean | Enable or disable email notifications |
slackWebhookUrl | string (URL) | Incoming webhook URL for Slack |
dingtalkWebhookUrl | string (URL) | Incoming webhook URL for DingTalk |
feishuWebhookUrl | string (URL) | Incoming webhook URL for Feishu |
Partial update
POST but only updates the supplied keys.
Channel configuration
- Slack
- DingTalk
- Feishu
- Email
- Webhook
- Browser Push
Set
slackWebhookUrl to your Slack incoming webhook URL and include
"slack" in the channels array:Test a channel
Before relying on a channel, send a test notification:channel: email, webhook, slack, wechat, dingtalk,
feishu, push.
The response contains a result field with the outcome from the notification
manager.
Push notifications
Browser Push notifications use the Web Push protocol and require a VAPID key pair.Generate VAPID keys
Manage subscriptions
| Method | Path | Description |
|---|---|---|
POST | /api/notifications/push/subscribe | Register a new push subscription |
GET | /api/notifications/push/subscriptions | List all push subscriptions |
GET | /api/notifications/push/users/:userId | List subscriptions for a user |
POST | /api/notifications/push/touch | Update last-used time for a subscription |
DELETE | /api/notifications/push/unsubscribe | Remove a push subscription |
POST | /api/notifications/push/clean | Delete all expired push subscriptions |
POST /push/subscribe) requires:
Notification history
List notifications
| Parameter | Type | Description |
|---|---|---|
page | number | Page number (default: 1) |
pageSize | number | Items per page (default: 10) |
channel | string | Filter by channel identifier |
status | string | Filter by status |
notificationType | string | Filter by notification type |
reviewId | string | Filter by associated review ID |
startDate | string | ISO 8601 start date for range filter |
endDate | string | ISO 8601 end date for range filter |
Get notification detail
Get statistics
startDate and endDate query parameters. Returns aggregate
stats for the specified period.
Pending and failed notifications
PATCH /api/notifications/history/:id to update status and retry as needed.