cURL
curl --request GET \ --url https://guard-api.metatext.ai/v1/applications/{application_id}/policies \ --header 'Authorization: Bearer <token>'
[ { "id": "<string>", "definition": "<string>", "rules": [ { "type": "factuality", "expected": "pass", "value": "<string>", "threshold": 123, "flagged": [ "<string>" ] } ], "target": [ "input" ], "override_response": "<string>" } ]
List all policies for a specific application.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful Response
The response is of type Policy · object[].
Policy · object[]