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

# Get Monitor Run

> One of the caller's monitor runs, with the stories it delivered.



## OpenAPI

````yaml /api-reference/agent/openapi.json get /monitors/runs/{run_id}
openapi: 3.1.0
info:
  title: NewsCatcher Agent API
  description: >-
    Agent runs (events from a query, or news about companies), company lists and
    monitors. Authenticate with your API key in the x-api-key header.
  version: 1.0.0
servers:
  - url: https://api.newscatcherapi.com/agent
    description: Production server
security: []
paths:
  /monitors/runs/{run_id}:
    get:
      tags:
        - monitors
      summary: Get Monitor Run
      description: One of the caller's monitor runs, with the stories it delivered.
      operationId: get_monitor_run_monitors_runs__run_id__get
      parameters:
        - name: run_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Run Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MonitorRunDetail'
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '409':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Conflict
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unprocessable Entity
        '429':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Too Many Requests
        '503':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Service Unavailable
      security:
        - ApiKeyAuth: []
components:
  schemas:
    MonitorRunDetail:
      properties:
        run_id:
          type: string
          format: uuid
          title: Run Id
        role:
          type: string
          enum:
            - scheduled
            - source
          title: Role
          default: scheduled
        status:
          type: string
          title: Status
        error:
          anyOf:
            - type: string
            - type: 'null'
          title: Error
        created_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Created At
        finished_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Finished At
        monitor_id:
          anyOf:
            - type: string
              format: uuid
            - type: 'null'
          title: Monitor Id
        name:
          type: string
          title: Name
          default: ''
        kind:
          type: string
          title: Kind
          description: companies or dataset.
          default: companies
        stories:
          items:
            additionalProperties: true
            type: object
          type: array
          title: Stories
          description: 'Each: story (StoryOut), company, update.'
        companies:
          items:
            additionalProperties: true
            type: object
          type: array
          title: Companies
          description: >-
            What each company's refresh did: domain, news_status, created,
            updated, window.
        more:
          type: integer
          title: More
          description: New stories beyond this run's cap, delivered by the next run.
          default: 0
        rows:
          items:
            additionalProperties: true
            type: object
          type: array
          title: Rows
          description: What it delivered, one row each, with change (new | update).
        columns:
          items:
            type: string
          type: array
          title: Columns
          description: Column order; change first.
        found:
          type: integer
          title: Found
          description: 'Dataset monitors: rows the research found (new ones and repeats).'
          default: 0
        window_from:
          anyOf:
            - type: string
            - type: 'null'
          title: Window From
          description: 'Dataset monitors: first day this run covered.'
        window_to:
          anyOf:
            - type: string
            - type: 'null'
          title: Window To
          description: 'Dataset monitors: last day this run covered.'
      type: object
      required:
        - run_id
        - status
      title: MonitorRunDetail
      description: >-
        A monitor run with what it delivered, as the runs' table: `columns` and
        `rows`, each row with `change`

        (`new`, or `update` for a company story that grew since it was
        delivered). `stories` (company monitors) and

        `found` are the older fields, kept for compatibility.
    ErrorResponse:
      properties:
        code:
          type: string
          title: Code
        message:
          type: string
          title: Message
      type: object
      required:
        - code
        - message
      title: ErrorResponse
      description: 'Every error: a stable code and a message to show the user.'
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.