working-with-messages changedbuild-with-claude/working-with-messages
Nearest release: v2.1.330, published under an hour before this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Recorded here
Lines+8added
Lines−8removed
From line
39
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits30to this page, all time
The whole hunk
from line 39, old and new numbered
/
from line 39
3939
4040Anthropic offers two ways to build with Claude, each suited to different use cases:
4141
42| | Messages API | Claude Managed Agents |
43| -------------- | ------------------------------------------- | ------------------------------------------------------------------------- |
44| **What it is** | Direct model prompting access | Pre-built, configurable agent harness that runs in managed infrastructure |
45| **Best for** | Custom agent loops and fine-grained control | Long-running tasks and asynchronous work |
42| | Messages API | Claude Managed Agents |
43| ----- | ----- | ----- |
44| **What it is** | Direct model prompting access | Pre-built, configurable agent harness that runs in managed infrastructure |
45| **Best for** | Custom agent loops and fine-grained control | Long-running tasks and asynchronous work |
4646
4747This guide covers common patterns for working with the Messages API, including basic requests, multi-turn conversations, prefill techniques, and vision capabilities. For complete API specifications, see the [Messages API reference](https://platform.claude.com/docs/en/api/messages/create). For the managed agent harness instead, see the [Claude Managed Agents overview](https://platform.claude.com/docs/en/managed-agents/overview).
4848
from line 1099
10991099
11001100[Data handling overview](https://platform.claude.com/docs/en/manage-claude/api-and-data-retention#feature-eligibility)
11011101
1102| Item | Zero data retention | HIPAA |
1103| ------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- |
1104| Status | Eligible (excludes [Covered Models](https://platform.claude.com/docs/en/manage-claude/api-and-data-retention#model-specific-data-retention-requirements)) | Eligible |
1105| Details | Standard API calls for generating Claude responses. | — |
1102| Item | Zero data retention | HIPAA |
1103| ----- | ----- | ----- |
1104| Status | Eligible (excludes [Covered Models](https://platform.claude.com/docs/en/manage-claude/api-and-data-retention#model-specific-data-retention-requirements)) | Eligible |
1105| Details | Standard API calls for generating Claude responses. | — |
11061106
11071107Applicable endpoints:
11081108
No line in this hunk matches that.