Three-column board (Previous / This / Next) for a user.
GET
/goals/board
const url = 'https://api.gospl.example/v1/goals/board';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/board \ --header 'Authorization: Bearer <token>'Defaults to the caller. userId lets a permitted manager view a direct report (US-006); 403 if the caller isn’t permitted by the reporting-line graph (G3). Columns derived from the current week (G2); within each, Professional before Personal.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ” userId
string format: uuid
Defaults to the caller. Manager access gated by reporting line.
Responses
Section titled “ Responses ”OK
Media type application/json
object
owner
required
object
id
required
string format: uuid
name
required
string
team
string
viewerIsOwner
boolean
previous
required
object
week
required
string
readOnly
boolean
professional
required
Array<object>
object
id
required
string format: uuid
title
required
string
description
string
type
required
string
status
required
string
weekStart
required
Anchors the goal to a week (G2).
string format: date
dateSet
required
string format: date-time
dateCompleted
string format: date-time
personal
required
Array<object>
object
id
required
string format: uuid
title
required
string
description
string
type
required
string
status
required
string
weekStart
required
Anchors the goal to a week (G2).
string format: date
dateSet
required
string format: date-time
dateCompleted
string format: date-time
this
required
object
week
required
string
readOnly
boolean
professional
required
Array<object>
object
id
required
string format: uuid
title
required
string
description
string
type
required
string
status
required
string
weekStart
required
Anchors the goal to a week (G2).
string format: date
dateSet
required
string format: date-time
dateCompleted
string format: date-time
personal
required
Array<object>
object
id
required
string format: uuid
title
required
string
description
string
type
required
string
status
required
string
weekStart
required
Anchors the goal to a week (G2).
string format: date
dateSet
required
string format: date-time
dateCompleted
string format: date-time
next
required
object
week
required
string
readOnly
boolean
professional
required
Array<object>
object
id
required
string format: uuid
title
required
string
description
string
type
required
string
status
required
string
weekStart
required
Anchors the goal to a week (G2).
string format: date
dateSet
required
string format: date-time
dateCompleted
string format: date-time
personal
required
Array<object>
object
id
required
string format: uuid
title
required
string
description
string
type
required
string
status
required
string
weekStart
required
Anchors the goal to a week (G2).
string format: date
dateSet
required
string format: date-time
dateCompleted
string format: date-time
Example
{ "previous": { "week": "previous", "professional": [ { "type": "professional", "status": "active" } ], "personal": [ { "type": "professional", "status": "active" } ] }, "this": { "week": "previous", "professional": [ { "type": "professional", "status": "active" } ], "personal": [ { "type": "professional", "status": "active" } ] }, "next": { "week": "previous", "professional": [ { "type": "professional", "status": "active" } ], "personal": [ { "type": "professional", "status": "active" } ] }}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"}