PROBITAS API
Provides endpoints for report summaries, embeddings, similarity comparisons, conflict screening, construct analysis, and risk calculations.
Technical documentation · API v1
PROBITAS is an AI-based behavioral analytics API framework that explores corruption-related behavioral risk using the Dark Tetrad as a theoretical foundation. It is a proof of concept. Its analytical indicators do not diagnose personality, establish that an incident occurred, determine guilt, or prove that a person is corrupt.
A client application submits analytical requests to the PROBITAS API and receives results for its own review and recordkeeping. The Python SDK is an optional way to call the API.
Provides endpoints for report summaries, embeddings, similarity comparisons, conflict screening, construct analysis, and risk calculations.
Offers a Python client for submitting requests, retrieving results, and checking the status of asynchronous tasks.
Coordinates report intake and human review, keeps organizational records, and performs employee-level aggregation using eligible analysis results.
The SDK can simplify API calls, but it is optional. A client can also call the documented REST endpoints directly.
The client selects the data needed for an analysis request.
The client sends an authenticated request, directly or through the SDK.
The API processes the request and returns a result or task identifier.
The client retrieves task results and manages its own records and decisions.
Long-running operations return a task identifier. Use the SDK's get_task() method or the task-status endpoint to retrieve the completed result.
The report process moves from client submission and HR review to analysis and client-side aggregation.
An employee submits a report about another employee. Its initial status is unverified.
Conflict-of-interest screening identifies eligible HR validators after excluding reporters and report subjects.
HR assessments are collected as analytical inputs. Construct Analysis waits until at least two-thirds of the conflict-screened eligible validators for that report have submitted assessments.
The report completes the required validation process before it is eligible for Construct Analysis.
Construct Analysis considers the validated report, available evidence, and HR assessments, and returns four report-level construct scores.
The client averages eligible report scores by employee and sends employee-level means and other required data for risk calculation.
Construct Analysis produces report-level scores for Narcissism, Machiavellianism, Psychopathy, and Sadism, intended to range from 0 to 1. The configured analysis service uses qwen3.5:9b. Vector Embedding uses qwen3-embedding:8b; Report Comparison uses qwen3.5:9b.
The client computes employee means from validated, analyzed reports. The construct component is (N_mean + S_mean + 1.10 × P_mean + M_mean) / 4. Risk combines construct mean (60%), reports relative to tenure (10%), position (10%), and temporal risk (20%).
Narcissism
Sadism
Psychopathy
Machiavellianism
Add the four terms, then divide by 4
Temporal risk uses validated reports in a rolling one-month window divided into four weekly periods. Observation sufficiency describes the quantity of validated reports and provides context for interpretation; it does not independently change the numerical score. Project-level risk is the arithmetic mean of assigned employees' risk scores, with a count of employees in each observation category.
API v1 is mounted at /v1/api/. The SDK's Probitas client exposes resource methods for risk calculation, conflict screening, construct analysis, report summary, report comparison, vector embeddings, and vector comparison. Its default base URL is https://api.probitas.com/v1/api/.
from probitas import Probitas
client = Probitas(api_key="YOUR_API_KEY")
try:
result = client.calculate_risk(
project_name="Example project",
project_start_date=project_start_date,
project_participants=participants,
)
finally:
client.close()
Owns and retains reports, evidence, employee records, HR assessments, validation decisions, and employee-level analytical results.
The API processes submitted analytical data and returns results. Analytical processing does not maintain a permanent repository of report content or employee-level results.
Minimal operational metadata may be used to monitor API activity. It is separate from report content, evidence, assessments, and analytical results.