curl --request PUT \
--url https://guard-api.metatext.ai/v1/applications/{application_id}/policies/{policy_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"id": "<string>",
"definition": "<string>",
"rules": [
{
"type": "factuality",
"expected": "pass",
"value": "<string>",
"threshold": 123,
"flagged": [
"<string>"
]
}
],
"target": [
"input"
],
"override_response": "<string>"
}'