Lightweight v1 AI flags — repeated goals + goal drift.
GET
/goals/reports/flags
const url = 'https://api.gospl.example/v1/goals/reports/flags';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/goals/reports/flags \ --header 'Authorization: Bearer <token>'FR-24 repeated (same/near-identical goal 3+ consecutive weeks; G4 defines “near-identical”). FR-25 drift (sets but doesn’t complete over a rolling period; OQ-03 threshold). Scoped to the caller’s visibility.
Authorizations
Section titled “Authorizations ”Responses
Section titled “ Responses ”OK
Media type application/json
Array<object>
object
kind
required
string
user
required
object
id
required
string format: uuid
name
required
string
team
string
detail
string
Example
[ { "kind": "repeated_goal" }]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. cross-tenant, out-of-chain).
Media type application/json
object
code
required
string
message
required
string
Example generated
{ "code": "example", "message": "example"}