Technical documentation · API v1

PROBITAS Framework Overview

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.

How PROBITAS is used

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.

PROBITAS API

Provides endpoints for report summaries, embeddings, similarity comparisons, conflict screening, construct analysis, and risk calculations.

Python SDK

Offers a Python client for submitting requests, retrieving results, and checking the status of asynchronous tasks.

Client application

Coordinates report intake and human review, keeps organizational records, and performs employee-level aggregation using eligible analysis results.

Request and response flow

The SDK can simplify API calls, but it is optional. A client can also call the documented REST endpoints directly.

1. Prepare

The client selects the data needed for an analysis request.

2. Submit

The client sends an authenticated request, directly or through the SDK.

3. Process

The API processes the request and returns a result or task identifier.

4. Use results

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.

Report lifecycle

The report process moves from client submission and HR review to analysis and client-side aggregation.

  1. 1 · Submit

    An employee submits a report about another employee. Its initial status is unverified.

  2. 2 · Screen

    Conflict-of-interest screening identifies eligible HR validators after excluding reporters and report subjects.

  3. 3 · Assess

    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.

  4. 4 · Validate

    The report completes the required validation process before it is eligible for Construct Analysis.

  5. 5 · Analyze

    Construct Analysis considers the validated report, available evidence, and HR assessments, and returns four report-level construct scores.

  6. 6 · Aggregate and calculate

    The client averages eligible report scores by employee and sends employee-level means and other required data for risk calculation.

Analytics and risk framework

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

Risk component weights

Construct mean
60%
Reports / tenure
10%
Position
10%
Temporal risk
20%

Construct mean formula

N_mean

Narcissism

S_mean

Sadism

1.10 × P_mean

Psychopathy

M_mean

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.

Integration and Python SDK

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

Data ownership and privacy boundaries

Client application

Owns and retains reports, evidence, employee records, HR assessments, validation decisions, and employee-level analytical results.

Analytical requests

The API processes submitted analytical data and returns results. Analytical processing does not maintain a permanent repository of report content or employee-level results.

Service metadata

Minimal operational metadata may be used to monitor API activity. It is separate from report content, evidence, assessments, and analytical results.

Interpretation

  • PROBITAS is a proof of concept that explores a behavioral analytics framework.
  • Risk scores are analytical indicators, not diagnoses, evidence of misconduct, or determinations that a person is corrupt.
  • HR assessments are analytical inputs, not conclusive proof that reported conduct occurred.
  • AI-generated construct scores are not represented as scientifically validated measurements.
  • Empirical validation, longitudinal research, and expert evaluation are needed before claims of real-world effectiveness.