Monitor commands: update
The Monitor Verbs update as CLI commands, with inputs, result, refusals and an example.
Reference for Monitor, one group of Monitor commands.
Monitor.update
Changes the given properties of a Monitor. Verb page.
npx startup-builder do Monitor.update --json '<input>' [--try | --send | --do]Emits Monitor.updated.
Inputs
| Input | Type | Required | Description |
|---|---|---|---|
id | string | required | The id of the Monitor. |
kind | string | internal watches the Startup’s own routes and jobs; outside watches the world, such as a rival’s price. | |
target | string | What it checks: a route, a Domain, a Keyword, a prompt or a page. | |
every | string | How often it runs, such as 1m or 1d. |
Returns
| Output | Type | Required | Description |
|---|---|---|---|
monitor | Monitor | required | The Monitor. |
Refuses when
| Check | Error | Fix | Then call |
|---|---|---|---|
| The key is valid, but its scopes do not allow this operation. | forbidden | Use a key whose scopes cover the operation, or ask an owner of the namespace to grant them. | None. |
Example
npx startup-builder do Monitor.update --json '{"id": "monitor_8Ed0ESvvRl", "kind": "internal"}'