---
title: "Get stream queries"
method: GET
path: "/api/streams/{name}/queries"
tags: ["significant_events"]
deprecated: true
---

# Get stream queries

`GET /api/streams/{name}/queries`

> **Deprecated.**

**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/{name}/queries</span></div>

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

Fetches all queries linked to a stream that are visible to the current user in the current space.<br/><br/>[Required authorization] Route required privileges: read_stream.

## Path parameters

- `name` string, required

## Request body

- union
  - object
  - unknown
  - unknown

## Response `200`

List of queries linked to the stream.

---

[API](https://skmtc.net/elastic/apis/kibana-apis.md) · [All operations](https://skmtc.net/elastic/apis/kibana-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/elastic/kibana-apis/versions/531c9e2a7d23/schema)
