Get evaluation result
const url = 'https://localhost:10001/api/v2/evaluations/example';const options = {method: 'GET', headers: {Authorization: '<Authorization>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://localhost:10001/api/v2/evaluations/example \ --header 'Authorization: <Authorization>'Retrieve a single evaluation result by its UUID
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Evaluation result UUID (urn:uuid optional)
Responses
Section titled “ Responses ”Evaluation result
One indicator evaluation, including its criteria outcomes and any declaration it produced
object
One criterion’s outcome within an evaluation; the evaluation passes only when every criterion does
object
Evaluation wall time in milliseconds
object
The machine-readable reason a criterion failed, including the values compared
object
Urn:uuid form
Urn:uuid form
Example
{ "criterionResults": [ { "status": "pass" } ], "failureDetails": [ { "arrayMatchMode": "all", "criteriaType": "string", "operator": "eq" } ], "result": "pass"}Bad request - Invalid evaluation result ID format
Error body returned by the governance endpoints; the message is human-readable and not a stable identifier
object
Example
{ "error": "Invalid request body"}Unauthorized - Authentication required
Error body returned by the governance endpoints; the message is human-readable and not a stable identifier
object
Example
{ "error": "Invalid request body"}Forbidden - Insufficient permissions
Error body returned by the governance endpoints; the message is human-readable and not a stable identifier
object
Example
{ "error": "Invalid request body"}Evaluation result not found
Error body returned by the governance endpoints; the message is human-readable and not a stable identifier
object
Example
{ "error": "Invalid request body"}Internal server error
Error body returned by the governance endpoints; the message is human-readable and not a stable identifier
object
Example
{ "error": "Invalid request body"}