---
title: "Workspace attention snapshot — stale issues, unassigned open issues, and open PRs (what needs a human)"
method: GET
path: "/api/workspaces/{workspaceId}/insights/attention"
tags: ["Insights"]
---

# Workspace attention snapshot — stale issues, unassigned open issues, and open PRs (what needs a human)

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

## Request

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

Right-now counts of work that needs attention

- object
  - `success` boolean, required
  - `data` object, required
    - `staleIssueCount` integer, required
    - `unassignedIssueCount` integer, required
    - `highPriorityIssueCount` integer, required
    - `openPrCount` integer, required
    - `staleThresholdDays` integer, required
    - `staleBefore` string, required
    - `emptyReason` 'no_projects', 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)
