Menu QaldyDocs

Workspace snapshot

Everything the City draws for a workspace: apps, automations, gates, runs and people, and the version of that snapshot. 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
POST/​v1/​workspaces/​{ws}/​roadsDraw a road (automation): from a gate or app, through apps (via), to a gate or app, with its trigger settings
GET/​v1/​workspaces/​{ws}/​worldThe City: WorldSnapshot of a workspace, filtered to apps you can view

Reference

POST /v1/workspaces/{ws}/roads

Draw a road (automation): from a gate or app, through apps (via), to a gate or app, with its trigger settings.

  • 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: builder or above, and can_edit on every app it stops at
ParameterInTypeRequiredNotes
wspathstringyes1 to 128 characters

Request body (application/json)

FieldTypeRequiredNotes
namestringyes1 to 60 characters
fromobjectyes
from.kind"gate" · "building"yes
from.idstringyesat least 1 characters
toobjectyes
to.kind"gate" · "building"yes
to.idstringyesat least 1 characters
trigger"schedule" · "webhook" · "form" · "manual" · "event"yes
viaobject[]up to 6 items
via[].kind"gate" · "building"yes
via[].idstringyesat least 1 characters
triggerConfigobject

Response 200

FieldTypeRequiredNotes
idstringyesat least 1 characters
namestringyesat least 1 characters
fromobjectyes
from.kind"gate" · "building"yes
from.idstringyesat least 1 characters
toobjectyes
to.kind"gate" · "building"yes
to.idstringyesat least 1 characters
viaobject[]yes
via[].kind"gate" · "building"yes
via[].idstringyesat least 1 characters
category"interface" · "data" · "messaging" · "money" · "ai" · "time" · "people" · "growth"yes
trigger"schedule" · "webhook" · "form" · "manual" · "event"yes
status"active" · "paused" · "failing"yes
pathobject[] or nullyes
path[].xintegeryesat least 0
path[].yintegeryesat least 0

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

GET /v1/workspaces/{ws}/world

The City: WorldSnapshot of a workspace, filtered to apps you can view.

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

Response 200

FieldTypeRequiredNotes
version1yes
seqintegeryesat least 0
generatedAtstring (date-time)yes
demobooleanyes
workspaceobjectyes
workspace.idstringyesat least 1 characters
workspace.slugstringyesat least 1 characters
workspace.namestringyesat least 1 characters
workspace.profile"global" · "eu" · "kz-standard" · "kz-strict"yes
workspace.cell"global" · "eu" · "kz"yes
workspace.locale"en" · "ru" · "kk"yes
workspace.timezonestringyesat least 1 characters
workspace.hourlyCostMinorintegeryesat least 0
workspace.currency"EUR" · "USD" · "KZT"yes
workspace.memberCountintegeryesat least 0
islandobjectyes
island.widthintegeryes6 to 64
island.heightintegeryes6 to 64
districtsobject[]yes
districts[].idstringyesat least 1 characters
districts[].namestringyesat least 1 characters
districts[].kind"team" · "purpose"yes
gatesobject[]yes
gates[].idstringyesat least 1 characters
gates[].connectorId"shop" · "stripe" · "gmail" · "telegram" · "sheets" · "slack" · "kaspi" · "1c" · …yes
gates[].displayNamestringyesat least 1 characters
gates[].status"connected" · "expired" · "error" · "disconnected"yes
gates[].side"north" · "east" · "south" · "west"yes
gates[].plotobject or nullyes
buildingsobject[]yes

…and 34 more fields. The full schema is in openapi.json.

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.