Create governance evaluation
POST/ai/governance/evaluations
Records a governance evaluation event, capturing the review of an AI action or output against the tenant's policy standards. Use from the governance console to log manual review decisions alongside automated policy enforcement.
Request
Request body
Content type application/json (required).
| Field | Type | Required | Description |
|---|---|---|---|
subject_type | string | Yes | The type of subject being evaluated (e.g. "copilot_query", "template"). |
subject_id | string | Yes | The identifier of the subject record. |
decision | string | Yes | The governance decision reached by the reviewer. One of: |
policy_violations | array of string | No | List of policy violation codes identified, if any. |
notes | string | No | Reviewer notes explaining the decision. Max length: 2000 |
Example
{
"subject_type": "copilot_query",
"subject_id": "qry_01HXM4K2P3N7V8QRST",
"decision": "approved",
"policy_violations": [],
"notes": "Reviewed and confirmed response is within acceptable scope."
}
Responses
201 Governance evaluation recorded
422 Validation failed
Example request
curl -X POST "https://{tenant}.faciotech.net/api/v1/ai/governance/evaluations" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{"subject_type": "copilot_query", "subject_id": "qry_01HXM4K2P3N7V8QRST", "decision": "approved", "policy_violations": [], "notes": "Reviewed and confirmed response is within acceptable scope."}'