Menu QaldyDocs

Hours saved

How the hours-saved figure is calculated, and the overrides an admin can set. 2 routes, from the API’s own OpenAPI document.

2 routes. Every path starts at https://cloud-api.qaldy.com. Sign-in, tokens, errors and limits are on the overview.

Routes

MethodPathWhat it does
GET/​v1/​workspaces/​{ws}/​roiHours saved this year, with the formula rows
PUT/​v1/​workspaces/​{ws}/​roi/​overridesEdit an app's manual minutes per run (admins)

Reference

GET /v1/workspaces/{ws}/roi

Hours saved this year, with the formula rows.

  • Authentication: the console’s session cookie.
  • Token: a personal access token or an MCP sign-in with the read scope.
  • Who: member
ParameterInTypeRequiredNotes
wspathstringyes1 to 128 characters

Response 200

FieldTypeRequiredNotes
period"year"yes
hoursSavednumberyesat least 0
runsintegeryesat least 0
moneySavedMinorintegeryesat least 0
hourlyCostMinorintegeryesat least 0
currency"EUR" · "USD" · "KZT"yes
treesintegeryesat least 0
rowsobject[]yes
rows[].appIdstringyesat least 1 characters
rows[].appNamestringyesat least 1 characters
rows[].runsintegeryesat least 0
rows[].manualMinutesPerRunnumberyesat least 0
rows[].minutesnumberyesat least 0
rows[].hoursnumberyesat least 0
rows[].overriddenbooleanyes
rows[].demoBaselineRunsintegerat least 0. default 0

Errors: 400, 401, 403, 404, 409, 429 (the error format is on the overview).

PUT /v1/workspaces/{ws}/roi/overrides

Edit an app's manual minutes per run (admins).

  • Authentication: the console’s session cookie.
  • Token: not available. This route is for a signed-in person in the console (403 console_only for a token).
  • Who: admin
ParameterInTypeRequiredNotes
wspathstringyes1 to 128 characters

Request body (application/json)

FieldTypeRequiredNotes
appIdstringyesat least 1 characters
manualMinutesPerRunnumberyes0 to 1440

Response 200

FieldTypeRequiredNotes
period"year"yes
hoursSavednumberyesat least 0
runsintegeryesat least 0
moneySavedMinorintegeryesat least 0
hourlyCostMinorintegeryesat least 0
currency"EUR" · "USD" · "KZT"yes
treesintegeryesat least 0
rowsobject[]yes
rows[].appIdstringyesat least 1 characters
rows[].appNamestringyesat least 1 characters
rows[].runsintegeryesat least 0
rows[].manualMinutesPerRunnumberyesat least 0
rows[].minutesnumberyesat least 0
rows[].hoursnumberyesat least 0
rows[].overriddenbooleanyes
rows[].demoBaselineRunsintegerat least 0. default 0

Errors: 400, 401, 403, 404, 409, 429 (the error format is on the overview).

Type to search. Up and down to choose, Enter to open, Esc to close.