# Attention

> The Attention operations of the Hub REST API (2 operations).

URL: https://docs.synap.live/docs/reference/hub-api/attention · Generated from Synap-core/backend@c31e261ab (main)

Paths are relative to `/api/hub` on a pod.

## GET /attention/needs-you

What needs you ON a kind's things

The needs-you rows narrowed to the things of `profileSlug` (`signals.list({ lens: 'needs-you', profileSlug })`).

Parameters:

| Name | In | Type | Required | Description |
|---|---|---|---|---|
| `profileSlug` | query | string | yes |  |
| `workspaceId` | query | string |  |  |
| `projectId` | query | string |  |  |
| `trackId` | query | string |  |  |
| `limit` | query | integer |  |  |

Responses:

- `200`: Signals
- `400`: Bad request
- `403`: Forbidden
- `404`: Unknown kind / track
- `412`: The kind declares no lifecycle
- `500`: Internal error

## GET /attention/count

The needs-you number ON a kind's things

`signals.count({ profileSlug })` — the number with its parts (decisions, notifications, blocked, review).

Parameters:

| Name | In | Type | Required | Description |
|---|---|---|---|---|
| `profileSlug` | query | string | yes |  |
| `workspaceId` | query | string |  |  |
| `projectId` | query | string |  |  |
| `trackId` | query | string |  |  |
| `limit` | query | integer |  |  |

Responses:

- `200`: Count
- `400`: Bad request
- `403`: Forbidden
- `404`: Unknown kind / track
- `412`: The kind declares no lifecycle
- `500`: Internal error
