Count unread insights
luca_insights_unread_countRetrieve the number of insights a coach has not read yet, so you can poll for new activity before loading the full feed.
Instructions
How many insights the coach has not read yet. Cheap enough to poll before pulling the whole feed.
Luca operation: GET /api/insights/unread-count Required scopes: analytics:read Required OAuth scope: luca:read; data sensitivity: redacted Does not require idempotency. Use workspaceId or workspaceSlug to override the default workspace configured by environment.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspaceId | No | Optional Luca workspace id override. | |
| workspaceSlug | No | Optional Luca workspace slug override. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |