Skip to main content

When to use this

Use this query when you want to retrieve the video transcriptions for a candidate’s interview answers — for example, to display transcripts in your own hiring dashboard, feed them into an AI screening tool, or search across candidate responses by keyword. Each interview has one or more stepExecutions (one per interview question), and each step can carry a transcription of the candidate’s video answer.

GraphQL Request

Use this query to fetch the transcription for every step in an interview. Don’t forget to replace the id with the interview you want to fetch, and update the Hireflix API Key in the headers.

Explanation

  • id – the ID of the interview you want to fetch transcriptions for.
  • stepExecutions – one entry per interview question. Each step is typed as AdminInterviewStepQAExecution.
  • latestAnswer – the candidate’s most recent answer for that step. Typed as InterviewStepQAVideoAnswer for video responses.
  • transcription – contains the transcribed text, the languageCode it was detected in, and vttSubtitles (WebVTT-formatted captions, useful if you want to render a subtitled video player).

Example Response

transcription can return null even for a completed step with a valid video answer — as shown in the second step above. This usually means transcription is still processing or wasn’t available for that answer. Always check for null before reading transcription.text in your code.

Tips

  • Flatten the response client-side. GraphQL mirrors your query’s shape — it won’t merge or restructure the array for you. A small helper function makes the response easier to work with:
  • Handle missing transcriptions gracefully. Don’t assume every completed step has one — build in a fallback (e.g. “Transcript pending” or a retry check) rather than letting your UI break on null.
  • Use id on each step to correlate a transcription back to the specific interview question it belongs to, especially if you’re storing transcripts against your own question records.
A COMPLETED step means the candidate submitted their video answer — it doesn’t guarantee the transcription has finished processing yet. Transcription happens asynchronously after the video is uploaded. If you consistently see null for older, fully processed interviews, check with Hireflix support, since it may indicate the transcription failed for that specific answer rather than being pending.

Learn next?

Let’s learn how to score and comment on interviews.