Thank you for your feedback.
Form temporarily unavailable. Please try again or contact docfeedback@servicenow.com to submit your comments.
Versions
  • London
  • Kingston
  • Jakarta
  • Istanbul
  • Helsinki
  • Geneva
  • Store
Close

Performance Analytics API examples

Performance Analytics API examples

These examples demonstrate how to perform a REST query using cURL commands, and show the data returned for each command. Each example builds upon the last, with later examples using the data returned by earlier examples.

Return all main scorecards

You can request a list of all scorecards for indicators that have a Display value set to true.

Command:

curl -v -u "admin:admin" -H "Accept:application/json" "https://instance.service-now.com/api/now/v1/pa/scorecards"

Response:

{
  "result" : [
    {
      "change_formatted" : "",
      "key" : true,
      "value_unit" : "",
      "value_formatted" : "",
      "period_title" : null,
      "gapperc" : null,
      "gap" : null,
      "target" : null,
      "period" : null,
      "target_formatted" : "",
      "favorite" : false,
      "direction_label" : "Maximize",
      "uuid" : "002d65c3d7131100b96d45a3ce6103e2",
      "name" : "% of incidents resolved by first assigned group",
      "value_color" : "#000000",
      "frequency_label" : "Daily",
      "change" : null,
      "gap_formatted" : "",
      "gapperc_formatted" : "",
      "formula" : "( [[Number of resolved incidents by first assigned group]] / [[Number of resolved incidents]] ) * 100",
      "value" : null,
      "unit" : {
        "display_value" : "%",
        "link" : "https://instance.service-now.com/api/now/v1/table/pa_units/f9c365e2d7320100ba986f14ce6103b8",
        "value" : "f9c365e2d7320100ba986f14ce6103b8"
      },
      "changeperc_formatted" : "",
      "direction" : 3,
      "frequency" : 10,
      "precision" : 2,
      "changeperc" : null,
      "indicator" : {
        "display_value" : "% of incidents resolved by first assigned group",
        "link" : "https://instance.service-now.com/api/now/v1/table/pa_indicators/002d65c3d7131100b96d45a3ce6103e2",
        "value" : "002d65c3d7131100b96d45a3ce6103e2"
      },
      "description" : "Percentage of incidents resolved by first assigned group."
    },
    {
      "change_formatted" : "",
      "key" : true,
      "value_unit" : "",
      "value_formatted" : "",
      "period_title" : null,
      "gapperc" : null,
      "gap" : null,
      "target" : null,
      "period" : null,
      "target_formatted" : "",
      "favorite" : false,
      "direction_label" : "Minimize",
      "uuid" : "4660f602d7130100b96d45a3ce610383",
      "name" : "% of new critical incidents",
      "value_color" : "#000000",
      "frequency_label" : "Daily",
      "change" : null,
      "gap_formatted" : "",
      "gapperc_formatted" : "",
      "formula" : "( [[Number of new incidents / Priority / 1 - Critical]] / [[Number of new incidents]] ) * 100",
      "value" : null,
      "unit" : {
        "display_value" : "%",
        "link" : "https://instance.service-now.com/api/now/v1/table/pa_units/f9c365e2d7320100ba986f14ce6103b8",
        "value" : "f9c365e2d7320100ba986f14ce6103b8"
      },
      "changeperc_formatted" : "",
      "direction" : 2,
      "frequency" : 10,
      "precision" : 2,
      "changeperc" : null,
      "indicator" : {
        "display_value" : "% of new critical incidents",
        "link" : "https://instance.service-now.com/api/now/v1/table/pa_indicators/4660f602d7130100b96d45a3ce610383",
        "value" : "4660f602d7130100b96d45a3ce610383"
      },
      "description" : "Number of new critical incidents as a percentage of number of new incidents."
    },
    {
      "change_formatted" : "",
      "key" : true,
      "value_unit" : "",
      "value_formatted" : "",
      "period_title" : null,
      "gapperc" : null,
      "gap" : null,
      "target" : null,
      "period" : null,
      "target_formatted" : "",
      "favorite" : false,
      "direction_label" : "Minimize",
      "uuid" : "f0f07202d7130100b96d45a3ce610383",
      "name" : "% of open incidents not updated in last 30 days",
      "value_color" : "#000000",
      "frequency_label" : "Daily",
      "change" : null,
      "gap_formatted" : "",
      "gapperc_formatted" : "",
      "formula" : "( [[Number of open incidents not updated in last 30 days]] / [[Number of open incidents]] ) * 100",
      "value" : null,
      "unit" : {
        "display_value" : "%",
        "link" : "https://instance.service-now.com/api/now/v1/table/pa_units/f9c365e2d7320100ba986f14ce6103b8",
        "value" : "f9c365e2d7320100ba986f14ce6103b8"
      },
      "changeperc_formatted" : "",
      "direction" : 2,
      "frequency" : 10,
      "precision" : 2,
      "changeperc" : null,
      "indicator" : {
        "display_value" : "% of open incidents not updated in last 30 days",
        "link" : "https://instance.service-now.com/api/now/v1/table/pa_indicators/f0f07202d7130100b96d45a3ce610383",
        "value" : "f0f07202d7130100b96d45a3ce610383"
      },
      "description" : "Number of open incidents not updated in last 30 days as a percentage of number of open incidents."
    },
    {
      "change_formatted" : "",
      "key" : true,
      "value_unit" : "",
      "value_formatted" : "",
      "period_title" : null,
      "gapperc" : null,
      "gap" : null,
      "target" : null,
      "period" : null,
      "target_formatted" : "",
      "favorite" : false,
      "direction_label" : "Minimize",
      "uuid" : "fd51f602d7130100b96d45a3ce610385",
      "name" : "% of open incidents not updated in last 5 days",
      "value_color" : "#000000",
      "frequency_label" : "Daily",
      "change" : null,
      "gap_formatted" : "",
      "gapperc_formatted" : "",
      "formula" : "( [[Number of open incidents not updated in last 5 days]] / [[Number of open incidents]] ) * 100",
      "value" : null,
      "unit" : {
        "display_value" : "%",
        "link" : "https://instance.service-now.com/api/now/v1/table/pa_units/f9c365e2d7320100ba986f14ce6103b8",
        "value" : "f9c365e2d7320100ba986f14ce6103b8"
      },
      "changeperc_formatted" : "",
      "direction" : 2,
      "frequency" : 10,
      "precision" : 2,
      "changeperc" : null,
      "indicator" : {
        "display_value" : "% of open incidents not updated in last 5 days",
        "link" : "https://instance.service-now.com/api/now/v1/table/pa_indicators/fd51f602d7130100b96d45a3ce610385",
        "value" : "fd51f602d7130100b96d45a3ce610385"
      },
      "description" : "Number of open incidents not updated in last 5 days as a percentage of number of open incidents."
    },
    {
      "change_formatted" : "",
      "key" : true,
      "value_unit" : "",
      "value_formatted" : "",
      "period_title" : null,
      "gapperc" : null,
      "gap" : null,
      "target" : null,
      "period" : null,
      "target_formatted" : "",
      "favorite" : false,
      "direction_label" : "Minimize",
      "uuid" : "88a0b602d7130100b96d45a3ce61030c",
      "name" : "Average age open incidents",
      "value_color" : "#000000",
      "frequency_label" : "Daily",
      "change" : null,
      "gap_formatted" : "",
      "gapperc_formatted" : "",
      "formula" : "[[Summed age of open incidents]] / [[Number of open incidents]] / 24",
      "value" : null,
      "unit" : {
        "display_value" : "Days",
        "link" : "https://instance.service-now.com/api/now/v1/table/pa_units/94d365e2d7320100ba986f14ce6103be",
        "value" : "94d365e2d7320100ba986f14ce6103be"
      },
      "changeperc_formatted" : "",
      "direction" : 2,
      "frequency" : 10,
      "precision" : 2,
      "changeperc" : null,
      "indicator" : {
        "display_value" : "Average age open incidents",
        "link" : "https://instance.service-now.com/api/now/v1/table/pa_indicators/88a0b602d7130100b96d45a3ce61030c",
        "value" : "88a0b602d7130100b96d45a3ce61030c"
      },
      "description" : "Summed age open incidents / Number of open incidents / 24 hours"
    },
    {
      "change_formatted" : "",
      "key" : true,
      "value_unit" : "",
      "value_formatted" : "",
      "period_title" : null,
      "gapperc" : null,
      "gap" : null,
      "target" : null,
      "period" : null,
      "target_formatted" : "",
      "favorite" : false,
      "direction_label" : "Minimize",
      "uuid" : "6fbb7202d7130100b96d45a3ce610360",
      "name" : "Average resolution time of resolved incidents",
      "value_color" : "#000000",
      "frequency_label" : "Daily",
      "change" : null,
      "gap_formatted" : "",
      "gapperc_formatted" : "",
      "formula" : "[[Summed duration of resolved incidents]] / [[Number of resolved incidents]] / 24",
      "value" : null,
      "unit" : {
        "display_value" : "Days",
        "link" : "https://instance.service-now.com/api/now/v1/table/pa_units/94d365e2d7320100ba986f14ce6103be",
        "value" : "94d365e2d7320100ba986f14ce6103be"
      },
      "changeperc_formatted" : "",
      "direction" : 2,
      "frequency" : 10,
      "precision" : 2,
      "changeperc" : null,
      "indicator" : {
        "display_value" : "Average resolution time of resolved incidents",
        "link" : "https://instance.service-now.com/api/now/v1/table/pa_indicators/6fbb7202d7130100b96d45a3ce610360",
        "value" : "6fbb7202d7130100b96d45a3ce610360"
      },
      "description" : "Average resolution time of resolved incidents"
    },
    {
      "change_formatted" : "",
      "key" : true,
      "value_unit" : "",
      "value_formatted" : "",
      "period_title" : null,
      "gapperc" : null,
      "gap" : null,
      "target" : null,
      "period" : null,
      "target_formatted" : "",
      "favorite" : false,
      "direction_label" : "Minimize",
      "uuid" : "d0b0f602d7130100b96d45a3ce6103b0",
      "name" : "Incident backlog growth",
      "value_color" : "#000000",
      "frequency_label" : "Daily",
      "change" : null,
      "gap_formatted" : "",
      "gapperc_formatted" : "",
      "formula" : "[[Number of new incidents]] - [[Number of resolved incidents]]",
      "value" : null,
      "unit" : {
        "display_value" : "#",
        "link" : "https://instance.service-now.com/api/now/v1/table/pa_units/17b365e2d7320100ba986f14ce6103ad",
        "value" : "17b365e2d7320100ba986f14ce6103ad"
      },
      "changeperc_formatted" : "",
      "direction" : 2,
      "frequency" : 10,
      "precision" : 0,
      "changeperc" : null,
      "indicator" : {
        "display_value" : "Incident backlog growth",
        "link" : "https://instance.service-now.com/api/now/v1/table/pa_indicators/d0b0f602d7130100b96d45a3ce6103b0",
        "value" : "d0b0f602d7130100b96d45a3ce6103b0"
      },
      "description" : "Number of new incidents - Number of resolved incidents."
    },
    {
      "change_formatted" : "",
      "key" : false,
      "value_unit" : "",
      "value_formatted" : "",
      "period_title" : null,
      "gapperc" : null,
      "gap" : null,
      "target" : null,
      "period" : null,
      "target_formatted" : "",
      "favorite" : false,
      "direction_label" : "Minimize",
      "uuid" : "31efe602d7130100b96d45a3ce610300",
      "name" : "Number of new incidents",
      "value_color" : "#000000",
      "frequency_label" : "Daily",
      "change" : null,
      "gap_formatted" : "",
      "gapperc_formatted" : "",
      "value" : null,
      "unit" : {
        "display_value" : "#",
        "link" : "https://instance.service-now.com/api/now/v1/table/pa_units/17b365e2d7320100ba986f14ce6103ad",
        "value" : "17b365e2d7320100ba986f14ce6103ad"
      },
      "changeperc_formatted" : "",
      "direction" : 2,
      "frequency" : 10,
      "precision" : 0,
      "changeperc" : null,
      "indicator" : {
        "display_value" : "Number of new incidents",
        "link" : "https://instance.service-now.com/api/now/v1/table/pa_indicators/31efe602d7130100b96d45a3ce610300",
        "value" : "31efe602d7130100b96d45a3ce610300"
      },
      "description" : "Number of incidents based on registration date."
    },
    {
      "change_formatted" : "",
      "key" : false,
      "value_unit" : "",
      "value_formatted" : "",
      "period_title" : null,
      "gapperc" : null,
      "gap" : null,
      "target" : null,
      "period" : null,
      "target_formatted" : "",
      "favorite" : false,
      "direction_label" : "Minimize",
      "uuid" : "fb007202d7130100b96d45a3ce6103b4",
      "name" : "Number of open incidents",
      "value_color" : "#000000",
      "frequency_label" : "Daily",
      "change" : null,
      "gap_formatted" : "",
      "gapperc_formatted" : "",
      "value" : null,
      "unit" : {
        "display_value" : "#",
        "link" : "https://instance.service-now.com/api/now/v1/table/pa_units/17b365e2d7320100ba986f14ce6103ad",
        "value" : "17b365e2d7320100ba986f14ce6103ad"
      },
      "changeperc_formatted" : "",
      "direction" : 2,
      "frequency" : 10,
      "precision" : 0,
      "changeperc" : null,
      "indicator" : {
        "display_value" : "Number of open incidents",
        "link" : "https://instance.service-now.com/api/now/v1/table/pa_indicators/fb007202d7130100b96d45a3ce6103b4",
        "value" : "fb007202d7130100b96d45a3ce6103b4"
      },
      "description" : "Number of incidents open based on resolved date is empty."
    },
    {
      "change_formatted" : "",
      "key" : false,
      "value_unit" : "",
      "value_formatted" : "",
      "period_title" : null,
      "gapperc" : null,
      "gap" : null,
      "target" : null,
      "period" : null,
      "target_formatted" : "",
      "favorite" : false,
      "direction_label" : "Minimize",
      "uuid" : "44944f12bf130100b96dac808c0739a7",
      "name" : "Number of open incidents not updated in last 30 days",
      "value_color" : "#000000",
      "frequency_label" : "Daily",
      "change" : null,
      "gap_formatted" : "",
      "gapperc_formatted" : "",
      "value" : null,
      "unit" : {
        "display_value" : "#",
        "link" : "https://instance.service-now.com/api/now/v1/table/pa_units/17b365e2d7320100ba986f14ce6103ad",
        "value" : "17b365e2d7320100ba986f14ce6103ad"
      },
      "changeperc_formatted" : "",
      "direction" : 2,
      "frequency" : 10,
      "precision" : 0,
      "changeperc" : null,
      "indicator" : {
        "display_value" : "Number of open incidents not updated in last 30 days",
        "link" : "https://instance.service-now.com/api/now/v1/table/pa_indicators/44944f12bf130100b96dac808c0739a7",
        "value" : "44944f12bf130100b96dac808c0739a7"
      },
      "description" : "Number of open incidents not updated in last 30 days based on updated date."
    }
  ]
}

