---
title: "Workspace throughput per week — completed-issue series with the agent/human split"
method: GET
path: "/api/workspaces/{workspaceId}/insights/throughput"
tags: ["Insights"]
---

# Workspace throughput per week — completed-issue series with the agent/human split

`GET /api/workspaces/{workspaceId}/insights/throughput`

## Request

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

## Path parameters

- `workspaceId` string, required

## Query parameters

- `from` string
- `to` string
- `projectIds` string
- `priorities` string
- `assigneeIds` string
- `labelIds` string

## Response `200`

Per-week completion totals across all projects in the workspace

- object
  - `success` boolean, required
  - `data` object, required
    - `weeks` object[], required
      - `weekStart` string, required
      - `agentCompleted` integer, required
      - `humanCompleted` integer, required
    - `totalAgent` integer, required
    - `totalHuman` integer, required
    - `windowStart` string, required
    - `windowEnd` string, required
    - `emptyReason` 'no_projects' | 'too_few_completed', nullable, required

## Other responses

- `403`: Plan does not include insights, or caller lacks OWNER/ADMIN role (PLAT-105)

---

[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)
