Postman Plugin
@theholocron/holocron-plugin-postman implements the tooling capability against Postman’s REST API. It syncs API definitions from the repo into Postman workspaces, keeping collections and environments up to date with the source of truth.
Install
pnpm add -D @theholocron/holocron-plugin-postmanCapabilities
| Capability | Token required |
|---|---|
tooling |
HOLOCRON_POSTMAN_API_KEY (postman) |
Config
providers: { // Single Postman sync tooling: ["postman", { workspaceId: "abc123-...", }],
// Or alongside other tooling providers (multi) tooling: [ ["postman", { workspaceId: "abc123-..." }], ],}Options
| Option | Required | Description |
|---|---|---|
workspaceId |
Yes | Postman workspace id to sync into |
Authentication
holocron auth set postman PMAK-xxxOr via env var:
export HOLOCRON_POSTMAN_API_KEY=PMAK-xxxGenerate an API key in the Postman web app → Account Settings → API Keys.
What tooling provides
sync()— pulls the Postman workspace’s authoritative state and reconciles it with the repo’s API definitions (OpenAPI specs, collection files)doctor()— returns{ ok, message }indicating whether the Postman workspace is reachable and the API key is valid