Get Demand Config
https://app.untetherlabs.com/api/v1/forecasting/demand-config/{teamId}Get a team's demand configuration: for each role, the extra columns POST /v1/forecasting/demand accepts and the values each allows.
- An axis with
mode: "column"is an upload column.columnis its CSV header or JSON key, andvaluesare the values a cell accepts, matched exactly. An empty cell means any value. - An axis with
mode: "ratio"is a fixed split of the role's demand across the values of a licensed-region skill, used when demand is filtered by region. It is not an upload column.
roleAxis is how the team's demand maps to its roles.
Path parameters#
teamIduuidThe id of a team.
Response 200#
teamIduuidThe team.
roleAxisone ofThe team's role axis.
Option 1 — RoleAxisColumn
modeenum- column
Option 2 — RoleAxisNotUsed
modeenum- not_used
Option 3 — RoleAxisRatio
modeenum- ratio
ratiosobjectThe fraction of the team total each role receives, keyed by role id. Every key must be a role of this team and the fractions must sum to 1.
Show values
<key>number· min 0 · max 1rolesDemandConfigRole[]Every role of the team, by name.
Show DemandConfigRole properties
roleIduuidThe role, as the role column of an upload names it.
roleNamestringThe name of the role.
axesSkillAxis[]The role's skill axes. Empty when its demand is not broken down by any skill.
Option 1 — SkillAxisColumn
skillIduuidThe skill the axis breaks demand down by.
skillNamestringThe name of that skill.
modeenum- column
columnstringThe CSV column (or JSON key) that carries this skill in an upload for the role.
valuesstring[]The values a cell in the column may hold, matched exactly.
Option 2 — SkillAxisRatio
skillIduuidThe skill the axis breaks demand down by.
skillNamestringThe name of that skill.
modeenum- ratio
ratiosobjectThe fraction of the role's demand in each of the skill's values, keyed by value. Every key must be one of the skill's values and the fractions must sum to 1.
Show values
<key>number· min 0 · max 1Errors#
A specified team does not exist in the system.