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

# Get Monitor Run

> Returns snapshot metadata and parsed agent log events for a single monitor run.



## OpenAPI

````yaml openapi/monitors.json GET /v1/monitors/{monitor_id}/runs/{run_id}
openapi: 3.0.3
info:
  title: Monitors API
  version: 1.0.0
servers:
  - url: https://api.olostep.com
security: []
paths:
  /v1/monitors/{monitor_id}/runs/{run_id}:
    get:
      summary: Get Monitor Run
      description: Returns snapshot metadata and parsed agent log events for a single run.
      parameters:
        - name: monitor_id
          in: path
          required: true
          schema:
            type: string
            pattern: ^monitor_
        - name: run_id
          in: path
          required: true
          schema:
            type: string
            pattern: ^run_
      responses:
        '200':
          description: Run detail.
          content:
            application/json:
              schema:
                type: object
                properties:
                  monitor_id:
                    type: string
                  run_id:
                    type: string
                  snapshot:
                    type: object
                    additionalProperties: true
                    nullable: true
                  log_group:
                    type: string
                    nullable: true
                  events:
                    type: array
                    items:
                      $ref: '#/components/schemas/AgentLogEvent'
        '400':
          description: Invalid monitor_id or run_id.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Invalid API key.
        '404':
          description: Monitor not found.
        '500':
          description: Internal server error.
      security:
        - Authorization: []
components:
  schemas:
    AgentLogEvent:
      type: object
      properties:
        id:
          type: string
        ts:
          type: integer
          description: CloudWatch event timestamp (ms).
        ingestion_ts:
          type: integer
        stream:
          type: string
        message:
          type: string
        event:
          type: object
          additionalProperties: true
          description: >-
            Parsed log line (for example `work_received`, `node_start`,
            `run_complete`).
    ErrorResponse:
      type: object
      properties:
        error:
          type: string
        monitor_id:
          type: string
          description: Present on some create/update error responses.
  securitySchemes:
    Authorization:
      type: http
      scheme: bearer
      description: >-
        Bearer authentication header of the form Bearer <token>, where <token>
        is your auth token.

````