Skip to main content

Retrieve Scorecard scores

GET 

/api/v1/scorecards/:tag/scores

Returns latest scores for all entities in the Scorecard

Request

Path Parameters

    tag stringrequired

    Unique tag for the Scorecard

    Example: my-production-readiness-checklist

Query Parameters

    entityTag string

    Entity tag (x-cortex-tag)

    pageSize int32

    Number of results to return per page. (Note: If no "pageSize" value is provided, the endpoint will attempt to return all scores.)

    page int32

    Default value: 0

    Page number to return, 0 indexed.

Responses

Scorecard scores

Schema

    scorecardFilter

    object

    groups

    object

    Entity groups to include or exclude

    exclude string[]
    include string[]
    query string

    CQL expression to apply as a filter

    types

    object

    Entity types (e.g. SERVICE, DOMAIN, TEAM) to include or exclude

    exclude string[]
    include string[]
    scorecardName stringrequired
    scorecardTag stringrequired

    serviceScores

    object[]

    required

  • Array [

  • lastEvaluated date-timerequired

    ruleExemptions

    object[]

    required

  • Array [

  • endDate date-time

    exemptionStatus

    object

    required

    date date-time

    Date on which the exemption was approved or rejected. Null if the status is pending

    handledBy

    object

    API key or person who requested, approved or rejected the exemption

    oneOf

    email string

    Email of the person who requested, approved or rejected the exemption

    name string

    Name of the person who requested, approved or rejected the exemption

    status stringrequired

    Status of the exemption. Possible values are APPROVED, REJECTED, and PENDING

    requestedBy

    object

    required

    API key or person who requested, approved or rejected the exemption

    oneOf

    email string

    Email of the person who requested, approved or rejected the exemption

    name string

    Name of the person who requested, approved or rejected the exemption

    requestedDate date-timerequired
    requestingReason stringrequired
    ruleExpression stringrequired

    CQL representation of the rule

    ruleIdentifier stringrequired

    Identifier of the rule

  • ]

  • score

    object

    required

    ladderLevels

    object[]

    required

  • Array [

  • level

    object

    name stringrequired

    Name of the level

    number int32required

    Rank of the level where 1 is the highest

  • ]

  • rules

    object[]

    required

  • Array [

  • error string
    expression stringrequired
    identifier string
    score numberrequired
  • ]

  • summary

    object

    required

    percentage numberrequired
    score numberrequired
    totalPossibleScore numberrequired

    service

    object

    required

    groups string[]required

    Not to be confused with owners. This refers to the x-cortex-groups field of the entity

    name stringrequired

    owners

    object

    required

    groups string[]required

    Not to be confused with x-cortex-groups. These are the slugs of IdP or Cortex Managed Teams

    individuals

    object[]

    required

  • Array [

  • description string
    email stringrequired
  • ]

  • tag stringrequired
  • ]

Loading...