Menu QaldyDocs

builder

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}/​builderThe AI builder: its state, this month’s spend and the ledger (admins)
PUT/​v1/​workspaces/​{ws}/​builderPause the AI builder, or lower the workspace’s monthly budget (admins)

Reference

GET /v1/workspaces/{ws}/builder

The AI builder: its state, this month’s spend and the ledger (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, a person in the console (a token is not on the allow-list)
ParameterInTypeRequiredNotes
wspathstringyes1 to 128 characters

Response 200

FieldTypeRequiredNotes
state"on" · "paused" · "workspace_budget" · "platform_budget" · "kill_switch" · "profile" · "not_enabled"yes
monthstringyes
resetsAtstring (date-time)yes
spentUsdnumberyesat least 0
capUsdnumberyesat least 0
defaultCapUsdnumberyesat least 0
perBuildCapUsdnumberyesat least 0
ownCapbooleanyes
pausedbooleanyes
operationsintegeryesat least 0
ledgerobject[]yesup to 100 items
ledger[].idstringyes
ledger[].atstring (date-time)yes
ledger[].kind"plan" · "build" · "edit-plan" · "edit"yes
ledger[].userIdstring or nullyes
ledger[].userNamestring or nullyes
ledger[].appIdstring or nullyes
ledger[].appNamestring or nullyes
ledger[].modelstringyes
ledger[].callsintegeryesat least 1
ledger[].tokensobjectyes
ledger[].costUsdnumberyesat least 0
ledger[].capReachedbooleanyes
ledgerTruncatedbooleanyes

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

PUT /v1/workspaces/{ws}/builder

Pause the AI builder, or lower the workspace’s monthly budget (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, a person in the console (a token is refused)
ParameterInTypeRequiredNotes
wspathstringyes1 to 128 characters

Request body (application/json)

FieldTypeRequiredNotes
pausedboolean
monthlyCapUsdnumber or null0 to 1000

Response 200

FieldTypeRequiredNotes
state"on" · "paused" · "workspace_budget" · "platform_budget" · "kill_switch" · "profile" · "not_enabled"yes
monthstringyes
resetsAtstring (date-time)yes
spentUsdnumberyesat least 0
capUsdnumberyesat least 0
defaultCapUsdnumberyesat least 0
perBuildCapUsdnumberyesat least 0
ownCapbooleanyes
pausedbooleanyes
operationsintegeryesat least 0
ledgerobject[]yesup to 100 items
ledger[].idstringyes
ledger[].atstring (date-time)yes
ledger[].kind"plan" · "build" · "edit-plan" · "edit"yes
ledger[].userIdstring or nullyes
ledger[].userNamestring or nullyes
ledger[].appIdstring or nullyes
ledger[].appNamestring or nullyes
ledger[].modelstringyes
ledger[].callsintegeryesat least 1
ledger[].tokensobjectyes
ledger[].costUsdnumberyesat least 0
ledger[].capReachedbooleanyes
ledgerTruncatedbooleanyes

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.