> For clean Markdown content of this page, append .md to this URL. For the complete documentation index, see https://learning.postman.com/llms.txt. For full content including API reference and SDK examples, see https://learning.postman.com/llms-full.txt.

# 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](https://platform.openai.com/docs/), [Anthropic](https://docs.anthropic.com/), [Google](https://ai.google.dev/gemini-api/docs), or an alternative provider such as  [HuggingFace](https://huggingface.co). 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:

1. Choose an existing workspace or [create a new one](/docs/collaborating-in-postman/using-workspaces/create-workspaces/).
2. In the left sidebar, click <img alt="Add icon" src="https://assets.postman.com/postman-docs/aether-icons/action-add-stroke.svg#icon" width="16px" /> > <img alt="Magic icon" src="https://assets.postman.com/postman-docs/aether-icons/descriptive-magic-stroke.svg#icon" width="16px" /> **AI**. Postman opens a new AI request in a new tab.
3. Click the **Select a provider or enter a URL** box. Postman lists the available model providers.
4. Choose one of the following options:
   1. To use a pre-defined provider and model, select one from the dropdown.
   2. To use a custom model, paste an OpenAI-compatible URL, which often ends in `v1`.
5. Open the **Authorization** tab. Postman selects an **Auth Type** for you.
6. (Optional) Select a different **Auth Type**.
7. Add your authorization details. To learn more, see [Add API authorization details to requests in Postman](/docs/use/send-requests/authorization/specifying-authorization-details/).
8. Open the **Prompt** tab, enter your user prompt, and (optional) enter your system prompt.
9. 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

If you don't have any [multi-protocol collections](/docs/use/use-collections/add-requests-to-collections/#about-multi-protocol-collections) in your workspace, Postman opens a save request dialog that asks you for a request and collection name. Otherwise, Postman displays more options, such as the option to add your new AI request to an existing collection.

To save your new AI request, do the following:

1. Click <img alt="Save icon" src="https://assets.postman.com/postman-docs/aether-icons/action-save-stroke.svg#icon" width="16px" /> **Save**. Postman opens a save request dialog.
2. Name your new AI request.
3. If you don't have any [multi-protocol collections](/docs/use/use-collections/add-requests-to-collections/#about-multi-protocol-collections) in your workspace, name your collection and skip to the last step.
4. (Optional) Click **Add description** and describe your new AI request.
5. 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.
6. 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**.
7. Click **Save**.

Your new AI request is ready to use to [interact with an AI model](/docs/use/send-requests/protocols/ai-requests/interact/). You can optionally [add an MCP server](/docs/use/send-requests/protocols/ai-requests/add-mcp-servers/) to your request. You can also [manage your settings](/docs/use/send-requests/protocols/ai-requests/manage/).