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

# Ottieni Esecuzione Monitor

> Restituisce i metadati dello snapshot e gli eventi del log dell’agente analizzati per una singola esecuzione del monitor.



## OpenAPI

````yaml it/openapi/monitors.json GET /v1/monitors/{monitor_id}/runs/{run_id}
openapi: 3.0.3
info:
  title: API dei Monitor
  version: 1.0.0
servers:
  - url: https://api.olostep.com
security: []
paths:
  /v1/monitors/{monitor_id}/runs/{run_id}:
    get:
      summary: Ottieni Esecuzione Monitor
      description: >-
        Restituisce i metadati dello snapshot e gli eventi di log dell'agente
        analizzati per una singola esecuzione.
      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: Dettaglio esecuzione.
          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: monitor_id o run_id non valido.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Chiave API non valida.
        '404':
          description: Monitor non trovato.
        '500':
          description: Errore interno del server.
      security:
        - Authorization: []
components:
  schemas:
    AgentLogEvent:
      type: object
      properties:
        id:
          type: string
        ts:
          type: integer
          description: Timestamp dell'evento CloudWatch (ms).
        ingestion_ts:
          type: integer
        stream:
          type: string
        message:
          type: string
        event:
          type: object
          additionalProperties: true
          description: >-
            Riga di log analizzata (per esempio `work_received`, `node_start`,
            `run_complete`).
    ErrorResponse:
      type: object
      properties:
        error:
          type: string
        monitor_id:
          type: string
          description: Presente su alcune risposte di errore create/update.
  securitySchemes:
    Authorization:
      type: http
      scheme: bearer
      description: >-
        Intestazione di autenticazione Bearer del tipo Bearer <token>, dove
        <token> è il tuo token di autenticazione.

````