Canary Speech

PollAssessmentStatus

GET - /v3/api/assessment/poll
Required Permissions:
  • scope:api

Description

Poll the status for an assessment. Use this endpoint after ending an assessment to poll for score availability.

Headers

Header KeyDescriptionExample
Authorization
The Authorization header for this endpoint. The value must be the token from the /v3/auth/tokens/get endpoint and given using the Bearer pattern.
Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdW...
Content-Type
The content type for this request.
application/json

Query Parameters

NameTypeDescription
assessmentIdstring
The ID of the assessment to poll.

Successful Response

A successful response

Field NameTypeDescription
statusstring
The status of the assessment. Lies in one of four states: created, processing, completed, and failed.
createdAtdate-time
ISO 8601 date-time timestamp for when the assessment was started.
lastChangedAtdate-time
ISO 8601 date-time timestamp for when the assessment status last changed.

Code Example

Models

status

The status of the assessment. Lies in one of four states: created, processing, completed, and failed.

EnumTypeDescription
"created"string
The assessment is ongoing and waiting for the user to upload recordings (if applicable see here) and end the assessment (see here).
"processing"string
The assessment has been ended and is being analyzed by Canary Speech.
"completed"string
The assessment completed successfully, call the list-scores endpoint to retrieve scores.
"failed"string
The assessment has failed. Call the list-scores endpoint with the errorsIncluded flag to get more information about the failures.