Skip to main content
PATCH
/
alerts
/
{alert_id}
Update alert status
curl --request PATCH \
  --url https://api.getpg.ai/public-api/v1/alerts/{alert_id} \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{}'
{}

Authorizations

x-api-key
string
header
required

Your API key for authentication. Get your API key from the PG:AI dashboard under Settings > API Keys.

Path Parameters

alert_id
string
required

Alert UUID

Body

application/json
status
enum<string>
required

New status

Available options:
viewed,
acknowledged,
resolved,
dismissed

Response

Success

Response data