Quickstart Guide
Supported governed endpoints return explicit coverage_pct, routing metadata, policy outcome, decision summary, and audit linkage.
Need assisted onboarding for private deployment? See Offline Profile Onboarding (Optional).
https://risk.auditvec.com
Request Schema
Public bundled examples and governed HTTP integration examples use the demo credit profile shown below and specify X-Config-Id: german in the request headers. Optional evidence fields are deployment-specific and omitted from the public examples.
{
"data": {
"duration": 24,
"credit_amount": 2500,
"age": 35,
"installment_rate": 2,
"residence_since": 3,
"existing_credits_count": 1,
"dependents": 1,
"status": "A12",
"credit_history": "A32",
"purpose": "A43",
"savings": "A62",
"employment_length": "A74",
"personal_status_sex": "A92",
"other_debtors": "A101",
"property": "A122",
"other_plans": "A143",
"housing": "A152",
"job": "A172",
"telephone": "A191",
"foreign_worker": "A201"
}
}
duration. The API mirrors it to duration_months for compatibility. If both are sent, values must match.
Make a Request
Bundled hosted calls use POST /classify?explain=compact. Governed HTTP-connected scorer integrations use POST /hybrid/score?explain=plain. Supported governed endpoints return explicit coverage_pct, routing metadata (router), policy outcome (policy), decision summary (plain_summary), and audit linkage (audit_id). Coverage gates are supported as configured governance controls; hosted branch-by-branch gate behavior should be validated for each deployment/profile. Use /ping for health checks and /audit/export?download=1 for audit pack download.
curl -s -X POST "https://risk.auditvec.com/classify?explain=compact" \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_KEY" \
-H "X-Config-Id: german" \
-d '{
"data": {
"duration": 24,
"credit_amount": 2500,
"age": 35,
"installment_rate": 2,
"residence_since": 3,
"existing_credits_count": 1,
"dependents": 1,
"status": "A12",
"credit_history": "A32",
"purpose": "A43",
"savings": "A62",
"employment_length": "A74",
"personal_status_sex": "A92",
"other_debtors": "A101",
"property": "A122",
"other_plans": "A143",
"housing": "A152",
"job": "A172",
"telephone": "A191",
"foreign_worker": "A201"
}
}'
Governed HTTP-connected scorer example
Use this lane when your scorer is exposed over HTTP in an enabled Auditvec deployment. Representative sklearn, xgboost, and Torch-compatible integrations have been validated through that contract during proof testing.
API_BASE="https://YOUR_AUDITVEC_BASE"
curl -s -X POST "$API_BASE/hybrid/score?explain=plain" \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_KEY" \
-H "X-Config-Id: german" \
-d '{
"data": {
"duration": 24,
"credit_amount": 2500,
"age": 35,
"installment_rate": 2,
"residence_since": 3,
"status": "A12",
"credit_history": "A32",
"purpose": "A43"
}
}'
Typical Response
{
"coverage_pct": 100.0,
"router": {
"gate_policy": "PASS|REVIEW|FAIL",
"gate_cov": "OK|LOW",
"gate_gray": "CLEAR|EDGE",
"final_decision": "APPROVE|REVIEW|DENY"
},
"plain_summary": {
"decision": "APPROVE|REVIEW|DENY",
"reason_lines": ["...", "..."]
},
"policy": {
"status": "PASS|REVIEW|FAIL",
"violations": ["min_duration_not_met"],
"flags": []
},
"audit_id": "abcdef123456"
}
Audit Pack Export (ZIP)
API="https://risk.auditvec.com"
KEY="YOUR_KEY"
CFG="german"
curl -sS -X POST "$API/audit/export?download=1" \
-H "Content-Type: application/json" \
-H "X-API-Key: $KEY" \
-H "X-Config-Id: $CFG" \
-d '{}' \
-o audit_pack.zip
powershell -ExecutionPolicy Bypass -File .\ops\verify_audit_pack.ps1 -ZipPath .\audit_pack.zip
Audit pack export is supported on the bundled and governed HTTP surfaces. It returns a ZIP with SHA-256 checksums; verifier script provided.
Offline Profile Onboarding (Optional)
Available in assisted onboarding and private deployment workflows.
- Provide an examples file + mapping file.
- We build a profile bundle + versioned signature offline.
- Evidence pack can be generated for optional support when enabled.
- Production rejects mismatched profile signatures.
Runbook commands: use request smoke tests and the audit pack verifier command during onboarding sign-off. Need onboarding help? Request assisted onboarding.
Scorer Integration Checklist
X-Config-Id per product/region (for this example: german).Example Policy Snapshot
Inspect policy metadata exposed by the deployment. This example shows the public demo profile context; live default profile/config context may differ. The public policy snapshot can be simpler than governed response records, so validate deployment-specific controls before relying on it for release evidence.
{
"profile": "german",
"policy": {
"min_duration_months": 36,
"final_mode": "triage",
"gray_band": 0,
"coverage_review_pct": 0,
"bad_thresh_source": "cal"
},
"source": "edge"
}
Public benchmark sources referenced across benchmark and development/proof materials:
- UCI Machine Learning Repository - Statlog (German Credit Data)
- Kaggle - Home Credit Default Risk
- Kaggle - Give Me Some Credit
- Kaggle - Credit Card Fraud Detection
These datasets are public benchmark sources used for demonstration, testing, and development workflows. Demo outputs are illustrative and do not represent customer data.