Return the number of open incidents scorecard

You can query scorecards for a particular indicator by providing the sysparm_uuid parameter with an indicator sys_id value.

Command:

curl -v -u "admin:admin" -H "Accept:application/json" "https:///instance.service-now.com/api/now/v1/pa/scorecards?sysparm_uuid=fb007202d7130100b96d45a3ce6103b4"

Response:

{
  "result" : [
    {
      "change_formatted" : "",
      "key" : false,
      "value_unit" : "",
      "value_formatted" : "",
      "period_title" : null,
      "gapperc" : null,
      "gap" : null,
      "target" : null,
      "period" : null,
      "target_formatted" : "",
      "favorite" : false,
      "direction_label" : "Minimize",
      "uuid" : "fb007202d7130100b96d45a3ce6103b4",
      "name" : "Number of open incidents",
      "value_color" : "#000000",
      "frequency_label" : "Daily",
      "change" : null,
      "gap_formatted" : "",
      "gapperc_formatted" : "",
      "value" : null,
      "unit" : {
        "display_value" : "#",
        "link" : "https://instance.service-now.com/api/now/v1/table/pa_units/17b365e2d7320100ba986f14ce6103ad",
        "value" : "17b365e2d7320100ba986f14ce6103ad"
      },
      "changeperc_formatted" : "",
      "direction" : 2,
      "frequency" : 10,
      "precision" : 0,
      "changeperc" : null,
      "indicator" : {
        "display_value" : "Number of open incidents",
        "link" : "https://instance.service-now.com/api/now/v1/table/pa_indicators/fb007202d7130100b96d45a3ce6103b4",
        "value" : "fb007202d7130100b96d45a3ce6103b4"
      },
      "description" : "Number of incidents open based on resolved date is empty."
    }
  ]
}

Return the scorecard with all breakdowns and aggregates

You can query a list of available breakdowns and aggregates for an indicator by setting the sysparm_include_available_breakdowns and sysparm_include_available_aggregates parameters to true.

Command:

curl -v -u "admin:admin" -H "Accept:application/json" "https://instance.service-now.com/api/now/v1/pa/scorecards?sysparm_uuid=fb007202d7130100b96d45a3ce6103b4&sysparm_include_available_breakdowns=true&sysparm_include_available_aggregates=true"

Response:

{
  "result" : [
    {
      "key" : false,
      "change_formatted" : "",
      "aggregates" : [
        {
          "display_value" : "7d running SUM",
          "link" : "https://instance.service-now.com/api/now/v1/table/pa_aggregates/89ea4c11d7001100ba986f14ce6103dc",
          "value" : "89ea4c11d7001100ba986f14ce6103dc"
        },
        {
          "display_value" : "28d running SUM",
          "link" : "https://instance.service-now.com/api/now/v1/table/pa_aggregates/4dfa4c11d7001100ba986f14ce6103e2",
          "value" : "4dfa4c11d7001100ba986f14ce6103e2"
        },
        {
          "display_value" : "30d running SUM",
          "link" : "https://instance.service-now.com/api/now/v1/table/pa_aggregates/3e409011d7001100ba986f14ce610319",
          "value" : "3e409011d7001100ba986f14ce610319"
        },
        {
          "display_value" : "7d running AVG",
          "link" : "https://instance.service-now.com/api/now/v1/table/pa_aggregates/9ef05051d7001100ba986f14ce610372",
          "value" : "9ef05051d7001100ba986f14ce610372"
        },
        {
          "display_value" : "28d running AVG",
          "link" : "https://instance.service-now.com/api/now/v1/table/pa_aggregates/ee015051d7001100ba986f14ce610378",
          "value" : "ee015051d7001100ba986f14ce610378"
        },
        {
          "display_value" : "30d running AVG",
          "link" : "https://instance.service-now.com/api/now/v1/table/pa_aggregates/d5115051d7001100ba986f14ce61038b",
          "value" : "d5115051d7001100ba986f14ce61038b"
        },
        {
          "display_value" : "By week SUM",
          "link" : "https://instance.service-now.com/api/now/v1/table/pa_aggregates/75a15011d7001100ba986f14ce6103ee",
          "value" : "75a15011d7001100ba986f14ce6103ee"
        },
        {
          "display_value" : "By month SUM",
          "link" : "https://instance.service-now.com/api/now/v1/table/pa_aggregates/80e19051d7001100ba986f14ce610320",
          "value" : "80e19051d7001100ba986f14ce610320"
        },
        {
          "display_value" : "By quarter SUM",
          "link" : "https://instance.service-now.com/api/now/v1/table/pa_aggregates/03e19051d7001100ba986f14ce610327",
          "value" : "03e19051d7001100ba986f14ce610327"
        },
        {
          "display_value" : "By fiscal quarter SUM",
          "link" : "https://instance.service-now.com/api/now/v1/table/pa_aggregates/4f6d2851d7001100ba986f14ce61034c",
          "value" : "4f6d2851d7001100ba986f14ce61034c"
        },
        {
          "display_value" : "By week AVG",
          "link" : "https://instance.service-now.com/api/now/v1/table/pa_aggregates/4ead2851d7001100ba986f14ce61039d",
          "value" : "4ead2851d7001100ba986f14ce61039d"
        },
        {
          "display_value" : "By month AVG",
          "link" : "https://instance.service-now.com/api/now/v1/table/pa_aggregates/cdbd2851d7001100ba986f14ce6103a3",
          "value" : "cdbd2851d7001100ba986f14ce6103a3"
        },
        {
          "display_value" : "By quarter AVG",
          "link" : "https://instance.service-now.com/api/now/v1/table/pa_aggregates/71cd2851d7001100ba986f14ce6103aa",
          "value" : "71cd2851d7001100ba986f14ce6103aa"
        },
        {
          "display_value" : "By fiscal quarter AVG",
          "link" : "https://instance.service-now.com/api/now/v1/table/pa_aggregates/b2ed2851d7001100ba986f14ce6103e8",
          "value" : "b2ed2851d7001100ba986f14ce6103e8"
        },
        {
          "display_value" : "Week to date SUM",
          "link" : "https://instance.service-now.com/api/now/v1/table/pa_aggregates/a33e6851d7001100ba986f14ce610331",
          "value" : "a33e6851d7001100ba986f14ce610331"
        },
        {
          "display_value" : "Month to date SUM",
          "link" : "https://instance.service-now.com/api/now/v1/table/pa_aggregates/9f5e2011d7001100ba986f14ce6103e4",
          "value" : "9f5e2011d7001100ba986f14ce6103e4"
        },
        {
          "display_value" : "Quarter to date SUM",
          "link" : "https://instance.service-now.com/api/now/v1/table/pa_aggregates/136e2011d7001100ba986f14ce6103eb",
          "value" : "136e2011d7001100ba986f14ce6103eb"
        },
        {
          "display_value" : "Fiscal quarter to date SUM",
          "link" : "https://instance.service-now.com/api/now/v1/table/pa_aggregates/3f7e6851d7001100ba986f14ce610354",
          "value" : "3f7e6851d7001100ba986f14ce610354"
        },
        {
          "display_value" : "Week to date AVG",
          "link" : "https://instance.service-now.com/api/now/v1/table/pa_aggregates/03ae6851d7001100ba986f14ce610380",
          "value" : "03ae6851d7001100ba986f14ce610380"
        },
        {
          "display_value" : "Month to date AVG",
          "link" : "https://instance.service-now.com/api/now/v1/table/pa_aggregates/4abe6851d7001100ba986f14ce610392",
          "value" : "4abe6851d7001100ba986f14ce610392"
        },
        {
          "display_value" : "Quarter to date AVG",
          "link" : "https://instance.service-now.com/api/now/v1/table/pa_aggregates/cace6851d7001100ba986f14ce610398",
          "value" : "cace6851d7001100ba986f14ce610398"
        },
        {
          "display_value" : "Fiscal quarter to date AVG",
          "link" : "https://instance.service-now.com/api/now/v1/table/pa_aggregates/d9de6851d7001100ba986f14ce6103b7",
          "value" : "d9de6851d7001100ba986f14ce6103b7"
        }
      ],
      "changeperc" : null,
      "value_formatted" : "",
      "period_title" : null,
      "gapperc" : null,
      "value_unit" : "",
      "target" : null,
      "period" : null,
      "target_formatted" : "",
      "favorite" : false,
      "gap" : null,
      "direction_label" : "Minimize",
      "uuid" : "fb007202d7130100b96d45a3ce6103b4",
      "name" : "Number of open incidents",
      "value_color" : "#000000",
      "frequency_label" : "Daily",
      "change" : null,
      "gap_formatted" : "",
      "gapperc_formatted" : "",
      "value" : null,
      "unit" : {
        "display_value" : "#",
        "link" : "https://instance.service-now.com/api/now/v1/table/pa_units/17b365e2d7320100ba986f14ce6103ad",
        "value" : "17b365e2d7320100ba986f14ce6103ad"
      },
      "breakdowns" : [
        {
          "display_value" : "Priority",
          "link" : "https://instance.service-now.com/api/now/v1/table/pa_breakdowns/0df47e02d7130100b96d45a3ce610399",
          "value" : "0df47e02d7130100b96d45a3ce610399"
        },
        {
          "display_value" : "Category",
          "link" : "https://instance.service-now.com/api/now/v1/table/pa_breakdowns/1f918835d7231100b96d45a3ce6103fe",
          "value" : "1f918835d7231100b96d45a3ce6103fe"
        },
        {
          "display_value" : "Assignment Group",
          "link" : "https://instance.service-now.com/api/now/v1/table/pa_breakdowns/baec0752bf130100b96dac808c0739ed",
          "value" : "baec0752bf130100b96dac808c0739ed"
        },
        {
          "display_value" : "State",
          "link" : "https://instance.service-now.com/api/now/v1/table/pa_breakdowns/f0647e02d7130100b96d45a3ce61030b",
          "value" : "f0647e02d7130100b96d45a3ce61030b"
        },
        {
          "display_value" : "Age",
          "link" : "https://instance.service-now.com/api/now/v1/table/pa_breakdowns/65947e02d7130100b96d45a3ce61033a",
          "value" : "65947e02d7130100b96d45a3ce61033a"
        }
      ],
      "changeperc_formatted" : "",
      "frequency" : 10,
      "precision" : 0,
      "direction" : 2,
      "indicator" : {
        "display_value" : "Number of open incidents",
        "link" : "https://instance.service-now.com/api/now/v1/table/pa_indicators/fb007202d7130100b96d45a3ce6103b4",
        "value" : "fb007202d7130100b96d45a3ce6103b4"
      },
      "description" : "Number of incidents open based on resolved date is empty."
    }
  ]
}

