Skip to content

Commit de6d2cb

Browse files
author
stlc-bot
committed
fix(openapi): keep legacy batch inputs in the spec as deprecated (#2225)
feat(access-policies): limit which websites API requests can reach (#2213) feat(brand): support log-free brand and styleguide requests (#2231) fix(brand): keep metadata-only usage logs for ZDR brand requests (#2234) feat(monitors): add search target to watch the web for new developments (#2215) Stainless-Generated-From: 5faf577793b3ac81606761802996df688af72067
1 parent d834285 commit de6d2cb

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

‎pkg/cmd/monitor.go‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@ var monitorsCreate = requestflag.WithInnerFlags(cli.Command{
2727
},
2828
&requestflag.Flag[map[string]any]{
2929
Name: "target",
30-
Usage: "What to watch: a page, a sitemap, or data extracted from a site.",
30+
Usage: "What to watch: a page, a sitemap, data extracted from a site, or web search results.",
3131
Required: true,
3232
BodyPath: "target",
3333
},
3434
&requestflag.Flag[map[string]any]{
3535
Name: "change-detection",
36-
Usage: "How changes are judged. Defaults to `semantic` for extract targets and page targets with `instructions`, otherwise `exact`.",
36+
Usage: "How changes are judged. Defaults to `semantic` for extract and search targets and page targets with `instructions`, otherwise `exact`.",
3737
BodyPath: "change_detection",
3838
},
3939
&requestflag.Flag[string]{
@@ -135,7 +135,7 @@ var monitorsUpdate = requestflag.WithInnerFlags(cli.Command{
135135
},
136136
&requestflag.Flag[map[string]any]{
137137
Name: "change-detection",
138-
Usage: "How changes are judged. Defaults to `semantic` for extract targets and page targets with `instructions`, otherwise `exact`.",
138+
Usage: "How changes are judged. Defaults to `semantic` for extract and search targets and page targets with `instructions`, otherwise `exact`.",
139139
BodyPath: "change_detection",
140140
},
141141
&requestflag.Flag[string]{
@@ -165,7 +165,7 @@ var monitorsUpdate = requestflag.WithInnerFlags(cli.Command{
165165
},
166166
&requestflag.Flag[map[string]any]{
167167
Name: "target",
168-
Usage: "What to watch: a page, a sitemap, or data extracted from a site.",
168+
Usage: "What to watch: a page, a sitemap, data extracted from a site, or web search results.",
169169
BodyPath: "target",
170170
},
171171
&requestflag.Flag[map[string]any]{
@@ -245,7 +245,7 @@ var monitorsList = cli.Command{
245245
},
246246
&requestflag.Flag[any]{
247247
Name: "search-by",
248-
Usage: "Fields to search with `q`. Defaults to all fields; page and extract targets can have instructions.",
248+
Usage: "Fields to search with `q`. Defaults to all fields; page, extract, and search targets can have instructions, and `url` matches a search target’s query.",
249249
QueryPath: "search_by",
250250
},
251251
&requestflag.Flag[string]{

0 commit comments

Comments
 (0)