postman-cli 1.89.0 → 1.91.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.
- package/man/postman.1 +97 -19
- package/package.json +6 -6
package/man/postman.1
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.TH POSTMAN 1 "2026-11-
|
|
1
|
+
.TH POSTMAN 1 "2026-11-17" "v1.91.0" "Postman CLI Manual"
|
|
2
2
|
.SH NAME
|
|
3
3
|
postman \- Command\-line companion utility for Postman
|
|
4
4
|
.SH SYNOPSIS
|
|
@@ -49,11 +49,11 @@ Specify the API key directly.
|
|
|
49
49
|
.B \-\-region <region>
|
|
50
50
|
Specify the region for authentication. Use "eu" for EU region.
|
|
51
51
|
.TP
|
|
52
|
-
.B \-\-
|
|
53
|
-
|
|
52
|
+
.B \-\-claim
|
|
53
|
+
Move the work from your temporary session on this machine into the team you sign in to, without asking. Needed to move it when there is no terminal to ask in (an agent, CI, a pipe).
|
|
54
54
|
.TP
|
|
55
|
-
.B \-\-no\-
|
|
56
|
-
|
|
55
|
+
.B \-\-no\-claim
|
|
56
|
+
Don't move the work from your temporary session on this machine, and don't ask. By default you are asked once you have signed in.
|
|
57
57
|
.TP
|
|
58
58
|
.B \-\-verbose
|
|
59
59
|
Show detailed error information
|
|
@@ -353,7 +353,7 @@ Add, get, update, or remove folders in a local v3 collection.
|
|
|
353
353
|
Add, update, remove, get, or list examples (saved responses) under a request.
|
|
354
354
|
.TP
|
|
355
355
|
.B collection import
|
|
356
|
-
Import a cURL, HAR,
|
|
356
|
+
Import a cURL, HAR, JMeter (.jmx), or ReadyAPI/SoapUI (.xml) source into a v3 collection (local, or cloud with \-\-workspace).
|
|
357
357
|
.TP
|
|
358
358
|
.B collection list
|
|
359
359
|
List collections: your local project's collections by default, or a Postman cloud workspace's collections with \-\-workspace.
|
|
@@ -423,6 +423,12 @@ Exit with failure if diagnostics at this level or above are present. [choices: "
|
|
|
423
423
|
.TP
|
|
424
424
|
.B \-r, \-\-reporter <value>
|
|
425
425
|
Output format: cli (human\-readable) or json. (default: cli)
|
|
426
|
+
.TP
|
|
427
|
+
.B \-\-readyapi
|
|
428
|
+
Lint a ReadyAPI\-imported collection: every script parses as JavaScript, uses only real pm.* APIs, and has no unresolved Groovy placeholder.
|
|
429
|
+
.TP
|
|
430
|
+
.B \-\-allow\-pending
|
|
431
|
+
With \-\-readyapi, treat un\-translated Groovy placeholders as warnings, not errors.
|
|
426
432
|
|
|
427
433
|
.SS "collection ai\-readiness"
|
|
428
434
|
Score a Postman collection for AI readiness by ID, local file path, or local\-mode directory.
|
|
@@ -1241,7 +1247,7 @@ Example type for cloud mode: http. (default: http)
|
|
|
1241
1247
|
JSON output.
|
|
1242
1248
|
|
|
1243
1249
|
.SS "collection import"
|
|
1244
|
-
Import a cURL, HAR,
|
|
1250
|
+
Import a cURL, HAR, JMeter (.jmx), or ReadyAPI/SoapUI (.xml) source into a v3 collection (local, or cloud with \-\-workspace).
|
|
1245
1251
|
|
|
1246
1252
|
.B Usage:
|
|
1247
1253
|
[options] <src>
|
|
@@ -1249,7 +1255,7 @@ Import a cURL, HAR, or JMeter (.jmx) source into a v3 collection (local, or clou
|
|
|
1249
1255
|
.B Options:
|
|
1250
1256
|
.TP
|
|
1251
1257
|
.B \-\-type <format>
|
|
1252
|
-
Source format: curl, har, or
|
|
1258
|
+
Source format: curl, har, jmeter, or readyapi. Auto\-detected from the extension/content when omitted.
|
|
1253
1259
|
.TP
|
|
1254
1260
|
.B \-\-name <name>
|
|
1255
1261
|
Collection display name. Defaults to a per\-format fallback.
|
|
@@ -1280,6 +1286,7 @@ Examples:
|
|
|
1280
1286
|
postman collection import ./login.curl
|
|
1281
1287
|
postman collection import ./session.har \-\-name "Recorded session"
|
|
1282
1288
|
postman collection import ./load\-test.jmx \-\-name "Load test"
|
|
1289
|
+
postman collection import ./project.xml \-\-type readyapi \-\-name "Orders API"
|
|
1283
1290
|
pbpaste | postman collection import \- \-\-type curl \-\-name Users
|
|
1284
1291
|
postman collection import ./session.har \-\-name Session \-\-workspace <workspaceId>
|
|
1285
1292
|
|
|
@@ -3942,9 +3949,9 @@ Load segments:
|
|
|
3942
3949
|
ramp\-up — 2 segments
|
|
3943
3950
|
|
|
3944
3951
|
peak ┤ _________ at peak __________
|
|
3945
|
-
│ ramp\-up _____
|
|
3946
|
-
│ ______
|
|
3947
|
-
base ┤__ warm\-up ___
|
|
3952
|
+
│ ramp\-up _____/
|
|
3953
|
+
│ ______/
|
|
3954
|
+
base ┤__ warm\-up ___/
|
|
3948
3955
|
└┬─────────────┬─────────────┬───────────────────────────┤ \-\-duration
|
|
3949
3956
|
1 2 (3)
|
|
3950
3957
|
|
|
@@ -3956,10 +3963,10 @@ Load segments:
|
|
|
3956
3963
|
|
|
3957
3964
|
spike — 3 segments · no time at the peak; use \-\-load\-profile peak to hold
|
|
3958
3965
|
|
|
3959
|
-
peak ┤
|
|
3960
|
-
│ ramp\-up _
|
|
3961
|
-
│ _
|
|
3962
|
-
base ┤______ warm\-up _______
|
|
3966
|
+
peak ┤ /\e
|
|
3967
|
+
│ ramp\-up _/ \e_ ramp\-down
|
|
3968
|
+
│ _/ \e_
|
|
3969
|
+
base ┤______ warm\-up _______/ \e______ at base _______
|
|
3963
3970
|
└┬─────────────────────┬─────┬─────┬─────────────────────┤ \-\-duration
|
|
3964
3971
|
1 2 3 (4)
|
|
3965
3972
|
|
|
@@ -3972,9 +3979,9 @@ Load segments:
|
|
|
3972
3979
|
peak — 4 segments
|
|
3973
3980
|
|
|
3974
3981
|
peak ┤ __ hold ___
|
|
3975
|
-
│ ramp\-up ____
|
|
3976
|
-
│ ____
|
|
3977
|
-
base ┤_ warm\-up _
|
|
3982
|
+
│ ramp\-up ____/ \e____ ramp\-down
|
|
3983
|
+
│ ____/ \e____
|
|
3984
|
+
base ┤_ warm\-up _/ \e_ at base __
|
|
3978
3985
|
└┬──────────┬──────────┬──────────┬──────────┬───────────┤ \-\-duration
|
|
3979
3986
|
1 2 3 4 (5)
|
|
3980
3987
|
|
|
@@ -5644,6 +5651,16 @@ Eligible runs are recorded in the mock's start history (source: cli) so they app
|
|
|
5644
5651
|
In CI the pipeline/branch is captured automatically. Best\-effort and never blocks the server;
|
|
5645
5652
|
use \-\-no\-history to opt out.
|
|
5646
5653
|
|
|
5654
|
+
A mock whose config.yaml sets "interceptRequests: false" does not answer requests itself:
|
|
5655
|
+
each one is forwarded to the upstream its "origin" names, path and query intact, and the
|
|
5656
|
+
response relayed back. A bare hostname is forwarded over https; write the scheme for
|
|
5657
|
+
anything else (origin: http://localhost:8080). Absent or true, the mock answers as usual.
|
|
5658
|
+
|
|
5659
|
+
Request bodies are parsed into req.body up to 10 MB. A larger body is still served, with
|
|
5660
|
+
req.body left undefined so the handler reads it as a stream; nothing is rejected at any size.
|
|
5661
|
+
Raise the cap with "maxRequestBodySize: 200mb" in config.yaml (or "unlimited"), or override it
|
|
5662
|
+
with POSTMAN_CLI_MOCK_MAX_REQUEST_BODY.
|
|
5663
|
+
|
|
5647
5664
|
Paths can be relative (e.g. ./postman/mocks/orders) or absolute (e.g. /Users/me/postman/mocks/orders).
|
|
5648
5665
|
|
|
5649
5666
|
|
|
@@ -6283,6 +6300,8 @@ Eg. postman simulation run ./postman/simulations/checkout/checkout.sim.yaml \-\-
|
|
|
6283
6300
|
|
|
6284
6301
|
\-\-proxy reads the same .sim.yaml, starts the mocks on throwaway ports behind the proxy, and records no start history. The hostnames a member stands in for are its `origin:` in the .sim.yaml, as a string or a list, and a member with none is never matched, so its host reaches the real service. `simulation create` copies that value from the mock's own manifest, which is where it is declared — so adding an `origin:` to a manifest does not change a .sim.yaml that already exists. Edit the member, or recreate the simulation.
|
|
6285
6302
|
|
|
6303
|
+
A member whose mock sets `interceptRequests: false` in its config.yaml is not matched either: its hostnames stay unclaimed and undecrypted, so those requests reach the real upstream. On the one routed port the same member forwards to its `origin:` instead.
|
|
6304
|
+
|
|
6286
6305
|
Because the mocks sit on throwaway ports, a manifest's own `port` is ignored. A member that does not answer within 30s gives 504 and one that cannot be reached gives 502. Ctrl+C prints the total, mocked and passed\-through request counts.
|
|
6287
6306
|
|
|
6288
6307
|
Every \-\-proxy\-* flag, plus \-\-scenario, \-\-session, \-\-log\-format, \-\-log\-body, \-\-doctor and \-\-lift, is inert without \-\-proxy and passing one alone is a usage error (exit 2), as is an unsupported \-\-log\-format.
|
|
@@ -7018,7 +7037,7 @@ Quick start:
|
|
|
7018
7037
|
postman search requests "auth"
|
|
7019
7038
|
postman search requests "auth" \-\-filter "method=POST AND visibility=public" \-\-ownership org \-\-limit 10 \-\-output json
|
|
7020
7039
|
|
|
7021
|
-
Element types: requests, collections, workspaces, flows, specs, environments, mocks, documents
|
|
7040
|
+
Element types: requests, collections, workspaces, flows, specs, environments, mocks, documents, datasets
|
|
7022
7041
|
|
|
7023
7042
|
Detailed help is split by element type:
|
|
7024
7043
|
postman search requests \-\-help Request filters and examples
|
|
@@ -7029,6 +7048,7 @@ Detailed help is split by element type:
|
|
|
7029
7048
|
postman search mocks \-\-help Mock filters and examples
|
|
7030
7049
|
postman search environments \-\-help Environment filters and examples
|
|
7031
7050
|
postman search documents \-\-help Document filters and examples
|
|
7051
|
+
postman search datasets \-\-help Dataset filters and examples
|
|
7032
7052
|
|
|
7033
7053
|
Pagination: \-\-limit accepts up to 25 results. Use \-\-cursor from the previous response to paginate.
|
|
7034
7054
|
|
|
@@ -7058,6 +7078,9 @@ Search for environments by name or keyword.
|
|
|
7058
7078
|
.TP
|
|
7059
7079
|
.B search documents
|
|
7060
7080
|
Search for documents by name or keyword.
|
|
7081
|
+
.TP
|
|
7082
|
+
.B search datasets
|
|
7083
|
+
Search for datasets by name or keyword.
|
|
7061
7084
|
|
|
7062
7085
|
.SS "search requests"
|
|
7063
7086
|
Search for requests by name or keyword.
|
|
@@ -7481,6 +7504,57 @@ Examples:
|
|
|
7481
7504
|
postman search documents \-\-filter "documentId=doc\-abc123"
|
|
7482
7505
|
|
|
7483
7506
|
|
|
7507
|
+
.SS "search datasets"
|
|
7508
|
+
Search for datasets by name or keyword.
|
|
7509
|
+
|
|
7510
|
+
.B Usage:
|
|
7511
|
+
[options] [query]
|
|
7512
|
+
|
|
7513
|
+
.TP Examples:
|
|
7514
|
+
|
|
7515
|
+
Use \-\-cursor from the previous response to paginate.
|
|
7516
|
+
Ownership:
|
|
7517
|
+
organization, org Search resources owned by your organization
|
|
7518
|
+
external Search resources outside your organization
|
|
7519
|
+
all Search both organization and external resources
|
|
7520
|
+
|
|
7521
|
+
Output modes:
|
|
7522
|
+
default Card list including basic overview and web link per result
|
|
7523
|
+
json Detailed JSON response with search metadata
|
|
7524
|
+
|
|
7525
|
+
Filter syntax:
|
|
7526
|
+
Use = or != for single values: workspaceId=ws\-1
|
|
7527
|
+
Use IN or NIN for comma\-separated values: workspaceId IN ws\-1,ws\-2
|
|
7528
|
+
Combine filters with AND. Operators are case\-insensitive.
|
|
7529
|
+
Quote supported values that contain spaces or commas: <field>="value with spaces"
|
|
7530
|
+
|
|
7531
|
+
\-\-filter\-json format:
|
|
7532
|
+
{"$and":[{"workspaceId":{"$eq":"ws\-abc123"}}]}
|
|
7533
|
+
Only a top\-level $and array is supported; $or and nested groups are not supported.
|
|
7534
|
+
Each condition maps one field to one operator object ($eq, $ne, $in, $nin).
|
|
7535
|
+
|
|
7536
|
+
Shared filter fields:
|
|
7537
|
+
privateNetwork $eq, $ne (true/false)
|
|
7538
|
+
publisherIsVerified $eq, $ne (true/false)
|
|
7539
|
+
visibility $eq, $ne (internal, public, partner)
|
|
7540
|
+
workspaceId $eq, $ne, $in, $nin
|
|
7541
|
+
createdBy $eq, $ne, $in, $nin (user ID)
|
|
7542
|
+
organizationId $eq, $ne, $in, $nin (organization ID)
|
|
7543
|
+
teamId $eq, $ne, $in, $nin (team ID)
|
|
7544
|
+
isGitConnected $eq, $ne (true/false)
|
|
7545
|
+
|
|
7546
|
+
Dataset filter fields:
|
|
7547
|
+
datasetId $eq, $ne, $in, $nin
|
|
7548
|
+
|
|
7549
|
+
ID filters such as createdBy, organizationId, teamId, workspaceId, and collectionId expect IDs.
|
|
7550
|
+
Use \-\-output json on a broader search result to inspect available IDs.
|
|
7551
|
+
|
|
7552
|
+
Examples:
|
|
7553
|
+
postman search datasets "customers"
|
|
7554
|
+
postman search datasets "orders" \-\-filter "workspaceId=ws\-abc123"
|
|
7555
|
+
postman search datasets \-\-filter "datasetId=dataset\-abc123"
|
|
7556
|
+
|
|
7557
|
+
|
|
7484
7558
|
.SS "webhook"
|
|
7485
7559
|
Create and manage Postman webhooks.
|
|
7486
7560
|
|
|
@@ -7788,6 +7862,9 @@ Forward incoming webhook requests to a local port.
|
|
|
7788
7862
|
|
|
7789
7863
|
.B Options:
|
|
7790
7864
|
.TP
|
|
7865
|
+
.B \-\-https
|
|
7866
|
+
Use HTTPS for the local listener; accepts self\-signed certificates.
|
|
7867
|
+
.TP
|
|
7791
7868
|
.B \-w, \-\-workspace <workspaceId>
|
|
7792
7869
|
Postman workspace ID
|
|
7793
7870
|
.TP
|
|
@@ -7799,6 +7876,7 @@ Postman API key
|
|
|
7799
7876
|
Examples:
|
|
7800
7877
|
postman webhook forward 00000000\-0000\-0000\-0000\-000000000000 8080
|
|
7801
7878
|
postman webhook forward https://abc123.webhook.pstmn.io 8080
|
|
7879
|
+
postman webhook forward 00000000\-0000\-0000\-0000\-000000000000 8111 \-\-https
|
|
7802
7880
|
|
|
7803
7881
|
|
|
7804
7882
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "postman-cli",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.91.0",
|
|
4
4
|
"description": "Official Postman CLI - Command-line companion for API development, testing, and automation",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"postman",
|
|
@@ -57,10 +57,10 @@
|
|
|
57
57
|
"scripts/"
|
|
58
58
|
],
|
|
59
59
|
"optionalDependencies": {
|
|
60
|
-
"@postman/pm-bin-macos-arm64": "1.
|
|
61
|
-
"@postman/pm-bin-macos-x64": "1.
|
|
62
|
-
"@postman/pm-bin-linux-x64": "1.
|
|
63
|
-
"@postman/pm-bin-linux-arm64": "1.
|
|
64
|
-
"@postman/pm-bin-windows-x64": "1.
|
|
60
|
+
"@postman/pm-bin-macos-arm64": "1.91.0",
|
|
61
|
+
"@postman/pm-bin-macos-x64": "1.91.0",
|
|
62
|
+
"@postman/pm-bin-linux-x64": "1.91.0",
|
|
63
|
+
"@postman/pm-bin-linux-arm64": "1.91.0",
|
|
64
|
+
"@postman/pm-bin-windows-x64": "1.91.0"
|
|
65
65
|
}
|
|
66
66
|
}
|