Overview
Sessions
Section titled “Sessions”Upload videos, list past analyses, download reports, share sessions publicly via signed token. The session lifecycle (pending → processing → completed | failed) is what most integrations care about.
The upload → analyse loop (the most common partner workflow):
POST /api/sessions/upload-intent/→{ session_id, url, headers }PUT <url>the raw video bytes (MP4 / MOV / WebM, ≤200 MB) with the returned headers — direct to storage, no auth, expires in 15 min.POST /api/sessions/with the samesession_idand thepublic_urlasvideo_url→{ status: "pending" }(debits one session of quota; 402 if exhausted).- Poll
GET /api/sessions/<id>/(~1 Hz) untilstatus == "completed", then readmetrics,metric_targets, andanalyzed_url.
Most endpoints here are reachable with a partner aik_… API key. GET /api/shared/<token>/ needs no auth — the token is the credential.