You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pkg/cmd/batch.go
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -170,7 +170,7 @@ var batchSubmit = requestflag.WithInnerFlags(cli.Command{
170
170
},
171
171
&requestflag.InnerFlag[map[string]any]{
172
172
Name: "webhook.retry",
173
-
Usage: "Opt into durable webhook delivery. An empty object uses the default retry schedule. Omit retry to preserve legacy delivery behavior. The policy is snapshotted for each event.",
173
+
Usage: "Webhook retry settings. Use {} for the default schedule.",
Copy file name to clipboardExpand all lines: pkg/cmd/brand.go
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -134,7 +134,7 @@ var brandRetrieveSimplified = cli.Command{
134
134
},
135
135
&requestflag.Flag[[]string]{
136
136
Name: "tag",
137
-
Usage: "Optional comma-separated caller-defined tags for tracking this request. Tags are recorded on the request's usage log and can be used to filter usage on the dashboard usage page. Up to 20 tags, each 1-50 characters.",
137
+
Usage: "Comma-separated tags for tracking requestusage. Up to 20 tags, each 1-50 characters.",
138
138
QueryPath: "tags",
139
139
},
140
140
&requestflag.Flag[string]{
@@ -177,7 +177,7 @@ var brandSearch = cli.Command{
177
177
},
178
178
&requestflag.Flag[[]string]{
179
179
Name: "tag",
180
-
Usage: "Optional comma-separated caller-defined tags for tracking this request. Tags are recorded on the request's usage log and can be used to filter usage on the dashboard usage page. Up to 20 tags, each 1-50 characters.",
180
+
Usage: "Comma-separated tags for tracking requestusage. Up to 20 tags, each 1-50 characters.",
Copy file name to clipboardExpand all lines: pkg/cmd/industry.go
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -39,7 +39,7 @@ var industryRetrieveNaics = cli.Command{
39
39
},
40
40
&requestflag.Flag[[]string]{
41
41
Name: "tag",
42
-
Usage: "Optional comma-separated caller-defined tags for tracking this request. Tags are recorded on the request's usage log and can be used to filter usage on the dashboard usage page. Up to 20 tags, each 1-50 characters.",
42
+
Usage: "Comma-separated tags for tracking requestusage. Up to 20 tags, each 1-50 characters.",
43
43
QueryPath: "tags",
44
44
},
45
45
&requestflag.Flag[int64]{
@@ -77,7 +77,7 @@ var industryRetrieveSic = cli.Command{
77
77
},
78
78
&requestflag.Flag[[]string]{
79
79
Name: "tag",
80
-
Usage: "Optional comma-separated caller-defined tags for tracking this request. Tags are recorded on the request's usage log and can be used to filter usage on the dashboard usage page. Up to 20 tags, each 1-50 characters.",
80
+
Usage: "Comma-separated tags for tracking requestusage. Up to 20 tags, each 1-50 characters.",
Copy file name to clipboardExpand all lines: pkg/cmd/monitor.go
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -88,7 +88,7 @@ var monitorsCreate = requestflag.WithInnerFlags(cli.Command{
88
88
},
89
89
&requestflag.InnerFlag[map[string]any]{
90
90
Name: "webhook.retry",
91
-
Usage: "Opt into durable webhook delivery. An empty object uses the default retry schedule. Omit retry to preserve legacy delivery behavior. The policy is snapshotted for each event.",
91
+
Usage: "Webhook retry settings. Use {} for the default schedule.",
92
92
InnerField: "retry",
93
93
},
94
94
&requestflag.InnerFlag[string]{
@@ -192,7 +192,7 @@ var monitorsUpdate = requestflag.WithInnerFlags(cli.Command{
192
192
},
193
193
&requestflag.InnerFlag[map[string]any]{
194
194
Name: "webhook.retry",
195
-
Usage: "Opt into durable webhook delivery. An empty object uses the default retry schedule. Omit retry to preserve legacy delivery behavior. The policy is snapshotted for each event.",
195
+
Usage: "Webhook retry settings. Use {} for the default schedule.",
Copy file name to clipboardExpand all lines: pkg/cmd/parse.go
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -68,7 +68,7 @@ var parseHandle = requestflag.WithInnerFlags(cli.Command{
68
68
},
69
69
&requestflag.Flag[[]string]{
70
70
Name: "tag",
71
-
Usage: "Optional comma-separated caller-defined tags for tracking this request. Tags are recorded on the request's usage log and can be used to filter usage on the dashboard usage page. Up to 20 tags, each 1-50 characters.",
71
+
Usage: "Comma-separated tags for tracking requestusage. Up to 20 tags, each 1-50 characters.",
Copy file name to clipboardExpand all lines: pkg/cmd/web.go
+8-8Lines changed: 8 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -150,7 +150,7 @@ var webExtractCompetitors = cli.Command{
150
150
},
151
151
&requestflag.Flag[[]string]{
152
152
Name: "tag",
153
-
Usage: "Optional comma-separated caller-defined tags for tracking this request. Tags are recorded on the request's usage log and can be used to filter usage on the dashboard usage page. Up to 20 tags, each 1-50 characters.",
153
+
Usage: "Comma-separated tags for tracking requestusage. Up to 20 tags, each 1-50 characters.",
154
154
QueryPath: "tags",
155
155
},
156
156
&requestflag.Flag[int64]{
@@ -186,7 +186,7 @@ var webExtractFonts = cli.Command{
186
186
},
187
187
&requestflag.Flag[[]string]{
188
188
Name: "tag",
189
-
Usage: "Optional comma-separated caller-defined tags for tracking this request. Tags are recorded on the request's usage log and can be used to filter usage on the dashboard usage page. Up to 20 tags, each 1-50 characters.",
189
+
Usage: "Comma-separated tags for tracking requestusage. Up to 20 tags, each 1-50 characters.",
190
190
QueryPath: "tags",
191
191
},
192
192
&requestflag.Flag[int64]{
@@ -227,7 +227,7 @@ var webExtractStyleguide = cli.Command{
227
227
},
228
228
&requestflag.Flag[[]string]{
229
229
Name: "tag",
230
-
Usage: "Optional comma-separated caller-defined tags for tracking this request. Tags are recorded on the request's usage log and can be used to filter usage on the dashboard usage page. Up to 20 tags, each 1-50 characters.",
230
+
Usage: "Comma-separated tags for tracking requestusage. Up to 20 tags, each 1-50 characters.",
231
231
QueryPath: "tags",
232
232
},
233
233
&requestflag.Flag[int64]{
@@ -300,7 +300,7 @@ var webScreenshot = requestflag.WithInnerFlags(cli.Command{
300
300
},
301
301
&requestflag.Flag[[]string]{
302
302
Name: "tag",
303
-
Usage: "Optional comma-separated caller-defined tags for tracking this request. Tags are recorded on the request's usage log and can be used to filter usage on the dashboard usage page. Up to 20 tags, each 1-50 characters.",
303
+
Usage: "Comma-separated tags for tracking requestusage. Up to 20 tags, each 1-50 characters.",
304
304
QueryPath: "tags",
305
305
},
306
306
&requestflag.Flag[int64]{
@@ -673,7 +673,7 @@ var webWebScrapeHTML = requestflag.WithInnerFlags(cli.Command{
673
673
},
674
674
&requestflag.Flag[[]string]{
675
675
Name: "tag",
676
-
Usage: "Optional comma-separated caller-defined tags for tracking this request. Tags are recorded on the request's usage log and can be used to filter usage on the dashboard usage page. Up to 20 tags, each 1-50 characters.",
676
+
Usage: "Comma-separated tags for tracking requestusage. Up to 20 tags, each 1-50 characters.",
677
677
QueryPath: "tags",
678
678
},
679
679
&requestflag.Flag[int64]{
@@ -766,7 +766,7 @@ var webWebScrapeImages = requestflag.WithInnerFlags(cli.Command{
766
766
},
767
767
&requestflag.Flag[[]string]{
768
768
Name: "tag",
769
-
Usage: "Optional comma-separated caller-defined tags for tracking this request. Tags are recorded on the request's usage log and can be used to filter usage on the dashboard usage page. Up to 20 tags, each 1-50 characters.",
769
+
Usage: "Comma-separated tags for tracking requestusage. Up to 20 tags, each 1-50 characters.",
770
770
QueryPath: "tags",
771
771
},
772
772
&requestflag.Flag[int64]{
@@ -893,7 +893,7 @@ var webWebScrapeMd = requestflag.WithInnerFlags(cli.Command{
893
893
},
894
894
&requestflag.Flag[[]string]{
895
895
Name: "tag",
896
-
Usage: "Optional comma-separated caller-defined tags for tracking this request. Tags are recorded on the request's usage log and can be used to filter usage on the dashboard usage page. Up to 20 tags, each 1-50 characters.",
896
+
Usage: "Comma-separated tags for tracking requestusage. Up to 20 tags, each 1-50 characters.",
897
897
QueryPath: "tags",
898
898
},
899
899
&requestflag.Flag[int64]{
@@ -986,7 +986,7 @@ var webWebScrapeSitemap = cli.Command{
986
986
},
987
987
&requestflag.Flag[[]string]{
988
988
Name: "tag",
989
-
Usage: "Optional comma-separated caller-defined tags for tracking this request. Tags are recorded on the request's usage log and can be used to filter usage on the dashboard usage page. Up to 20 tags, each 1-50 characters.",
989
+
Usage: "Comma-separated tags for tracking requestusage. Up to 20 tags, each 1-50 characters.",
Copy file name to clipboardExpand all lines: pkg/cmd/webhookdelivery.go
+49-26Lines changed: 49 additions & 26 deletions
Original file line number
Diff line number
Diff line change
@@ -16,17 +16,18 @@ import (
16
16
17
17
varwebhooksDeliveriesRetrieve= cli.Command{
18
18
Name: "retrieve",
19
-
Usage: "Get the live status, retry policy, latest attempt, and replay expiration for a\nretained delivery. Use the attempts endpoint for its complete paginated history.\nThis endpoint costs no credits.",
19
+
Usage: "Get a webhook delivery, including its status and latest attempt.",
20
20
Suggest: true,
21
21
Flags: []cli.Flag{
22
22
&requestflag.Flag[string]{
23
23
Name: "delivery-id",
24
+
Usage: "Delivery ID.",
24
25
Required: true,
25
26
PathParam: "delivery_id",
26
27
},
27
28
&requestflag.Flag[[]string]{
28
29
Name: "tag",
29
-
Usage: "Optional comma-separated caller-defined tags for tracking this request. Tags are recorded on the request's usage log and can be used to filter usage on the dashboard usage page. Up to 20 tags, each 1-50 characters.",
30
+
Usage: "Comma-separated tags for tracking requestusage. Up to 20 tags, each 1-50 characters.",
30
31
QueryPath: "tags",
31
32
},
32
33
},
@@ -36,39 +37,55 @@ var webhooksDeliveriesRetrieve = cli.Command{
36
37
37
38
varwebhooksDeliveriesList= cli.Command{
38
39
Name: "list",
39
-
Usage: "List retained batch and monitor webhook deliveries for your organization, newest\nfirst. Filter by at most one of batch_id, monitor_id, or run_id, optionally\ncombined with status. Historical events without retained payloads are not\nlisted. This endpoint costs no credits.",
40
+
Usage: "List your batch or monitor webhook deliveries, newest first.",
40
41
Suggest: true,
41
42
Flags: []cli.Flag{
42
43
&requestflag.Flag[string]{
43
-
Name: "batch-id",
44
-
QueryPath: "batch_id",
44
+
Name: "type",
45
+
Usage: "Delivery source.",
46
+
Required: true,
47
+
BodyPath: "type",
45
48
},
46
49
&requestflag.Flag[string]{
47
-
Name: "cursor",
48
-
QueryPath: "cursor",
50
+
Name: "batch-id",
51
+
Usage: "Filter by batch ID.",
52
+
BodyPath: "batch_id",
49
53
},
50
-
&requestflag.Flag[int64]{
51
-
Name: "limit",
52
-
Default: 25,
53
-
QueryPath: "limit",
54
+
&requestflag.Flag[any]{
55
+
Name: "created-after",
56
+
Usage: "Only include events created after this ISO 8601 timestamp.",
57
+
BodyPath: "created_after",
54
58
},
55
59
&requestflag.Flag[string]{
56
-
Name: "monitor-id",
57
-
QueryPath: "monitor_id",
60
+
Name: "cursor",
61
+
Usage: "The next_cursor from the previous response.",
Usage: "Optional comma-separated caller-defined tags for tracking this request. Tags are recorded on the request's usage log and can be used to filter usage on the dashboard usage page. Up to 20 tags, each 1-50 characters.",
71
-
QueryPath: "tags",
76
+
Name: "tag",
77
+
Usage: "Optional tags for tracking usage. Up to 20 tags, each 1 to 50 characters.",
78
+
BodyPath: "tags",
79
+
},
80
+
&requestflag.Flag[string]{
81
+
Name: "monitor-id",
82
+
Usage: "Filter by monitor ID.",
83
+
BodyPath: "monitor_id",
84
+
},
85
+
&requestflag.Flag[string]{
86
+
Name: "run-id",
87
+
Usage: "Filter by monitor run ID.",
88
+
BodyPath: "run_id",
72
89
},
73
90
},
74
91
Action: handleWebhooksDeliveriesList,
@@ -77,26 +94,29 @@ var webhooksDeliveriesList = cli.Command{
77
94
78
95
varwebhooksDeliveriesListAttempts= cli.Command{
79
96
Name: "list-attempts",
80
-
Usage: "List individual HTTP attempts for a delivery, newest first, including their\ndestination, timestamps, HTTP status, and error. An interrupted attempt may have\nreached the endpoint even when its outcome is unknown. This endpoint costs no\ncredits.",
97
+
Usage: "List delivery attempts, newest first.",
81
98
Suggest: true,
82
99
Flags: []cli.Flag{
83
100
&requestflag.Flag[string]{
84
101
Name: "delivery-id",
102
+
Usage: "Delivery ID.",
85
103
Required: true,
86
104
PathParam: "delivery_id",
87
105
},
88
106
&requestflag.Flag[string]{
89
107
Name: "cursor",
108
+
Usage: "The next_cursor from the previous response.",
90
109
QueryPath: "cursor",
91
110
},
92
111
&requestflag.Flag[int64]{
93
112
Name: "limit",
113
+
Usage: "Number of attempts to return.",
94
114
Default: 25,
95
115
QueryPath: "limit",
96
116
},
97
117
&requestflag.Flag[[]string]{
98
118
Name: "tag",
99
-
Usage: "Optional comma-separated caller-defined tags for tracking this request. Tags are recorded on the request's usage log and can be used to filter usage on the dashboard usage page. Up to 20 tags, each 1-50 characters.",
119
+
Usage: "Comma-separated tags for tracking requestusage. Up to 20 tags, each 1-50 characters.",
100
120
QueryPath: "tags",
101
121
},
102
122
},
@@ -106,16 +126,18 @@ var webhooksDeliveriesListAttempts = cli.Command{
106
126
107
127
varwebhooksDeliveriesRetry= cli.Command{
108
128
Name: "retry",
109
-
Usage: "Queue an immediate attempt without rerunning or billing the underlying batch or\nmonitor. A waiting retry is brought forward. A failed delivery gets one\nadditional attempt without restarting its automatic retry budget. Set force:\ntrue to resend an acknowledged delivery. An in-progress attempt cannot be\nduplicated. The stored event body, event ID, and creation time remain unchanged;\neach attempt receives a fresh signature. Monitor retries use the current URL and\nsecret; removing the webhook cancels pending deliveries. Batch result URLs in\nold payloads may have expired: retrieve the batch to get fresh URLs. Replay is\navailable for seven days. A successful attempt cancels remaining automatic\nretries. Idempotency-Key is scoped to your organization and retained with the\ndelivery metadata; repeating the same key and input returns the original\naccepted response.",
129
+
Usage: "Retry a webhook delivery within seven days of creation.",
110
130
Suggest: true,
111
131
Flags: []cli.Flag{
112
132
&requestflag.Flag[string]{
113
133
Name: "delivery-id",
134
+
Usage: "Delivery ID.",
114
135
Required: true,
115
136
PathParam: "delivery_id",
116
137
},
117
138
&requestflag.Flag[bool]{
118
139
Name: "force",
140
+
Usage: "Resend a delivery that already succeeded.",
119
141
BodyPath: "force",
120
142
},
121
143
&requestflag.Flag[[]string]{
@@ -125,6 +147,7 @@ var webhooksDeliveriesRetry = cli.Command{
125
147
},
126
148
&requestflag.Flag[string]{
127
149
Name: "idempotency-key",
150
+
Usage: "Unique key to prevent duplicate retry requests.",
0 commit comments