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
        • Overview
        • Postman Echo service
        • Postman Collection SDK
        • Postman Runtime library
        • Postman code generator
        • API format conversion
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
  • Accessing the Postman Runtime library
  • Next steps
ReferenceDeveloper resources

Configure request and collection runs using the Postman Runtime library

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

Create and manage collections using the Collection SDK

Next

Generate client code for your API collections

Built with

The Postman Runtime library is an open-source Node.js project you can use for low-level configuration over request sending in your API development and testing projects. It supports request sending and collection running in Postman and other interfaces including the Postman CLI.

Accessing the Postman Runtime library

To get started with the Runtime library, check out the repo’s README.

You can install the library from npm. The following example code shows a simplified outline of using the Runtime library in conjunction with the Collection SDK:

1runtime = require('postman-runtime');
2var runner = new runtime.Runner();
3
4// Collection object constructed using the Collection SDK
5var collection = new sdk.Collection();
6
7runner.run(collection, {
8 data: [],
9 timeout: {
10 request: 30000,
11 script: 5000
12 },
13 iterationCount: 1,
14
15 //other options...
16
17},
18function (err, run) {
19 // Callbacks to run as the collection runs
20 run.start(callbacks);
21});

You can use the Runtime library if you need a detailed configuration of your request runs. For example, it can be used as part of an automation workflow to integrate Postman Collection runs into your development pipeline.

Note that if you only need to run collections, you can use the Postman CLI.

Next steps

After you’ve gotten started with the Runtime library, you might also want to use the Postman API in your continuous integration and continuous deployment (CI/CD) workflow:

  • To learn more about incorporating Postman into your CI/CD workflow, visit Explore Postman’s command-line companion.