Skip to content

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).

FieldTypeRequiredDescription
subject_typestringYes

The type of subject being evaluated (e.g. "copilot_query", "template").

subject_idstringYes

The identifier of the subject record.

decisionstringYes

The governance decision reached by the reviewer.

One of: "approved", "rejected", "flagged"

policy_violationsarray of stringNo

List of policy violation codes identified, if any.

notesstringNo

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."}'
Loading