---
title: "Get list of streams"
method: GET
path: "/_fabric/{fabric}/_api/streams"
tags: ["Streams"]
---

# Get list of streams

`GET /_fabric/{fabric}/_api/streams`

## Request

- The document declares no server URL.
- Auth: one of:
  - API key in header `Authorization`
  - HTTP bearer
- TypeScript: <https://skmtc.dev/macrometa/apis/macrometa-api-reference/docs/_fabric/:fabric/_api/streams/get.ts> (a function with typed inputs; its response is checked against the schema)

Fetch the list of all streams.

## Path parameters

- `fabric` string, string, required

## Query parameters

- `global` boolean

## Response `200`

Successfully fetched the list of all streams.

- GetAllStreamsExamplesRc200
  - `error` boolean: Flag if there is an error in response. *False* for this response.
  - `code` integer: The generated response code.
  - `result` object[]: An array of streams.
    - `_key` string
    - `_id` string
    - `_rev` string
    - `db` string
    - `local` boolean
    - `tenant` string
    - `topic` string
    - `type` integer

## Other responses

- `400`: Failed due to missing or malformed data. Verify that all parameters are complete.
- `401`: Failed because you do not have administrator permissions.

---

[API](https://skmtc.dev/macrometa/apis/macrometa-api-reference.md) - [All operations](https://skmtc.dev/macrometa/apis/macrometa-api-reference/llms.txt) - [OpenAPI document](https://skmtc.dev/macrometa/apis/macrometa-api-reference/revisions/2006b6d7f31d?raw)
