Sample - OpenAI API
GET/safety/alerts/{id}

Get project safety alert

Get a safety alert belonging to the authenticated API project.

  • RetriesRetries up to 2×, 500ms backoff, 30s timeout.

1 parameter
idstringrequired
Project safety alert ID

1 status code
200Success
idstringrequired
objectstringrequired
Allowed:safety.alertDefault:safety.alert
created_atintegerrequired
request_idstringrequired
response_idstringrequired
modelstringrequired
request_pausedbooleanrequired
Whether block registration succeeded for this request. This does not confirm that response execution stopped.
error_typestringrequired
Allowed:potentially_unintended_data_transferpotentially_unintended_data_accesspotentially_unintended_destructive_activityother
reasonstringrequired
A customer-safe description derived from error_type, or null for zero data retention requests.