---
title: "Batch live-stream status lookup"
method: POST
path: "/streams/live-status"
tags: ["Streaming"]
---

# Batch live-stream status lookup

`POST /streams/live-status`

Filtered read returning compact live status for a batch of users (POST is used only to carry the id list; no data is written). Send a body of 1 - 50 Convex user IDs; duplicates are ignored and over-50 is rejected. Each response row is { id, isLive, platforms } and does not include the primaryStream detail returned by GET /users/{identifier}/stream. Users that do not exist, are banned, or whose profile hides stream status from the caller are omitted from the response (the batch never reveals which case applied or that a hidden user exists), so count may be less than the number of IDs sent. Unlike the single-user stream endpoint, IDs are matched by user ID only; usernames are not resolved. No pagination and no guaranteed ordering. Requires stream.read.

## Request body

- ApiBatchStreamStatusBody — Batch live-status request body.
  - `userIds` string[], required — User IDs to look up (1-50).

## Response `200`

Per-user live status for the visible subset of requested users.

- ApiBatchStreamStatusEnvelope — Batch live-status results plus a response timestamp. Users not visible to the caller are omitted.
  - `statuses` ApiBatchStreamStatus[], required
    - `id` string, required — User ID.
    - `isLive` boolean, required
    - `platforms` StreamPlatform[], required
  - `count` integer, required
  - `timestamp` string, required — ISO 8601 timestamp.

## Other responses

- `400` — Bad request (invalid body, cursor, limit, or date).
- `401` — Missing or invalid API key.
- `403` — API key lacks the required permission.
- `429` — Rate limited.
- `500` — Internal server error.

---

[API](https://skmtc.net/teambattles/apis/teambattles-api.md) · [All operations](https://skmtc.net/teambattles/apis/teambattles-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/teambattles/teambattles-api/versions/2ffe8fb53b7d/schema)
