Postman Plugin
Install
pnpm add -D @theholocron/holocron-plugin-postman
Capabilities
| Capability | Token |
|---|---|
tooling | HOLOCRON_POSTMAN_API_KEY (postman) |
Config
Section titled “Config”providers: { // Single Postman sync tooling: ["postman", { workspaceId: "abc123-...", }],
// Or alongside other tooling providers (multi) tooling: [ ["postman", { workspaceId: "abc123-..." }], ],}Options
Section titled “Options”| Option | Required | Description |
|---|---|---|
workspaceId |
Yes | Postman workspace id to sync into |
Authentication
Section titled “Authentication”- Sign in to web.postman.co
- Click your avatar (top-right) → Settings → API Keys
- Click Generate API Key, give it a name, and copy the key — it starts with
PMAK-
holocron auth set postman PMAK-xxxOr via env var:
export HOLOCRON_POSTMAN_API_KEY=PMAK-xxxWhat tooling provides
Section titled “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