Return the scorecard with breakdown relations

You can obtain the sys_id values for all breakdown relations associated with the scorecard using the sysparm_include_available_breakdowns parameter.

Command:

curl -v -u "admin:admin" -H "Accept:application/json" "https://<instance>.service-now.com/api/now/v1/pa/scorecards?sysparm_uuid=fb007202d7130100b96d45a3ce6103b4:baec0752bf130100b96dac808c0739ed:287ee6fea9fe198100ada7950d0b1b73&sysparm_include_available_breakdowns=true"

Response:

{
  "result": [
    {
      "value_formatted": "37",
      "indicator": {
        "display_value": "Number of open incidents",
        "link": "https://<instance>.service-now.com/api/now/v1/table/pa_indicators/fb007202d7130100b96d45a3ce6103b4",
        "value": "fb007202d7130100b96d45a3ce6103b4"
      },
      "gapperc": null,
      "change": 9.0,
      "value_color": "#455464",
      "direction": 2,
      "target_formatted": "",
      "frequency": 10,
      "changeperc_formatted": "32.1%",
      "direction_label": "Minimize",
      "period_title": "Jul 22",
      "description": "Number of incidents open based on resolved date is empty.",
      "name": "Number of open incidents / Assignment Group / Database",
      "value": 37.0,
      "key": false,
      "gap_formatted": "",
      "element": {
        "display_value": "Database",
        "link": "https://<instance>.service-now.com/api/now/v1/table/sys_user_group/287ee6fea9fe198100ada7950d0b1b73",
        "value": "287ee6fea9fe198100ada7950d0b1b73"
      },
      "precision": 0,
      "breakdowns": [
        {
          "display_value": "Priority",
          "link": "https://<instance>.service-now.com/api/now/v1/table/pa_breakdowns/0df47e02d7130100b96d45a3ce610399",
          "value": "0df47e02d7130100b96d45a3ce610399"
        },
        {
          "display_value": "Category",
          "link": "https://<instance>.service-now.com/api/now/v1/table/pa_breakdowns/1f918835d7231100b96d45a3ce6103fe",
          "value": "1f918835d7231100b96d45a3ce6103fe"
        },
        {
          "display_value": "State",
          "link": "https://<instance>.service-now.com/api/now/v1/table/pa_breakdowns/f0647e02d7130100b96d45a3ce61030b",
          "value": "f0647e02d7130100b96d45a3ce61030b"
        },
        {
          "display_value": "Age",
          "link": "https://<instance>.service-now.com/api/now/v1/table/pa_breakdowns/65947e02d7130100b96d45a3ce61033a",
          "value": "65947e02d7130100b96d45a3ce61033a"
        },
        {
          "display_value": "Business Service",
          "link": "https://<instance>.service-now.com/api/now/v1/table/pa_breakdowns/9a6f62f36780020005d1ff5557415a85",
          "value": "9a6f62f36780020005d1ff5557415a85"
        }
      ],
      "breakdown_relations": [
        {
          "display_value": "Child Groups",
          "link": "https://<instance>.service-now.com/api/now/v1/table/pa_breakdown_relations/301fd511eb23310065deac6aa206fe31",
          "value": "301fd511eb23310065deac6aa206fe31"
        },
        {
          "display_value": "Parent Group",
          "link": "https://<instance>.service-now.com/api/now/v1/table/pa_breakdown_relations/790b6e11eb23310065deac6aa206fe1c",
          "value": "790b6e11eb23310065deac6aa206fe1c"
        },
        {
          "display_value": "Sibling Groups",
          "link": "https://<instance>.service-now.com/api/now/v1/table/pa_breakdown_relations/15e15a12eb233100871aac6aa206fe59",
          "value": "15e15a12eb233100871aac6aa206fe59"
        }
      ],
      "breakdown": {
        "display_value": "Assignment Group",
        "link": "https://<instance>.service-now.com/api/now/v1/table/pa_breakdowns/baec0752bf130100b96dac808c0739ed",
        "value": "baec0752bf130100b96dac808c0739ed"
      },
      "period": "Jul 22",
      "favorite": false,
      "change_formatted": "9",
      "unit": {
        "display_value": "#",
        "link": "https://<instance>.service-now.com/api/now/v1/table/pa_units/17b365e2d7320100ba986f14ce6103ad",
        "value": "17b365e2d7320100ba986f14ce6103ad"
      },
      "frequency_label": "Daily",
      "target": null,
      "changeperc": 0.32142857142857145,
      "uuid": "fb007202d7130100b96d45a3ce6103b4:baec0752bf130100b96dac808c0739ed:287ee6fea9fe198100ada7950d0b1b73",
      "gapperc_formatted": "",
      "value_unit": "37",
      "gap": null
    }
  ]
}

Return the scorecard broken down using a breakdown relation

You can break down the returned data by passing a breakdown relation sys_id in the sysparm_breakdown_relation parameter.

Command:

curl -v -u "admin:admin" -H "Accept:application/json" "https://<instance>.service-now.com/api/now/v1/pa/scorecards?sysparm_uuid=fb007202d7130100b96d45a3ce6103b4:baec0752bf130100b96dac808c0739ed:db53580b0a0a0a6501aa37c294a2ba6b&sysparm_breakdown_relation=790b6e11eb23310065deac6aa206fe1c"

Response:

{
  "result": [
    {
      "value_formatted": "37",
      "indicator": {
        "display_value": "Number of open incidents",
        "link": "https://l<instance>.service-now.com/api/now/v1/table/pa_indicators/fb007202d7130100b96d45a3ce6103b4",
        "value": "fb007202d7130100b96d45a3ce6103b4"
      },
      "gapperc": null,
      "change": 9.0,
      "value_color": "#455464",
      "direction": 2,
      "target_formatted": "",
      "frequency": 10,
      "changeperc_formatted": "32.1%",
      "direction_label": "Minimize",
      "period_title": "Jul 22",
      "description": "Number of incidents open based on resolved date is empty.",
      "name": "Number of open incidents / Assignment Group / Database",
      "value": 37.0,
      "key": false,
      "gap_formatted": "",
      "element": {
        "display_value": "Database",
        "link": "https://<instance>.service-now.com/api/now/v1/table/sys_user_group/287ee6fea9fe198100ada7950d0b1b73",
        "value": "287ee6fea9fe198100ada7950d0b1b73"
      },
      "precision": 0,
      "breakdown": {
        "display_value": "Assignment Group",
        "link": "https://<instance>.service-now.com/api/now/v1/table/pa_breakdowns/baec0752bf130100b96dac808c0739ed",
        "value": "baec0752bf130100b96dac808c0739ed"
      },
      "period": "Jul 22",
      "favorite": false,
      "change_formatted": "9",
      "unit": {
        "display_value": "#",
        "link": "https://<instance>.service-now.com/api/now/v1/table/pa_units/17b365e2d7320100ba986f14ce6103ad",
        "value": "17b365e2d7320100ba986f14ce6103ad"
      },
      "frequency_label": "Daily",
      "target": null,
      "changeperc": 0.32142857142857145,
      "uuid": "fb007202d7130100b96d45a3ce6103b4:baec0752bf130100b96dac808c0739ed:287ee6fea9fe198100ada7950d0b1b73",
      "gapperc_formatted": "",
      "value_unit": "37",
      "gap": null
    }
  ]
}

Return the scorecard broken down by location

The Performance Analytics API returns geolocation data when available.

Command:
curl -v -u "admin:admin" -H "Accept:application/json" "https://<instance>.service-now.com/api/now/v1/pa/scorecards?sysparm_uuid=fb007202d7130100b96d45a3ce6103b4&sysparm_breakdown=656d5662eb23310065deac6aa206fee7"
Response:
{
  "result": [
    {
      ...
      "element": {
        "display_value": "San Diego",
        "link": "https://<instance>.service-now.com/api/now/v1/table/cmn_location/108752c8c611227501d4ab0e392ba97f",
        "value": "108752c8c611227501d4ab0e392ba97f",
        "longitude": -117.15726,
        "latitude": 32.71533
      },
      ...
    }
    {
      ...
      "element": {
        "display_value": "Florida",
        "link": "https://<instance>.service-now.com/api/now/v1/table/cmn_location/8e3e85f037d0200044e0bfc8bcbe5d14",
        "value": "8e3e85f037d0200044e0bfc8bcbe5d14",
        "longitude": -95.71289,
        "latitude": 37.09024
      },
      ...
    }
  ]
}

Return the scorecard with a filter

You can apply a filter to the scorecard data using the sysparm_elements_filter parameter with the sys_id of a Performance Analytics element filter record.

Command:

curl -v -u "admin:admin" -H "Accept:application/json" "https://<instance>.service-now.com/api/now/v1/pa/scorecards?sysparm_uuid=fb007202d7130100b96d45a3ce6103b4&sysparm_breakdown=baec0752bf130100b96dac808c0739ed&sysparm_elements_filter=7b9eb563eb11020065deac6aa206fe11"

Response:

