返回 CodeWhale
RUNTIME_ROUTES.md
根目录 / docs / RUNTIME_ROUTES.md
1 # Runtime HTTP route inventory
2
3 This table is generated from literal route registrations in
4 `crates/app-server/src/runtime_api.rs`. It names the paths and methods that
5 the current source registers, including native-client and compatibility
6 surfaces. A registered path is not a grant of permission or a promise that
7 a feature is enabled in your installed version.
8
9 The [Runtime API contract](RUNTIME_API.md) explains request fields, events,
10 authorization and compatibility. This inventory is a navigation index, not
11 a replacement for those schemas; routes used by the native client can have
12 client-specific contracts. Provider calls, file mutations and connected-service
13 actions remain subject to their documented authority boundaries.
14
15 Run `node web/scripts/check-runtime-routes.mjs --write` after changing a
16 registration; `npm run check:docs` refuses a stale inventory. Dynamic nested
17 routers, fallback handlers and static-asset mounts are outside this literal
18 registration index.
19
20 | HTTP method | Path |
21 | --- | --- |
22 | GET | `/` |
23 | GET | `/__codewhale/bootstrap/{nonce}` |
24 | GET | `/__codewhale/mobile/bootstrap/{nonce}` |
25 | GET | `/__codewhale/mobile/pair/{secret}` |
26 | POST | `/__codewhale/mobile/session` |
27 | POST | `/__codewhale/mobile/stream-ticket` |
28 | POST | `/__codewhale/web/stream-ticket` |
29 | GET | `/assets/codewhale-192.png` |
30 | GET | `/assets/codewhale-web.css` |
31 | GET | `/assets/codewhale-web.js` |
32 | GET | `/health` |
33 | GET | `/mobile` |
34 | GET | `/mobile/` |
35 | DELETE / GET / PUT | `/v1/account/model-access` |
36 | POST | `/v1/agent-mail` |
37 | GET | `/v1/agent-runs` |
38 | GET | `/v1/agent-runs/{run_id}` |
39 | POST | `/v1/agent-runs/{run_id}/cancel` |
40 | POST | `/v1/agent-runs/{run_id}/followup` |
41 | GET | `/v1/agents/external` |
42 | GET | `/v1/agents/external/{id}/options` |
43 | GET | `/v1/agents/external/quota` |
44 | GET | `/v1/approval-grants` |
45 | GET | `/v1/approvals` |
46 | POST | `/v1/approvals/{approval_id}` |
47 | GET | `/v1/apps/avatars` |
48 | GET | `/v1/apps/avatars/{handle}/atlases/{page}` |
49 | GET / POST | `/v1/apps/marketplaces` |
50 | DELETE / GET | `/v1/apps/marketplaces/{name}` |
51 | POST | `/v1/apps/marketplaces/{name}/install` |
52 | POST | `/v1/apps/mcp/desktop-browser` |
53 | GET / POST | `/v1/apps/mcp/imports` |
54 | GET / POST | `/v1/apps/mcp/servers` |
55 | DELETE / GET / PATCH | `/v1/apps/mcp/servers/{name}` |
56 | POST | `/v1/apps/mcp/servers/{name}/disable` |
57 | POST | `/v1/apps/mcp/servers/{name}/enable` |
58 | POST | `/v1/apps/mcp/servers/{name}/reconnect` |
59 | GET | `/v1/apps/mcp/tools` |
60 | GET | `/v1/apps/plugin-index` |
61 | GET | `/v1/apps/plugins` |
62 | DELETE / GET | `/v1/apps/plugins/{selector}` |
63 | POST | `/v1/apps/plugins/{selector}/disable` |
64 | POST | `/v1/apps/plugins/{selector}/enable` |
65 | POST | `/v1/apps/plugins/{selector}/restage` |
66 | POST | `/v1/apps/plugins/{selector}/revoke` |
67 | ANY | `/v1/apps/plugins/{selector}/route/{*path}` |
68 | ANY | `/v1/apps/plugins/{selector}/routes/{*path}` |
69 | GET | `/v1/apps/plugins/{selector}/service` |
70 | GET / PUT | `/v1/apps/plugins/{selector}/settings` |
71 | POST | `/v1/apps/plugins/{selector}/trust` |
72 | GET | `/v1/apps/plugins/{selector}/ui` |
73 | GET | `/v1/apps/plugins/{selector}/ui/{*path}` |
74 | POST | `/v1/apps/plugins/{selector}/update` |
75 | GET | `/v1/apps/plugins/catalog` |
76 | POST | `/v1/apps/plugins/catalog/{id}/disable` |
77 | POST | `/v1/apps/plugins/catalog/{id}/enable` |
78 | PUT | `/v1/apps/plugins/catalog/{id}/settings` |
79 | POST | `/v1/apps/plugins/import/dsh/preview` |
80 | POST | `/v1/apps/plugins/install` |
81 | GET / POST | `/v1/automations` |
82 | DELETE / GET / PATCH | `/v1/automations/{id}` |
83 | POST | `/v1/automations/{id}/adopt` |
84 | GET | `/v1/automations/{id}/missed` |
85 | PUT | `/v1/automations/{id}/missed/policy` |
86 | POST | `/v1/automations/{id}/missed/run` |
87 | POST | `/v1/automations/{id}/missed/skip` |
88 | POST | `/v1/automations/{id}/pause` |
89 | POST | `/v1/automations/{id}/resume` |
90 | POST | `/v1/automations/{id}/run` |
91 | GET | `/v1/automations/{id}/runs` |
92 | GET | `/v1/automations/missed` |
93 | GET | `/v1/changes` |
94 | GET / POST | `/v1/cloud` |
95 | POST | `/v1/cloud/attach` |
96 | GET | `/v1/commands` |
97 | GET / POST | `/v1/config` |
98 | POST | `/v1/config/reload` |
99 | GET | `/v1/constitution` |
100 | POST | `/v1/constitution/preview` |
101 | GET | `/v1/crashes` |
102 | GET | `/v1/crashes/{name}` |
103 | GET | `/v1/definition` |
104 | GET | `/v1/diagnostics` |
105 | GET | `/v1/diff` |
106 | GET | `/v1/dsh/remote/pairings` |
107 | DELETE | `/v1/dsh/remote/pairings/{grant}` |
108 | POST | `/v1/dsh/remote/pairings/{grant}/present` |
109 | POST | `/v1/fleet/placement` |
110 | GET | `/v1/fleet/profiles` |
111 | GET | `/v1/fleet/profiles/{id}/document` |
112 | GET / POST | `/v1/fleet/runs` |
113 | GET | `/v1/fleet/runs/{run_id}` |
114 | GET / POST | `/v1/fleet/runs/{run_id}/board` |
115 | GET | `/v1/fleet/runs/{run_id}/board/events` |
116 | GET | `/v1/fleet/runs/{run_id}/events` |
117 | GET | `/v1/fleet/runs/{run_id}/events/replay` |
118 | GET | `/v1/fleet/runs/{run_id}/membership` |
119 | GET | `/v1/fleet/runs/{run_id}/receipts` |
120 | GET | `/v1/fleet/runs/{run_id}/receipts/{task_id}` |
121 | GET | `/v1/fleet/runs/{run_id}/receipts/{task_id}/evidence` |
122 | POST | `/v1/fleet/runs/{run_id}/start` |
123 | POST | `/v1/fleet/runs/{run_id}/stop` |
124 | GET | `/v1/fleet/runs/{run_id}/workers` |
125 | GET / PATCH | `/v1/fleet/workers/{worker_id}` |
126 | POST | `/v1/fleet/workers/{worker_id}/interrupt` |
127 | POST | `/v1/fleet/workers/{worker_id}/restart` |
128 | POST | `/v1/fleet/workers/{worker_id}/revive` |
129 | POST | `/v1/fleet/workers/{worker_id}/stop` |
130 | GET | `/v1/git` |
131 | POST | `/v1/git/branch` |
132 | POST | `/v1/git/commit` |
133 | POST | `/v1/git/discard` |
134 | GET | `/v1/git/graph` |
135 | POST | `/v1/git/push` |
136 | POST | `/v1/git/stage` |
137 | POST | `/v1/git/unstage` |
138 | GET | `/v1/goals` |
139 | GET | `/v1/hooks` |
140 | GET | `/v1/job-operations` |
141 | GET | `/v1/jobs` |
142 | GET | `/v1/logs` |
143 | GET | `/v1/logs/{name}` |
144 | GET | `/v1/lsp` |
145 | DELETE / GET / POST | `/v1/memory` |
146 | GET | `/v1/memory/{id}` |
147 | GET | `/v1/modes` |
148 | POST | `/v1/network/allow` |
149 | GET / PATCH / POST | `/v1/operate` |
150 | POST | `/v1/operate/auto-merge/check` |
151 | POST | `/v1/operate/cancel` |
152 | POST | `/v1/operate/keepalive` |
153 | PUT | `/v1/operate/plan` |
154 | POST | `/v1/operate/stop` |
155 | GET | `/v1/permissions/rules` |
156 | POST | `/v1/permissions/rules/remove` |
157 | GET | `/v1/plan` |
158 | GET | `/v1/plans` |
159 | GET | `/v1/process` |
160 | GET | `/v1/providers` |
161 | POST | `/v1/providers/{id}/connect` |
162 | DELETE / GET | `/v1/providers/{id}/connect/{attempt_id}` |
163 | DELETE / PUT | `/v1/providers/{id}/key` |
164 | POST | `/v1/providers/{id}/key/check` |
165 | GET | `/v1/providers/{id}/models` |
166 | POST | `/v1/providers/{id}/models/refresh` |
167 | POST | `/v1/providers/{id}/switch` |
168 | GET / PUT | `/v1/providers/{id}/worker-model-pool` |
169 | GET | `/v1/references` |
170 | GET | `/v1/remote` |
171 | POST | `/v1/remote/connect` |
172 | GET | `/v1/runtime/info` |
173 | GET / POST / PUT | `/v1/sessions` |
174 | DELETE / GET / PATCH | `/v1/sessions/{id}` |
175 | GET | `/v1/sessions/{id}/artifacts` |
176 | GET | `/v1/sessions/{id}/artifacts/{artifact_id}` |
177 | POST | `/v1/sessions/{id}/resume-thread` |
178 | GET | `/v1/sessions/repair` |
179 | GET | `/v1/sessions/summary` |
180 | GET | `/v1/settings/schema` |
181 | GET | `/v1/skills` |
182 | DELETE / GET / POST | `/v1/skills/{name}` |
183 | GET | `/v1/skills/{name}/audit` |
184 | POST | `/v1/skills/{name}/trust` |
185 | POST | `/v1/skills/{name}/update` |
186 | POST | `/v1/skills/install` |
187 | GET | `/v1/snapshots` |
188 | POST | `/v1/snapshots/{id}/restore` |
189 | GET / POST | `/v1/ssh` |
190 | POST | `/v1/ssh/connect` |
191 | POST | `/v1/stream` |
192 | GET | `/v1/symbols` |
193 | GET | `/v1/tailnet` |
194 | GET / POST | `/v1/targets` |
195 | POST | `/v1/targets/switch` |
196 | GET / POST | `/v1/tasks` |
197 | GET | `/v1/tasks/{id}` |
198 | POST | `/v1/tasks/{id}/cancel` |
199 | ANY | `/v1/terminal/{*rest}` |
200 | POST | `/v1/thread-history/import` |
201 | POST | `/v1/thread-history/mutate` |
202 | POST | `/v1/thread-history/operations/lookup` |
203 | POST | `/v1/thread-history/operations/recover` |
204 | GET / POST | `/v1/threads` |
205 | DELETE / GET / PATCH | `/v1/threads/{id}` |
206 | GET | `/v1/threads/{id}/agent-mail` |
207 | POST | `/v1/threads/{id}/agent-mail/{message_id}/cancel` |
208 | POST | `/v1/threads/{id}/agent-mail/{message_id}/deliver` |
209 | POST | `/v1/threads/{id}/agent-mail/{message_id}/read` |
210 | DELETE | `/v1/threads/{id}/approval-grants/{grant_id}` |
211 | POST | `/v1/threads/{id}/auto-review/approve` |
212 | GET | `/v1/threads/{id}/auto-review/blocks` |
213 | POST | `/v1/threads/{id}/commands` |
214 | DELETE / GET | `/v1/threads/{id}/commands/{operation_key}` |
215 | POST | `/v1/threads/{id}/commands/builtin` |
216 | POST | `/v1/threads/{id}/compact` |
217 | GET | `/v1/threads/{id}/context` |
218 | GET | `/v1/threads/{id}/context/standing` |
219 | GET | `/v1/threads/{id}/events` |
220 | POST | `/v1/threads/{id}/file-revert` |
221 | GET | `/v1/threads/{id}/fleet-runs` |
222 | POST | `/v1/threads/{id}/fork` |
223 | POST | `/v1/threads/{id}/fork-at-turn` |
224 | DELETE / GET / PUT | `/v1/threads/{id}/goal` |
225 | POST | `/v1/threads/{id}/goal/block` |
226 | POST | `/v1/threads/{id}/goal/complete` |
227 | GET | `/v1/threads/{id}/graph` |
228 | GET | `/v1/threads/{id}/history` |
229 | GET | `/v1/threads/{id}/job-operations` |
230 | GET | `/v1/threads/{id}/job-operations/{operation_key}` |
231 | GET / POST | `/v1/threads/{id}/jobs` |
232 | GET | `/v1/threads/{id}/jobs/{job_id}` |
233 | POST | `/v1/threads/{id}/jobs/{job_id}/keepalive` |
234 | POST | `/v1/threads/{id}/jobs/{job_id}/kill` |
235 | GET | `/v1/threads/{id}/jobs/{job_id}/output` |
236 | POST | `/v1/threads/{id}/jobs/{job_id}/resize` |
237 | POST | `/v1/threads/{id}/jobs/{job_id}/stdin` |
238 | POST | `/v1/threads/{id}/members` |
239 | GET | `/v1/threads/{id}/members/operations/{operation_key}` |
240 | GET | `/v1/threads/{id}/notices` |
241 | DELETE | `/v1/threads/{id}/notices/{notice_id}` |
242 | POST | `/v1/threads/{id}/notifications/prepare` |
243 | GET / POST | `/v1/threads/{id}/patch-undo` |
244 | GET | `/v1/threads/{id}/plan` |
245 | POST | `/v1/threads/{id}/read` |
246 | GET | `/v1/threads/{id}/receipt` |
247 | POST | `/v1/threads/{id}/resume` |
248 | POST | `/v1/threads/{id}/retry` |
249 | POST | `/v1/threads/{id}/reviews` |
250 | GET | `/v1/threads/{id}/terminals` |
251 | POST | `/v1/threads/{id}/terminals/{terminal_id}/input` |
252 | POST | `/v1/threads/{id}/terminals/{terminal_id}/kill` |
253 | GET | `/v1/threads/{id}/terminals/{terminal_id}/output` |
254 | POST | `/v1/threads/{id}/terminals/{terminal_id}/resize` |
255 | GET | `/v1/threads/{id}/todo` |
256 | GET | `/v1/threads/{id}/turn-operations/{operation_key}` |
257 | POST | `/v1/threads/{id}/turns` |
258 | GET | `/v1/threads/{id}/turns/{turn_id}/artifacts` |
259 | GET | `/v1/threads/{id}/turns/{turn_id}/artifacts/{artifact_id}` |
260 | GET | `/v1/threads/{id}/turns/{turn_id}/calls/{tool_call_id}/changes` |
261 | POST | `/v1/threads/{id}/turns/{turn_id}/interrupt` |
262 | GET | `/v1/threads/{id}/turns/{turn_id}/receipt` |
263 | POST | `/v1/threads/{id}/turns/{turn_id}/steer` |
264 | POST | `/v1/threads/{id}/turns/{turn_id}/tool-calls/{call_id}/result` |
265 | POST | `/v1/threads/{id}/undo` |
266 | GET | `/v1/threads/{id}/usage` |
267 | POST | `/v1/threads/{id}/watch-turns` |
268 | GET | `/v1/threads/running` |
269 | GET | `/v1/threads/summary` |
270 | GET | `/v1/todo` |
271 | GET | `/v1/todos` |
272 | GET / POST | `/v1/triggers` |
273 | DELETE / GET | `/v1/triggers/{id}` |
274 | GET | `/v1/usage` |
275 | DELETE / POST | `/v1/user-input/{thread_id}/{input_id}` |
276 | GET | `/v1/voice` |
277 | POST | `/v1/voice/control` |
278 | POST | `/v1/voice/dictate` |
279 | POST | `/v1/voice/send` |
280 | POST | `/v1/voice/transcribe` |
281 | POST | `/v1/voice/tts` |
282 | GET / PUT | `/v1/whale/soul` |
283 | GET / POST | `/v1/whales` |
284 | DELETE / GET / PATCH | `/v1/whales/{id}` |
285 | POST | `/v1/whales/{id}/recycle` |
286 | GET | `/v1/workspace/customizations` |
287 | GET | `/v1/workspace/diff` |
288 | GET / PUT | `/v1/workspace/files` |
289 | GET | `/v1/workspace/files/read` |
290 | GET | `/v1/workspace/files/search` |
291 | GET | `/v1/workspace/instructions` |
292 | GET | `/v1/workspace/status` |
293 | POST | `/v1/workspace/trust` |
294 | GET / POST | `/v1/worktrees` |
295 | POST | `/v1/worktrees/remove` |
296
297 The source contains 274 distinct literal paths in this table.
298
298 lines MARKDOWN