---
title: "Get Insights metrics series for the Insights Report"
method: GET
path: "/{spaceId}/insights/reports/{reportId}/metrics/v1"
tags: ["Insights"]
---

# Get Insights metrics series for the Insights Report

`GET /{spaceId}/insights/reports/{reportId}/metrics/v1`

Returns the aggregated insights metrics for this insights report for the chosen granularity and time period grouped by the chosen split

## Path parameters

- `spaceId` string, required
- `reportId` string, required

## Query parameters

- `split` 'None' | 'Project' | 'ProjectGroup' | 'Environment' | 'EnvironmentGroup' | 'Tenant' | 'TenantTagSet', required
- `timeRange` 'LastMonth' | 'LastQuarter' | 'LastYear'
- `granularity` 'Monthly' | 'Weekly' | 'Daily'
- `tenantTagSetId` string

## Response `200`

Success

- GetInsightsMetricsSeriesForReportResponse
  - `Series` InsightsDataSeriesResource[], required
    - `Intervals` Interval[], required
      - `DeploymentFailureRate` InsightsFailureRateMetricResource
        - `DeploymentFailure` integer
        - `Failed` integer
        - `Rate` number, double
        - `Successful` integer
        - `SuccessfulButHadGuidedFailure` integer
        - `SuccessfulButPreventedProgression` integer
        - `Total` integer
      - `DeploymentQueuedDuration` DurationMetric
        - `Count` integer
        - `Max` string
        - `Mean` string
        - `Median` string
        - `Min` string
        - `NinetyFifth` string
      - `DeploymentsUntilRecovery` DoubleMetric
        - `Count` integer
        - `Max` number, double
        - `Mean` number, double
        - `Median` number, double
        - `Min` number, double
        - `NinetyFifth` number, double
      - `LeadTime` DurationMetric
        - `Count` integer
        - `Max` string
        - `Mean` string
        - `Median` string
        - `Min` string
        - `NinetyFifth` string
      - `MeanTimeToRecovery` DurationMetric
        - `Count` integer
        - `Max` string
        - `Mean` string
        - `Median` string
        - `Min` string
        - `NinetyFifth` string
      - `NumberOfSuccessfulDeployments` integer
      - `StartOfInterval` string
      - `SuccessfulDeploymentDuration` DurationMetric
        - `Count` integer
        - `Max` string
        - `Mean` string
        - `Median` string
        - `Min` string
        - `NinetyFifth` string
      - `TimeSincePreviousDeployment` DurationMetric
        - `Count` integer
        - `Max` string
        - `Mean` string
        - `Median` string
        - `Min` string
        - `NinetyFifth` string
    - `Name` string, required

## Other responses

- `400` — Bad request. Either the payload was not structurally valid or business rules did not permit the operation.
- `404` — Not found. One or more of the entities involved in the operation was not found.

---

[API](https://skmtc.net/octopus/apis/octopus-server-api.md) · [All operations](https://skmtc.net/octopus/apis/octopus-server-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/octopus/octopus-server-api/revisions/b296c3a60aa5/schema)
