API

ProjectOverviewMetric

Operations

Every route this entity exposes. Each route links to its own reference on this page.

Method Route SDK operation Returns
GET /api/v1/organizations/{organization_id}/verification/projects/{project_id}/pages/overview_metrics load ProjectOverviewMetricsPage

Examples

One example per SDK, generated from the API model. The argument names are the parameters and fields of this entity, and the values are placeholders. The examples are not compiled or executed.

Golang

Construct client as shown in the Golang setup, then call the operations:

project_overview_metric, err := client.ProjectOverviewMetric(nil).Load(map[string]any{"organization_id": "example", "project_id": "example"}, nil)
if err != nil {
    panic(err)
}
fmt.Println(project_overview_metric)

Lua

Construct client as shown in the Lua setup, then call the operations:

local project_overview_metric, err = client:ProjectOverviewMetric():load({ organization_id = "example", project_id = "example" })

PHP

Construct client as shown in the PHP setup, then call the operations:

$project_overview_metric = $client->ProjectOverviewMetric()->load(["organization_id" => "example", "project_id" => "example"]);

Python

Construct client as shown in the Python setup, then call the operations:

project_overview_metric = client.ProjectOverviewMetric().load({"organization_id": "example", "project_id": "example"})

Ruby

Construct client as shown in the Ruby setup, then call the operations:

project_overview_metric = client.ProjectOverviewMetric.load({ "organization_id" => "example", "project_id" => "example" })

TypeScript

Construct client as shown in the TypeScript setup, then call the operations:

const project_overview_metric = await client.ProjectOverviewMetric().load({ organization_id: "example", project_id: "example" })

Fields

Field Type Required Description
active_runs integer Yes Active Runs
open_findings integer Yes Open Findings
ready_environments integer Yes Ready Environments
scenarios object Yes Scenarios by the state of their latest execution.

load

GET /api/v1/organizations/{organization_id}/verification/projects/{project_id}/pages/overview_metrics

Operation ID: api_v1_verification_project_pages_overview_metrics.

Authentication: bearer token (bearerAuth).

Parameters

Parameter In Type Required Description
organization_id path string Yes
project_id path string Yes

Responses

200: ProjectOverviewMetricsPage

application/json

Property Type Required Description
counts object Yes
counts.active_runs integer Yes
counts.open_findings integer Yes
counts.ready_environments integer Yes
counts.scenarios object Yes Scenarios by the state of their latest execution. Timeouts count as failing.
counts.scenarios.blocked integer Yes
counts.scenarios.cancelled integer Yes
counts.scenarios.failing integer Yes
counts.scenarios.not_run integer Yes
counts.scenarios.passing integer Yes
counts.scenarios.running integer Yes
counts.scenarios.total integer Yes
401: Unauthorized
403: Forbidden
404: Not found
422: Unprocessable entity
502: Bad gateway