search-results changedbuild-with-claude/search-results
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+25added
Lines−25removed
From line
78
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits25to this page, all time
The whole hunk
from line 78, old and new numbered
/
from line 78
7878
7979### Required fields
8080
81| Field | Type | Description |
82| --------- | ------ | ---------------------------------------------------------------------------------------------------------------- |
83| `type` | string | Must be `"search_result"` |
84| `source` | string | The source of the content. Any stable string works: a URL, or an internal identifier such as `kb://article-1234` |
85| `title` | string | A descriptive title for the search result |
86| `content` | array | An array of text blocks containing the actual content |
81| Field | Type | Description |
82| ----- | ----- | ----- |
83| `type` | string | Must be `"search_result"` |
84| `source` | string | The source of the content. Any stable string works: a URL, or an internal identifier such as `kb://article-1234` |
85| `title` | string | A descriptive title for the search result |
86| `content` | array | An array of text blocks containing the actual content |
8787
8888### Optional fields
8989
90| Field | Type | Description |
91| --------------- | ------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
92| `citations` | object | Citation configuration with an `enabled` boolean field. Citations are disabled by default; every example on this page sets `"enabled": true` explicitly. All search results in a request must use the same setting (see [Citation control](https://platform.claude.com/docs/en/build-with-claude/search-results#citation-control)) |
93| `cache_control` | object | Cache control settings (for example, `{"type": "ephemeral"}`) |
90| Field | Type | Description |
91| ----- | ----- | ----- |
92| `citations` | object | Citation configuration with an `enabled` boolean field. Citations are disabled by default; every example on this page sets `"enabled": true` explicitly. All search results in a request must use the same setting (see [Citation control](https://platform.claude.com/docs/en/build-with-claude/search-results#citation-control)) |
93| `cache_control` | object | Cache control settings (for example, `{"type": "ephemeral"}`) |
9494
9595Each item in the `content` array must be a text block with:
9696
from line 1279
12791279
12801280Each citation includes:
12811281
1282| Field | Type | Description |
1283| --------------------- | -------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
1284| `type` | string | Always `"search_result_location"` for search result citations |
1285| `source` | string | The source from the original search result |
1286| `title` | string or null | The title from the original search result |
1287| `cited_text` | string | The full text of the cited block(s), concatenated. Equals the contents of `content[start_block_index:end_block_index]` joined together. Not counted toward output tokens. |
1288| `search_result_index` | integer | 0-based index of the cited search result among all `search_result` blocks in the request, in the order they appear (across all messages and tool results). |
1289| `start_block_index` | integer | 0-based index of the first cited block in the search result’s `content` array. |
1290| `end_block_index` | integer | Exclusive end index of the cited block range in the search result’s `content` array. Always greater than `start_block_index`. |
1282| Field | Type | Description |
1283| ----- | ----- | ----- |
1284| `type` | string | Always `"search_result_location"` for search result citations |
1285| `source` | string | The source from the original search result |
1286| `title` | string or null | The title from the original search result |
1287| `cited_text` | string | The full text of the cited block(s), concatenated. Equals the contents of `content[start_block_index:end_block_index]` joined together. Not counted toward output tokens. |
1288| `search_result_index` | integer | 0-based index of the cited search result among all `search_result` blocks in the request, in the order they appear (across all messages and tool results). |
1289| `start_block_index` | integer | 0-based index of the first cited block in the search result’s `content` array. |
1290| `end_block_index` | integer | Exclusive end index of the cited block range in the search result’s `content` array. Always greater than `start_block_index`. |
12911291
12921292The block indices identify a slice of the search result’s `content` array, and `cited_text` is the full text of that slice. The text block is the minimal citable unit: Claude cites whole blocks, not substrings within a block. To get finer-grained citations, split your search result content into smaller blocks (see [Multiple content blocks](https://platform.claude.com/docs/en/build-with-claude/search-results#multiple-content-blocks)).
12931293
from line 2221
22212221* Availability: Available
22222222* Usage: Send `search_result` blocks in a tool result or directly in a user message.
22232223
2224| Status | Cloud platforms |
2225| --------- | ----------------------- |
2224| Status | Cloud platforms |
2225| ----- | ----- |
22262226| Available | All supported platforms |
22272227
22282228#### [Managed Agents](https://platform.claude.com/docs/en/managed-agents/overview)
from line 2230
22302230* Availability: Available
22312231* Usage: Accepted only in tool results, such as a `user.custom_tool_result` event, not in `user.message` events.
22322232
2233| Status | Cloud platforms |
2234| --------- | ----------------------- |
2233| Status | Cloud platforms |
2234| ----- | ----- |
22352235| Available | All supported platforms |
22362236
22372237### Data handling
from line 2238
22382238
22392239[Data handling overview](https://platform.claude.com/docs/en/manage-claude/api-and-data-retention#feature-eligibility)
22402240
2241| Item | Zero data retention | HIPAA |
2242| ------ | --------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- |
2241| Item | Zero data retention | HIPAA |
2242| ----- | ----- | ----- |
22432243| Status | Eligible (excludes [Covered Models](https://platform.claude.com/docs/en/manage-claude/api-and-data-retention#model-specific-data-retention-requirements)) | Eligible |
22442244
22452245Applicable endpoints:
No line in this hunk matches that.