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

Generate Documentation with a Prompt

Writing endpoint documentation by hand is tedious — Agent Mode can fill in the Docs tab for every request in your collection from a single prompt. Postman's Agent Mode recipes collect ready-made prompts for tasks like this.

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

  2. In Agent Mode, type @ and select your Movies API collection as context.

  3. Write a prompt like:

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

  4. Review what Agent Mode proposes, then approve it.

  5. Open the Docs tab on a few requests to see the documentation Agent Mode generated.