@trueyy-sdk/node

Reports

Pull the per-round analysis report after an interview.

After a round completes, pull its analysis report.

reports.get(roundId)

const report = await trueyy.reports.get(round_id);
// → Report (the round's analysis)

roundId is the round's session id - from interviews.createround_id, interviews.addRoundround_id, or an interview's rounds[].id.

Prefer webhooks for freshness

Rather than polling reports.get, listen for the session.report_ready webhook - it fires the moment a round's report is generated, so you can fetch or store it exactly once.

On this page

Ask ChatGPT