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

# List monitor events

> List content changes detected by a monitor.



## OpenAPI

````yaml GET /v1/api/monitors/{id}/events
openapi: 3.1.0
info:
  title: PagePith API
  version: 0.1.0
  description: >-
    Turn any web page into clean, structured content. The API handles
    JavaScript-rendered sites, PDFs, and most bot-protected pages, returning
    readable markdown. Authenticate with your API key as a Bearer token. Usage
    is billed per successful scrape.
servers:
  - url: https://api.pagepith.com
    description: Production
security:
  - bearerAuth: []
tags:
  - name: Scrape
    description: Fetch and convert web pages
  - name: Video
    description: Transcribe public YouTube, Instagram, and TikTok videos
  - name: Monitoring
    description: Watch public pages for content changes
  - name: Blog
    description: Read published PagePith engineering articles
paths:
  /v1/api/monitors/{id}/events:
    get:
      tags:
        - Monitoring
      summary: List detected changes
      operationId: listMonitorEvents
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: Recent change events and diff summaries.
          content:
            application/json:
              schema:
                type: object
                required:
                  - events
                properties:
                  events:
                    type: array
                    items:
                      $ref: '#/components/schemas/MonitorEvent'
        '401':
          $ref: '#/components/responses/Unauthorized'
components:
  schemas:
    MonitorEvent:
      type: object
      required:
        - id
        - monitorId
        - summary
        - detectedAt
        - previousTitle
        - currentTitle
        - previousHash
        - currentHash
      properties:
        id:
          type: string
          format: uuid
        monitorId:
          type: string
          format: uuid
        summary:
          $ref: '#/components/schemas/DiffSummary'
        detectedAt:
          type: string
          format: date-time
        previousTitle:
          type:
            - string
            - 'null'
        currentTitle:
          type:
            - string
            - 'null'
        previousHash:
          type:
            - string
            - 'null'
        currentHash:
          type: string
    DiffSummary:
      type: object
      required:
        - addedLines
        - removedLines
        - addedCount
        - removedCount
      properties:
        addedLines:
          type: array
          items:
            type: string
        removedLines:
          type: array
          items:
            type: string
        addedCount:
          type: integer
        removedCount:
          type: integer
  responses:
    Unauthorized:
      description: Missing or invalid API key.
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: string
                enum:
                  - unauthorized
              message:
                type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'Your API key as a Bearer token: `Authorization: Bearer <api-key>`.'

````