{
  "result": [
    {
      "value_formatted": "37",
      "indicator": {
        "display_value": "Number of open incidents",
        "link": "https://<instance>.service-now.com/api/now/v1/table/pa_indicators/fb007202d7130100b96d45a3ce6103b4",
        "value": "fb007202d7130100b96d45a3ce6103b4"
      },
      "gapperc": null,
      "change": 9.0,
      "value_color": "#455464",
      "direction": 2,
      "target_formatted": "",
      "frequency": 10,
      "changeperc_formatted": "32.1%",
      "direction_label": "Minimize",
      "period_title": "Jul 22",
      "description": "Number of incidents open based on resolved date is empty.",
      "name": "Number of open incidents / Assignment Group / Database",
      "value": 37.0,
      "key": false,
      "gap_formatted": "",
      "element": {
        "display_value": "Database",
        "link": "https://<instance>.service-now.com/api/now/v1/table/sys_user_group/287ee6fea9fe198100ada7950d0b1b73",
        "value": "287ee6fea9fe198100ada7950d0b1b73"
      },
      "precision": 0,
      "breakdown": {
        "display_value": "Assignment Group",
        "link": "https://<instance>.service-now.com/api/now/v1/table/pa_breakdowns/baec0752bf130100b96dac808c0739ed",
        "value": "baec0752bf130100b96dac808c0739ed"
      },
      "period": "Jul 22",
      "favorite": false,
      "change_formatted": "9",
      "unit": {
        "display_value": "#",
        "link": "https://<instance>.service-now.com/api/now/v1/table/pa_units/17b365e2d7320100ba986f14ce6103ad",
        "value": "17b365e2d7320100ba986f14ce6103ad"
      },
      "frequency_label": "Daily",
      "target": null,
      "changeperc": 0.32142857142857145,
      "uuid": "fb007202d7130100b96d45a3ce6103b4:baec0752bf130100b96dac808c0739ed:287ee6fea9fe198100ada7950d0b1b73",
      "gapperc_formatted": "",
      "value_unit": "37",
      "gap": null
    },
    {
      "value_formatted": "20",
      "indicator": {
        "display_value": "Number of open incidents",
        "link": "https://<instance>.service-now.com/api/now/v1/table/pa_indicators/fb007202d7130100b96d45a3ce6103b4",
        "value": "fb007202d7130100b96d45a3ce6103b4"
      },
      "gapperc": null,
      "change": 4.0,
      "value_color": "#455464",
      "direction": 2,
      "target_formatted": "",
      "frequency": 10,
      "changeperc_formatted": "25.0%",
      "direction_label": "Minimize",
      "period_title": "Jul 22",
      "description": "Number of incidents open based on resolved date is empty.",
      "name": "Number of open incidents / Assignment Group / Database Atlanta",
      "value": 20.0,
      "key": false,
      "gap_formatted": "",
      "element": {
        "display_value": "Database Atlanta",
        "link": "https://<instance>.service-now.com/api/now/v1/table/sys_user_group/db53580b0a0a0a6501aa37c294a2ba6b",
        "value": "db53580b0a0a0a6501aa37c294a2ba6b"
      },
      "precision": 0,
      "breakdown": {
        "display_value": "Assignment Group",
        "link": "https://<instance>.service-now.com/api/now/v1/table/pa_breakdowns/baec0752bf130100b96dac808c0739ed",
        "value": "baec0752bf130100b96dac808c0739ed"
      },
      "period": "Jul 22",
      "favorite": false,
      "change_formatted": "4",
      "unit": {
        "display_value": "#",
        "link": "https://<instance>.service-now.com/api/now/v1/table/pa_units/17b365e2d7320100ba986f14ce6103ad",
        "value": "17b365e2d7320100ba986f14ce6103ad"
      },
      "frequency_label": "Daily",
      "target": null,
      "changeperc": 0.25,
      "uuid": "fb007202d7130100b96d45a3ce6103b4:baec0752bf130100b96dac808c0739ed:db53580b0a0a0a6501aa37c294a2ba6b",
      "gapperc_formatted": "",
      "value_unit": "20",
      "gap": null
    },
    {
      "value_formatted": "19",
      "indicator": {
        "display_value": "Number of open incidents",
        "link": "https://<instance>.service-now.com/api/now/v1/table/pa_indicators/fb007202d7130100b96d45a3ce6103b4",
        "value": "fb007202d7130100b96d45a3ce6103b4"
      },
      "gapperc": null,
      "change": 5.0,
      "value_color": "#455464",
      "direction": 2,
      "target_formatted": "",
      "frequency": 10,
      "changeperc_formatted": "35.7%",
      "direction_label": "Minimize",
      "period_title": "Jul 22",
      "description": "Number of incidents open based on resolved date is empty.",
      "name": "Number of open incidents / Assignment Group / NY DB",
      "value": 19.0,
      "key": false,
      "gap_formatted": "",
      "element": {
        "display_value": "NY DB",
        "link": "https://<instance>.service-now.com/api/now/v1/table/sys_user_group/5f74727dc0a8010e01efe33a251993f9",
        "value": "5f74727dc0a8010e01efe33a251993f9"
      },
      "precision": 0,
      "breakdown": {
        "display_value": "Assignment Group",
        "link": "https://<instance>.service-now.com/api/now/v1/table/pa_breakdowns/baec0752bf130100b96dac808c0739ed",
        "value": "baec0752bf130100b96dac808c0739ed"
      },
      "period": "Jul 22",
      "favorite": false,
      "change_formatted": "5",
      "unit": {
        "display_value": "#",
        "link": "https://<instance>.service-now.com/api/now/v1/table/pa_units/17b365e2d7320100ba986f14ce6103ad",
        "value": "17b365e2d7320100ba986f14ce6103ad"
      },
      "frequency_label": "Daily",
      "target": null,
      "changeperc": 0.35714285714285715,
      "uuid": "fb007202d7130100b96d45a3ce6103b4:baec0752bf130100b96dac808c0739ed:5f74727dc0a8010e01efe33a251993f9",
      "gapperc_formatted": "",
      "value_unit": "19",
      "gap": null
    },
    {
      "value_formatted": "10",
      "indicator": {
        "display_value": "Number of open incidents",
        "link": "https://<instance>.service-now.com/api/now/v1/table/pa_indicators/fb007202d7130100b96d45a3ce6103b4",
        "value": "fb007202d7130100b96d45a3ce6103b4"
      },
      "gapperc": null,
      "change": 0.0,
      "value_color": "#455464",
      "direction": 2,
      "target_formatted": "",
      "frequency": 10,
      "changeperc_formatted": "0.0%",
      "direction_label": "Minimize",
      "period_title": "Jul 22",
      "description": "Number of incidents open based on resolved date is empty.",
      "name": "Number of open incidents / Assignment Group / Database San Diego",
      "value": 10.0,
      "key": false,
      "gap_formatted": "",
      "element": {
        "display_value": "Database San Diego",
        "link": "https://<instance>.service-now.com/api/now/v1/table/sys_user_group/db53a9290a0a0a650091abebccf833c6",
        "value": "db53a9290a0a0a650091abebccf833c6"
      },
      "precision": 0,
      "breakdown": {
        "display_value": "Assignment Group",
        "link": "http://localhost:8080/api/now/v1/table/pa_breakdowns/baec0752bf130100b96dac808c0739ed",
        "value": "baec0752bf130100b96dac808c0739ed"
      },
      "period": "Jul 22",
      "favorite": false,
      "change_formatted": "0",
      "unit": {
        "display_value": "#",
        "link": "http://<instance>.service-now.com/api/now/v1/table/pa_units/17b365e2d7320100ba986f14ce6103ad",
        "value": "17b365e2d7320100ba986f14ce6103ad"
      },
      "frequency_label": "Daily",
      "target": null,
      "changeperc": 0.0,
      "uuid": "fb007202d7130100b96d45a3ce6103b4:baec0752bf130100b96dac808c0739ed:db53a9290a0a0a650091abebccf833c6",
      "gapperc_formatted": "",
      "value_unit": "10",
      "gap": null
    }
  ]
}

Return the scorecard with an aggregate

You can apply the 7d running SUM aggregate to the scorecard using the sysparm_uuid value with the sys_id of the aggregate.

Command:

curl -v -u "admin:admin" -H "Accept:application/json" "https://instance.service-now.com/api/now/v1/pa/scorecards?sysparm_uuid=fb007202d7130100b96d45a3ce6103b4:89ea4c11d7001100ba986f14ce6103dc"

Response:

{
  "result" : [
    {
      "key" : false,
      "change_formatted" : "",
      "value_unit" : "",
      "value_formatted" : "",
      "period_title" : null,
      "aggregate" : {
        "display_value" : "7d running SUM",
        "link" : "https://instance.service-now.com/api/now/v1/table/pa_aggregates/89ea4c11d7001100ba986f14ce6103dc",
        "value" : "89ea4c11d7001100ba986f14ce6103dc"
      },
      "gapperc" : null,
      "target" : null,
      "period" : null,
      "target_formatted" : "",
      "favorite" : false,
      "gap" : null,
      "direction_label" : "Minimize",
      "uuid" : "fb007202d7130100b96d45a3ce6103b4:89ea4c11d7001100ba986f14ce6103dc",
      "name" : "Number of open incidents / 7d running SUM",
      "value_color" : "#000000",
      "frequency_label" : "Daily",
      "change" : null,
      "gap_formatted" : "",
      "gapperc_formatted" : "",
      "value" : null,
      "unit" : {
        "display_value" : "#",
        "link" : "https://instance.service-now.com/api/now/v1/table/pa_units/17b365e2d7320100ba986f14ce6103ad",
        "value" : "17b365e2d7320100ba986f14ce6103ad"
      },
      "changeperc_formatted" : "",
      "direction" : 2,
      "frequency" : 10,
      "precision" : 0,
      "changeperc" : null,
      "indicator" : {
        "display_value" : "Number of open incidents",
        "link" : "https://instance.service-now.com/api/now/v1/table/pa_indicators/fb007202d7130100b96d45a3ce6103b4",
        "value" : "fb007202d7130100b96d45a3ce6103b4"
      },
      "description" : "Number of incidents open based on resolved date is empty."
    }
  ]
}

Return the scorecard with priority breakdown

You can request broken down scorecard data by passing the sysparm_breakdown parameter. This example shows the Number of open incidents scorecard broken down by priority.

In this example, the [PA Incident] Daily Data Collection job must run at least once to populate the data.

Command:

curl -v -u "admin:admin" -H "Accept:application/json" "https://instance.service-now.com/api/now/v1/pa/scorecards?sysparm_uuid=fb007202d7130100b96d45a3ce6103b4&sysparm_breakdown=0df47e02d7130100b96d45a3ce610399"

Response:

