> This page is for Postman Docs, version Latest (v12) (default).
> For other versions, use one of these documentation indexes:
> - Latest (v12) (default): https://learning.postman.com/latest-v-12/llms.txt
> - v11: https://learning.postman.com/v11/llms.txt

> For clean Markdown content of this page, append .md to this URL. For the complete documentation index, see https://learning.postman.com/llms.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 ![Add icon](https://assets.postman.com/postman-docs/aether-icons/action-add-stroke.svg#icon) > ![Magic icon](https://assets.postman.com/postman-docs/aether-icons/descriptive-magic-stroke.svg#icon) **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

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:

1. Click ![Save icon](https://assets.postman.com/postman-docs/aether-icons/action-save-stroke.svg#icon) **Save**. Postman opens a save request dialog.
2. Name your new AI request.
3. If you don't have a collection that contains a non-HTTP request, name your new 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/).