Skip to main content

Run your first scan

The API has one base URL — https://www.thesapientcompany.com — and every endpoint lives under /api/v1. Replace sk_live_xxxx… below with the full key you copy from Settings → API.
Using an AI agent (Claude Code, Cursor, Claude Desktop)? Skip the curl and wire it up in one line — see Connect an agent:
1

Get a key

Sign in at thesapientcompany.com, open Settings → API, and create a sk_live_ key. See Authentication for details.
2

Submit a scan

POST your content to /api/v1/scans. You get back a scan object with a scan_id and a status of queued.
3

Poll for the result

Poll GET /api/v1/scans/{scan_id} until status is complete. The completed scan holds the per-second timeline (each lens scored second by second), detected moments, and a plain-English summary.