Risk Scoring

GovernLayer provides deterministic, 6-dimension risk scoring. Unlike drift detection, risk scoring is purely algorithmic with no LLM involvement — ensuring consistent, reproducible results every time.

Risk dimensions

  • Name
    data_sensitivity
    Type
    integer (0-100)
    Description

    How sensitive is the data the AI system processes?

  • Name
    autonomy_level
    Type
    integer (0-100)
    Description

    How independently does the AI system operate?

  • Name
    decision_impact
    Type
    integer (0-100)
    Description

    What is the potential impact of the AI system's decisions?

  • Name
    regulatory_exposure
    Type
    integer (0-100)
    Description

    How exposed is the system to regulatory requirements?

  • Name
    model_complexity
    Type
    integer (0-100)
    Description

    How complex is the underlying AI model?

  • Name
    deployment_scope
    Type
    integer (0-100)
    Description

    How widely is the AI system deployed?


POST/v1/risk-score

Calculate risk score

Calculate a deterministic risk score based on system characteristics.

Required attributes

  • Name
    system_name
    Type
    string
    Description

    Name of the AI system being scored.

  • Name
    handles_pii
    Type
    boolean
    Description

    Whether the system processes personally identifiable information.

  • Name
    autonomous_actions
    Type
    boolean
    Description

    Whether the system takes actions without human approval.

  • Name
    financial_impact
    Type
    boolean
    Description

    Whether the system can affect financial outcomes.

  • Name
    regulated_industry
    Type
    boolean
    Description

    Whether the system operates in a regulated industry.

  • Name
    uses_llm
    Type
    boolean
    Description

    Whether the system uses large language models.

  • Name
    public_facing
    Type
    boolean
    Description

    Whether the system interacts directly with external users.

Request

POST
/v1/risk-score
curl -X POST https://api.governlayer.ai/v1/risk-score \
  -H "X-API-Key: gl_your_api_key_here" \
  -H "Content-Type: application/json" \
  -d '{
    "system_name": "loan-underwriter-agent",
    "handles_pii": true,
    "autonomous_actions": true,
    "financial_impact": true,
    "regulated_industry": true,
    "uses_llm": true,
    "public_facing": false
  }'

Response

{
  "system_name": "loan-underwriter-agent",
  "overall_score": 85,
  "risk_level": "HIGH",
  "dimensions": {
    "data_sensitivity": 90,
    "autonomy_level": 85,
    "decision_impact": 95,
    "regulatory_exposure": 90,
    "model_complexity": 80,
    "deployment_scope": 60
  }
}

Was this page helpful?