跳至主要内容

Workspace Runtime API

Workspace Runtime API 提供每個 workspace 內的 AI Chat thread、Agent 執行、檔案操作與即時事件能力。Claude Code、Codex 與 OpenCode 都透過同一套多 Agent runtime 介面運作。

互動式文件​

  • Swagger UI:/workspaces/{workspaceId}/runtime/docs
  • ReDoc:/workspaces/{workspaceId}/runtime/redoc
備註

每個 Workspace 都有獨立的 Runtime instance 與 revision。先透過 Manager 啟動 Workspace,再從目前 Platform Public Origin 使用 /workspaces/{workspaceId}/runtime/...;瀏覽器不接收 Runtime host 或 port。

Base URL​

/workspaces/{workspaceId}/runtime

Runtime access gate​

除精確 public health 與 signed internal route 外,Runtime 只接受 Manager 簽發、audience 為 workspace-runtime 的 Workspace Execution Access Grant。Runtime 在本地使用 public JWKS 驗證簽章、固定 60 秒 TTL、token kind、明確 action、workspaceId、runtimeInstanceId 與 runtimeAccessRevision;任一欄位不符都 fail closed。一般 Runtime action 不以 KB mount revision 作為全域 gate;只有 /knowledge 與掛載管理操作會明確檢查 KB mount 狀態。

路徑/方法Action
一般GET/HEADruntime_read
一般寫入方法runtime_write
Claude/Codex/OpenCode raw settings 與 MCP env/headersworkspace_settings
Thread REST(讀取與 mutation)及 agent sessionagent
Thread events WebSocket handshakeruntime_read
Automationautomation
Client Browser Relaybrowser_automation

每個 action 會映射到中央 Workspace OperationId。Reader 只能進入安全 read projection;runtime_write、workspace_settings、terminal、agent、automation 與 browser_automation 需要 Manager、Owner 或 Platform Admin。完整規則與 403/423 語意請參考 使用者、群組與權限。

Runtime 依封閉的 route × method inventory 分類 action。敏感精確 route 與敏感 wildcard 優先於一般 mutation/read;未知或同時命中多個 family、Manager timeout 或驗證失敗時,Runtime 會在呼叫 upstream 前 fail closed。Runtime URL 只提供定位,不是授權憑證,每次請求都重新驗證。

Frontend 先使用 opaque Manager session 向 POST /api/v1/workspaces/{workspaceId}/execution-grants 申請 Grant;Manager 對每個 action 完成授權後才簽發。Runtime 不接觸 external OIDC token,也不逐 request 回呼 Manager。 Execution Grant 在 TTL 內可重複使用;Manager→Runtime 內部命令與 pairing 則使用不同 token kind、audience、verifier 與 one-time replay state。兩條 interface 都不接受前端傳入 角色作為授權依據。

Direct/group share 變更、群組成員變更、帳號停用、Owner 重新指派、Platform Admin 降權 及 Public KB 改回 Private 時,Manager 會提升 runtime access revision。舊 Grant 因 revision fence 失效;cached Runtime URL 或未過期但 revision 過舊的 Grant 都不能繞過驗證。

主要端點​

健康檢查​

GET /health

檔案管理​

Method路徑說明
GET/api/v1/files/tree取得目錄樹
GET/api/v1/files/tree/children延遲載入子節點
GET/api/v1/files/search搜尋檔案
GET/PUT/api/v1/files/content讀取/寫入單一檔案內容
POST/api/v1/files/content/batch批次寫入多個檔案內容
GET/api/v1/files/download下載檔案
POST/DELETE/api/v1/files建立/刪除檔案或資料夾
POST/api/v1/files/upload上傳檔案
POST/api/v1/files/copy複製檔案或資料夾
POST/api/v1/files/move搬移或重新命名
POST/api/v1/files/batch-delete批次刪除
POST/GET/api/v1/files/archive、/api/v1/files/archive/{operation_id}建立壓縮任務並查詢進度
GET/api/v1/files/archive/{operation_id}/download下載完成的 ZIP
POST/GET/api/v1/files/extract、/api/v1/files/extract/{operation_id}建立解壓任務並查詢進度
GET/api/v1/files/history檔案異動歷史
POST/api/v1/files/history/{entry_id}/restore還原指定歷史版本

Agent 與 CLI 設定​

這組設定 API 管理 workspace 內的 agent 設定,涵蓋 Claude Code、Codex、OpenCode 的 rules、hooks、MCP、skills、slash commands 與 subagents 等資源。

Method路徑說明
GET/api/v1/workspaces/{workspace_id}/claude-code/settings取得 Claude Code settings
PUT/api/v1/workspaces/{workspace_id}/claude-code/settings更新 Claude Code settings
GET/api/v1/workspaces/{workspace_id}/codex取得 Codex 設定能力
GET/PUT/api/v1/workspaces/{workspace_id}/codex/config取得/更新 Codex config
GET/api/v1/workspaces/{workspace_id}/{tool}/mcp-servers取得 MCP server 設定
PUT/api/v1/workspaces/{workspace_id}/{tool}/mcp-servers/{scope}/{server_name}更新 MCP server
GET/api/v1/workspaces/{workspace_id}/{tool}/skills/tree取得 skills 檔案樹
GET/api/v1/workspaces/{workspace_id}/{tool}/slash-commands列出 slash commands
GET/api/v1/workspaces/{workspace_id}/cli-settings/{tool}/prompt-invocations取得可直接送出的 Commands 與 Skills invocation catalog

tool 使用 claude-code、codex 或 opencode;各 provider 支援的 scope 與可寫資源 不同,完整 request/response schema 以目前 Runtime OpenAPI 為準。

Prompt invocation catalog 是 AI Chat 與 Automation 共用的唯讀契約。Runtime 會依指定工具 聚合 Commands 與 Skills,並回傳已格式化的 invocation、穩定項目 ID、可用 scope、內容 revision 與來源錯誤。部分來源失敗時回傳 200 與 completeness: degraded;所有來源都 無法讀取時回傳 503。Runtime 每次請求都重新驗證來源,不沿用來源清單快取;Prompt Invocation Picker 每次開啟都重新載入 catalog,且 Picker 消費端原樣使用 Runtime 回傳的 invocation,不自行拼接命令格式。

Raw settings、MCP environment variables、HTTP headers、API key 與 token 都屬敏感設定,讀寫一律使用 workspace_settings action;一般 runtime_read 或 agent action 不能讀取這些值。

AI Chat Threads​

Thread metadata 與 history 分離;history 只使用 Message Item timeline。完整機制請見 AI Chat 前後端架構。

Method路徑說明
GET/api/v1/threads列出 threads
POST/api/v1/threads/draft建立 draft thread
GET/api/v1/threads/{thread_id}取得 thread 詳情
PATCH/api/v1/threads/{thread_id}/draft更新 draft
POST/api/v1/threads/{thread_id}/submit送出 draft 並啟動 agent
POST/api/v1/threads/{thread_id}/messages追加訊息
GET/api/v1/threads/{thread_id}/timeline以 beforeSequence 讀取 Message Item history
POST/api/v1/threads/{thread_id}/timeline/items/batch-get批次刷新最多 200 個已知 timeline items
GET/api/v1/threads/{thread_id}/messages/{message_id}/tool-result依需要讀取完整 tool result
POST/api/v1/threads/{thread_id}/questions/{message_id}/answer回答互動式問題
POST/api/v1/threads/{thread_id}/stop停止目前 Turn;有排隊訊息時接續下一則,否則 thread 結束為 canceled
POST/api/v1/threads/{thread_id}/retry重試 thread
POST/api/v1/threads/{thread_id}/archive封存 thread
GET/api/v1/threads/{thread_id}/attachments列出附件
POST/api/v1/threads/{thread_id}/attachments上傳附件

版本控制(Git)​

