postman-cli 1.73.0 → 1.75.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/man/postman.1 +135 -4
  2. package/package.json +6 -6
package/man/postman.1 CHANGED
@@ -1,4 +1,4 @@
1
- .TH POSTMAN 1 "2026-10-09" "v1.73.0" "Postman CLI Manual"
1
+ .TH POSTMAN 1 "2026-10-16" "v1.75.0" "Postman CLI Manual"
2
2
  .SH NAME
3
3
  postman \- Command\-line companion utility for Postman
4
4
  .SH SYNOPSIS
@@ -63,6 +63,9 @@ Sign up to keep the work you created as a guest (claims your guest workspace). W
63
63
  .B \-\-guest
64
64
  Start working as an anonymous guest instead of signing up — no account or browser needed, so it works anywhere. Your work is saved to a temporary workspace you can keep later by running `postman signup`.
65
65
  .TP
66
+ .B \-\-no\-push
67
+ Do not push local work to your guest workspace before signing up. By default, work saved under postman/ is pushed first, so the workspace you keep is not empty.
68
+ .TP
66
69
  .B \-\-json
67
70
  Print the sign\-up details as machine\-readable JSON.
68
71
 
@@ -2057,6 +2060,9 @@ Output format for the results. [choices: "json", "csv"]
2057
2060
  .B \-\-workspace\-id <value>
2058
2061
  The workspace ID to use for fetching governance rulesets.
2059
2062
  .TP
2063
+ .B \-\-ruleset <path>
2064
+ Lint against a local Spectral ruleset.
2065
+ .TP
2060
2066
  .B \-\-report\-events
2061
2067
  Dispatch events to the API Catalog and Application Inventory ingestion pipelines (on by default)
2062
2068
  .TP
@@ -2366,12 +2372,16 @@ Collection ID to sync (required for cloud mode)
2366
2372
  Postman API key
2367
2373
  .TP
2368
2374
  .B \-\-force
2369
- Overwrite hand\-written scripts that the spec would otherwise drop
2375
+ Overwrite hand\-written scripts, headers and descriptions that the spec would otherwise drop
2376
+ .TP
2377
+ .B \-\-dry\-run
2378
+ Report what sync would change and remove without writing anything
2370
2379
 
2371
2380
  .TP Examples:
2372
2381
 
2373
2382
  Examples:
2374
2383
  postman spec sync collection ./postman/specs/My\e API/index.yaml
2384
+ postman spec sync collection ./postman/specs/My\e API/index.yaml \-\-dry\-run
2375
2385
  postman spec sync collection 12345\-spec\-id \-\-collection\-id 67890\-col\-id
2376
2386
 
2377
2387
 