{
  "result" : [
    {
      "key" : false,
      "change_formatted" : "0",
      "changeperc" : 0,
      "value_unit" : "15",
      "value_formatted" : "15",
      "period_title" : "Mar 23",
      "gapperc" : null,
      "gap" : null,
      "target" : null,
      "period" : "Mar 23",
      "target_formatted" : "",
      "favorite" : false,
      "direction_label" : "Minimize",
      "uuid" : "fb007202d7130100b96d45a3ce6103b4:0df47e02d7130100b96d45a3ce610399:dce1db9cc803310026c1c49f3d065511",
      "name" : "Number of open incidents / Priority / 1 - Critical",
      "value_color" : "#000000",
      "frequency_label" : "Daily",
      "element" : {
        "display_value" : "1 - Critical",
        "link" : "https://instance.service-now.com/api/now/v1/table/sys_choice/dce1db9cc803310026c1c49f3d065511",
        "value" : "dce1db9cc803310026c1c49f3d065511"
      },
      "change" : 0,
      "gap_formatted" : "",
      "gapperc_formatted" : "",
      "value" : 15,
      "unit" : {
        "display_value" : "#",
        "link" : "https://instance.service-now.com/api/now/v1/table/pa_units/17b365e2d7320100ba986f14ce6103ad",
        "value" : "17b365e2d7320100ba986f14ce6103ad"
      },
      "breakdown" : {
        "display_value" : "Priority",
        "link" : "https://instance.service-now.com/api/now/v1/table/pa_breakdowns/0df47e02d7130100b96d45a3ce610399",
        "value" : "0df47e02d7130100b96d45a3ce610399"
      },
      "changeperc_formatted" : "0.0%",
      "frequency" : 10,
      "precision" : 0,
      "direction" : 2,
      "indicator" : {
        "display_value" : "Number of open incidents",
        "link" : "https://instance.service-now.com/api/now/v1/table/pa_indicators/fb007202d7130100b96d45a3ce6103b4",
        "value" : "fb007202d7130100b96d45a3ce6103b4"
      },
      "description" : "Number of incidents open based on resolved date is empty."
    },
    {
      "key" : false,
      "change_formatted" : "0",
      "changeperc" : 0,
      "value_unit" : "5",
      "value_formatted" : "5",
      "period_title" : "Mar 23",
      "gapperc" : null,
      "gap" : null,
      "target" : null,
      "period" : "Mar 23",
      "target_formatted" : "",
      "favorite" : false,
      "direction_label" : "Minimize",
      "uuid" : "fb007202d7130100b96d45a3ce6103b4:0df47e02d7130100b96d45a3ce610399:50e1db9cc803310026c1c49f3d065512",
      "name" : "Number of open incidents / Priority / 3 - Moderate",
      "value_color" : "#000000",
      "frequency_label" : "Daily",
      "element" : {
        "display_value" : "3 - Moderate",
        "link" : "https://instance.service-now.com/api/now/v1/table/sys_choice/50e1db9cc803310026c1c49f3d065512",
        "value" : "50e1db9cc803310026c1c49f3d065512"
      },
      "change" : 0,
      "gap_formatted" : "",
      "gapperc_formatted" : "",
      "value" : 5,
      "unit" : {
        "display_value" : "#",
        "link" : "https://instance.service-now.com/api/now/v1/table/pa_units/17b365e2d7320100ba986f14ce6103ad",
        "value" : "17b365e2d7320100ba986f14ce6103ad"
      },
      "breakdown" : {
        "display_value" : "Priority",
        "link" : "https://instance.service-now.com/api/now/v1/table/pa_breakdowns/0df47e02d7130100b96d45a3ce610399",
        "value" : "0df47e02d7130100b96d45a3ce610399"
      },
      "changeperc_formatted" : "0.0%",
      "frequency" : 10,
      "precision" : 0,
      "direction" : 2,
      "indicator" : {
        "display_value" : "Number of open incidents",
        "link" : "https://instance.service-now.com/api/now/v1/table/pa_indicators/fb007202d7130100b96d45a3ce6103b4",
        "value" : "fb007202d7130100b96d45a3ce6103b4"
      },
      "description" : "Number of incidents open based on resolved date is empty."
    },
    {
      "key" : false,
      "change_formatted" : "0",
      "changeperc" : 0,
      "value_unit" : "4",
      "value_formatted" : "4",
      "period_title" : "Mar 23",
      "gapperc" : null,
      "gap" : null,
      "target" : null,
      "period" : "Mar 23",
      "target_formatted" : "",
      "favorite" : false,
      "direction_label" : "Minimize",
      "uuid" : "fb007202d7130100b96d45a3ce6103b4:0df47e02d7130100b96d45a3ce610399:10e1db9cc803310026c1c49f3d065512",
      "name" : "Number of open incidents / Priority / 2 - High",
      "value_color" : "#000000",
      "frequency_label" : "Daily",
      "element" : {
        "display_value" : "2 - High",
        "link" : "https://instance.service-now.com/api/now/v1/table/sys_choice/10e1db9cc803310026c1c49f3d065512",
        "value" : "10e1db9cc803310026c1c49f3d065512"
      },
      "change" : 0,
      "gap_formatted" : "",
      "gapperc_formatted" : "",
      "value" : 4,
      "unit" : {
        "display_value" : "#",
        "link" : "https://instance.service-now.com/api/now/v1/table/pa_units/17b365e2d7320100ba986f14ce6103ad",
        "value" : "17b365e2d7320100ba986f14ce6103ad"
      },
      "breakdown" : {
        "display_value" : "Priority",
        "link" : "https://instance.service-now.com/api/now/v1/table/pa_breakdowns/0df47e02d7130100b96d45a3ce610399",
        "value" : "0df47e02d7130100b96d45a3ce610399"
      },
      "changeperc_formatted" : "0.0%",
      "frequency" : 10,
      "precision" : 0,
      "direction" : 2,
      "indicator" : {
        "display_value" : "Number of open incidents",
        "link" : "https://instance.service-now.com/api/now/v1/table/pa_indicators/fb007202d7130100b96d45a3ce6103b4",
        "value" : "fb007202d7130100b96d45a3ce6103b4"
      },
      "description" : "Number of incidents open based on resolved date is empty."
    },
    {
      "key" : false,
      "change_formatted" : "0",
      "changeperc" : 0,
      "value_unit" : "3",
      "value_formatted" : "3",
      "period_title" : "Mar 23",
      "gapperc" : null,
      "gap" : null,
      "target" : null,
      "period" : "Mar 23",
      "target_formatted" : "",
      "favorite" : false,
      "direction_label" : "Minimize",
      "uuid" : "fb007202d7130100b96d45a3ce6103b4:0df47e02d7130100b96d45a3ce610399:d0e1db9cc803310026c1c49f3d065512",
      "name" : "Number of open incidents / Priority / 5 - Planning",
      "value_color" : "#000000",
      "frequency_label" : "Daily",
      "element" : {
        "display_value" : "5 - Planning",
        "link" : "https://instance.service-now.com/api/now/v1/table/sys_choice/d0e1db9cc803310026c1c49f3d065512",
        "value" : "d0e1db9cc803310026c1c49f3d065512"
      },
      "change" : 0,
      "gap_formatted" : "",
      "gapperc_formatted" : "",
      "value" : 3,
      "unit" : {
        "display_value" : "#",
        "link" : "https://instance.service-now.com/api/now/v1/table/pa_units/17b365e2d7320100ba986f14ce6103ad",
        "value" : "17b365e2d7320100ba986f14ce6103ad"
      },
      "breakdown" : {
        "display_value" : "Priority",
        "link" : "https://instance.service-now.com/api/now/v1/table/pa_breakdowns/0df47e02d7130100b96d45a3ce610399",
        "value" : "0df47e02d7130100b96d45a3ce610399"
      },
      "changeperc_formatted" : "0.0%",
      "frequency" : 10,
      "precision" : 0,
      "direction" : 2,
      "indicator" : {
        "display_value" : "Number of open incidents",
        "link" : "https://instance.service-now.com/api/now/v1/table/pa_indicators/fb007202d7130100b96d45a3ce6103b4",
        "value" : "fb007202d7130100b96d45a3ce6103b4"
      },
      "description" : "Number of incidents open based on resolved date is empty."
    },
    {
      "key" : false,
      "change_formatted" : "0",
      "changeperc" : 0,
      "value_unit" : "1",
      "value_formatted" : "1",
      "period_title" : "Mar 23",
      "gapperc" : null,
      "gap" : null,
      "target" : null,
      "period" : "Mar 23",
      "target_formatted" : "",
      "favorite" : false,
      "direction_label" : "Minimize",
      "uuid" : "fb007202d7130100b96d45a3ce6103b4:0df47e02d7130100b96d45a3ce610399:90e1db9cc803310026c1c49f3d065512",
      "name" : "Number of open incidents / Priority / 4 - Low",
      "value_color" : "#000000",
      "frequency_label" : "Daily",
      "element" : {
        "display_value" : "4 - Low",
        "link" : "https://instance.service-now.com/api/now/v1/table/sys_choice/90e1db9cc803310026c1c49f3d065512",
        "value" : "90e1db9cc803310026c1c49f3d065512"
      },
      "change" : 0,
      "gap_formatted" : "",
      "gapperc_formatted" : "",
      "value" : 1,
      "unit" : {
        "display_value" : "#",
        "link" : "https://instance.service-now.com/api/now/v1/table/pa_units/17b365e2d7320100ba986f14ce6103ad",
        "value" : "17b365e2d7320100ba986f14ce6103ad"
      },
      "breakdown" : {
        "display_value" : "Priority",
        "link" : "https://instance.service-now.com/api/now/v1/table/pa_breakdowns/0df47e02d7130100b96d45a3ce610399",
        "value" : "0df47e02d7130100b96d45a3ce610399"
      },
      "changeperc_formatted" : "0.0%",
      "frequency" : 10,
      "precision" : 0,
      "direction" : 2,
      "indicator" : {
        "display_value" : "Number of open incidents",
        "link" : "https://instance.service-now.com/api/now/v1/table/pa_indicators/fb007202d7130100b96d45a3ce6103b4",
        "value" : "fb007202d7130100b96d45a3ce6103b4"
      },
      "description" : "Number of incidents open based on resolved date is empty."
    }
  ]
}

Return the scorecard with priority breakdown and available breakdowns

You can request broken down scorecard data by passing the sysparm_breakdown parameter, and a list of available breakdowns by passing the sysparm_include_available_breakdowns parameter. Passing both parameters in the same request allows you to query both sets of data using a single request.

In this example, the [PA Incident] Daily Data Collection job must run at least once to populate the data.

Command:

curl -v -u "admin:admin" -H "Accept:application/json" "https://instance.service-now.com/api/now/v1/pa/scorecards?sysparm_uuid=fb007202d7130100b96d45a3ce6103b4&sysparm_breakdown=0df47e02d7130100b96d45a3ce610399&sysparm_include_available_breakdowns=true"

Response:

