---
title: "Get Insights Deployments for a Project"
method: GET
path: "/spaces/{spaceIdentifier}/projects/{projectId}/insights/deployments"
tags: ["Insights"]
---

# Get Insights Deployments for a Project

`GET /spaces/{spaceIdentifier}/projects/{projectId}/insights/deployments`

## Path parameters

- `projectId` string, required
- `spaceIdentifier` string, required

## Query parameters

- `channelId` string, required
- `environmentId` string, required
- `tenantFilter` 'UntenantedAndAllTenants' | 'Untenanted' | 'SingleTenant'
- `tenantId` string

## Response `200`

The requested Insights Deployments

- GetInsightsDeploymentsForProjectResponse
  - `ProjectName` string, required
  - `Streams` InsightsDeploymentsForXResponseDeploymentStream[], required
    - `ChannelId` string, required
    - `ChannelName` string, required
    - `Deployments` InsightsDeploymentsForXResponseDeployment[], required
      - `CompletedTime` string, required
      - `DeploymentsUntilRecovery` integer
      - `HadGuidedFailure` boolean, required
      - `Id` string, required
      - `LeadTime` string
      - `LeadTimeCalculatedFromVersion` string
      - `PreviousSuccessfulDeploymentId` string
      - `QueueTime` string, required
      - `RecoveredFromFailedDeploymentId` string
      - `RecoveredFromFailedReleaseVersion` string
      - `ReleaseVersion` string, required
      - `StartTime` string, required
      - `TaskState` 'Queued' | 'Executing' | 'Failed' | 'Canceled' | 'TimedOut' | 'Success' | 'Cancelling', required
      - `TimeSincePreviouslySuccessfulDeployment` string
      - `TimeToRecovery` string
    - `EnvironmentId` string, required
    - `EnvironmentName` string, required
    - `ProjectId` string, required
    - `ProjectName` string, required
    - `TenantId` string
    - `TenantName` string

## 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/versions/bc9158facfc7/schema)
