Skip to main content
PATCH
Update Alert

Authorizations

X-API-Key
string
header
required

PromptGuard API key for developer endpoints. Keys start with pg_live_ and are created in the dashboard.

Headers

x-api-key
string | null
PromptGuard-Approval
string | null

The approval_id of an approval_required refusal, once your user has approved it. Send the same method, path, query and body.

Maximum string length: 64

Path Parameters

project_id
string
required
alert_id
string
required

Body

application/json
status
enum<string>
required

sent acknowledges it and leaves it listed; dismissed clears it

Available options:
sent,
dismissed

Response

Successful Response

id
string
required
threat_type
string
required
confidence
number | null
required
severity
string
required
status
string
required
created_at
string<date-time>
required