> ## 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.

# モニターイベントの一覧

> ページネーションされたスナップショットイベントを（最新のものから）一覧表示し、事前署名された snapshot_url 値を含みます。total_count のみを取得するために count_only=true をサポートします。



## OpenAPI

````yaml ja/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: モニターイベントを一覧表示
      description: スナップショットイベントを一覧表示します（最新が最初）で、短期間有効な署名付き`snapshot_url`値を含みます。
      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: '`next_cursor`からの不透明なカーソル。'
        - name: count_only
          in: query
          schema:
            type: string
            enum:
              - 'true'
              - '1'
          description: 'trueの場合、`{ "total_count": N }`のみを返します。'
      responses:
        '200':
          description: イベントページまたはカウント。
          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: 無効なmonitor_idまたはカーソル。
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: 無効なAPIキー。
        '404':
          description: モニターが見つかりません。
        '500':
          description: 内部サーバーエラー。
      security:
        - Authorization: []
components:
  schemas:
    MonitorEvent:
      type: object
      properties:
        id:
          type: string
          description: イベント識別子（`run_id`または`created_at`のフォールバック）。
        run_id:
          type: string
          nullable: true
        created:
          type: integer
          nullable: true
          description: Unixタイムスタンプ（秒）。
        changed:
          type: boolean
          nullable: true
        summary:
          type: string
          nullable: true
        snapshot_url:
          type: string
          format: uri
          nullable: true
          description: スナップショットJSONを取得するための短期間有効な署名付きURL。
    ErrorResponse:
      type: object
      properties:
        error:
          type: string
        monitor_id:
          type: string
          description: 一部の作成/更新エラーレスポンスに表示。
  securitySchemes:
    Authorization:
      type: http
      scheme: bearer
      description: Bearer <token>形式のBearer認証ヘッダー。<token>はあなたの認証トークンです。

````