---
title: "Project velocity — completed-points/issues per sprint with agent/human split"
method: GET
path: "/api/workspaces/{workspaceId}/projects/{projectId}/velocity"
tags: ["Projects"]
---

# Project velocity — completed-points/issues per sprint with agent/human split

`GET /api/workspaces/{workspaceId}/projects/{projectId}/velocity`

## Request

- Base URL: `https://hiveship.app/api`
- URL: `https://hiveship.app/api/api/workspaces/{workspaceId}/projects/{projectId}/velocity`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `hiveship_access`
  - HTTP bearer

## Path parameters

- `workspaceId` string, required
- `projectId` string, required

## Response `200`

Per-sprint completion rows + `usesPoints` toggle for the chart axis

- object
  - `success` boolean, required
  - `data` object, required
    - `sprints` object[], required
      - `sprintId` string, cuid, required
      - `sprintName` string, required
      - `startDate` string, date-time, nullable, required
      - `endDate` string, date-time, nullable, required
      - `status` 'PLANNING' | 'ACTIVE' | 'COMPLETED', required
      - `completedIssues` integer, required
      - `completedPoints` integer, required
      - `agentCompletedIssues` integer, required
      - `humanCompletedIssues` integer, required
    - `usesPoints` boolean, required
    - `recentAvgVelocity` number, nullable, required
    - `priorAvgVelocity` number, nullable, required
    - `comparisonSprintCount` integer, nullable, required
    - `emptyReason` 'no_sprints' | 'too_few_completed', nullable, required

## Other responses

- `403`: Plan does not include insights, or caller lacks OWNER/ADMIN role (PLAT-105; agents keep read access)
- `404`: Project not found

---

[API](https://skmtc.dev/hiveship/apis/hiveship-api.md) · [All operations](https://skmtc.dev/hiveship/apis/hiveship-api/llms.txt) · [OpenAPI document](https://skmtc.dev/hiveship/apis/hiveship-api/revisions/73d3e26544e4?raw)
