Create an AI request for your collection
You create AI requests to interact with AI models. You can choose any OpenAI-compatible model, whether it’s from OpenAI, Anthropic, Google, or an alternative provider such as HuggingFace. Use your requests to experiment, test, and evaluate different AI models, including fine-tuned, self-hosted, and local ones. Choose the model that best fits your security requirements, budget, and workflow.
Create a new AI request
To create a new AI request, do the following:
- Choose an existing workspace or create a new one.
- In the left sidebar, click
>
AI. Postman opens a new AI request in a new tab.
- Click the Select a provider or enter a URL box. Postman lists the available model providers.
- Choose one of the following options:
- To use a pre-defined provider and model, select one from the dropdown.
- To use a custom model, paste an OpenAI-compatible URL, which often ends in
v1.
- Open the Authorization tab. Postman selects an Auth Type for you.
- (Optional) Select a different Auth Type.
- Add your authorization details. To learn more, see Add API authorization details to requests in Postman.
- Open the Prompt tab, enter your user prompt, and (optional) enter your system prompt.
- Click Send.
Postman adds your Message (user prompt) and the Response to the open conversation. You can use the steps in the following section to save your new AI request to a collection.
Save your new AI request
You can add an AI request only to a collection that contains at least one non-HTTP request. If you don’t have one, click New Collection to create one when you save your request.
To save your new AI request, do the following:
- Click
Save. Postman opens a save request dialog.
- Name your new AI request.
- If you don’t have a collection that contains a non-HTTP request, name your new collection and skip to the last step.
- (Optional) Click Add description and describe your new AI request.
- To save your new request to an existing collection, select a collection. To save your request to an existing folder, select a folder. If you want to search for a collection or folder, enter your search term in the search box.
- If you want to create a new collection, click New Collection, name your collection, and click Create. If you want to create a new folder, click New Folder, name your folder, and click Create.
- Click Save.
Your new AI request is ready to use to interact with an AI model. You can optionally add an MCP server to your request. You can also manage your settings.