> ## Documentation Index
> Fetch the complete documentation index at: https://developers.myhero.so/llms.txt
> Use this file to discover all available pages before exploring further.

# Stream live changes for a published page's widgets

> A `text/event-stream` for the published document `publishedId`: `ready` once open, `table` with `{ tableIds }` when a table a switched-on widget reads changes (at most every two seconds), and `access` when a widget's switches or the page change.

Events carry ids only; widgets re-read through the widget routes.

Closes after 15 minutes; reconnect.

A guest signer is refused.



## OpenAPI

````yaml get /published/widget-events/{publishedId}
openapi: 3.1.0
info:
  title: HERO API
  version: current
  description: |-
    The HERO REST API.

    See https://developers.myhero.so for the rendered docs.
servers:
  - url: https://app.myhero.so
security: []
paths:
  /published/widget-events/{publishedId}:
    get:
      tags:
        - Published
      summary: Stream live changes for a published page's widgets
      description: >-
        A `text/event-stream` for the published document `publishedId`: `ready`
        once open, `table` with `{ tableIds }` when a table a switched-on widget
        reads changes (at most every two seconds), and `access` when a widget's
        switches or the page change.


        Events carry ids only; widgets re-read through the widget routes.


        Closes after 15 minutes; reconnect.


        A guest signer is refused.
      operationId: streamPublishedWidgetEvents
      parameters:
        - schema:
            type: string
            minLength: 1
          required: true
          name: publishedId
          in: path
      responses:
        '200':
          description: 200 response
          content:
            application/json:
              schema:
                type: string
        '404':
          description: 404 response
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    description: |-
                      Error class name (e.g.

                      ValidationError, NotFound)
                  message:
                    type: string
                    description: Human-readable error message
                  details:
                    type: array
                    items: {}
                required:
                  - error
                  - message
        '429':
          description: 429 response
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    description: |-
                      Error class name (e.g.

                      ValidationError, NotFound)
                  message:
                    type: string
                    description: Human-readable error message
                  details:
                    type: array
                    items: {}
                required:
                  - error
                  - message
      security:
        - bearerAuth: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: HERO personal access token

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.