Your progress is saved locally. to save it permanently.

0 of 2 steps0%
1

Add Status-Code Tests with a Prompt

Hand-writing the same assertion for every request is exactly the kind of repetitive work Agent Mode is built to take off your plate — describe the check once and let it apply the pattern across your whole collection.

  1. Open your Movies API collection from Part 1.

  2. In Agent Mode, write a prompt like:

    Add a post-response test to every request in my Movies API collection that checks the response status code is 200.

  3. Review the test scripts Agent Mode proposes, then approve it.

2

Run the "Auto-Generate Documentation for Endpoints" Template

Postman's Agent Mode template gallery has ready-made prompts curated by role — including ones for API Product Owners who need clean documentation without writing it by hand.

  1. Make sure you're in your [Your Name] - AI Basics workspace, with your Movies API collection open.

  2. Open the Agent Mode template gallery.

  3. Click View all API Product Owner prompts.

  4. Under Documentation, find the template titled "Auto-generate documentation for endpoints" — its prompt reads:

    Generate documentation for each endpoint, including purpose, parameters, and example responses.

  5. Click Run in Agent Mode, and when prompted, point it at your Movies API collection.

  6. Review the documentation Agent Mode generates — it writes the description directly onto each request, in the Docs tab.