---
title: "Get Stream"
method: GET
path: "/stream/{name}"
tags: ["Streams"]
---

# Get Stream

`GET /stream/{name}`

## Request

- Base URL: `https://api.lytics.io/v2`
- URL: `https://api.lytics.io/v2/stream/{name}`
- Auth: API key in header `Authorization`

Get stream by name

## Path parameters

- `name` string, required

## Query parameters

- `account_id` string

## Response `200`

Stream Response

- object
  - `_meta` object: Response Metadata
  - `data` object: Response Payload
    - `account_id` string
    - `aid` integer
    - `anomaly_rule` ModelsAnomalyRuleResp
      - `aid` integer
      - `checks` ModelsRuleCheckConfigReq[]
        - `allowable_violations` integer
        - `interval` string
        - `lookback_count` integer
        - `max_threshold` integer
        - `metric_type` string
        - `min_threshold` integer
        - `type` string
        - `variance_pct` number
      - `created` string
      - `id` string
      - `subject_id` string
      - `subject_type` string
      - `updated` string
    - `avg_event_size` integer: Average size of each message in bytes
    - `channel` string
    - `count` integer: Current count of messages this stream has seen
    - `created` string, date-time
    - `description` string
    - `hidden` boolean
    - `id` string
    - `internal` boolean
    - `jobs` string[]: Job IDs that have contributed data to the stream
    - `label` string
    - `last_msg_ts` string, date-time
    - `last_received_ts` string, date-time
    - `last_update_ts` string, date-time
    - `method` string
    - `name` string
    - `providers` string[]
    - `slug` string
    - `tables` string[]
    - `updated` string, date-time
  - `request_id` string
  - `status` integer: HTTP Status Code

## Other responses

- `400`: Bad Request
- `404`: Not Found
- `500`: Internal Server Error

## Changes

- **2026-11-03** `d8e975057aec`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/lytics/apis/lytics-api/changes/stream/:name/get.md)

---

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