SpeakCoach API

Send up to ten minutes of speech and get a transcript, pace, pauses and fillers measured in code, and feedback that cites the transcript with three practice drills. Correct the transcript, confirm a revision, export SRT or a PDF. It describes the recording, never the speaker: no score, grade or ranking. Machine-readable spec: /api/openapi.json.

Authenticate

Create keys on the dashboard under Settings. X-API-Key works too. One unit is one started minute of audio, billed once after the analysis is delivered; the first three minutes are free.

Analyse a recording

curl -H "Authorization: Bearer $SPEAKCOACH_KEY" -H "Idempotency-Key: $(uuidgen)" \
  -F [email protected] -F goal=presentation -F language=en \
  -F consent=true -F consent_all_speakers=true \
  https://speakcoach.sensifai.com/api/v1/sessions
# 202 {"session_id":"...","job_id":"...","poll":"/api/v1/jobs/..."}
curl -H "Authorization: Bearer $SPEAKCOACH_KEY" https://speakcoach.sensifai.com/api/v1/jobs/{job_id}

Job states: queued, running, needs_input (no speech found: record again, free), completed, failed, cancelled. Recordings with no speech, too long or unreadable, and any failure, are never charged.

Correct, confirm, export

Fix segments with PATCH /sessions/{id}/transcript, change the pause threshold with POST /sessions/{id}/recompute, then POST /sessions/{id}/confirm. POST /sessions/{id}/exports returns SRT or a PDF of a confirmed revision.

Checks

Every revision carries independent checks (checks_passed of checks_total). A failing hard check blocks confirmation and is listed in blockers. Word times are estimated from the audio; counts are lower bounds.

Errors

Problems are RFC 7807 JSON with a stable code: INVALID_INPUT, NEEDS_CONSENT, UNSUPPORTED, QUOTA_EXCEEDED, PROVIDER_UNAVAILABLE, plus NOT_FOUND, NOT_CONFIRMED and CONFLICT. 402 means the prepaid wallet is empty (top_up_url), 403 that there is no active subscription (subscribe_url) or consent.