AI trend flags — individual + department score shifts.
GET
/summaries/insights/trends
const url = 'https://api.gospl.example/v1/summaries/insights/trends?scope=individual';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://api.gospl.example/v1/summaries/insights/trends?scope=individual' \ --header 'Authorization: Bearer <token>'Statistically notable changes (FR-29), surfaced to managers (FR-30) and at department level (FR-31); dashboard data for senior leadership/People Team (FR-32). Threshold is configurable (Q3). Numeric stats — no embeddings. Scoped to the caller’s visibility.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ” scope
string
Responses
Section titled “ Responses ”OK
Media type application/json
Array<object>
object
Example
[ { "scope": "individual", "dimension": "quality_of_work", "direction": "up" }]Missing/invalid credentials.
Media type application/json
object
code
required
string
message
required
string
Example generated
{ "code": "example", "message": "example"}Authenticated but not permitted (incl. out-of-chain, cross-tenant).
Media type application/json
object
code
required
string
message
required
string
Example generated
{ "code": "example", "message": "example"}