ProtoGuard Alerts

ProtoGuard alerts describe prompt-injection detections.

ProtoGuard Alerts object

Attributes

object

String

id

String

run_id

String

session_id

StringNullable

session_message_id

StringNullable

session_connection_id

StringNullable

provider_run_id

StringNullable

filters

Object

created_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

NumberOptional

after

StringOptional

before

StringOptional

cursor

StringOptional

order

EnumOptional

id

UnionOptional

run_id

UnionOptional

filter_id

UnionOptional

session_id

UnionOptional

session_message_id

UnionOptional

session_connection_id

UnionOptional

provider_run_id

UnionOptional

created_at

ObjectOptional

Filter 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

String

The 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_..."