Skip to content

Commit 124b911

Browse files
committed
docs(webapp): watches create endpoint is kept for MCP, card owns dashboard creation
1 parent 1ebf9de commit 124b911

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

apps/webapp/app/routes/api.v1.dashboard-agent.watches.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,13 @@ import {
1616
import { authenticateUatOrApiRequest } from "~/services/uatRoutePreamble.server";
1717

1818
/**
19-
* `POST /api/v1/dashboard-agent/watches` — the agent's `schedule_watch` adapter.
19+
* `POST /api/v1/dashboard-agent/watches` — programmatic watch creation.
20+
*
21+
* Currently caller-less by design: the dashboard chat creates watches through
22+
* the configuration card (`watch-create` resource intent), and `schedule_watch`
23+
* only proposes that card. Kept for MCP — an external agent has no card surface,
24+
* so its watch creation lands here (the creation-time check, dedup, and caps are
25+
* already in place).
2026
*
2127
* Accepts ONLY the dashboard agent's delegated user-actor token. Unlike the other
2228
* UAT routes it does not also take a PAT: this endpoint creates something that

0 commit comments

Comments
 (0)