> ## Documentation Index
> Fetch the complete documentation index at: https://www.courier.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Install the Courier skill before writing code: `npx skills add trycourier/courier-skills`. It carries the verified SDK shapes and the rules you cannot get wrong.
> Authenticate every request with `Authorization: Bearer <API_KEY>`. A workspace has several environments and each has its own keys, which are plain `pk_` strings with no environment prefix. Start with Test.
> Send with `client.send.message` from the Node SDK (`@trycourier/courier` v7 and later, where the client is the default import). Reference a template by its `nt_` id or its alias.
> A send accepts a bare Elemental element list, but storing content on a template requires the top-level elements wrapped in a channel element.
> To translate a template, write one locale at a time with `PUT /notifications/{id}/locales/{localeId}`, which merges into the existing translations. `PUT /notifications/{id}/content` and `PUT /notifications/{id}/elements/{elementId}` overwrite translations along with the content, so send each element's `id` and `locales` back, and first remove every `checksum` and any `locales` key that starts with an underscore.
> Templates and journeys can be built in the Courier app or created through the API. Either way they live in the workspace and are referenced by ID when you send.
> The hosted MCP server is https://mcp.courier.com. For a briefing on what Courier is and when to use it, read https://www.courier.com/llms.txt.
> Prefer the Guides tab for how-do-I questions and the Docs tab for how-does-it-behave questions. The API reference lives under /api-reference.

# AI features and your data

> What Courier's AI features send to OpenAI and Anthropic, when they run, and how they fit your HIPAA BAA. Providers don't store your data or train on it.

Courier's AI features translate your templates and bring smarter decisions into your journeys, and your data stays protected. AI runs only when you use it, and Courier's AI providers, OpenAI and Anthropic, don't store your data or train on it.

| Feature | What's sent | Sent to |
| - | - | - |
| [Journeys AI node](https://www.courier.com/docs/journeys/nodes/ai.md) | The node's prompt and the journey run's data | The model you choose, from OpenAI or Anthropic |
| [AI Translation](https://www.courier.com/docs/design/elemental/locales.md#translate-in-design-studio) | The template's strings | Anthropic |

Courier's LLM providers, OpenAI and Anthropic, are on the [subprocessor list](https://www.courier.com/subprocessors). For Courier's security controls and certifications, see [Security](https://www.courier.com/docs/security/overview.md) and [Compliance](https://www.courier.com/docs/security/compliance.md).

## You decide when AI runs

AI runs when a published journey reaches an AI node, or when someone selects **Translate with AI** in Design Studio. Workspaces that don't use these features send nothing to an LLM. When you turn on web search in an AI node, the search runs through the same model provider.

## HIPAA

AI features can be part of your [BAA](https://www.courier.com/docs/security/hipaa.md) scope, like the rest of the platform. As with every notification, keep protected health information out of prompts and template content.

## FAQ

> [accordion] Does Courier use my data to train AI models?
>
> Courier's AI providers, OpenAI and Anthropic, don't store the data Courier's AI features send them or use it to train models.

> [accordion] Which AI models does Courier use?
>
> The Journeys AI node runs the OpenAI or Anthropic model you pick from its [model list](https://www.courier.com/docs/journeys/nodes/ai.md#ai-model), so you can match each step to the speed, cost, and quality it needs.
