Understand
Guides
Cortex
Ask questions about your project in plain language, and summarize a case for a reviewer.
Cortex answers from the data of your project: sessions, checks, events, alerts and decisions. It reads; it never decides, approves or reports.
Ask
const answer = await dc.cortex.ask({ question: 'Why did approvals drop last week?' });{
"answer": "Approvals fell from 89% to 81%. Most of the drop is expired sessions on mobile: 64 sessions never reached the selfie step, against 22 the week before.",
"figures": [
{ "label": "approval rate, week of Nov 16", "value": 0.89 },
{ "label": "approval rate, week of Nov 23", "value": 0.81 },
{ "label": "sessions expired before selfie", "value": 64 }
],
"model": "cortex-1",
"generated_at": "2026-11-30T16:40:02Z"
}figures lists the numbers the answer used, computed by Deeplytics. Cortex does not invent a
figure: a question it cannot answer from the data says so.
Summarize a case
const summary = await dc.cortex.summarize({ session_id: 'vs_…' });
// or { subject: 'cus_10442' } for a LENS customerThe answer has summary, highlights (what supports approval) and risks (what a reviewer should
look at), each with the check, event or alert it comes from. It contains no document image and no
full identity number.
Limits
Questions and summaries are rate limited per project. Answers are generated: a reviewer stays responsible for a decision.

