---
title: "Stream events"
method: GET
path: "/events/stream"
tags: ["Events"]
---

# Stream events

`GET /events/stream`

## Request

- Base URL: `https://xquik.com/api/v1`
- URL: `https://xquik.com/api/v1/events/stream`
- Auth: one of:
  - API key in header `x-api-key`
  - HTTP bearer

Streams the account's monitor events as server-sent events, each named by its event type and numbered by its event ID. A reconnect that sends Last-Event-ID first gets every event after that one from the last 30 days, then each new event. A connection lasts up to 30 minutes and sends a comment every 15 seconds while idle. Keep up to 5 streams open per account. Events and streams cost no credits.

## Headers

- `Last-Event-ID` string

## Response `200`

Server-sent events. Each event's data line holds 1 Event as JSON.

## Other responses

- `400`: Invalid input. A value past its maxLength gets this answer, & the message names the field & its limit.
- `401`: Unauthenticated
- `429`: The account has 5 streams open, or used Xquik's read limit. Close a stream, or wait `Retry-After` seconds.

## Changes

- **2026-10-21** `245194cd4ea7`: 6 warning
  - added the new `topup_in_progress` enum value to the `allOf[#/components/schemas/Error]/error/oneOf[subschema #1: LegacyErrorCode]/` response property for the response status `429`
  - added the new `topup_in_progress` enum value to the `allOf[#/components/schemas/Error]/error/oneOf[subschema #2: StructuredError]/code` response property for the response status `429`
  - added the new `topup_in_progress` enum value to the `error/oneOf[subschema #1: LegacyErrorCode]/` response property for the response status `400`
  - added the new `topup_in_progress` enum value to the `error/oneOf[subschema #1: LegacyErrorCode]/` response property for the response status `401`
  - …2 more
- **2026-10-18** `dea38c0d032d`: 6 warning
  - added the new `x_video_too_large` enum value to the `allOf[#/components/schemas/Error]/error/oneOf[subschema #1: LegacyErrorCode]/` response property for the response status `429`
  - added the new `x_video_too_large` enum value to the `allOf[#/components/schemas/Error]/error/oneOf[subschema #2: StructuredError]/code` response property for the response status `429`
  - added the new `x_video_too_large` enum value to the `error/oneOf[subschema #1: LegacyErrorCode]/` response property for the response status `400`
  - added the new `x_video_too_large` enum value to the `error/oneOf[subschema #1: LegacyErrorCode]/` response property for the response status `401`
  - …2 more
- …earlier changes not shown

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

---

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