Skip to content

Commit 4d0ddd0

Browse files
feat(api): api update
1 parent a611c28 commit 4d0ddd0

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

‎.stats.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 36
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev/context.dev-c7625b4a7beb9e7d9827f3b836e6539cbc5f26b6754891d4352716e38cdecd73.yml
3-
openapi_spec_hash: cbee9cf164cc6704a6febb4d9737e83e
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev/context.dev-09b6020939995033719a53b988fb00bdb20c42d87070975a8d6b469fa18128fb.yml
3+
openapi_spec_hash: ba3e471937a679e2c45c0b9a115fca5c
44
config_hash: 7ec4851ee8d93177947e95df5ae897b5

‎pkg/cmd/monitor.go‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ var monitorsList = cli.Command{
222222
},
223223
&requestflag.Flag[string]{
224224
Name: "status",
225-
Usage: `Allowed values: "active", "paused", "failed".`,
225+
Usage: "Monitor lifecycle status. `failed` means the most recent run failed (see the monitor's `last_error`); failed monitors keep running on schedule and flip back to `active` on the next successful run. Monitors are auto-`paused` after repeated consecutive failures or insufficient-credit skips; resume by PATCHing status to `active`.",
226226
QueryPath: "status",
227227
},
228228
&requestflag.Flag[string]{
@@ -322,7 +322,7 @@ var monitorsListAccountRuns = cli.Command{
322322
},
323323
&requestflag.Flag[string]{
324324
Name: "status",
325-
Usage: `Allowed values: "queued", "running", "completed", "failed".`,
325+
Usage: "Lifecycle status of a run. `skipped` runs never executed — see `skip_reason` (insufficient credits, monitor paused, or superseded by a concurrent run).",
326326
QueryPath: "status",
327327
},
328328
},
@@ -388,7 +388,7 @@ var monitorsListRuns = cli.Command{
388388
},
389389
&requestflag.Flag[string]{
390390
Name: "status",
391-
Usage: `Allowed values: "queued", "running", "completed", "failed".`,
391+
Usage: "Lifecycle status of a run. `skipped` runs never executed — see `skip_reason` (insufficient credits, monitor paused, or superseded by a concurrent run).",
392392
QueryPath: "status",
393393
},
394394
},

0 commit comments

Comments
 (0)