For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Postman
PricingEnterprise
Contact SalesSign InSign Up for Free
HomeDocs
HomeDocs
      • Overview
      • Debug with Insights
      • Customize Insights
      • Uninstall Insights Agent
        • Overview
          • Overview
          • API Catalog deployment modes
          • apidump
          • kube inject
          • kube helm-fragment
          • kube tf-fragment
          • ecs add
          • ecs task-def
          • ecs cf-fragment
          • completion
      • FAQ
Postman API Platform

Product

  • Postman Overview
  • Enterprise
  • Spec Hub
  • Flows
  • Agent Mode
  • API Catalog
  • Fern
  • Postman CLI
  • Integrations
  • Workspaces
  • Plans and pricing

API Network

  • App Security
  • Artificial Intelligence
  • Communication
  • Data Analytics
  • Database
  • Developer Productivity
  • DevOps
  • Ecommerce
  • eSignature
  • Financial Services
  • Payments
  • Travel

Resources

  • Postman Docs
  • Academy
  • Community
  • Templates
  • Intergalactic
  • Videos
  • MCP Servers

Legal and Security

  • Legal Terms Hub
  • Terms of Service
  • Postman Product Terms
  • Security
  • Website Terms of Use

Company

  • About
  • Careers and culture
  • Contact us
  • Partner program
  • Customer stories
  • Student programs
  • Press and media
Twitter iconLinkedIn iconGithub iconYouTube iconInstagram iconDiscord icon
Download Postman
Privacy Policy

© 2026 Postman, Inc.

On this page
  • Usage
  • Flags
  • Global flags
  • Examples
Postman InsightsReferenceInsights agent

apidump command reference

||View as Markdown|
Was this page helpful?
Previous

Insights Agent deployment modes for the API Catalog

Next

kube inject command reference

Built with

The apidump command captures and stores a sequence of requests and responses to a service by observing network traffic. See Examples. For help, use -h or --help.

Usage

$postman-insights-agent apidump [flags]

Flags

  • --filter string - Match the packets going to and coming from the API service.
  • --host-allow strings - Allow only the HTTP hosts matching the regular expressions.
  • --host-exclusions strings - Remove the HTTP hosts matching the regular expressions.
  • --interfaces strings - List of network interfaces to listen on. Default: All interfaces on host.
  • --path-allow strings - Allow only the HTTP paths matching the regular expressions.
  • --path-exclusions strings - Remove the HTTP paths matching the regular expressions.
  • --project string - The Postman Insights project ID.
  • --rate-limit float - Number of requests per minute to capture. Default: 1000.

Global flags

  • --log-format string - Set to color, plain, or json to control the log format.
  • --proxy string - The domain name, IP address, or URL of an HTTP proxy server to use.

Examples

  • Capture all traffic from your collection and send it to the Insights Agent.

    $postman-insights-agent apidump --project <projectId>
  • Filter out requests fetching files with .png or .jpg extensions.

    $postman-insights-agent apidump ... --path-exclusions '.*\.png' --path-exclusions '.*\.jpg' ...
  • Filter out requests having host deb.debian.org.

    $postman-insights-agent apidump ... --host-exclusions 'deb\.debian\.org' ...
  • Only allow requests having host www.example.com.

    $postman-insights-agent apidump ... --host-allow 'www\.example\.com' ...
  • Only allow requests related to the admin endpoints.

    $postman-insights-agent apidump ... --path-allow '*/admin/*' ...