A complete REST API for programmatic access to 150+ decision models, scenario management, KPI tracking, and governance workflows. Ship smarter integrations in hours, not weeks.
Three steps from zero to your first API response.
Generate a key from Admin → API Keys. Each key is scoped to your tenant with configurable permissions.
POST to /api/v1/scenarios with a model_id and your inputs. The API validates, runs the model, and returns results in seconds.
The JSON response includes metrics, decision_structure, notes, and a full audit trail you can feed into downstream systems.
Six resource families covering every aspect of the platform.
Create, run, and compare scenarios. Full CRUD plus batch operations for running multiple models in a single request.
Browse 150+ decision models, retrieve input/output schemas, and validate inputs before execution.
Define, track, and alert on key performance indicators. Link KPIs to model outputs for automated monitoring.
Log decisions, attach evidence and scenarios, track outcomes over time, and generate audit exports.
Configure HRIS and data warehouse connectors, trigger sync jobs, and manage field mappings programmatically.
Subscribe to platform events, configure delivery endpoints, set retry policies, and inspect delivery logs.
Two options depending on your integration pattern.
Best for server-to-server integrations, cron jobs, and backend services. Generate keys in the Admin panel with configurable scopes and expiration dates.
Keys are scoped per-tenant with configurable read/write permissions per resource.
Best for user-context flows where actions should be attributed to individual users. Supports authorization code and client credentials grants via Cognito.
Access tokens are short-lived (1 hour). Use refresh tokens for long-running integrations.
Create a scenario in the language of your choice.
import requests
resp = requests.post(
"https://api.decisionledgerai.com/api/v1/scenarios",
headers={"Authorization": "Bearer YOUR_API_KEY"},
json={
"model_id": "attrition_risk_model",
"inputs": {"department": "Engineering", "tenure_months": 24}
}
)
print(resp.json()["metrics"])const resp = await fetch(
"https://api.decisionledgerai.com/api/v1/scenarios",
{
method: "POST",
headers: {
"Authorization": "Bearer YOUR_API_KEY",
"Content-Type": "application/json"
},
body: JSON.stringify({
model_id: "attrition_risk_model",
inputs: { department: "Engineering", tenure_months: 24 }
})
}
);
const data = await resp.json();curl -X POST https://api.decisionledgerai.com/api/v1/scenarios \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model_id":"attrition_risk_model","inputs":{"department":"Engineering","tenure_months":24}}'Generous defaults that scale with your plan.
50 req/min
1,000 req/day
Ideal for prototyping and small teams
200 req/min
10,000 req/day
Production workloads and integrations
Custom limits
Dedicated endpoints
Volume-based, SLA-backed