{
  "result" : [
    {
      "key" : false,
      "direction" : 2,
      "change_formatted" : "0",
      "changeperc" : 0,
      "value_formatted" : "15",
      "period_title" : "Mar 23",
      "gapperc" : null,
      "value_unit" : "15",
      "target" : null,
      "period" : "Mar 23",
      "target_formatted" : "",
      "favorite" : false,
      "gap" : null,
      "direction_label" : "Minimize",
      "uuid" : "fb007202d7130100b96d45a3ce6103b4:0df47e02d7130100b96d45a3ce610399:dce1db9cc803310026c1c49f3d065511",
      "name" : "Number of open incidents / Priority / 1 - Critical",
      "value_color" : "#000000",
      "frequency_label" : "Daily",
      "element" : {
        "display_value" : "1 - Critical",
        "link" : "https://instance.service-now.com/api/now/v1/table/sys_choice/dce1db9cc803310026c1c49f3d065511",
        "value" : "dce1db9cc803310026c1c49f3d065511"
      },
      "change" : 0,
      "gap_formatted" : "",
      "gapperc_formatted" : "",
      "value" : 15,
      "unit" : {
        "display_value" : "#",
        "link" : "https://instance.service-now.com/api/now/v1/table/pa_units/17b365e2d7320100ba986f14ce6103ad",
        "value" : "17b365e2d7320100ba986f14ce6103ad"
      },
      "breakdown" : {
        "display_value" : "Priority",
        "link" : "https://instance.service-now.com/api/now/v1/table/pa_breakdowns/0df47e02d7130100b96d45a3ce610399",
        "value" : "0df47e02d7130100b96d45a3ce610399"
      },
      "breakdowns" : [
        {
          "display_value" : "Category",
          "link" : "https://instance.service-now.com/api/now/v1/table/pa_breakdowns/1f918835d7231100b96d45a3ce6103fe",
          "value" : "1f918835d7231100b96d45a3ce6103fe"
        },
        {
          "display_value" : "Assignment Group",
          "link" : "https://instance.service-now.com/api/now/v1/table/pa_breakdowns/baec0752bf130100b96dac808c0739ed",
          "value" : "baec0752bf130100b96dac808c0739ed"
        },
        {
          "display_value" : "State",
          "link" : "https://instance.service-now.com/api/now/v1/table/pa_breakdowns/f0647e02d7130100b96d45a3ce61030b",
          "value" : "f0647e02d7130100b96d45a3ce61030b"
        },
        {
          "display_value" : "Age",
          "link" : "https://instance.service-now.com/api/now/v1/table/pa_breakdowns/65947e02d7130100b96d45a3ce61033a",
          "value" : "65947e02d7130100b96d45a3ce61033a"
        }
      ],
      "changeperc_formatted" : "0.0%",
      "precision" : 0,
      "frequency" : 10,
      "indicator" : {
        "display_value" : "Number of open incidents",
        "link" : "https://instance.service-now.com/api/now/v1/table/pa_indicators/fb007202d7130100b96d45a3ce6103b4",
        "value" : "fb007202d7130100b96d45a3ce6103b4"
      },
      "description" : "Number of incidents open based on resolved date is empty."
    },
    {
      "key" : false,
      "direction" : 2,
      "change_formatted" : "0",
      "changeperc" : 0,
      "value_formatted" : "5",
      "period_title" : "Mar 23",
      "gapperc" : null,
      "value_unit" : "5",
      "target" : null,
      "period" : "Mar 23",
      "target_formatted" : "",
      "favorite" : false,
      "gap" : null,
      "direction_label" : "Minimize",
      "uuid" : "fb007202d7130100b96d45a3ce6103b4:0df47e02d7130100b96d45a3ce610399:50e1db9cc803310026c1c49f3d065512",
      "name" : "Number of open incidents / Priority / 3 - Moderate",
      "value_color" : "#000000",
      "frequency_label" : "Daily",
      "element" : {
        "display_value" : "3 - Moderate",
        "link" : "https://instance.service-now.com/api/now/v1/table/sys_choice/50e1db9cc803310026c1c49f3d065512",
        "value" : "50e1db9cc803310026c1c49f3d065512"
      },
      "change" : 0,
      "gap_formatted" : "",
      "gapperc_formatted" : "",
      "value" : 5,
      "unit" : {
        "display_value" : "#",
        "link" : "https://instance.service-now.com/api/now/v1/table/pa_units/17b365e2d7320100ba986f14ce6103ad",
        "value" : "17b365e2d7320100ba986f14ce6103ad"
      },
      "breakdown" : {
        "display_value" : "Priority",
        "link" : "https://instance.service-now.com/api/now/v1/table/pa_breakdowns/0df47e02d7130100b96d45a3ce610399",
        "value" : "0df47e02d7130100b96d45a3ce610399"
      },
      "breakdowns" : [
        {
          "display_value" : "Category",
          "link" : "https://instance.service-now.com/api/now/v1/table/pa_breakdowns/1f918835d7231100b96d45a3ce6103fe",
          "value" : "1f918835d7231100b96d45a3ce6103fe"
        },
        {
          "display_value" : "Assignment Group",
          "link" : "https://instance.service-now.com/api/now/v1/table/pa_breakdowns/baec0752bf130100b96dac808c0739ed",
          "value" : "baec0752bf130100b96dac808c0739ed"
        },
        {
          "display_value" : "State",
          "link" : "https://instance.service-now.com/api/now/v1/table/pa_breakdowns/f0647e02d7130100b96d45a3ce61030b",
          "value" : "f0647e02d7130100b96d45a3ce61030b"
        },
        {
          "display_value" : "Age",
          "link" : "https://instance.service-now.com/api/now/v1/table/pa_breakdowns/65947e02d7130100b96d45a3ce61033a",
          "value" : "65947e02d7130100b96d45a3ce61033a"
        }
      ],
      "changeperc_formatted" : "0.0%",
      "precision" : 0,
      "frequency" : 10,
      "indicator" : {
        "display_value" : "Number of open incidents",
        "link" : "https://instance.service-now.com/api/now/v1/table/pa_indicators/fb007202d7130100b96d45a3ce6103b4",
        "value" : "fb007202d7130100b96d45a3ce6103b4"
      },
      "description" : "Number of incidents open based on resolved date is empty."
    },
    {
      "key" : false,
      "direction" : 2,
      "change_formatted" : "0",
      "changeperc" : 0,
      "value_formatted" : "4",
      "period_title" : "Mar 23",
      "gapperc" : null,
      "value_unit" : "4",
      "target" : null,
      "period" : "Mar 23",
      "target_formatted" : "",
      "favorite" : false,
      "gap" : null,
      "direction_label" : "Minimize",
      "uuid" : "fb007202d7130100b96d45a3ce6103b4:0df47e02d7130100b96d45a3ce610399:10e1db9cc803310026c1c49f3d065512",
      "name" : "Number of open incidents / Priority / 2 - High",
      "value_color" : "#000000",
      "frequency_label" : "Daily",
      "element" : {
        "display_value" : "2 - High",
        "link" : "https://instance.service-now.com/api/now/v1/table/sys_choice/10e1db9cc803310026c1c49f3d065512",
        "value" : "10e1db9cc803310026c1c49f3d065512"
      },
      "change" : 0,
      "gap_formatted" : "",
      "gapperc_formatted" : "",
      "value" : 4,
      "unit" : {
        "display_value" : "#",
        "link" : "https://instance.service-now.com/api/now/v1/table/pa_units/17b365e2d7320100ba986f14ce6103ad",
        "value" : "17b365e2d7320100ba986f14ce6103ad"
      },
      "breakdown" : {
        "display_value" : "Priority",
        "link" : "https://instance.service-now.com/api/now/v1/table/pa_breakdowns/0df47e02d7130100b96d45a3ce610399",
        "value" : "0df47e02d7130100b96d45a3ce610399"
      },
      "breakdowns" : [
        {
          "display_value" : "Category",
          "link" : "https://instance.service-now.com/api/now/v1/table/pa_breakdowns/1f918835d7231100b96d45a3ce6103fe",
          "value" : "1f918835d7231100b96d45a3ce6103fe"
        },
        {
          "display_value" : "Assignment Group",
          "link" : "https://instance.service-now.com/api/now/v1/table/pa_breakdowns/baec0752bf130100b96dac808c0739ed",
          "value" : "baec0752bf130100b96dac808c0739ed"
        },
        {
          "display_value" : "State",
          "link" : "https://instance.service-now.com/api/now/v1/table/pa_breakdowns/f0647e02d7130100b96d45a3ce61030b",
          "value" : "f0647e02d7130100b96d45a3ce61030b"
        },
        {
          "display_value" : "Age",
          "link" : "https://instance.service-now.com/api/now/v1/table/pa_breakdowns/65947e02d7130100b96d45a3ce61033a",
          "value" : "65947e02d7130100b96d45a3ce61033a"
        }
      ],
      "changeperc_formatted" : "0.0%",
      "precision" : 0,
      "frequency" : 10,
      "indicator" : {
        "display_value" : "Number of open incidents",
        "link" : "https://instance.service-now.com/api/now/v1/table/pa_indicators/fb007202d7130100b96d45a3ce6103b4",
        "value" : "fb007202d7130100b96d45a3ce6103b4"
      },
      "description" : "Number of incidents open based on resolved date is empty."
    },
    {
      "key" : false,
      "direction" : 2,
      "change_formatted" : "0",
      "changeperc" : 0,
      "value_formatted" : "3",
      "period_title" : "Mar 23",
      "gapperc" : null,
      "value_unit" : "3",
      "target" : null,
      "period" : "Mar 23",
      "target_formatted" : "",
      "favorite" : false,
      "gap" : null,
      "direction_label" : "Minimize",
      "uuid" : "fb007202d7130100b96d45a3ce6103b4:0df47e02d7130100b96d45a3ce610399:d0e1db9cc803310026c1c49f3d065512",
      "name" : "Number of open incidents / Priority / 5 - Planning",
      "value_color" : "#000000",
      "frequency_label" : "Daily",
      "element" : {
        "display_value" : "5 - Planning",
        "link" : "https://instance.service-now.com/api/now/v1/table/sys_choice/d0e1db9cc803310026c1c49f3d065512",
        "value" : "d0e1db9cc803310026c1c49f3d065512"
      },
      "change" : 0,
      "gap_formatted" : "",
      "gapperc_formatted" : "",
      "value" : 3,
      "unit" : {
        "display_value" : "#",
        "link" : "https://instance.service-now.com/api/now/v1/table/pa_units/17b365e2d7320100ba986f14ce6103ad",
        "value" : "17b365e2d7320100ba986f14ce6103ad"
      },
      "breakdown" : {
        "display_value" : "Priority",
        "link" : "https://instance.service-now.com/api/now/v1/table/pa_breakdowns/0df47e02d7130100b96d45a3ce610399",
        "value" : "0df47e02d7130100b96d45a3ce610399"
      },
      "breakdowns" : [
        {
          "display_value" : "Category",
          "link" : "https://instance.service-now.com/api/now/v1/table/pa_breakdowns/1f918835d7231100b96d45a3ce6103fe",
          "value" : "1f918835d7231100b96d45a3ce6103fe"
        },
        {
          "display_value" : "Assignment Group",
          "link" : "https://instance.service-now.com/api/now/v1/table/pa_breakdowns/baec0752bf130100b96dac808c0739ed",
          "value" : "baec0752bf130100b96dac808c0739ed"
        },
        {
          "display_value" : "State",
          "link" : "https://instance.service-now.com/api/now/v1/table/pa_breakdowns/f0647e02d7130100b96d45a3ce61030b",
          "value" : "f0647e02d7130100b96d45a3ce61030b"
        },
        {
          "display_value" : "Age",
          "link" : "https://instance.service-now.com/api/now/v1/table/pa_breakdowns/65947e02d7130100b96d45a3ce61033a",
          "value" : "65947e02d7130100b96d45a3ce61033a"
        }
      ],
      "changeperc_formatted" : "0.0%",
      "precision" : 0,
      "frequency" : 10,
      "indicator" : {
        "display_value" : "Number of open incidents",
        "link" : "https://instance.service-now.com/api/now/v1/table/pa_indicators/fb007202d7130100b96d45a3ce6103b4",
        "value" : "fb007202d7130100b96d45a3ce6103b4"
      },
      "description" : "Number of incidents open based on resolved date is empty."
    },
    {
      "key" : false,
      "direction" : 2,
      "change_formatted" : "0",
      "changeperc" : 0,
      "value_formatted" : "1",
      "period_title" : "Mar 23",
      "gapperc" : null,
      "value_unit" : "1",
      "target" : null,
      "period" : "Mar 23",
      "target_formatted" : "",
      "favorite" : false,
      "gap" : null,
      "direction_label" : "Minimize",
      "uuid" : "fb007202d7130100b96d45a3ce6103b4:0df47e02d7130100b96d45a3ce610399:90e1db9cc803310026c1c49f3d065512",
      "name" : "Number of open incidents / Priority / 4 - Low",
      "value_color" : "#000000",
      "frequency_label" : "Daily",
      "element" : {
        "display_value" : "4 - Low",
        "link" : "https://instance.service-now.com/api/now/v1/table/sys_choice/90e1db9cc803310026c1c49f3d065512",
        "value" : "90e1db9cc803310026c1c49f3d065512"
      },
      "change" : 0,
      "gap_formatted" : "",
      "gapperc_formatted" : "",
      "value" : 1,
      "unit" : {
        "display_value" : "#",
        "link" : "https://instance.service-now.com/api/now/v1/table/pa_units/17b365e2d7320100ba986f14ce6103ad",
        "value" : "17b365e2d7320100ba986f14ce6103ad"
      },
      "breakdown" : {
        "display_value" : "Priority",
        "link" : "https://instance.service-now.com/api/now/v1/table/pa_breakdowns/0df47e02d7130100b96d45a3ce610399",
        "value" : "0df47e02d7130100b96d45a3ce610399"
      },
      "breakdowns" : [
        {
          "display_value" : "Category",
          "link" : "https://instance.service-now.com/api/now/v1/table/pa_breakdowns/1f918835d7231100b96d45a3ce6103fe",
          "value" : "1f918835d7231100b96d45a3ce6103fe"
        },
        {
          "display_value" : "Assignment Group",
          "link" : "https://instance.service-now.com/api/now/v1/table/pa_breakdowns/baec0752bf130100b96dac808c0739ed",
          "value" : "baec0752bf130100b96dac808c0739ed"
        },
        {
          "display_value" : "State",
          "link" : "https://instance.service-now.com/api/now/v1/table/pa_breakdowns/f0647e02d7130100b96d45a3ce61030b",
          "value" : "f0647e02d7130100b96d45a3ce61030b"
        },
        {
          "display_value" : "Age",
          "link" : "https://instance.service-now.com/api/now/v1/table/pa_breakdowns/65947e02d7130100b96d45a3ce61033a",
          "value" : "65947e02d7130100b96d45a3ce61033a"
        }
      ],
      "changeperc_formatted" : "0.0%",
      "precision" : 0,
      "frequency" : 10,
      "indicator" : {
        "display_value" : "Number of open incidents",
        "link" : "https://instance.service-now.com/api/now/v1/table/pa_indicators/fb007202d7130100b96d45a3ce6103b4",
        "value" : "fb007202d7130100b96d45a3ce6103b4"
      },
      "description" : "Number of incidents open based on resolved date is empty."
    }
  ]
}