Method路徑說明
GET/api/v1/workspaces/{id}/version-control/statusGit status
GET/api/v1/workspaces/{id}/version-control/changesGit changes
POST/api/v1/workspaces/{id}/version-control/changes/numstat查詢 changes numstat
GET/api/v1/workspaces/{id}/version-control/commitsGit commits
GET/api/v1/workspaces/{id}/version-control/commits/{commit_id}Commit 詳情
GET/api/v1/workspaces/{id}/version-control/commits/{commit_id}/filesCommit 檔案清單
GET/api/v1/workspaces/{id}/version-control/diffGit diff
GET/api/v1/workspaces/{id}/version-control/blob讀取 Git blob
POST/api/v1/workspaces/{id}/version-control/stageStage changes
POST/api/v1/workspaces/{id}/version-control/unstageUnstage changes
POST/api/v1/workspaces/{id}/version-control/discardDiscard changes
POST/api/v1/workspaces/{id}/version-control/commitCommit
POST/api/v1/workspaces/{id}/version-control/pushPush
POST/api/v1/workspaces/{id}/version-control/pullPull
POST/api/v1/workspaces/{id}/version-control/fetchFetch
GET/api/v1/workspaces/{id}/version-control/branches列出分支
POST/api/v1/workspaces/{id}/version-control/branches/{branch_name}/checkout切換或建立分支
GET/api/v1/workspaces/{id}/version-control/operation-status查詢目前 Git operation 狀態
POST/api/v1/workspaces/{id}/version-control/force-unlock強制解除 Git operation lock

WebSocket​

端點說明
WS /api/v1/threads/eventsThread invalidation 與事件通知

Thread WebSocket 連線​

Browser使用和Terminal一致的WebSocket subprotocol credential,不把token寫進URL:

const encodedToken = btoa(token)
.replaceAll('+', '-')
.replaceAll('/', '_')
.replace(/=+$/, '');
const threadEventsUrl = new URL(
`/workspaces/${workspaceId}/runtime/api/v1/threads/events`,
window.location.origin,
);
threadEventsUrl.protocol = window.location.protocol === 'https:' ? 'wss:' : 'ws:';
const ws = new WebSocket(
threadEventsUrl,
['aileron-thread-v1', `bearer.${encodedToken}`],
);

Browser client 只從目前頁面的 Origin 組合固定相對路徑,不接收 Runtime host、port 或 upstream URL。

Runtime只選擇並echo aileron-thread-v1 application protocol,不會把 bearer.<base64url(token)> credential protocol echo給client。非browser caller也可在 upgrade直接設定Authorization: Bearer <token>;同一request只能使用其中一種方式。

Runtime會先驗證token,再以runtime_read檢查current Workspace與instance,通過後才 accept。token/access_token query、internal token、同時使用header與subprotocol、 缺少application protocol、重複或格式錯誤的credential都會以4401fail closed。權限不足 使用4403,Runtime access 或 lifecycle lock 未收斂使用4423,Manager驗證無法完成則使用4503。

Canvas​

