Skip to content

UModel Web UI API Map

中文:Web UI API 对照

The web UI maps each screen to the public REST contract below.

UI screenOperationREST APIRequest body
Workspace chooserHealthGET /healthznone
Workspace chooserList workspacesGET /api/v1/workspaces?page_size=100&include_conflicts=truenone
Workspace chooserCreate workspacePOST /api/v1/workspacesCreateWorkspaceRequest
Workspace shellLoad selected workspaceGET /api/v1/workspaces/{workspace}none
SettingsUpdate workspacePUT /api/v1/workspaces/{workspace}UpdateWorkspaceRequest
SettingsDelete workspaceDELETE /api/v1/workspaces/{workspace}none
ExplorerLoad model graph/tablePOST /api/v1/query/{workspace}/execute`{"query": ".umodel
Explorer detailValidate element JSONPOST /api/v1/umodel/{workspace}/validate{"elements": [UModelElement]}
Explorer detailSave element JSONPOST /api/v1/umodel/{workspace}/elements{"elements": [UModelElement]}
Explorer detailDelete elementDELETE /api/v1/umodel/{workspace}/elements{"ids": ["element-id"]}
Query consoleExecute SPLPOST /api/v1/query/{workspace}/executeQueryRequest
Query consoleExplain SPLPOST /api/v1/query/{workspace}/explainQueryRequest
Data StoreEntity searchPOST /api/v1/query/{workspace}/execute.entity ... QueryRequest
Data StoreTopology queryPOST /api/v1/query/{workspace}/execute.topo ... QueryRequest
ImportsImport server pathPOST /api/v1/umodel/{workspace}/importUModelImportRequest
ImportsImport bundled quickstart samplePOST /api/v1/samples/{workspace}/multi-domain-quickstart:importnone
ImportsValidate UModel JSONPOST /api/v1/umodel/{workspace}/validate{"elements": [...]}
ImportsPut UModel JSONPOST /api/v1/umodel/{workspace}/elements{"elements": [...]}
ImportsWrite entitiesPOST /api/v1/entitystore/{workspace}/entities:writeEntityWriteBatch
ImportsWrite relationsPOST /api/v1/entitystore/{workspace}/relations:writeRelationWriteBatch
ImportsExpire entitiesPOST /api/v1/entitystore/{workspace}/entities:expireExpireRequest
ImportsExpire relationsPOST /api/v1/entitystore/{workspace}/relations:expireExpireRequest
AgentDiscoverGET /api/v1/agent/{workspace}/discovernone
AgentRead resourcePOST /api/v1/agent/{workspace}/resources:read{"uri": "umodel://..."}
AgentExecute toolPOST /api/v1/agent/{workspace}/tools:executeAgentToolCallRequest

API Boundary

  • The UI does not call server internals.
  • The UI does not need a cloud tenant, account, region, or Aliyun-specific frontend dependency.
  • The graph/table model view is derived from Query Service rows rather than a private snapshot endpoint.
  • UModel forms are JSON-only in the open-source UI. Future schema-aware editors can be added behind the same validate and elements APIs.

Released under the Apache-2.0 License.