Return the scorecard for priority 1 incidents

You can apply a breakdown by appending the breakdown and breakdown element sys_id values to the sysparm_uuid parameter. In this example, the data is broken down to show priority 1 incidents.

Command:

curl -v -u "admin:admin" -H "Accept:application/json" "https://instance.service-now.com/api/now/v1/pa/scorecards?sysparm_uuid=fb007202d7130100b96d45a3ce6103b4:0df47e02d7130100b96d45a3ce610399:e5900140200331007665978299a805f3"

Response:

{
  "result": [
    {
      "value_formatted": "",
      "indicator": {
        "display_value": "Number of open incidents",
        "link": "http://instance.service-now.com/api/now/v1/table/pa_indicators/fb007202d7130100b96d45a3ce6103b4",
        "value": "fb007202d7130100b96d45a3ce6103b4"
      },
      "gapperc": null,
      "change": null,
      "value_color": "#000000",
      "direction": 2,
      "target_formatted": "",
      "frequency": 10,
      "changeperc_formatted": "",
      "direction_label": "Minimize",
      "period_title": null,
      "description": "Number of incidents open based on resolved date is empty.",
      "name": "Number of open incidents / Priority / 1 - Critical",
      "value": null,
      "key": false,
      "gap_formatted": "",
      "element": {
        "display_value": "1 - Critical",
        "link": "http://instance.service-now.com/api/now/v1/table/sys_choice/e5900140200331007665978299a805f3",
        "value": "e5900140200331007665978299a805f3"
      },
      "precision": 0,
      "breakdown": {
        "display_value": "Priority",
        "link": "http://instance.service-now.com/api/now/v1/table/pa_breakdowns/0df47e02d7130100b96d45a3ce610399",
        "value": "0df47e02d7130100b96d45a3ce610399"
      },
      "period": null,
      "favorite": false,
      "change_formatted": "",
      "unit": {
        "display_value": "#",
        "link": "http://instance.service-now.com/api/now/v1/table/pa_units/17b365e2d7320100ba986f14ce6103ad",
        "value": "17b365e2d7320100ba986f14ce6103ad"
      },
      "frequency_label": "Daily",
      "target": null,
      "changeperc": null,
      "uuid": "fb007202d7130100b96d45a3ce6103b4:0df47e02d7130100b96d45a3ce610399:e5900140200331007665978299a805f3",
      "gapperc_formatted": "",
      "value_unit": "",
      "gap": null
    }
  ]
}

Return the scorecard for priority 1 database incidents

You can apply multiple breakdowns by appending multiple breakdown sys_ids to the sysparm_uuid parameter. In this example, the data is broken down by priority to show priority 1 incidents, and by category to show database incidents.

Command:

curl -v -u "admin:admin" -H "Accept:application/json" "https://instance.service-now.com/api/now/v1/pa/scorecards?sysparm_uuid=fb007202d7130100b96d45a3ce6103b4:0df47e02d7130100b96d45a3ce610399:e5900140200331007665978299a805f3:1f918835d7231100b96d45a3ce6103fe:9e418d40200331007665978299a805c1"

Response:

{
  "result": [
    {
      "value_formatted": "",
      "indicator": {
        "display_value": "Number of open incidents",
        "link": "http://instance.service-now.com/api/now/v1/table/pa_indicators/fb007202d7130100b96d45a3ce6103b4",
        "value": "fb007202d7130100b96d45a3ce6103b4"
      },
      "gapperc": null,
      "change": null,
      "value_color": "#000000",
      "direction": 2,
      "target_formatted": "",
      "frequency": 10,
      "changeperc_formatted": "",
      "direction_label": "Minimize",
      "period_title": null,
      "description": "Number of incidents open based on resolved date is empty.",
      "name": "Number of open incidents / Priority / 1 - Critical / Category / Database",
      "value": null,
      "key": false,
      "gap_formatted": "",
      "element": {
        "display_value": "1 - Critical",
        "link": "http://instance.service-now.com/api/now/v1/table/sys_choice/e5900140200331007665978299a805f3",
        "value": "e5900140200331007665978299a805f3"
      },
      "precision": 0,
      "element_level2": {
        "display_value": "Database",
        "link": "http://instance.service-now.com/api/now/v1/table/sys_choice/9e418d40200331007665978299a805c1",
        "value": "9e418d40200331007665978299a805c1"
      },
      "breakdown": {
        "display_value": "Priority",
        "link": "http://instance.service-now.com/api/now/v1/table/pa_breakdowns/0df47e02d7130100b96d45a3ce610399",
        "value": "0df47e02d7130100b96d45a3ce610399"
      },
      "period": null,
      "favorite": false,
      "change_formatted": "",
      "unit": {
        "display_value": "#",
        "link": "http://instance.service-now.com/api/now/v1/table/pa_units/17b365e2d7320100ba986f14ce6103ad",
        "value": "17b365e2d7320100ba986f14ce6103ad"
      },
      "frequency_label": "Daily",
      "breakdown_level2": {
        "display_value": "Category",
        "link": "http://instance.service-now.com/api/now/v1/table/pa_breakdowns/1f918835d7231100b96d45a3ce6103fe",
        "value": "1f918835d7231100b96d45a3ce6103fe"
      },
      "target": null,
      "changeperc": null,
      "uuid": "fb007202d7130100b96d45a3ce6103b4:0df47e02d7130100b96d45a3ce610399:e5900140200331007665978299a805f3:1f918835d7231100b96d45a3ce6103fe:9e418d40200331007665978299a805c1",
      "gapperc_formatted": "",
      "value_unit": "",
      "gap": null
    }
  ]
}

Return the scorecard for priority 1 database incidents with all scores

You can request a list of individual scores by setting the sysparm_include_scores parameter to true.

Command:

curl -v -u "admin:admin" -H "Accept:application/json" "https://instance.service-now.com/api/now/v1/pa/scorecards?sysparm_uuid=fb007202d7130100b96d45a3ce6103b4:0df47e02d7130100b96d45a3ce610399:e5900140200331007665978299a805f3:1f918835d7231100b96d45a3ce6103fe:9e418d40200331007665978299a805c1&sysparm_include_scores=true"

Response:

