dashboard

Aggregate summary of policies, policy sets and evaluations for display on the dashboard

dashboard#metrics

Get metrics about policies, policy sets and evaluations

Request
query Parameters
range
string
Default: "30d"

The time period over which to aggregate dashboard data. Can be: 24 hours, 7 days or 30 days

Enum: "24h" "7d" "30d"
Example: range=30d
accountIdentifier
string
Default: ""

Harness account ID

Example: accountIdentifier=eBqAoNchMLKigC_qZ5EdC
orgIdentifier
string
Default: ""

Harness organization ID

Example: orgIdentifier=test-org
projectIdentifier
string
Default: ""

Harness project ID

Example: projectIdentifier=test-project
header Parameters
x-api-key
string

Harness PAT key used to perform authorization

Example: Libero perspiciatis quidem dolorem.
Responses
200

OK response.

400

BadRequest: Bad Request response.

401

Unauthorized: Unauthorized response.

403

Forbidden: Forbidden response.

404

NotFound: Not Found response.

500

InternalServer: Internal Server Error response.

502

BadGateway: Bad Gateway response.

get/pm/api/v1/dashboard
Request samples
Response samples
application/json
{
  • "aggregates": [
    ],
  • "policy_health": {
    }
}