AutoProctor SDK
AutoProctor monitors candidates during online exams using their camera, microphone, and shared screen. It detects violations, calculates a Trust Score, and generates a detailed report. If you haven't already, try out our demo test.
The JavaScript SDK enables AutoProctor on your own site. The integration is minimal:
// 1. Credentials — hash your testAttemptId with your CLIENT_SECRET
const credentials = { clientId, testAttemptId, hashedTestAttemptId }
// 2. Proctoring Options — choose what to monitor
const proctoringOptions = { trackingOptions: { audio: true, numHumans: true, tabSwitch: true } }
// 3. Start Proctoring — set up and begin monitoring
let apInst = new AutoProctor(credentials)
await apInst.setup(proctoringOptions)
apInst.start()
// 4. Stop Proctoring — when the candidate submits
apInst.stop()
// 5. Report — show the proctoring report
apInst.showReport(reportOptions)
Each numbered comment maps to a section in the sidebar. See the Minimal Working Example for a complete, copy-pasteable version.
Want to get up and running quickly? Copy the context from Use with AI Assistants into your AI coding assistant and let it handle the integration for you.