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

# Lijst met Monitor Events

> Geeft een lijst van gepagineerde snapshot events (nieuwste eerst) met vooraf ondertekende snapshot_url waarden. Ondersteunt count_only=true voor alleen total_count.



## OpenAPI

````yaml nl/openapi/monitors.json GET /v1/monitors/{monitor_id}/events
openapi: 3.0.3
info:
  title: Monitors API
  version: 1.0.0
servers:
  - url: https://api.olostep.com
security: []
paths:
  /v1/monitors/{monitor_id}/events:
    get:
      summary: Lijst Monitor Gebeurtenissen
      description: >-
        Lijst momentopname-gebeurtenissen (nieuwste eerst) met kortlevende
        vooraf ondertekende `snapshot_url` waarden.
      parameters:
        - name: monitor_id
          in: path
          required: true
          schema:
            type: string
            pattern: ^monitor_
        - name: limit
          in: query
          schema:
            type: integer
            minimum: 1
            maximum: 100
            default: 25
        - name: cursor
          in: query
          schema:
            type: string
          description: Opaque cursor van `next_cursor`.
        - name: count_only
          in: query
          schema:
            type: string
            enum:
              - 'true'
              - '1'
          description: 'Wanneer waar, retourneert alleen `{ "total_count": N }`.'
      responses:
        '200':
          description: Gebeurtenispagina of aantal.
          content:
            application/json:
              schema:
                oneOf:
                  - type: object
                    properties:
                      data:
                        type: array
                        items:
                          $ref: '#/components/schemas/MonitorEvent'
                      has_more:
                        type: boolean
                      next_cursor:
                        type: string
                        nullable: true
                      total_count:
                        type: integer
                  - type: object
                    properties:
                      total_count:
                        type: integer
                    required:
                      - total_count
        '400':
          description: Ongeldige monitor_id of cursor.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Ongeldige API-sleutel.
        '404':
          description: Monitor niet gevonden.
        '500':
          description: Interne serverfout.
      security:
        - Authorization: []
components:
  schemas:
    MonitorEvent:
      type: object
      properties:
        id:
          type: string
          description: Gebeurtenisidentificatie (`run_id` of `created_at` fallback).
        run_id:
          type: string
          nullable: true
        created:
          type: integer
          nullable: true
          description: Unix-timestamp (seconden).
        changed:
          type: boolean
          nullable: true
        summary:
          type: string
          nullable: true
        snapshot_url:
          type: string
          format: uri
          nullable: true
          description: Kortlevende voorgetekende URL om snapshot JSON op te halen.
    ErrorResponse:
      type: object
      properties:
        error:
          type: string
        monitor_id:
          type: string
          description: Aanwezig bij sommige foutreacties bij aanmaken/bijwerken.
  securitySchemes:
    Authorization:
      type: http
      scheme: bearer
      description: >-
        Bearer authenticatie header in de vorm Bearer <token>, waar <token> jouw
        auth token is.

````