---
title: "Get stream attachments"
method: GET
path: "/api/streams/{streamName}/attachments"
tags: ["streams"]
---

# Get stream attachments

`GET /api/streams/{streamName}/attachments`

**Spaces method and path for this operation:**

<div><span class="operation-verb get">get</span>&nbsp;<span class="operation-path">/s/{space_id}/api/streams/{streamName}/attachments</span></div>

Refer to [Spaces](https://www.elastic.co/docs/deploy-manage/manage-spaces) for more information.

Fetches all attachments linked to a stream that are visible to the current user in the current space. Optionally filter by attachment types, search query, and tags.<br/><br/>[Required authorization] Route required privileges: read_stream.

## Path parameters

- `streamName` string, required

## Query parameters

- `query` string
- `attachmentTypes` string[]
- `tags` string[]

## Request body

- union
  - object
  - unknown

## Response `200`

Successfully retrieved attachments

## Changes

- **2026-08-12** `f4def03bd2af` — 1 breaking, 1 info
  - removed `subschema #2` from the request body `anyOf` list
  - the request's body became nullable

[Change history](https://skmtc.dev/elastic/apis/kibana-apis/changes/api/streams/:streamName/attachments/get.md)

---

[API](https://skmtc.dev/elastic/apis/kibana-apis.md) · [All operations](https://skmtc.dev/elastic/apis/kibana-apis/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/elastic/kibana-apis/revisions/d3fa2d005f9b/schema)
