List evaluation results
GET
/api/v2/evaluations
const url = 'https://localhost:10001/api/v2/evaluations';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 \ --header 'Authorization: <Authorization>'Retrieve a paginated list of evaluation results with optional filters
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ” applicationId
string
Filter by application ID
indicatorId
string
Filter by indicator UUID
projectId
string
Filter by project ID
projectPolicyId
integer
Filter by project policy ID
projectPolicyControlId
integer
Filter by project policy control ID
result
string
Filter by result status (pass, fail, error, pending)
since
string
Filter evaluations after this timestamp (ISO 8601)
until
string
Filter evaluations before this timestamp (ISO 8601)
limit
integer
Number of results to return (default: 50, max: 200)
offset
integer
Number of results to skip (default: 0)
Responses
Section titled “ Responses ”Paginated evaluation results
Media type application/json
object
limit
integer
offset
integer
results
Array<object>
object
applicationId
integer
createdAt
string
declarationIds
Array<integer>
durationMs
integer
evaluatedAt
string
extractedFields
object
failureDetails
Array<object>
object
actualValue
arrayMatchMode
string
criteriaIndex
integer
criteriaType
string
elementPath
string
expectedValue
extractionPath
string
field
string
indexPath
Array<integer>
missing
boolean
operator
string
reason
string
failureReasons
Array<string>
id
string
indicatorId
string
payloadHash
string
payloadTruncated
boolean
result
string
triggerSource
string
total
integer
Example
{ "results": [ { "failureDetails": [ { "arrayMatchMode": "all", "criteriaType": "string", "operator": "eq" } ], "result": "pass" } ]}Bad request - Invalid filter parameter
Media type application/json
object
key
additional properties
string
Example generated
{ "additionalProperty": "example"}Internal server error
Media type application/json
object
key
additional properties
string
Example generated
{ "additionalProperty": "example"}