Skip to main content
GET
cURL
Step 2 of 2 in Analyze a classroom recording. Poll every 5 seconds until the body contains data.
This endpoint returns HTTP 200 even when the analysis is not finished, so the status code tells you nothing. Branch on the body instead: a data object means the analysis is ready, and a detail array means it is still running or it failed.

Reading the response

The status values are In progress, Completed, and Failed. In progress has a lower-case p, unlike the other CrazyGoldFish APIs.

What the result contains

data.result has five parts: data.extracted_transcript is the recognized speech as one string. It comes from the transcription service in lexical form, so it has no punctuation or capitalization.
Instead of polling, register a webhook for class_track_analysis. See Async jobs and webhooks. Keep polling as a fallback: some failures mark the analysis Failed without sending the event.

Analyze a classroom recording

The full flow, with code you can run.

Authorizations

Authorization
string
header
required

Access token from Get an access token. ClassTrack reads the Authorization header as the token itself, so send the token with no Bearer prefix on these two endpoints.

Path Parameters

analysis_id
string<uuid>
required

The id returned by Start a classroom analysis.

Example:

"7f3c9a24-5b18-4d6e-9c07-2a4f8e1b6d35"

Response

Two different bodies share this status code. A data object means the analysis is finished. A detail array means it is still running or it failed.

Returned once the analysis is complete.

data
object