ProtoGuard Alerts
ProtoGuard alerts describe prompt-injection detections.
ProtoGuard Alerts object
Attributes
object
Stringid
Stringrun_id
Stringsession_id
StringNullablesession_message_id
StringNullablesession_connection_id
StringNullableprovider_run_id
StringNullablefilters
Objectcreated_at
Date{"object": "protoguard.alert","filters": [{"object": "protoguard.alert_filter","issue_type": "instruction_override","severity": "low"},{"object": "protoguard.alert_filter","issue_type": "instruction_override","severity": "low"}]}
List ProtoGuard alerts
Returns a paginated list of ProtoGuard alerts for this instance.
Query Parameters
limit
NumberOptionalafter
StringOptionalbefore
StringOptionalcursor
StringOptionalorder
EnumOptionalid
UnionOptionalrun_id
UnionOptionalfilter_id
UnionOptionalsession_id
UnionOptionalsession_message_id
UnionOptionalsession_connection_id
UnionOptionalprovider_run_id
UnionOptionalcreated_at
ObjectOptionalFilter ProtoGuard alert creation time by date range
GEThttp://api.metorial.com/protoguard-alerts
curl -X GET "https://api.metorial.com/protoguard-alerts" \-H "Authorization: Bearer metorial_sk_..."
Get ProtoGuard alert
Retrieves a ProtoGuard alert by ID.
URL Parameters
proto_guard_alert_id
StringThe unique identifier for the proto_guard_alert
GEThttp://api.metorial.com/protoguard-alerts/:proto_guard_alert_id
curl -X GET "https://api.metorial.com/protoguard-alerts/pro_Rm4Mnheq2bfEPhBhP7SY" \-H "Authorization: Bearer metorial_sk_..."