Skip to content
GitHub
Try the demo

Planning

Read Workload

GET
/planning/people/{person_id}/workload
curl --request GET \
--url 'http://localhost:3000/api/v1/planning/people/example/workload?weeks=12' \
--header 'Authorization: Bearer <token>'

A person’s stages per week, from the Monday of from, as Settings shows them. A stage on a board the key does not reach keeps only its dates.

person_id
required
Person Id
string
from
From
Any of:
string format: date
weeks
Weeks
integer
default: 12 >= 1 <= 26

Successful Response

Media typeapplication/json
WorkloadOut
object
person
required
Named
object
id
required
Id
string
name
required
Name
Any of:
string
weeks
required
Weeks
Array<object>
WorkloadWeek
object
start
required
Start
string format: date
stages
required
Stages
integer
overlap
required
Overlap
boolean
off
required
Off
boolean
stages
required
Stages
Array<object>
StageLoad
object
board
required
Board
Any of:
string
board_name
required
Board Name
Any of:
string
row
required
Row
Any of:
string
type
required
Any of:
Named
object
id
required
Id
string
name
required
Name
Any of:
string
start
required
Start
string format: date
end
required
End
string format: date

Example generated

{
"person": {
"id": "example",
"name": "example"
},
"weeks": [
{
"start": "2026-04-15",
"stages": 1,
"overlap": true,
"off": true
}
],
"stages": [
{
"board": "example",
"board_name": "example",
"row": "example",
"type": {
"id": "example",
"name": "example"
},
"start": "2026-04-15",
"end": "2026-04-15"
}
]
}

No key, or a key that stopped working

Media typeapplication/json
Error

Every error of v1; clients must ignore codes they do not know.

object
error
required
ErrorDetail
object
code
required
Code
string
message
required
Message
string

Example generated

{
"error": {
"code": "example",
"message": "example"
}
}

The key may not do this, or keys are switched off

Media typeapplication/json
Error

Every error of v1; clients must ignore codes they do not know.

object
error
required
ErrorDetail
object
code
required
Code
string
message
required
Message
string

Example generated

{
"error": {
"code": "example",
"message": "example"
}
}

Not found, or not among what the key reaches

Media typeapplication/json
Error

Every error of v1; clients must ignore codes they do not know.

object
error
required
ErrorDetail
object
code
required
Code
string
message
required
Message
string

Example generated

{
"error": {
"code": "example",
"message": "example"
}
}

The request does not match the schema

Media typeapplication/json
Error

Every error of v1; clients must ignore codes they do not know.

object
error
required
ErrorDetail
object
code
required
Code
string
message
required
Message
string

Example generated

{
"error": {
"code": "example",
"message": "example"
}
}

Over a budget; see Retry-After

Media typeapplication/json
Error

Every error of v1; clients must ignore codes they do not know.

object
error
required
ErrorDetail
object
code
required
Code
string
message
required
Message
string

Example generated

{
"error": {
"code": "example",
"message": "example"
}
}