governance

Validate Content

Validate a draft response against the organization's governance policies. This acts as the 'Firewall' for Agent Inference.

post/api/governance/validate

Request

  • Base URL: https://voyant.io (the document declares no server; this is the origin it was published from)
  • URL: https://voyant.io/api/governance/validate
  • Auth: HTTP bearer

Request body

draft_contentstring required

The content the agent proposes to send

context_idstring nullable

ID of the signal/context being responded to

agent_idstring nullable

ID of the agent generating the content

policy_overridesobject nullable

Optional temporary policy overrides

Response

Successful Response

is_safeboolean required

Whether the content is safe to send

risk_scorenumber required

0.0 (Safe) to 1.0 (High Risk)

violation_reasonsstring[]

List of policy violations if any

correction_suggestionstring nullable

Suggested rewrite to make it safe

censor_maskstring nullable

Redacted version of the content

timestampstring

Changes

No recorded changes to this operation across all 1 revision of this API.