@@ -2930,6 +2940,9 @@ Lint the current local Postman workspace: its configuration (.postman/resources.
2930
2940
  .B workspace get
2931
2941
  Read a workspace's metadata, and optionally the ids of what it holds.
2932
2942
  .TP
2943
+ .B workspace activity
2944
+ Read a workspace's activity feed.
2945
+ .TP
2933
2946
  .B workspace create
2934
2947
  Create a Postman workspace and bind it to this git repository.
2935
2948
  .TP
@@ -3079,6 +3092,50 @@ Exit codes: 0 ok, 1 not found or API failure, 2 bad usage, 3 auth.
3079
3092
 
3080
3093
 
3081
3094
 
3095
+ .SS "workspace activity"
3096
+ Read a workspace's activity feed.
3097
+
3098
+ .B Usage:
3099
+ [options] [id]
3100
+
3101
+ .B Options:
3102
+ .TP
3103
+ .B \-\-type <types>
3104
+ Comma\-separated element types to filter on, e.g. "api,collection".
3105
+ .TP
3106
+ .B \-\-contributor <ids>
3107
+ Comma\-separated user ids to filter on.
3108
+ .TP
3109
+ .B \-\-cursor <cursor>
3110
+ Fetch the page of entries that follows this cursor.
3111
+ .TP
3112
+ .B \-\-limit <n>
3113
+ Max entries to return.
3114
+ .TP
3115
+ .B \-\-markdown
3116
+ Ask the API for a human\-readable description of each entry.
3117
+ .TP
3118
+ .B \-\-json
3119
+ Print the feed as machine\-readable JSON.
3120
+ .TP
3121
+ .B \-\-timeout <ms>
3122
+ Milliseconds to wait for the API (default 30000).
3123
+
3124
+ .TP Examples:
3125
+
3126
+ Examples:
3127
+ postman workspace activity
3128
+ Reads the current folder's bound workspace
3129
+ postman workspace activity 00a50319\-1262\-49d2\-83e5\-551e3c5dba00
3130
+ postman workspace activity <id> \-\-type api,collection
3131
+ postman workspace activity <id> \-\-contributor <userId>
3132
+ postman workspace activity <id> \-\-markdown
3133
+ postman workspace activity <id> \-\-json
3134
+
3135
+ Exit codes: 0 ok, 1 not found or API failure, 2 bad usage, 3 auth.
3136
+
3137
+
3138
+
3082
3139
  .SS "workspace create"
3083
3140
  Create a Postman workspace and bind it to this git repository.
3084
3141
 
@@ -3353,7 +3410,7 @@ Manage performance tests on your collections.
3353
3410
  .B Subcommands:
3354
3411
  .TP
3355
3412
  .B performance run
3356
- Run a performance test on a collection
3413
+ Run a performance test on a collection (cloud collection UID or local collection path)
3357
3414
  .TP
3358
3415
  .B performance list
3359
3416
  List past performance runs for a collection, newest first.
@@ -3362,7 +3419,7 @@ List past performance runs for a collection, newest first.
3362
3419
  Get one performance run by ID.
3363
3420
 
3364
3421
  .SS "performance run"
3365
- Run a performance test on a collection
3422
+ Run a performance test on a collection (cloud collection UID or local collection path)
3366
3423
 
3367
3424
  .B Usage:
3368
3425
  <collectionId> [options]
@@ -3458,6 +3515,7 @@ Pass \-\-dataset multiple times to load several .dataset.yaml files (or director
3458
3515
 
3459
3516
  Examples:
3460
3517
  postman performance run 123456\-45159473\-1e45\-1f34\-5678\-1234567890ab # defaults: 20 VUs, ramp\-up, 1 minute
3518
+ postman performance run "postman/collections/My Collection" \-\-peak\-vu 10 \-\-duration 2 # a local collection, recorded only when git\-linked
3461
3519
  postman performance run <collectionId> \-\-load\-profile fixed \-\-peak\-vu 50 \-\-duration 15 # 50 VUs, flat
3462
3520
  postman performance run <collectionId> \-\-load\-profile spike \-\-peak\-vu 100 \-\-base\-vu 2 \-\-duration 5 \-\-load\-segments 1m30s,20s,40s
3463
3521
  postman performance run <collectionId> \-\-pass\-if "less_than(p95, 500)" \-\-pass\-if "less_than(error_rate, 5)" # fail if p95 is over 500ms or error rate is over 5%
@@ -3617,6 +3675,9 @@ Run a single flow from a file (e.g. ./path/to/flow.json)
3617
3675
  .B flows update
3618
3676
  Update settings for a deployed flow
3619
3677
  .TP
3678
+ .B flows delete
3679
+ Delete a flow. A flow id deletes the cloud flow; a local flow file path deletes that file only. Prompts for confirmation unless \-\-yes is passed.
3680
+ .TP
3620
3681
  .B flows list-runs
3621
3682
  List run history for a deployed flow
3622
3683
  .TP
@@ -3873,6 +3934,36 @@ Examples:
3873
3934
 
3874
3935
 
3875
3936
 
3937
+ .SS "flows delete"
3938
+ Delete a flow. A flow id deletes the cloud flow; a local flow file path deletes that file only. Prompts for confirmation unless \-\-yes is passed.
3939
+
3940
+ .B Usage:
3941
+ <flowIdOrPath> [options]
3942
+
3943
+ .B Options:
3944
+ .TP
3945
+ .B \-y, \-\-yes
3946
+ Skip the confirmation prompt
3947
+ .TP
3948
+ .B \-\-verbose
3949
+ Verbose output
3950
+ .TP
3951
+ .B \-\-debug
3952
+ Debug output
3953
+ .TP
3954
+ .B \-\-json
3955
+ JSON output
3956
+
3957
+ .TP Examples:
3958
+
3959
+ Examples:
3960
+ postman flows delete 6a04d32ec3c97f7f2fafc386
3961
+ postman flows delete 6a04d32ec3c97f7f2fafc386 \-\-yes
3962
+ postman flows delete ./postman/flows/my\-flow.json
3963
+ postman flows delete 6a04d32ec3c97f7f2fafc386 \-\-yes \-\-json
3964
+
3965
+
3966
+
3876
3967
  .SS "flows list\-runs"
3877
3968
  List run history for a deployed flow
3878
3969
 
@@ -4708,6 +4799,9 @@ Name for the mock. Taken from the source when you provide one; required for the
4708
4799
  .B \-\-port <port>
4709
4800
  Port the mock runs on (e.g. 4010) (default: 4500)
4710
4801
  .TP
4802
+ .B \-\-stateful
4803
+ Generate pm.state\-backed CRUD handlers (create/read/list/update/delete) instead of static example responses. Endpoints that are not CRUD\-shaped stay static. Applies to collection or spec sources.
4804
+ .TP
4711
4805
  .B \-\-force
4712
4806
  Overwrite the mock's files if the target folder already has one
4713
4807
  .TP
@@ -4729,6 +4823,7 @@ Eg. postman mock generate ./my\-collection.json
4729
4823
  postman mock generate \-\-name "My Mock" # sample shopping\-cart mock
4730
4824
  postman mock generate \-\-name "My Mock" \-\-port 4010 # sample mock, custom port
4731
4825
  postman mock generate ./openapi.yaml \-\-output ./postman/mocks/api \-\-port 4010
4826
+ postman mock generate ./openapi.yaml \-\-stateful # CRUD handlers backed by pm.state
4732
4827
  postman mock generate ./my\-collection.json \-\-update ./postman/mocks/orders
4733
4828
  postman mock generate ./my\-collection.json \-w 12345678\-90ab\-cdef\-1234\-567890abcdef # save to Postman cloud
4734
4829
 
@@ -4764,6 +4859,9 @@ Do not record this run in the mock's start history.
4764
4859
  .B \-\-output <format>
4765
4860
  Live output format: auto (default, human\-readable logs) or ndjson (one JSON event per line on stdout, ending with a "summary" event — for CI or other non\-interactive use) (default: auto)
4766
4861
  .TP
4862
+ .B \-\-verbose
4863
+ Show request and response headers and bodies for each request. By default each request prints one line, plus any applied scenario or error.
4864
+ .TP
4767
4865
  .B \-\-dataset <pathOrDir>
4768
4866
  Pass \-\-dataset multiple times to load several .dataset.yaml files (or directories containing them). Each is made available to the mock's handlers as pm.datasets(<id>). (default: )
4769
4867
 
@@ -4775,6 +4873,7 @@ Eg. postman mock run 12345678\-90ab\-cdef\-1234\-567890abcdef # by id, from Pos
4775
4873
  postman mock run ./postman/mocks/orders \-\-port auto # pick any free port
4776
4874
  postman mock run ./postman/mocks/orders \-\-port 4600 # use port 4600 (fails if it is in use)
4777
4875
  postman mock run ./postman/mocks/orders \-\-output ndjson # stream machine\-readable events
4876
+ postman mock run ./postman/mocks/orders \-\-verbose # include headers and bodies
4778
4877
  postman mock run ./postman/mocks/orders \-\-workspace <id> # record start history for a path run
4779
4878
  postman mock run ./postman/mocks/orders \-\-dataset ./postman/datasets/Orders
4780
4879
 
@@ -5076,6 +5175,12 @@ Dispatch application test run results to the API Catalog and Application Invento
5076
5175
  .B \-\-no\-report\-events
5077
5176
  Do not dispatch run results to the API Catalog and Application Inventory ingestion pipelines
5078
5177
  .TP
5178
+ .B \-\-generate\-collection
5179
+ Capture traffic and generate a collection with tests from it, then test with it. Saved to postman.config.cjs only when the target lists no collections.
5180
+ .TP
5181
+ .B \-y, \-\-yes
5182
+ Do not prompt for collection, command, or capture\-plugin setup: generate a collection from test traffic when none is configured, run `npx playwright test` when neither \-\-command nor the config sets a command (Playwright projects only), and install/patch the capture plugin. Workspace setup is unchanged and may still prompt in an interactive terminal.
5183
+ .TP
5079
5184
  .B \-\-verbose
5080
5185
  Show detailed per\-request matching, sandbox errors, and debug information
5081
5186
 
@@ -5094,6 +5199,12 @@ Run results are dispatched to the API Catalog and Application Inventory
5094
5199
  ingestion pipelines automatically after analysis.
5095
5200
  Use \-\-report\-events=false (or \-\-report\-events false) to skip dispatching run results.
5096
5201
 
5202
+ Outside an interactive terminal (CI, piped input), setup never prompts.
5203
+ With \-\-yes, the collection, command, and capture\-plugin steps do not
5204
+ prompt either. With no command set, `npx playwright test` is used when a
5205
+ playwright.config.* is found. Other missing answers exit with code 2: pass
5206
+ \-\-target\-collection, \-\-generate\-collection, \-\-command, or \-\-yes.
5207
+
5097
5208
  Examples:
5098
5209
  postman application test \-\-command "npx playwright test"
5099
5210
  postman application test \-\-target prod
@@ -5101,6 +5212,8 @@ Examples:
5101
5212
  postman application test \-\-target beta \-\-target\-collection api.json \-\-target\-environment staging.json
5102
5213
  postman app test \-\-capture\-only \-\-command "npx playwright test"
5103
5214
  postman app test \-\-capture\-only \-\-output ./my\-captured\-traffic/
5215
+ postman app test \-\-yes
5216
+ postman app test \-\-generate\-collection \-\-command "npx playwright test"
5104
5217
 
5105
5218
 
5106
5219
  .SS "application setup\-capture"
@@ -5113,6 +5226,12 @@ Install postman\-playwright and patch playwright.config.* to capture network tra
5113
5226
  .TP
5114
5227
  .B \-\-config <path>
5115
5228
  Path to playwright.config.* to patch (default: auto\-detect)
5229
+ .TP
5230
+ .B \-y, \-\-yes
5231
+ Install and patch without asking for confirmation (required outside an interactive terminal)
5232
+ .TP
5233
+ .B \-\-dry\-run
5234
+ Show the current capture setup and list what would be installed or patched, without changing files
5116
5235
 
5117
5236
  .TP Examples:
5118
5237
 
@@ -5123,9 +5242,18 @@ wraps your Playwright config's default export with withPostman().
5123
5242
  If auto\-patching is not possible (unusual config patterns), the
5124
5243
  command prints manual setup steps instead.
5125
5244
 
5245
+ Outside an interactive terminal (CI, piped input), the command makes
5246
+ no changes and exits with code 2 unless \-\-yes is passed.
5247
+
5248
+ \-\-dry\-run never changes files or prompts, and exits 0 (it takes
5249
+ precedence over \-\-yes).
5250
+
5126
5251
  Examples:
5127
5252
  postman app setup\-capture
5128
5253
  postman app setup\-capture \-\-config apps/api/playwright.config.ts
5254
+ postman app setup\-capture \-\-yes
5255
+ postman app setup\-capture \-\-yes \-\-config apps/api/playwright.config.ts
5256
+ postman app setup\-capture \-\-dry\-run
5129
5257
 
5130
5258
  After setup, run your tests normally:
5131
5259
  postman app test
@@ -5292,6 +5420,9 @@ Do not record this run in the simulation's start history
5292
5420
  .B \-\-output <format>
5293
5421
  Live output format: auto (default, human\-readable logs) or ndjson (one JSON event per line on stdout, ending with a "summary" event — for CI or other non\-interactive use) (default: auto)
5294
5422
  .TP
5423
+ .B \-\-verbose
5424
+ Show request and response headers and bodies for each request. By default each request prints one line, plus any applied scenario or error.
5425
+ .TP
5295
5426
  .B \-\-proxy
5296
5427
  Serve the mocks behind a local HTTP(S) forward proxy instead of one routed port, so a repo under test can point HTTP_PROXY/HTTPS_PROXY at it and reach each mock by hostname without code changes. Requires a simulation.yaml (routing config), not a .sim.yaml.
5297
5428
  .TP
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "postman-cli",
3
- "version": "1.73.0",
3
+ "version": "1.75.0",
4
4
  "description": "Official Postman CLI - Command-line companion for API development, testing, and automation",
5
5
  "keywords": [
6
6
  "postman",
@@ -62,10 +62,10 @@
62
62
  "scripts/"
63
63
  ],
64
64
  "optionalDependencies": {
65
- "@postman/pm-bin-macos-arm64": "1.73.0",
66
- "@postman/pm-bin-macos-x64": "1.73.0",
67
- "@postman/pm-bin-linux-x64": "1.73.0",
68
- "@postman/pm-bin-linux-arm64": "1.73.0",
69
- "@postman/pm-bin-windows-x64": "1.73.0"
65
+ "@postman/pm-bin-macos-arm64": "1.75.0",
66
+ "@postman/pm-bin-macos-x64": "1.75.0",
67
+ "@postman/pm-bin-linux-x64": "1.75.0",
68
+ "@postman/pm-bin-linux-arm64": "1.75.0",
69
+ "@postman/pm-bin-windows-x64": "1.75.0"
70
70
  }
71
71
  }