Skip to content

get_file_scores

Read the output scoring verdicts recorded against one file.

Returns the current score per rule (0-100 with the judge's rationale), plus the headline
score stamped on the file by whichever rule its scope nominated — that stamp is what the
library badge and score sort read.

An empty `scores` list means the file has not been judged yet, not that it scored zero.
Call score_files to have it judged; scoring is asynchronous, so poll this afterwards.

Parameters

ParameterTypeDefaultDescription
workspace_idrequiredstring (uuid)—The workspace the file belongs to.
file_idrequiredstring (uuid)—The file to read scores for.