Canvas 端點皆掛在 Workspace 底下(/api/v1/workspaces/{workspace_id}/canvas/*),manifest 契約與生命週期請見 Canvas Protocol。

Method路徑說明
GET/api/v1/workspaces/{workspace_id}/canvas/detect偵測 Canvas 專案類型
GET/api/v1/workspaces/{workspace_id}/canvas/routes取得可用路由清單
GET/api/v1/workspaces/{workspace_id}/canvas/healthCanvas dev server 健康檢查
GET/api/v1/workspaces/{workspace_id}/canvas/logs取得 Canvas 執行日誌
POST/api/v1/workspaces/{workspace_id}/canvas/sync同步/啟動 Canvas
POST/api/v1/workspaces/{workspace_id}/canvas/reset重設 Canvas 狀態
GET/POST/api/v1/workspaces/{workspace_id}/canvas/review-notes列出或建立 review note
PATCH/api/v1/workspaces/{workspace_id}/canvas/review-notes/{note_id}/status更新 review note 狀態
POST/api/v1/workspaces/{workspace_id}/canvas/review-notes/{note_id}/replies回覆 review note
DELETE/api/v1/workspaces/{workspace_id}/canvas/review-notes/{note_id}刪除 review note
DELETE/api/v1/workspaces/{workspace_id}/canvas/manifest停用 Canvas manifest

第三方工具整合​

Method路徑說明
POST/api/v1/audio/transcriptions語音轉文字

Client Browser Relay​

供瀏覽器擴充功能與 Runtime 之間中繼 CDP(Chrome DevTools Protocol)連線;權限與 pairing 流程見 Execution-Plane 生命週期與安全機制 — Browser extension pairing 安全。

Method路徑說明
GET/api/v1/client-browser-relay/health健康檢查
GET/api/v1/client-browser-relay查詢 relay 狀態
GET/POST/api/v1/client-browser-relay/pages列出或建立可中繼的頁面
DELETE/api/v1/client-browser-relay/pages/{name}刪除 named page
WS/api/v1/client-browser-relay/cdp、/api/v1/client-browser-relay/cdp/{client_id}CDP client 連線
WS/api/v1/client-browser-relay/extension瀏覽器擴充功能連線
Route templateMethodsAction優先序敏感說明
/api/v1/workspaces/{workspace_id}/claude-code/mcp-servers/{scope}/{server_name}/exportGETworkspace_settings4043是GET /api/v1/workspaces/{workspace_id}/claude-code/mcp-servers/{scope}/{server_name}/export 對應 workspace_settings;敏感路由:是。
/api/v1/workspaces/{workspace_id}/claude-code/mcp-servers/{scope}/{server_name}/togglePATCHworkspace_settings4043是PATCH /api/v1/workspaces/{workspace_id}/claude-code/mcp-servers/{scope}/{server_name}/toggle 對應 workspace_settings;敏感路由:是。
/api/v1/workspaces/{workspace_id}/agent-settings/cache/refreshPOSTworkspace_settings4041是POST /api/v1/workspaces/{workspace_id}/agent-settings/cache/refresh 對應 workspace_settings;敏感路由:是。
/api/v1/workspaces/{workspace_id}/opencode/mcp-servers/{scope}/{server_name}/exportGETworkspace_settings4040是GET /api/v1/workspaces/{workspace_id}/opencode/mcp-servers/{scope}/{server_name}/export 對應 workspace_settings;敏感路由:是。
/api/v1/workspaces/{workspace_id}/opencode/mcp-servers/{scope}/{server_name}/togglePATCHworkspace_settings4040是PATCH /api/v1/workspaces/{workspace_id}/opencode/mcp-servers/{scope}/{server_name}/toggle 對應 workspace_settings;敏感路由:是。
/api/v1/workspaces/{workspace_id}/claude-code/mcp-serversGETworkspace_settings4037是GET /api/v1/workspaces/{workspace_id}/claude-code/mcp-servers 對應 workspace_settings;敏感路由:是。
/api/v1/workspaces/{workspace_id}/claude-code/mcp-servers/{scope}GET, POSTworkspace_settings4037是GET, POST /api/v1/workspaces/{workspace_id}/claude-code/mcp-servers/{scope} 對應 workspace_settings;敏感路由:是。
/api/v1/workspaces/{workspace_id}/claude-code/mcp-servers/{scope}/{server_name}DELETE, GET, PUTworkspace_settings4037是DELETE, GET, PUT /api/v1/workspaces/{workspace_id}/claude-code/mcp-servers/{scope}/{server_name} 對應 workspace_settings;敏感路由:是。
/api/v1/workspaces/{workspace_id}/claude-code/settings/rawGET, PUTworkspace_settings4037是GET, PUT /api/v1/workspaces/{workspace_id}/claude-code/settings/raw 對應 workspace_settings;敏感路由:是。
/api/v1/workspaces/{workspace_id}/codex/mcp-servers/{scope}/{server_name}/exportGETworkspace_settings4037是GET /api/v1/workspaces/{workspace_id}/codex/mcp-servers/{scope}/{server_name}/export 對應 workspace_settings;敏感路由:是。
/api/v1/workspaces/{workspace_id}/codex/mcp-servers/{scope}/{server_name}/togglePATCHworkspace_settings4037是PATCH /api/v1/workspaces/{workspace_id}/codex/mcp-servers/{scope}/{server_name}/toggle 對應 workspace_settings;敏感路由:是。
/api/v1/workspaces/{workspace_id}/claude-code/mcp-importPOSTworkspace_settings4036是POST /api/v1/workspaces/{workspace_id}/claude-code/mcp-import 對應 workspace_settings;敏感路由:是。
/api/v1/workspaces/{workspace_id}/claude-code/settingsGET, PUTworkspace_settings4034是GET, PUT /api/v1/workspaces/{workspace_id}/claude-code/settings 對應 workspace_settings;敏感路由:是。
/api/v1/workspaces/{workspace_id}/opencode/mcp-serversGETworkspace_settings4034是GET /api/v1/workspaces/{workspace_id}/opencode/mcp-servers 對應 workspace_settings;敏感路由:是。
/api/v1/workspaces/{workspace_id}/opencode/mcp-servers/{scope}GET, POSTworkspace_settings4034是GET, POST /api/v1/workspaces/{workspace_id}/opencode/mcp-servers/{scope} 對應 workspace_settings;敏感路由:是。
/api/v1/workspaces/{workspace_id}/opencode/mcp-servers/{scope}/{server_name}DELETE, GET, PUTworkspace_settings4034是DELETE, GET, PUT /api/v1/workspaces/{workspace_id}/opencode/mcp-servers/{scope}/{server_name} 對應 workspace_settings;敏感路由:是。
/api/v1/workspaces/{workspace_id}/opencode/mcp-importPOSTworkspace_settings4033是POST /api/v1/workspaces/{workspace_id}/opencode/mcp-import 對應 workspace_settings;敏感路由:是。
/api/v1/workspaces/{workspace_id}/codex/mcp-serversGETworkspace_settings4031是GET /api/v1/workspaces/{workspace_id}/codex/mcp-servers 對應 workspace_settings;敏感路由:是。
/api/v1/workspaces/{workspace_id}/codex/mcp-servers/{scope}GET, POSTworkspace_settings4031是GET, POST /api/v1/workspaces/{workspace_id}/codex/mcp-servers/{scope} 對應 workspace_settings;敏感路由:是。
/api/v1/workspaces/{workspace_id}/codex/mcp-servers/{scope}/{server_name}DELETE, GET, PUTworkspace_settings4031是DELETE, GET, PUT /api/v1/workspaces/{workspace_id}/codex/mcp-servers/{scope}/{server_name} 對應 workspace_settings;敏感路由:是。
/api/v1/workspaces/{workspace_id}/codex/mcp-importPOSTworkspace_settings4030是POST /api/v1/workspaces/{workspace_id}/codex/mcp-import 對應 workspace_settings;敏感路由:是。
/api/v1/workspaces/{workspace_id}/codex/configGET, PUTworkspace_settings4026是GET, PUT /api/v1/workspaces/{workspace_id}/codex/config 對應 workspace_settings;敏感路由:是。
/api/v1/workspaces/{workspace_id}/codex/config/{section}GET, PUTworkspace_settings4026是GET, PUT /api/v1/workspaces/{workspace_id}/codex/config/{section} 對應 workspace_settings;敏感路由:是。
/api/v1/workspaces/{workspace_id}/codex/plugins/{plugin_id:path}/mcp-servers/{server_id:path}/policyPATCHworkspace_settings3544是PATCH /api/v1/workspaces/{workspace_id}/codex/plugins/{plugin_id:path}/mcp-servers/{server_id:path}/policy 對應 workspace_settings;敏感路由:是。
/api/v1/threads/by-automation-execution/{execution_id}GETagent3035否GET /api/v1/threads/by-automation-execution/{execution_id} 對應 agent;敏感路由:否。
/api/v1/threads/{thread_id}/timeline/items/batch-getPOSTagent3034否POST /api/v1/threads/{thread_id}/timeline/items/batch-get 對應 agent;敏感路由:否。
/api/v1/threads/{thread_id}/messages/{message_id}/tool-resultGETagent3031否GET /api/v1/threads/{thread_id}/messages/{message_id}/tool-result 對應 agent;敏感路由:否。
/api/v1/client-browser-relay/pagesGET, POSTbrowser_automation3030否GET, POST /api/v1/client-browser-relay/pages 對應 browser_automation;敏感路由:否。
/api/v1/client-browser-relay/pages/{name}DELETEbrowser_automation3030否DELETE /api/v1/client-browser-relay/pages/{name} 對應 browser_automation;敏感路由:否。
/api/v1/threads/{thread_id}/questions/{message_id}/answerPOSTagent3027否POST /api/v1/threads/{thread_id}/questions/{message_id}/answer 對應 agent;敏感路由:否。
/api/v1/threads/{thread_id}/queued-messages/{queued_message_id}DELETEagent3027否DELETE /api/v1/threads/{thread_id}/queued-messages/{queued_message_id} 對應 agent;敏感路由:否。
/api/v1/client-browser-relayGETbrowser_automation3025否GET /api/v1/client-browser-relay 對應 browser_automation;敏感路由:否。
/api/v1/audio/transcriptionsPOSTagent3024否POST /api/v1/audio/transcriptions 對應 agent;敏感路由:否。
/api/v1/threads/{thread_id}/attachmentsGET, POSTagent3023否GET, POST /api/v1/threads/{thread_id}/attachments 對應 agent;敏感路由:否。
/api/v1/threads/{thread_id}/attachments/{attachment_id}DELETEagent3023否DELETE /api/v1/threads/{thread_id}/attachments/{attachment_id} 對應 agent;敏感路由:否。
/api/v1/threads/{thread_id}/messagesPOSTagent3020否POST /api/v1/threads/{thread_id}/messages 對應 agent;敏感路由:否。
/api/v1/threads/{thread_id}/timelineGETagent3020否GET /api/v1/threads/{thread_id}/timeline 對應 agent;敏感路由:否。
/api/v1/threads/{thread_id}/archivePOSTagent3019否POST /api/v1/threads/{thread_id}/archive 對應 agent;敏感路由:否。
/api/v1/threads/{thread_id}/submitPOSTagent3018否POST /api/v1/threads/{thread_id}/submit 對應 agent;敏感路由:否。
/api/v1/threads/draftPOSTagent3017否POST /api/v1/threads/draft 對應 agent;敏感路由:否。
/api/v1/threads/{thread_id}/draftPATCHagent3017否PATCH /api/v1/threads/{thread_id}/draft 對應 agent;敏感路由:否。
/api/v1/threads/{thread_id}/retryPOSTagent3017否POST /api/v1/threads/{thread_id}/retry 對應 agent;敏感路由:否。
/api/v1/threads/{thread_id}/stopPOSTagent3016否POST /api/v1/threads/{thread_id}/stop 對應 agent;敏感路由:否。
/api/v1/threadsGETagent3012否GET /api/v1/threads 對應 agent;敏感路由:否。
/api/v1/threads/{thread_id}DELETE, GETagent3012否DELETE, GET /api/v1/threads/{thread_id} 對應 agent;敏感路由:否。
/api/v1/workspaces/{workspace_id}/version-control/conflicts/mark-resolvedPOSTruntime_write2052否POST /api/v1/workspaces/{workspace_id}/version-control/conflicts/mark-resolved 對應 runtime_write;敏感路由:否。
/api/v1/workspaces/{workspace_id}/claude-code/skills/conflicts/preflightPOSTruntime_write2050否POST /api/v1/workspaces/{workspace_id}/claude-code/skills/conflicts/preflight 對應 runtime_write;敏感路由:否。
/api/v1/workspaces/{workspace_id}/claude-code/slash-commands/{scope}/contentDELETE, PUTruntime_write2047否DELETE, PUT /api/v1/workspaces/{workspace_id}/claude-code/slash-commands/{scope}/content 對應 runtime_write;敏感路由:否。
/api/v1/workspaces/{workspace_id}/opencode/skills/conflicts/preflightPOSTruntime_write2047否POST /api/v1/workspaces/{workspace_id}/opencode/skills/conflicts/preflight 對應 runtime_write;敏感路由:否。
/api/v1/workspaces/{workspace_id}/version-control/branches/publishPOSTruntime_write2045否POST /api/v1/workspaces/{workspace_id}/version-control/branches/publish 對應 runtime_write;敏感路由:否。
/api/v1/workspaces/{workspace_id}/version-control/operation/cancelPOSTruntime_write2045否POST /api/v1/workspaces/{workspace_id}/version-control/operation/cancel 對應 runtime_write;敏感路由:否。
/api/v1/workspaces/{workspace_id}/version-control/remote-branchesPOSTruntime_write2045否POST /api/v1/workspaces/{workspace_id}/version-control/remote-branches 對應 runtime_write;敏感路由:否。
/api/v1/workspaces/{workspace_id}/claude-code/skills/batch-deletePOSTruntime_write2044否POST /api/v1/workspaces/{workspace_id}/claude-code/skills/batch-delete 對應 runtime_write;敏感路由:否。
/api/v1/workspaces/{workspace_id}/codex/skills/conflicts/preflightPOSTruntime_write2044否POST /api/v1/workspaces/{workspace_id}/codex/skills/conflicts/preflight 對應 runtime_write;敏感路由:否。
/api/v1/workspaces/{workspace_id}/opencode/slash-commands/{scope}/contentDELETE, PUTruntime_write2044否DELETE, PUT /api/v1/workspaces/{workspace_id}/opencode/slash-commands/{scope}/content 對應 runtime_write;敏感路由:否。
/api/v1/workspaces/{workspace_id}/version-control/branches/createPOSTruntime_write2044否POST /api/v1/workspaces/{workspace_id}/version-control/branches/create 對應 runtime_write;敏感路由:否。
/api/v1/workspaces/{workspace_id}/version-control/branches/deletePOSTruntime_write2044否POST /api/v1/workspaces/{workspace_id}/version-control/branches/delete 對應 runtime_write;敏感路由:否。
/api/v1/workspaces/{workspace_id}/version-control/branches/renamePOSTruntime_write2044否POST /api/v1/workspaces/{workspace_id}/version-control/branches/rename 對應 runtime_write;敏感路由:否。
/api/v1/workspaces/{workspace_id}/version-control/branches/switchPOSTruntime_write2044否POST /api/v1/workspaces/{workspace_id}/version-control/branches/switch 對應 runtime_write;敏感路由:否。
/api/v1/workspaces/{workspace_id}/version-control/changes/numstatPOSTruntime_write2044否POST /api/v1/workspaces/{workspace_id}/version-control/changes/numstat 對應 runtime_write;敏感路由:否。
/api/v1/workspaces/{workspace_id}/version-control/conflicts/abortPOSTruntime_write2044否POST /api/v1/workspaces/{workspace_id}/version-control/conflicts/abort 對應 runtime_write;敏感路由:否。
/api/v1/workspaces/{workspace_id}/version-control/commits/revertPOSTruntime_write2043否POST /api/v1/workspaces/{workspace_id}/version-control/commits/revert 對應 runtime_write;敏感路由:否。
/api/v1/workspaces/{workspace_id}/claude-code/subagents/{scope}/contentDELETE, PUTruntime_write2042否DELETE, PUT /api/v1/workspaces/{workspace_id}/claude-code/subagents/{scope}/content 對應 runtime_write;敏感路由:否。
/api/v1/workspaces/{workspace_id}/version-control/force-unlockPOSTruntime_write2042否POST /api/v1/workspaces/{workspace_id}/version-control/force-unlock 對應 runtime_write;敏感路由:否。
/api/v1/workspaces/{workspace_id}/codex/slash-commands/{scope}/contentDELETE, PUTruntime_write2041否DELETE, PUT /api/v1/workspaces/{workspace_id}/codex/slash-commands/{scope}/content 對應 runtime_write;敏感路由:否。
/api/v1/workspaces/{workspace_id}/opencode/skills/batch-deletePOSTruntime_write2041否POST /api/v1/workspaces/{workspace_id}/opencode/skills/batch-delete 對應 runtime_write;敏感路由:否。
/api/v1/workspaces/{workspace_id}/canvas/review-notes/{note_id}/repliesPOSTruntime_write2040否POST /api/v1/workspaces/{workspace_id}/canvas/review-notes/{note_id}/replies 對應 runtime_write;敏感路由:否。
/api/v1/workspaces/{workspace_id}/claude-code/slash-commands/{scope}POSTruntime_write2040否POST /api/v1/workspaces/{workspace_id}/claude-code/slash-commands/{scope} 對應 runtime_write;敏感路由:否。
/api/v1/workspaces/{workspace_id}/version-control/lfs/convertPOSTruntime_write2040否POST /api/v1/workspaces/{workspace_id}/version-control/lfs/convert 對應 runtime_write;敏感路由:否。
/api/v1/workspaces/{workspace_id}/version-control/lfs/previewPOSTruntime_write2040否POST /api/v1/workspaces/{workspace_id}/version-control/lfs/preview 對應 runtime_write;敏感路由:否。
/api/v1/workspaces/{workspace_id}/canvas/review-notes/{note_id}/statusPATCHruntime_write2039否PATCH /api/v1/workspaces/{workspace_id}/canvas/review-notes/{note_id}/status 對應 runtime_write;敏感路由:否。
/api/v1/workspaces/{workspace_id}/claude-code/memory/{scope}/contentDELETE, PUTruntime_write2039否DELETE, PUT /api/v1/workspaces/{workspace_id}/claude-code/memory/{scope}/content 對應 runtime_write;敏感路由:否。
/api/v1/workspaces/{workspace_id}/claude-code/output-styles/{scope}POSTruntime_write2039否POST /api/v1/workspaces/{workspace_id}/claude-code/output-styles/{scope} 對應 runtime_write;敏感路由:否。
/api/v1/workspaces/{workspace_id}/claude-code/output-styles/{scope}/{file_name}DELETE, PUTruntime_write2039否DELETE, PUT /api/v1/workspaces/{workspace_id}/claude-code/output-styles/{scope}/{file_name} 對應 runtime_write;敏感路由:否。
/api/v1/workspaces/{workspace_id}/claude-code/skills/contentPUTruntime_write2039否PUT /api/v1/workspaces/{workspace_id}/claude-code/skills/content 對應 runtime_write;敏感路由:否。
/api/v1/workspaces/{workspace_id}/claude-code/skills/extractPOSTruntime_write2039否POST /api/v1/workspaces/{workspace_id}/claude-code/skills/extract 對應 runtime_write;敏感路由:否。
/api/v1/workspaces/{workspace_id}/opencode/subagents/{scope}/contentDELETE, PUTruntime_write2039否DELETE, PUT /api/v1/workspaces/{workspace_id}/opencode/subagents/{scope}/content 對應 runtime_write;敏感路由:否。
/api/v1/workspaces/{workspace_id}/claude-code/skills/uploadPOSTruntime_write2038否POST /api/v1/workspaces/{workspace_id}/claude-code/skills/upload 對應 runtime_write;敏感路由:否。
/api/v1/workspaces/{workspace_id}/codex/skills/batch-deletePOSTruntime_write2038否POST /api/v1/workspaces/{workspace_id}/codex/skills/batch-delete 對應 runtime_write;敏感路由:否。
/api/v1/workspaces/{workspace_id}/claude-code/hooks/importPOSTruntime_write2037否POST /api/v1/workspaces/{workspace_id}/claude-code/hooks/import 對應 runtime_write;敏感路由:否。
/api/v1/workspaces/{workspace_id}/codex/plugins/{plugin_id:path}/hook-trustPATCHruntime_write2037否PATCH /api/v1/workspaces/{workspace_id}/codex/plugins/{plugin_id:path}/hook-trust 對應 runtime_write;敏感路由:否。
/api/v1/workspaces/{workspace_id}/opencode/slash-commands/{scope}POSTruntime_write2037否POST /api/v1/workspaces/{workspace_id}/opencode/slash-commands/{scope} 對應 runtime_write;敏感路由:否。
/api/v1/workspaces/{workspace_id}/version-control/discardPOSTruntime_write2037否POST /api/v1/workspaces/{workspace_id}/version-control/discard 對應 runtime_write;敏感路由:否。
/api/v1/workspaces/{workspace_id}/version-control/unstagePOSTruntime_write2037否POST /api/v1/workspaces/{workspace_id}/version-control/unstage 對應 runtime_write;敏感路由:否。
/api/v1/workspaces/{workspace_id}/claude-code/skills/movePOSTruntime_write2036否POST /api/v1/workspaces/{workspace_id}/claude-code/skills/move 對應 runtime_write;敏感路由:否。
/api/v1/workspaces/{workspace_id}/opencode/skills/contentPUTruntime_write2036否PUT /api/v1/workspaces/{workspace_id}/opencode/skills/content 對應 runtime_write;敏感路由:否。
/api/v1/workspaces/{workspace_id}/opencode/skills/extractPOSTruntime_write2036否POST /api/v1/workspaces/{workspace_id}/opencode/skills/extract 對應 runtime_write;敏感路由:否。
/api/v1/workspaces/{workspace_id}/version-control/commitPOSTruntime_write2036否POST /api/v1/workspaces/{workspace_id}/version-control/commit 對應 runtime_write;敏感路由:否。
/api/v1/workspaces/{workspace_id}/version-control/remotePUTruntime_write2036否PUT /api/v1/workspaces/{workspace_id}/version-control/remote 對應 runtime_write;敏感路由:否。
/api/v1/workspaces/{workspace_id}/claude-code/claude-mdPUTruntime_write2035否PUT /api/v1/workspaces/{workspace_id}/claude-code/claude-md 對應 runtime_write;敏感路由:否。
/api/v1/workspaces/{workspace_id}/claude-code/subagents/{scope}POSTruntime_write2035否POST /api/v1/workspaces/{workspace_id}/claude-code/subagents/{scope} 對應 runtime_write;敏感路由:否。
/api/v1/workspaces/{workspace_id}/opencode/skills/uploadPOSTruntime_write2035否POST /api/v1/workspaces/{workspace_id}/opencode/skills/upload 對應 runtime_write;敏感路由:否。
/api/v1/workspaces/{workspace_id}/version-control/clonePOSTruntime_write2035否POST /api/v1/workspaces/{workspace_id}/version-control/clone 對應 runtime_write;敏感路由:否。
/api/v1/workspaces/{workspace_id}/version-control/fetchPOSTruntime_write2035否POST /api/v1/workspaces/{workspace_id}/version-control/fetch 對應 runtime_write;敏感路由:否。
/api/v1/workspaces/{workspace_id}/version-control/stagePOSTruntime_write2035否POST /api/v1/workspaces/{workspace_id}/version-control/stage 對應 runtime_write;敏感路由:否。
/api/v1/workspaces/{workspace_id}/codex/slash-commands/{scope}POSTruntime_write2034否POST /api/v1/workspaces/{workspace_id}/codex/slash-commands/{scope} 對應 runtime_write;敏感路由:否。
/api/v1/workspaces/{workspace_id}/version-control/initPOSTruntime_write2034否POST /api/v1/workspaces/{workspace_id}/version-control/init 對應 runtime_write;敏感路由:否。
/api/v1/workspaces/{workspace_id}/version-control/pullPOSTruntime_write2034否POST /api/v1/workspaces/{workspace_id}/version-control/pull 對應 runtime_write;敏感路由:否。
/api/v1/workspaces/{workspace_id}/version-control/pushPOSTruntime_write2034否POST /api/v1/workspaces/{workspace_id}/version-control/push 對應 runtime_write;敏感路由:否。
/api/v1/workspaces/{workspace_id}/canvas/review-notesPOSTruntime_write2033否POST /api/v1/workspaces/{workspace_id}/canvas/review-notes 對應 runtime_write;敏感路由:否。
/api/v1/workspaces/{workspace_id}/canvas/review-notes/{note_id}DELETEruntime_write2033否DELETE /api/v1/workspaces/{workspace_id}/canvas/review-notes/{note_id} 對應 runtime_write;敏感路由:否。
/api/v1/workspaces/{workspace_id}/claude-code/plugins/{plugin_id:path}PATCHruntime_write2033否PATCH /api/v1/workspaces/{workspace_id}/claude-code/plugins/{plugin_id:path} 對應 runtime_write;敏感路由:否。
/api/v1/workspaces/{workspace_id}/codex/overview/trustPATCHruntime_write2033否PATCH /api/v1/workspaces/{workspace_id}/codex/overview/trust 對應 runtime_write;敏感路由:否。
/api/v1/workspaces/{workspace_id}/codex/rules/validatePOSTruntime_write2033否POST /api/v1/workspaces/{workspace_id}/codex/rules/validate 對應 runtime_write;敏感路由:否。
/api/v1/workspaces/{workspace_id}/codex/skills/contentPUTruntime_write2033否PUT /api/v1/workspaces/{workspace_id}/codex/skills/content 對應 runtime_write;敏感路由:否。
/api/v1/workspaces/{workspace_id}/codex/skills/extractPOSTruntime_write2033否POST /api/v1/workspaces/{workspace_id}/codex/skills/extract 對應 runtime_write;敏感路由:否。
/api/v1/workspaces/{workspace_id}/opencode/skills/movePOSTruntime_write2033否POST /api/v1/workspaces/{workspace_id}/opencode/skills/move 對應 runtime_write;敏感路由:否。
/api/v1/workspaces/{workspace_id}/version-control/lfsPOSTruntime_write2033否POST /api/v1/workspaces/{workspace_id}/version-control/lfs 對應 runtime_write;敏感路由:否。
/api/v1/workspaces/{workspace_id}/claude-code/memory/{scope}POSTruntime_write2032否POST /api/v1/workspaces/{workspace_id}/claude-code/memory/{scope} 對應 runtime_write;敏感路由:否。
/api/v1/workspaces/{workspace_id}/claude-code/skillsDELETE, POSTruntime_write2032否DELETE, POST /api/v1/workspaces/{workspace_id}/claude-code/skills 對應 runtime_write;敏感路由:否。
/api/v1/workspaces/{workspace_id}/codex/hooks/{scope}/disablePOSTruntime_write2032否POST /api/v1/workspaces/{workspace_id}/codex/hooks/{scope}/disable 對應 runtime_write;敏感路由:否。
/api/v1/workspaces/{workspace_id}/codex/skills/uploadPOSTruntime_write2032否POST /api/v1/workspaces/{workspace_id}/codex/skills/upload 對應 runtime_write;敏感路由:否。
/api/v1/workspaces/{workspace_id}/opencode/agents-mdPUTruntime_write2032否PUT /api/v1/workspaces/{workspace_id}/opencode/agents-md 對應 runtime_write;敏感路由:否。
/api/v1/workspaces/{workspace_id}/opencode/subagents/{scope}POSTruntime_write2032否POST /api/v1/workspaces/{workspace_id}/opencode/subagents/{scope} 對應 runtime_write;敏感路由:否。
/api/v1/workspaces/{workspace_id}/claude-code/hooks/{scope}DELETE, PUTruntime_write2031否DELETE, PUT /api/v1/workspaces/{workspace_id}/claude-code/hooks/{scope} 對應 runtime_write;敏感路由:否。
/api/v1/workspaces/{workspace_id}/codex/hooks/{scope}/enablePOSTruntime_write2031否POST /api/v1/workspaces/{workspace_id}/codex/hooks/{scope}/enable 對應 runtime_write;敏感路由:否。
/api/v1/workspaces/{workspace_id}/codex/hooks/{scope}/entryDELETE, PUTruntime_write2030否DELETE, PUT /api/v1/workspaces/{workspace_id}/codex/hooks/{scope}/entry 對應 runtime_write;敏感路由:否。
/api/v1/workspaces/{workspace_id}/codex/skills/movePOSTruntime_write2030否POST /api/v1/workspaces/{workspace_id}/codex/skills/move 對應 runtime_write;敏感路由:否。
/api/v1/workspaces/{workspace_id}/canvas/manifestDELETEruntime_write2029否DELETE /api/v1/workspaces/{workspace_id}/canvas/manifest 對應 runtime_write;敏感路由:否。
/api/v1/workspaces/{workspace_id}/codex/agents-mdPUTruntime_write2029否PUT /api/v1/workspaces/{workspace_id}/codex/agents-md 對應 runtime_write;敏感路由:否。
/api/v1/workspaces/{workspace_id}/codex/rules/fileDELETE, PUTruntime_write2029否DELETE, PUT /api/v1/workspaces/{workspace_id}/codex/rules/file 對應 runtime_write;敏感路由:否。
/api/v1/workspaces/{workspace_id}/codex/subagentsDELETE, POST, PUTruntime_write2029否DELETE, POST, PUT /api/v1/workspaces/{workspace_id}/codex/subagents 對應 runtime_write;敏感路由:否。
/api/v1/workspaces/{workspace_id}/opencode/skillsDELETE, POSTruntime_write2029否DELETE, POST /api/v1/workspaces/{workspace_id}/opencode/skills 對應 runtime_write;敏感路由:否。
/api/v1/files/conflicts/preflightPOSTruntime_write2028否POST /api/v1/files/conflicts/preflight 對應 runtime_write;敏感路由:否。
/api/v1/workspaces/{workspace_id}/codex/plugins/{plugin_id:path}PATCHruntime_write2027否PATCH /api/v1/workspaces/{workspace_id}/codex/plugins/{plugin_id:path} 對應 runtime_write;敏感路由:否。
/api/v1/workspaces/{workspace_id}/canvas/resetPOSTruntime_write2026否POST /api/v1/workspaces/{workspace_id}/canvas/reset 對應 runtime_write;敏感路由:否。
/api/v1/workspaces/{workspace_id}/codex/skillsDELETE, POSTruntime_write2026否DELETE, POST /api/v1/workspaces/{workspace_id}/codex/skills 對應 runtime_write;敏感路由:否。
/api/v1/workspaces/{workspace_id}/canvas/syncPOSTruntime_write2025否POST /api/v1/workspaces/{workspace_id}/canvas/sync 對應 runtime_write;敏感路由:否。
/api/v1/workspaces/{workspace_id}/codex/hooks/{scope}PUTruntime_write2025否PUT /api/v1/workspaces/{workspace_id}/codex/hooks/{scope} 對應 runtime_write;敏感路由:否。
/api/v1/files/history/{entry_id}/restorePOSTruntime_write2024否POST /api/v1/files/history/{entry_id}/restore 對應 runtime_write;敏感路由:否。
/api/v1/workspaces/{workspace_id}/codex/{resource}/fileDELETE, PUTruntime_write2024否DELETE, PUT /api/v1/workspaces/{workspace_id}/codex/{resource}/file 對應 runtime_write;敏感路由:否。
/api/v1/files/batch-deletePOSTruntime_write2022否POST /api/v1/files/batch-delete 對應 runtime_write;敏感路由:否。
/api/v1/files/content/batchPOSTruntime_write2022否POST /api/v1/files/content/batch 對應 runtime_write;敏感路由:否。
/api/v1/files/archivePOSTruntime_write2017否POST /api/v1/files/archive 對應 runtime_write;敏感路由:否。
/api/v1/files/contentPUTruntime_write2017否PUT /api/v1/files/content 對應 runtime_write;敏感路由:否。
/api/v1/files/extractPOSTruntime_write2017否POST /api/v1/files/extract 對應 runtime_write;敏感路由:否。
/api/v1/files/uploadPOSTruntime_write2016否POST /api/v1/files/upload 對應 runtime_write;敏感路由:否。
/api/v1/files/pastePOSTruntime_write2015否POST /api/v1/files/paste 對應 runtime_write;敏感路由:否。
/api/v1/files/movePOSTruntime_write2014否POST /api/v1/files/move 對應 runtime_write;敏感路由:否。
/api/v1/filesDELETE, POSTruntime_write2010否DELETE, POST /api/v1/files 對應 runtime_write;敏感路由:否。
/api/v1/workspaces/{workspace_id}/cli-settings/claude-code/prompt-invocationsGETruntime_read1056否GET /api/v1/workspaces/{workspace_id}/cli-settings/claude-code/prompt-invocations 對應 runtime_read;敏感路由:否。
/api/v1/workspaces/{workspace_id}/cli-settings/opencode/prompt-invocationsGETruntime_read1053否GET /api/v1/workspaces/{workspace_id}/cli-settings/opencode/prompt-invocations 對應 runtime_read;敏感路由:否。
/api/v1/workspaces/{workspace_id}/cli-settings/codex/prompt-invocationsGETruntime_read1050否GET /api/v1/workspaces/{workspace_id}/cli-settings/codex/prompt-invocations 對應 runtime_read;敏感路由:否。
/api/v1/workspaces/{workspace_id}/claude-code/slash-commands/{scope}/contentGETruntime_read1047否GET /api/v1/workspaces/{workspace_id}/claude-code/slash-commands/{scope}/content 對應 runtime_read;敏感路由:否。
/api/v1/workspaces/{workspace_id}/version-control/operation-statusGETruntime_read1046否GET /api/v1/workspaces/{workspace_id}/version-control/operation-status 對應 runtime_read;敏感路由:否。
/api/v1/workspaces/{workspace_id}/claude-code/skills/tree/childrenGETruntime_read1044否GET /api/v1/workspaces/{workspace_id}/claude-code/skills/tree/children 對應 runtime_read;敏感路由:否。
/api/v1/workspaces/{workspace_id}/opencode/slash-commands/{scope}/contentGETruntime_read1044否GET /api/v1/workspaces/{workspace_id}/opencode/slash-commands/{scope}/content 對應 runtime_read;敏感路由:否。
/api/v1/workspaces/{workspace_id}/claude-code/subagents/{scope}/contentGETruntime_read1042否GET /api/v1/workspaces/{workspace_id}/claude-code/subagents/{scope}/content 對應 runtime_read;敏感路由:否。
/api/v1/workspaces/{workspace_id}/version-control/commits/{commit_id}/filesGETruntime_read1042否GET /api/v1/workspaces/{workspace_id}/version-control/commits/{commit_id}/files 對應 runtime_read;敏感路由:否。
/api/v1/workspaces/{workspace_id}/codex/slash-commands/{scope}/contentGETruntime_read1041否GET /api/v1/workspaces/{workspace_id}/codex/slash-commands/{scope}/content 對應 runtime_read;敏感路由:否。
/api/v1/workspaces/{workspace_id}/opencode/skills/tree/childrenGETruntime_read1041否GET /api/v1/workspaces/{workspace_id}/opencode/skills/tree/children 對應 runtime_read;敏感路由:否。
/api/v1/workspaces/{workspace_id}/claude-code/slash-commandsGETruntime_read1040否GET /api/v1/workspaces/{workspace_id}/claude-code/slash-commands 對應 runtime_read;敏感路由:否。
/api/v1/workspaces/{workspace_id}/claude-code/slash-commands/{scope}GETruntime_read1040否GET /api/v1/workspaces/{workspace_id}/claude-code/slash-commands/{scope} 對應 runtime_read;敏感路由:否。
/api/v1/workspaces/{workspace_id}/codex/managed-requirementsGETruntime_read1040否GET /api/v1/workspaces/{workspace_id}/codex/managed-requirements 對應 runtime_read;敏感路由:否。
/api/v1/workspaces/{workspace_id}/version-control/repositoryGETruntime_read1040否GET /api/v1/workspaces/{workspace_id}/version-control/repository 對應 runtime_read;敏感路由:否。
/api/v1/workspaces/{workspace_id}/claude-code/memory/{scope}/contentGETruntime_read1039否GET /api/v1/workspaces/{workspace_id}/claude-code/memory/{scope}/content 對應 runtime_read;敏感路由:否。
/api/v1/workspaces/{workspace_id}/claude-code/output-stylesGETruntime_read1039否GET /api/v1/workspaces/{workspace_id}/claude-code/output-styles 對應 runtime_read;敏感路由:否。
/api/v1/workspaces/{workspace_id}/claude-code/output-styles/{scope}GETruntime_read1039否GET /api/v1/workspaces/{workspace_id}/claude-code/output-styles/{scope} 對應 runtime_read;敏感路由:否。
/api/v1/workspaces/{workspace_id}/claude-code/output-styles/{scope}/{file_name:path}GETruntime_read1039否GET /api/v1/workspaces/{workspace_id}/claude-code/output-styles/{scope}/{file_name:path} 對應 runtime_read;敏感路由:否。
/api/v1/workspaces/{workspace_id}/claude-code/skills/contentGETruntime_read1039否GET /api/v1/workspaces/{workspace_id}/claude-code/skills/content 對應 runtime_read;敏感路由:否。
/api/v1/workspaces/{workspace_id}/claude-code/skills/pluginsGETruntime_read1039否GET /api/v1/workspaces/{workspace_id}/claude-code/skills/plugins 對應 runtime_read;敏感路由:否。
/api/v1/workspaces/{workspace_id}/opencode/subagents/{scope}/contentGETruntime_read1039否GET /api/v1/workspaces/{workspace_id}/opencode/subagents/{scope}/content 對應 runtime_read;敏感路由:否。
/api/v1/workspaces/{workspace_id}/codex/skills/tree/childrenGETruntime_read1038否GET /api/v1/workspaces/{workspace_id}/codex/skills/tree/children 對應 runtime_read;敏感路由:否。
/api/v1/workspaces/{workspace_id}/version-control/branchesGETruntime_read1038否GET /api/v1/workspaces/{workspace_id}/version-control/branches 對應 runtime_read;敏感路由:否。
/api/v1/workspaces/{workspace_id}/version-control/contextsGETruntime_read1038否GET /api/v1/workspaces/{workspace_id}/version-control/contexts 對應 runtime_read;敏感路由:否。
/api/v1/workspaces/{workspace_id}/claude-code/hooks/exportGETruntime_read1037否GET /api/v1/workspaces/{workspace_id}/claude-code/hooks/export 對應 runtime_read;敏感路由:否。
/api/v1/workspaces/{workspace_id}/opencode/slash-commandsGETruntime_read1037否GET /api/v1/workspaces/{workspace_id}/opencode/slash-commands 對應 runtime_read;敏感路由:否。
/api/v1/workspaces/{workspace_id}/opencode/slash-commands/{scope}GETruntime_read1037否GET /api/v1/workspaces/{workspace_id}/opencode/slash-commands/{scope} 對應 runtime_read;敏感路由:否。
/api/v1/workspaces/{workspace_id}/version-control/changesGETruntime_read1037否GET /api/v1/workspaces/{workspace_id}/version-control/changes 對應 runtime_read;敏感路由:否。
/api/v1/workspaces/{workspace_id}/version-control/commitsGETruntime_read1037否GET /api/v1/workspaces/{workspace_id}/version-control/commits 對應 runtime_read;敏感路由:否。
/api/v1/workspaces/{workspace_id}/version-control/commits/{commit_id}GETruntime_read1037否GET /api/v1/workspaces/{workspace_id}/version-control/commits/{commit_id} 對應 runtime_read;敏感路由:否。
/api/v1/workspaces/{workspace_id}/claude-code/skills/treeGETruntime_read1036否GET /api/v1/workspaces/{workspace_id}/claude-code/skills/tree 對應 runtime_read;敏感路由:否。
/api/v1/workspaces/{workspace_id}/opencode/skills/contentGETruntime_read1036否GET /api/v1/workspaces/{workspace_id}/opencode/skills/content 對應 runtime_read;敏感路由:否。
/api/v1/workspaces/{workspace_id}/version-control/remoteGETruntime_read1036否GET /api/v1/workspaces/{workspace_id}/version-control/remote 對應 runtime_read;敏感路由:否。
/api/v1/workspaces/{workspace_id}/version-control/statusGETruntime_read1036否GET /api/v1/workspaces/{workspace_id}/version-control/status 對應 runtime_read;敏感路由:否。
/api/v1/workspaces/{workspace_id}/claude-code/claude-mdGETruntime_read1035否GET /api/v1/workspaces/{workspace_id}/claude-code/claude-md 對應 runtime_read;敏感路由:否。
/api/v1/workspaces/{workspace_id}/claude-code/subagentsGETruntime_read1035否GET /api/v1/workspaces/{workspace_id}/claude-code/subagents 對應 runtime_read;敏感路由:否。
/api/v1/workspaces/{workspace_id}/claude-code/subagents/{scope}GETruntime_read1035否GET /api/v1/workspaces/{workspace_id}/claude-code/subagents/{scope} 對應 runtime_read;敏感路由:否。
/api/v1/workspaces/{workspace_id}/codex/subagents/detailGETruntime_read1035否GET /api/v1/workspaces/{workspace_id}/codex/subagents/detail 對應 runtime_read;敏感路由:否。
/api/v1/workspaces/{workspace_id}/codex/slash-commandsGETruntime_read1034否GET /api/v1/workspaces/{workspace_id}/codex/slash-commands 對應 runtime_read;敏感路由:否。
/api/v1/workspaces/{workspace_id}/codex/slash-commands/{scope}GETruntime_read1034否GET /api/v1/workspaces/{workspace_id}/codex/slash-commands/{scope} 對應 runtime_read;敏感路由:否。
/api/v1/workspaces/{workspace_id}/version-control/blobGETruntime_read1034否GET /api/v1/workspaces/{workspace_id}/version-control/blob 對應 runtime_read;敏感路由:否。
/api/v1/workspaces/{workspace_id}/version-control/diffGETruntime_read1034否GET /api/v1/workspaces/{workspace_id}/version-control/diff 對應 runtime_read;敏感路由:否。
/api/v1/workspaces/{workspace_id}/canvas/review-notesGETruntime_read1033否GET /api/v1/workspaces/{workspace_id}/canvas/review-notes 對應 runtime_read;敏感路由:否。
/api/v1/workspaces/{workspace_id}/claude-code/pluginsGETruntime_read1033否GET /api/v1/workspaces/{workspace_id}/claude-code/plugins 對應 runtime_read;敏感路由:否。
/api/v1/workspaces/{workspace_id}/claude-code/plugins/{plugin_id:path}GETruntime_read1033否GET /api/v1/workspaces/{workspace_id}/claude-code/plugins/{plugin_id:path} 對應 runtime_read;敏感路由:否。
/api/v1/workspaces/{workspace_id}/codex/skills/contentGETruntime_read1033否GET /api/v1/workspaces/{workspace_id}/codex/skills/content 對應 runtime_read;敏感路由:否。
/api/v1/workspaces/{workspace_id}/opencode/skills/treeGETruntime_read1033否GET /api/v1/workspaces/{workspace_id}/opencode/skills/tree 對應 runtime_read;敏感路由:否。
/api/v1/workspaces/{workspace_id}/version-control/lfsGETruntime_read1033否GET /api/v1/workspaces/{workspace_id}/version-control/lfs 對應 runtime_read;敏感路由:否。
/api/v1/workspaces/{workspace_id}/claude-code/memoryGETruntime_read1032否GET /api/v1/workspaces/{workspace_id}/claude-code/memory 對應 runtime_read;敏感路由:否。
/api/v1/workspaces/{workspace_id}/codex/hooks-scopesGETruntime_read1032否GET /api/v1/workspaces/{workspace_id}/codex/hooks-scopes 對應 runtime_read;敏感路由:否。
/api/v1/workspaces/{workspace_id}/opencode/agents-mdGETruntime_read1032否GET /api/v1/workspaces/{workspace_id}/opencode/agents-md 對應 runtime_read;敏感路由:否。
/api/v1/workspaces/{workspace_id}/opencode/subagentsGETruntime_read1032否GET /api/v1/workspaces/{workspace_id}/opencode/subagents 對應 runtime_read;敏感路由:否。
/api/v1/workspaces/{workspace_id}/opencode/subagents/{scope}GETruntime_read1032否GET /api/v1/workspaces/{workspace_id}/opencode/subagents/{scope} 對應 runtime_read;敏感路由:否。
/api/v1/workspaces/{workspace_id}/claude-code/hooksGETruntime_read1031否GET /api/v1/workspaces/{workspace_id}/claude-code/hooks 對應 runtime_read;敏感路由:否。
/api/v1/workspaces/{workspace_id}/claude-code/hooks/{scope}GETruntime_read1031否GET /api/v1/workspaces/{workspace_id}/claude-code/hooks/{scope} 對應 runtime_read;敏感路由:否。
/api/v1/workspaces/{workspace_id}/codex/skills/treeGETruntime_read1030否GET /api/v1/workspaces/{workspace_id}/codex/skills/tree 對應 runtime_read;敏感路由:否。
/api/v1/workspaces/{workspace_id}/codex/agents-mdGETruntime_read1029否GET /api/v1/workspaces/{workspace_id}/codex/agents-md 對應 runtime_read;敏感路由:否。
/api/v1/workspaces/{workspace_id}/codex/rules/fileGETruntime_read1029否GET /api/v1/workspaces/{workspace_id}/codex/rules/file 對應 runtime_read;敏感路由:否。
/api/v1/workspaces/{workspace_id}/codex/subagentsGETruntime_read1029否GET /api/v1/workspaces/{workspace_id}/codex/subagents 對應 runtime_read;敏感路由:否。
/api/v1/workspaces/{workspace_id}/codex/overviewGETruntime_read1028否GET /api/v1/workspaces/{workspace_id}/codex/overview 對應 runtime_read;敏感路由:否。
/api/v1/workspaces/{workspace_id}/canvas/detectGETruntime_read1027否GET /api/v1/workspaces/{workspace_id}/canvas/detect 對應 runtime_read;敏感路由:否。
/api/v1/workspaces/{workspace_id}/canvas/healthGETruntime_read1027否GET /api/v1/workspaces/{workspace_id}/canvas/health 對應 runtime_read;敏感路由:否。
/api/v1/workspaces/{workspace_id}/canvas/routesGETruntime_read1027否GET /api/v1/workspaces/{workspace_id}/canvas/routes 對應 runtime_read;敏感路由:否。
/api/v1/workspaces/{workspace_id}/codex/pluginsGETruntime_read1027否GET /api/v1/workspaces/{workspace_id}/codex/plugins 對應 runtime_read;敏感路由:否。
/api/v1/workspaces/{workspace_id}/codex/plugins/{plugin_id:path}GETruntime_read1027否GET /api/v1/workspaces/{workspace_id}/codex/plugins/{plugin_id:path} 對應 runtime_read;敏感路由:否。
/api/v1/files/archive/{operation_id}/downloadGETruntime_read1025否GET /api/v1/files/archive/{operation_id}/download 對應 runtime_read;敏感路由:否。
/api/v1/workspaces/{workspace_id}/canvas/logsGETruntime_read1025否GET /api/v1/workspaces/{workspace_id}/canvas/logs 對應 runtime_read;敏感路由:否。
/api/v1/workspaces/{workspace_id}/codex/hooks/{scope}GETruntime_read1025否GET /api/v1/workspaces/{workspace_id}/codex/hooks/{scope} 對應 runtime_read;敏感路由:否。
/api/v1/workspaces/{workspace_id}/codex/rulesGETruntime_read1025否GET /api/v1/workspaces/{workspace_id}/codex/rules 對應 runtime_read;敏感路由:否。
/api/v1/workspaces/{workspace_id}/codex/{resource}/filesGETruntime_read1025否GET /api/v1/workspaces/{workspace_id}/codex/{resource}/files 對應 runtime_read;敏感路由:否。
/api/v1/workspaces/{workspace_id}/codex/appsGETruntime_read1024否GET /api/v1/workspaces/{workspace_id}/codex/apps 對應 runtime_read;敏感路由:否。
/api/v1/workspaces/{workspace_id}/codex/apps/{app_name:path}GETruntime_read1024否GET /api/v1/workspaces/{workspace_id}/codex/apps/{app_name:path} 對應 runtime_read;敏感路由:否。
/api/v1/workspaces/{workspace_id}/codex/{resource}/fileGETruntime_read1024否GET /api/v1/workspaces/{workspace_id}/codex/{resource}/file 對應 runtime_read;敏感路由:否。
/api/v1/files/tree/childrenGETruntime_read1022否GET /api/v1/files/tree/children 對應 runtime_read;敏感路由:否。
/api/v1/workspaces/{workspace_id}/codexGETruntime_read1020否GET /api/v1/workspaces/{workspace_id}/codex 對應 runtime_read;敏感路由:否。
/docs/oauth2-redirectGET, HEADruntime_read1019否GET, HEAD /docs/oauth2-redirect 對應 runtime_read;敏感路由:否。
/api/v1/files/downloadGETruntime_read1018否GET /api/v1/files/download 對應 runtime_read;敏感路由:否。
/api/v1/files/archive/{operation_id}GETruntime_read1017否GET /api/v1/files/archive/{operation_id} 對應 runtime_read;敏感路由:否。
/api/v1/files/contentGETruntime_read1017否GET /api/v1/files/content 對應 runtime_read;敏感路由:否。
/api/v1/files/historyGETruntime_read1017否GET /api/v1/files/history 對應 runtime_read;敏感路由:否。
/api/v1/files/searchGETruntime_read1016否GET /api/v1/files/search 對應 runtime_read;敏感路由:否。
/api/v1/files/treeGETruntime_read1014否GET /api/v1/files/tree 對應 runtime_read;敏感路由:否。
/openapi.jsonGET, HEADruntime_read1012否GET, HEAD /openapi.json 對應 runtime_read;敏感路由:否。
/redocGET, HEADruntime_read1005否GET, HEAD /redoc 對應 runtime_read;敏感路由:否。
/docsGET, HEADruntime_read1004否GET, HEAD /docs 對應 runtime_read;敏感路由:否。
/GETruntime_read1000否GET / 對應 runtime_read;敏感路由:否。
錯誤碼說明
WORKSPACE_RUNTIME_ACTION_FORBIDDEN穩定授權錯誤碼 WORKSPACE_RUNTIME_ACTION_FORBIDDEN。

資源 telemetry​

Runtime 不提供新的公開使用者 telemetry route。它透過 internal Manager API 批次回報成功活動事件與 workspace_data/runtime_home 容量量測;回報採 fail-open 與 durable outbox,不能阻塞使用者操作。payload 不包含 prompt、內容、檔名或路徑。完整契約見平台資源統計與容量治理。