---
title: "Summarize deployments in a project"
method: GET
path: "/projects/{id}/deployments/summary"
tags: ["Projects"]
---

# Summarize deployments in a project

`GET /projects/{id}/deployments/summary`

## Request

- Base URL: `https://api.volcano.dev`
- URL: `https://api.volcano.dev/projects/{id}/deployments/summary`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

Summarizes deployment attempts for one comparable resource pipeline.
Success rate uses conclusive outcomes only: active and deleted attempts
are successful; failed and degraded attempts are failures; in-progress
and superseded attempts are excluded. Median build duration includes
completed, non-superseded attempts with recorded build work,
including failed builds.

With `resource_type=function`, pass `function_kind` to summarize one
kind of function only. It is rejected with `resource_type=frontend`.

## Path parameters

- `id` string, uuid, required

## Query parameters

- `search` string
- `resource_type` 'function' | 'frontend', required
- `function_kind` 'standard' | 'durable': A function kind to filter a list by. Unlike `FunctionKind` it has no default: omitting the filter includes both kinds.
- `created_after` string, date-time

## Response `200`

Successful response

- ProjectDeploymentSummary: Aggregate deployment statistics for one resource pipeline.
  - `deployment_count` integer, required: All deployment attempts matching the filters.
  - `successful_count` integer, required: Attempts that reached active or deleted.
  - `failed_count` integer, required: Attempts that reached failed or degraded.
  - `canceled_count` integer, required: Superseded attempts, excluded from success rate and duration.
  - `success_rate` number, double, nullable, required: Successful attempts divided by successful plus failed attempts.
  - `median_build_duration_seconds` number, double, nullable, required: Median build duration across eligible completed attempts.

## Other responses

- `400`: Bad request - invalid identifier or filter, or `function_kind` combined with `resource_type=frontend`
- `401`: Unauthorized - invalid or missing token
- `403`: Forbidden - project ownership required
- `500`: Internal server error

## Changes

- **2026-10-07** `23e7875e7c4c`: 2 info
  - the endpoint scheme security `ProjectAccessToken` was added to the API
  - added the new optional `query` request parameter `function_kind`
- **2026-09-19** `3a6f365f3f35`: 6 breaking, 14 info
  - added the new path request parameter `id`
  - the response's body type changed from no type to `object` for status `200`
  - the response's body type changed from no type to `object` for status `400`
  - the response's body type changed from no type to `object` for status `401`
  - …16 more
- **2026-08-27** `bb44e98aba2e`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/kong/apis/volcano-api/changes/projects/:id/deployments/summary/get.md)

---

[API](https://skmtc.dev/kong/apis/volcano-api.md) - [All operations](https://skmtc.dev/kong/apis/volcano-api/llms.txt) - [OpenAPI document](https://skmtc.dev/kong/apis/volcano-api/revisions/84c4488f91e9?raw)
