Skip to main content
POST
Create Exception

Authorizations

X-API-Key
string
header
required

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

Body

application/json
destination_host
string
required
Maximum string length: 255
policy_id
string | null
Maximum string length: 64
threat
string | null
Maximum string length: 64
reason_category
string | null
Maximum string length: 64
justification
string | null
Maximum string length: 2000
requested_minutes
integer
default:60
Required range: 1 <= x <= 1440

Response

Successful Response

One exception request as the filing device sees it. Timestamps are ISO 8601.

id
string
required
code
string
required
destination_host
string
required
policy_id
string | null
required
threat
string | null
required
reason_category
string | null
required
justification
string | null
required
requested_minutes
integer
required
status
string
required

pending | approved | denied | cancelled | expired

created_at
string | null
required
decided_at
string | null
required
expires_at
string | null
required