- exchange your
key_idandkey_secretfor an access token - upload a local video to
POST /v1/upload/analyze - optionally request conversation-quality outputs
- render returned
signals[](including per-signalrationale) and quality metrics in your UI
Watch the codealong video
Build steps
1) Prepare credentials and auth
Before calling upload, make sure you have an API key from platform.interhuman.ai. If needed, follow Get an API key. Then exchange yourkey_id and key_secret for an access token using the Authentication endpoint, and request the interhumanai.upload scope.
Without this scope, upload requests will fail with an insufficient-scope error.
2) Add a simple file-upload UI
Create a minimal UI with:- a file input that accepts a local video file
- an
Analyzebutton - a results panel (for JSON output or parsed cards)
3) Call Upload & Analyze
When the user clicksAnalyze, send the selected file to:
POST /v1/upload/analyze- with
Authorization: Bearer <access_token> - as multipart form data (
file)
4) Optionally include conversation quality
You can request conversation-quality outputs with include flags:conversation_quality_overallconversation_quality_timeline
5) Render results in the app
Once processing completes, render the response in your results panel. At minimum, show:signals[]entries (type,start,end,probability,rationale)- optional
conversation_quality.overall - optional
conversation_quality.timeline[]
What to inspect in the response
- Signal timing:
start/endare in seconds from the beginning of the uploaded video. - Probability: confidence bucket for each detected signal.
- Rationale: a structured explanation of observed behavior (for example speech pauses, tone shifts, gaze, and pacing cues).
- Conversation quality: overall plus core dimensions (
quality_index,energy,rapport,authority,learning,clarity), and optionally a timeline that shows change over time.
Next steps
- Video Analysis quickstart — complete request/response examples.
- Social signals — what each signal means and when it appears.
- Conversation quality — how quality dimensions are defined.
- Upload & Analyze API — endpoint details and production-level behavior.
- Join the community: community.interhuman.ai