Canary Speech

GetScores

GET - /org/assessment/:assessmentId/get-scores
Required Permissions:
  • scope:api

Description

Get all of an assessment's scores

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...

Path Parameters

NameTypeDescription
assessmentIdstring
The UUID of the assessment

Successful Response

A successful response

Field NameTypeDescription
scores
array<object>
The scores in the assessment.

Code Example

Models

scores.[]

NameTypeDescription
uuiduuid
The uuid of the score.
assessmentUUIDsarray<string>
The list of parent assessments associated with this score.
dateRecordeddate-time
The ISO-8601 timestamp of when the child score was recorded.
scoreIdstring
The ID of the question as defined in the survey JSON that corresponds to this score.
scoreTypestring
The type of the question as defined in the survey JSON.
scoreDataobject
The data of the score. If the scoreType starts with "OVERSEER", this object will have a "data" field. Otherwise, it will have a "value" field.
extraDataobject
Any additional optional metadata of the child score.