{
  "result" : [
    {
      "key" : false,
      "change_formatted" : "0",
      "changeperc" : 0,
      "value_unit" : "15",
      "value_formatted" : "15",
      "period_title" : "Mar 23",
      "gapperc" : null,
      "gap" : null,
      "target" : null,
      "period" : "Mar 23",
      "target_formatted" : "",
      "favorite" : false,
      "scores" : [
        {
          "end_at" : "2015-03-23",
          "period" : "Mar 23",
          "start_at" : "2015-03-23",
          "value_formatted" : "15",
          "value" : 15
        },
        {
          "end_at" : "2015-03-22",
          "period" : "Mar 22",
          "start_at" : "2015-03-22",
          "value_formatted" : "15",
          "value" : 15
        },
        {
          "end_at" : "2015-03-21",
          "period" : "Mar 21",
          "start_at" : "2015-03-21",
          "value_formatted" : "22",
          "value" : 22
        },
        {
          "end_at" : "2015-03-20",
          "period" : "Mar 20",
          "start_at" : "2015-03-20",
          "value_formatted" : "22",
          "value" : 22
        },
        {
          "end_at" : "2015-03-19",
          "period" : "Mar 19",
          "start_at" : "2015-03-19",
          "value_formatted" : "22",
          "value" : 22
        },
        {
          "end_at" : "2015-03-18",
          "period" : "Mar 18",
          "start_at" : "2015-03-18",
          "value_formatted" : "22",
          "value" : 22
        },
        {
          "end_at" : "2015-03-17",
          "period" : "Mar 17",
          "start_at" : "2015-03-17",
          "value_formatted" : "22",
          "value" : 22
        },
        {
          "end_at" : "2015-03-16",
          "period" : "Mar 16",
          "start_at" : "2015-03-16",
          "value_formatted" : "22",
          "value" : 22
        }
      ],
      "direction_label" : "Minimize",
      "uuid" : "fb007202d7130100b96d45a3ce6103b4:0df47e02d7130100b96d45a3ce610399:dce1db9cc803310026c1c49f3d065511",
      "name" : "Number of open incidents / Priority / 1 - Critical",
      "value_color" : "#000000",
      "frequency_label" : "Daily",
      "element" : {
        "display_value" : "1 - Critical",
        "link" : "https://instance.service-now.com/api/now/v1/table/sys_choice/dce1db9cc803310026c1c49f3d065511",
        "value" : "dce1db9cc803310026c1c49f3d065511"
      },
      "change" : 0,
      "gap_formatted" : "",
      "gapperc_formatted" : "",
      "value" : 15,
      "unit" : {
        "display_value" : "#",
        "link" : "https://instance.service-now.com/api/now/v1/table/pa_units/17b365e2d7320100ba986f14ce6103ad",
        "value" : "17b365e2d7320100ba986f14ce6103ad"
      },
      "breakdown" : {
        "display_value" : "Priority",
        "link" : "https://instance.service-now.com/api/now/v1/table/pa_breakdowns/0df47e02d7130100b96d45a3ce610399",
        "value" : "0df47e02d7130100b96d45a3ce610399"
      },
      "changeperc_formatted" : "0.0%",
      "frequency" : 10,
      "precision" : 0,
      "direction" : 2,
      "indicator" : {
        "display_value" : "Number of open incidents",
        "link" : "https://instance.service-now.com/api/now/v1/table/pa_indicators/fb007202d7130100b96d45a3ce6103b4",
        "value" : "fb007202d7130100b96d45a3ce6103b4"
      },
      "description" : "Number of incidents open based on resolved date is empty."
    },
    {
      "key" : false,
      "change_formatted" : "0",
      "changeperc" : 0,
      "value_unit" : "4",
      "value_formatted" : "4",
      "period_title" : "Mar 23",
      "gapperc" : null,
      "gap" : null,
      "target" : null,
      "period" : "Mar 23",
      "target_formatted" : "",
      "favorite" : false,
      "scores" : [
        {
          "end_at" : "2015-03-23",
          "period" : "Mar 23",
          "start_at" : "2015-03-23",
          "value_formatted" : "4",
          "value" : 4
        },
        {
          "end_at" : "2015-03-22",
          "period" : "Mar 22",
          "start_at" : "2015-03-22",
          "value_formatted" : "4",
          "value" : 4
        },
        {
          "end_at" : "2015-03-21",
          "period" : "Mar 21",
          "start_at" : "2015-03-21",
          "value_formatted" : "4",
          "value" : 4
        },
        {
          "end_at" : "2015-03-20",
          "period" : "Mar 20",
          "start_at" : "2015-03-20",
          "value_formatted" : "4",
          "value" : 4
        },
        {
          "end_at" : "2015-03-19",
          "period" : "Mar 19",
          "start_at" : "2015-03-19",
          "value_formatted" : "4",
          "value" : 4
        },
        {
          "end_at" : "2015-03-18",
          "period" : "Mar 18",
          "start_at" : "2015-03-18",
          "value_formatted" : "4",
          "value" : 4
        },
        {
          "end_at" : "2015-03-17",
          "period" : "Mar 17",
          "start_at" : "2015-03-17",
          "value_formatted" : "4",
          "value" : 4
        },
        {
          "end_at" : "2015-03-16",
          "period" : "Mar 16",
          "start_at" : "2015-03-16",
          "value_formatted" : "4",
          "value" : 4
        }
      ],
      "direction_label" : "Minimize",
      "uuid" : "fb007202d7130100b96d45a3ce6103b4:0df47e02d7130100b96d45a3ce610399:10e1db9cc803310026c1c49f3d065512",
      "name" : "Number of open incidents / Priority / 2 - High",
      "value_color" : "#000000",
      "frequency_label" : "Daily",
      "element" : {
        "display_value" : "2 - High",
        "link" : "https://instance.service-now.com/api/now/v1/table/sys_choice/10e1db9cc803310026c1c49f3d065512",
        "value" : "10e1db9cc803310026c1c49f3d065512"
      },
      "change" : 0,
      "gap_formatted" : "",
      "gapperc_formatted" : "",
      "value" : 4,
      "unit" : {
        "display_value" : "#",
        "link" : "https://instance.service-now.com/api/now/v1/table/pa_units/17b365e2d7320100ba986f14ce6103ad",
        "value" : "17b365e2d7320100ba986f14ce6103ad"
      },
      "breakdown" : {
        "display_value" : "Priority",
        "link" : "https://instance.service-now.com/api/now/v1/table/pa_breakdowns/0df47e02d7130100b96d45a3ce610399",
        "value" : "0df47e02d7130100b96d45a3ce610399"
      },
      "changeperc_formatted" : "0.0%",
      "frequency" : 10,
      "precision" : 0,
      "direction" : 2,
      "indicator" : {
        "display_value" : "Number of open incidents",
        "link" : "https://instance.service-now.com/api/now/v1/table/pa_indicators/fb007202d7130100b96d45a3ce6103b4",
        "value" : "fb007202d7130100b96d45a3ce6103b4"
      },
      "description" : "Number of incidents open based on resolved date is empty."
    },
    {
      "key" : false,
      "change_formatted" : "0",
      "changeperc" : 0,
      "value_unit" : "5",
      "value_formatted" : "5",
      "period_title" : "Mar 23",
      "gapperc" : null,
      "gap" : null,
      "target" : null,
      "period" : "Mar 23",
      "target_formatted" : "",
      "favorite" : false,
      "scores" : [
        {
          "end_at" : "2015-03-23",
          "period" : "Mar 23",
          "start_at" : "2015-03-23",
          "value_formatted" : "5",
          "value" : 5
        },
        {
          "end_at" : "2015-03-22",
          "period" : "Mar 22",
          "start_at" : "2015-03-22",
          "value_formatted" : "5",
          "value" : 5
        },
        {
          "end_at" : "2015-03-21",
          "period" : "Mar 21",
          "start_at" : "2015-03-21",
          "value_formatted" : "6",
          "value" : 6
        },
        {
          "end_at" : "2015-03-20",
          "period" : "Mar 20",
          "start_at" : "2015-03-20",
          "value_formatted" : "6",
          "value" : 6
        },
        {
          "end_at" : "2015-03-19",
          "period" : "Mar 19",
          "start_at" : "2015-03-19",
          "value_formatted" : "6",
          "value" : 6
        },
        {
          "end_at" : "2015-03-18",
          "period" : "Mar 18",
          "start_at" : "2015-03-18",
          "value_formatted" : "6",
          "value" : 6
        },
        {
          "end_at" : "2015-03-17",
          "period" : "Mar 17",
          "start_at" : "2015-03-17",
          "value_formatted" : "6",
          "value" : 6
        },
        {
          "end_at" : "2015-03-16",
          "period" : "Mar 16",
          "start_at" : "2015-03-16",
          "value_formatted" : "6",
          "value" : 6
        }
      ],
      "direction_label" : "Minimize",
      "uuid" : "fb007202d7130100b96d45a3ce6103b4:0df47e02d7130100b96d45a3ce610399:50e1db9cc803310026c1c49f3d065512",
      "name" : "Number of open incidents / Priority / 3 - Moderate",
      "value_color" : "#000000",
      "frequency_label" : "Daily",
      "element" : {
        "display_value" : "3 - Moderate",
        "link" : "https://instance.service-now.com/api/now/v1/table/sys_choice/50e1db9cc803310026c1c49f3d065512",
        "value" : "50e1db9cc803310026c1c49f3d065512"
      },
      "change" : 0,
      "gap_formatted" : "",
      "gapperc_formatted" : "",
      "value" : 5,
      "unit" : {
        "display_value" : "#",
        "link" : "https://instance.service-now.com/api/now/v1/table/pa_units/17b365e2d7320100ba986f14ce6103ad",
        "value" : "17b365e2d7320100ba986f14ce6103ad"
      },
      "breakdown" : {
        "display_value" : "Priority",
        "link" : "https://instance.service-now.com/api/now/v1/table/pa_breakdowns/0df47e02d7130100b96d45a3ce610399",
        "value" : "0df47e02d7130100b96d45a3ce610399"
      },
      "changeperc_formatted" : "0.0%",
      "frequency" : 10,
      "precision" : 0,
      "direction" : 2,
      "indicator" : {
        "display_value" : "Number of open incidents",
        "link" : "https://instance.service-now.com/api/now/v1/table/pa_indicators/fb007202d7130100b96d45a3ce6103b4",
        "value" : "fb007202d7130100b96d45a3ce6103b4"
      },
      "description" : "Number of incidents open based on resolved date is empty."
    },
    {
      "key" : false,
      "change_formatted" : "0",
      "changeperc" : 0,
      "value_unit" : "1",
      "value_formatted" : "1",
      "period_title" : "Mar 23",
      "gapperc" : null,
      "gap" : null,
      "target" : null,
      "period" : "Mar 23",
      "target_formatted" : "",
      "favorite" : false,
      "scores" : [
        {
          "end_at" : "2015-03-23",
          "period" : "Mar 23",
          "start_at" : "2015-03-23",
          "value_formatted" : "1",
          "value" : 1
        },
        {
          "end_at" : "2015-03-22",
          "period" : "Mar 22",
          "start_at" : "2015-03-22",
          "value_formatted" : "1",
          "value" : 1
        },
        {
          "end_at" : "2015-03-21",
          "period" : "Mar 21",
          "start_at" : "2015-03-21",
          "value_formatted" : "3",
          "value" : 3
        },
        {
          "end_at" : "2015-03-20",
          "period" : "Mar 20",
          "start_at" : "2015-03-20",
          "value_formatted" : "3",
          "value" : 3
        },
        {
          "end_at" : "2015-03-19",
          "period" : "Mar 19",
          "start_at" : "2015-03-19",
          "value_formatted" : "3",
          "value" : 3
        },
        {
          "end_at" : "2015-03-18",
          "period" : "Mar 18",
          "start_at" : "2015-03-18",
          "value_formatted" : "3",
          "value" : 3
        },
        {
          "end_at" : "2015-03-17",
          "period" : "Mar 17",
          "start_at" : "2015-03-17",
          "value_formatted" : "3",
          "value" : 3
        },
        {
          "end_at" : "2015-03-16",
          "period" : "Mar 16",
          "start_at" : "2015-03-16",
          "value_formatted" : "3",
          "value" : 3
        }
      ],
      "direction_label" : "Minimize",
      "uuid" : "fb007202d7130100b96d45a3ce6103b4:0df47e02d7130100b96d45a3ce610399:90e1db9cc803310026c1c49f3d065512",
      "name" : "Number of open incidents / Priority / 4 - Low",
      "value_color" : "#000000",
      "frequency_label" : "Daily",
      "element" : {
        "display_value" : "4 - Low",
        "link" : "https://instance.service-now.com/api/now/v1/table/sys_choice/90e1db9cc803310026c1c49f3d065512",
        "value" : "90e1db9cc803310026c1c49f3d065512"
      },
      "change" : 0,
      "gap_formatted" : "",
      "gapperc_formatted" : "",
      "value" : 1,
      "unit" : {
        "display_value" : "#",
        "link" : "https://instance.service-now.com/api/now/v1/table/pa_units/17b365e2d7320100ba986f14ce6103ad",
        "value" : "17b365e2d7320100ba986f14ce6103ad"
      },
      "breakdown" : {
        "display_value" : "Priority",
        "link" : "https://instance.service-now.com/api/now/v1/table/pa_breakdowns/0df47e02d7130100b96d45a3ce610399",
        "value" : "0df47e02d7130100b96d45a3ce610399"
      },
      "changeperc_formatted" : "0.0%",
      "frequency" : 10,
      "precision" : 0,
      "direction" : 2,
      "indicator" : {
        "display_value" : "Number of open incidents",
        "link" : "https://instance.service-now.com/api/now/v1/table/pa_indicators/fb007202d7130100b96d45a3ce6103b4",
        "value" : "fb007202d7130100b96d45a3ce6103b4"
      },
      "description" : "Number of incidents open based on resolved date is empty."
    },
    {
      "key" : false,
      "change_formatted" : "0",
      "changeperc" : 0,
      "value_unit" : "3",
      "value_formatted" : "3",
      "period_title" : "Mar 23",
      "gapperc" : null,
      "gap" : null,
      "target" : null,
      "period" : "Mar 23",
      "target_formatted" : "",
      "favorite" : false,
      "scores" : [
        {
          "end_at" : "2015-03-23",
          "period" : "Mar 23",
          "start_at" : "2015-03-23",
          "value_formatted" : "3",
          "value" : 3
        },
        {
          "end_at" : "2015-03-22",
          "period" : "Mar 22",
          "start_at" : "2015-03-22",
          "value_formatted" : "3",
          "value" : 3
        },
        {
          "end_at" : "2015-03-21",
          "period" : "Mar 21",
          "start_at" : "2015-03-21",
          "value_formatted" : "12",
          "value" : 12
        },
        {
          "end_at" : "2015-03-20",
          "period" : "Mar 20",
          "start_at" : "2015-03-20",
          "value_formatted" : "12",
          "value" : 12
        },
        {
          "end_at" : "2015-03-19",
          "period" : "Mar 19",
          "start_at" : "2015-03-19",
          "value_formatted" : "12",
          "value" : 12
        },
        {
          "end_at" : "2015-03-18",
          "period" : "Mar 18",
          "start_at" : "2015-03-18",
          "value_formatted" : "12",
          "value" : 12
        },
        {
          "end_at" : "2015-03-17",
          "period" : "Mar 17",
          "start_at" : "2015-03-17",
          "value_formatted" : "12",
          "value" : 12
        },
        {
          "end_at" : "2015-03-16",
          "period" : "Mar 16",
          "start_at" : "2015-03-16",
          "value_formatted" : "12",
          "value" : 12
        }
      ],
      "direction_label" : "Minimize",
      "uuid" : "fb007202d7130100b96d45a3ce6103b4:0df47e02d7130100b96d45a3ce610399:d0e1db9cc803310026c1c49f3d065512",
      "name" : "Number of open incidents / Priority / 5 - Planning",
      "value_color" : "#000000",
      "frequency_label" : "Daily",
      "element" : {
        "display_value" : "5 - Planning",
        "link" : "https://instance.service-now.com/api/now/v1/table/sys_choice/d0e1db9cc803310026c1c49f3d065512",
        "value" : "d0e1db9cc803310026c1c49f3d065512"
      },
      "change" : 0,
      "gap_formatted" : "",
      "gapperc_formatted" : "",
      "value" : 3,
      "unit" : {
        "display_value" : "#",
        "link" : "https://instance.service-now.com/api/now/v1/table/pa_units/17b365e2d7320100ba986f14ce6103ad",
        "value" : "17b365e2d7320100ba986f14ce6103ad"
      },
      "breakdown" : {
        "display_value" : "Priority",
        "link" : "https://instance.service-now.com/api/now/v1/table/pa_breakdowns/0df47e02d7130100b96d45a3ce610399",
        "value" : "0df47e02d7130100b96d45a3ce610399"
      },
      "changeperc_formatted" : "0.0%",
      "frequency" : 10,
      "precision" : 0,
      "direction" : 2,
      "indicator" : {
        "display_value" : "Number of open incidents",
        "link" : "https://instance.service-now.com/api/now/v1/table/pa_indicators/fb007202d7130100b96d45a3ce6103b4",
        "value" : "fb007202d7130100b96d45a3ce6103b4"
      },
      "description" : "Number of incidents open based on resolved date is empty."
    }
  ]
}

This site is scheduled for a small content update on Tuesday, December 18th, between the hours of 4:00pm and 8:00pm Pacific Time (Dec 19 00:00 – Dec 19 4:00 UTC). Access to this site may be slightly delayed during that time.