---
title: "Workspace agent vs human breakdown — completed + in-flight + active-contributor counts"
method: GET
path: "/api/workspaces/{workspaceId}/insights/agent-share"
tags: ["Insights"]
---

# Workspace agent vs human breakdown — completed + in-flight + active-contributor counts

`GET /api/workspaces/{workspaceId}/insights/agent-share`

## Request

- Base URL: `https://hiveship.app/api`
- URL: `https://hiveship.app/api/api/workspaces/{workspaceId}/insights/agent-share`
- 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`

The differentiator chart — what fraction of work is agent-shipped, how many contributors of each kind

- object
  - `success` boolean, required
  - `data` object, required
    - `completedTotal` integer, required
    - `completedAgent` integer, required
    - `completedHuman` integer, required
    - `inProgressAgent` integer, required
    - `inProgressHuman` integer, required
    - `activeAgentCount` integer, required
    - `activeHumanCount` integer, required
    - `windowStart` string, required
    - `windowEnd` string, required
    - `priorCompletedTotal` integer, nullable, required
    - `priorCompletedAgent` integer, nullable, required
    - `priorCompletedHuman` integer, nullable, required
    - `priorWindowStart` string, nullable, required
    - `priorWindowEnd` string, nullable, required
    - `trendBuckets` object[], required
      - `weekStart` string, required
      - `agentPct` number, required
      - `total` integer, 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)
