AI Safety endpoints
Update a policy and guardrails
Update an existing policy for a specific application.
PUT
/
v1
/
applications
/
{application_id}
/
policies
/
{policy_id}
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
application_id
string
requiredpolicy_id
string
requiredBody
application/json
id
string
requireddefinition
string | null
rules
object[]
requiredtarget
enum<string>
Available options:
input
, output
, both
override_response
string | null
Response
200 - application/json
id
string
requireddefinition
string | null
rules
object[]
requiredtarget
enum<string>
Available options:
input
, output
, both
override_response
string | null