List Scorecards
Returns scorecards matching optional search criteria. If search criteria is specified we will use search logic, which will not find Scorecards that have yet to be evaluated
Request
- Base URLhttps://api.getcortexapp.com
- URLhttps://api.getcortexapp.com/api/v1/scorecards
- AuthHTTP bearer
Query parameters
Filter based on groups, which correspond to the x-cortex-groups field in the Catalog Descriptor. Accepts a comma-delimited list of groups
Filter based on entity (either tags or CIDs). Accepts a comma-delimited list of entity tag or CIDs, please use only one type of identifier
Filter based on team (either tags or CIDs). Accepts a comma-delimited list of team tag or CIDs, please use only one type of identifier
Page number to return, 0-indexed. Default 0.
Number of results to return per page, between 1 and 1000. Default 250.
Response
OK
Example response
{
"scorecards": [
{
"evaluation": {
"window": 4
},
"exemptions": {
"enabled": true
},
"levels": [
{
"level": {
"name": "Bronze"
}
}
],
"name": "Production Readiness Scorecard",
"notifications": {
"enabled": true,
"scoreDropNotificationsEnabled": true
},
"rules": [
{
"description": "This rule is very important because you must pass it",
"effectiveFrom": "2024-01-01T00:00:00Z",
"expression": "custom(\"key\") = \"value\"",
"failureMessage": "To fix this rule, visit [our internal doc][docs.cortex.io]",
"identifier": "96db03f1-2529-3fc3-9f13-7fb4dd28f427",
"title": "Key value must be correct"
}
],
"tag": "production-readiness-scorecard"
}
]
}Changes
No recorded changes to this operation across all 2 revisions of this API.