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

# Get the Monitor run in progress

> Returns the Monitor run that is queued or in progress right now, if any, with its execution_id and status. Returns 204 when no run is in progress.

Operation ID: get__watchlists_id_active_execution.



## OpenAPI

````yaml /openapi/itoflow-public.openapi.json get /watchlists/{id}/active-execution
openapi: 3.1.0
info:
  description: >-
    All Itoflow APIs are experimental and may change without notice. Read-only
    operations marked interactive can be tried from the documentation; the
    others are reference-only.
  title: Itoflow Developer API
  version: 1.0.0
servers:
  - description: Itoflow API
    url: https://api.itoflow.ai
security: []
tags:
  - name: Account
  - name: Billing
  - name: Brokers
  - name: Chat
  - name: Connected MCP servers
  - name: GitHub
  - name: Market data
  - name: Monitors
  - name: Notifications
  - name: Portfolios
  - name: Risk runs
  - name: Sharing and data
  - name: Strategies
paths:
  /watchlists/{id}/active-execution:
    get:
      tags:
        - Monitors
      summary: Get the Monitor run in progress
      description: >-
        Returns the Monitor run that is queued or in progress right now, if any,
        with its execution_id and status. Returns 204 when no run is in
        progress.


        Operation ID: get__watchlists_id_active_execution.
      operationId: get__watchlists_id_active_execution
      parameters:
        - description: Monitor UUID
          in: path
          name: id
          required: true
          schema:
            description: Monitor UUID
            example: 550e8400-e29b-41d4-a716-446655440000
            format: uuid
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WatchlistActiveExecution'
          description: Active queued or running monitor execution
        '204':
          description: No active monitor execution exists
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Authentication required
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Not found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Server error
      security:
        - bearerAuth: []
components:
  schemas:
    WatchlistActiveExecution:
      properties:
        completed_at:
          type:
            - string
            - 'null'
        error_message:
          type:
            - string
            - 'null'
        execution_id:
          description: >-
            Monitor execution UUID. Use this value for the reports/{reportId}
            detail path; it is distinct from report_id.
          format: uuid
          type: string
        queued_at:
          type: string
        report_date:
          type: string
        run_type:
          $ref: '#/components/schemas/WatchlistRunType'
        started_at:
          type:
            - string
            - 'null'
        status:
          enum:
            - queued
            - running
          type: string
        superseded_at:
          type:
            - string
            - 'null'
        task_id:
          type:
            - string
            - 'null'
        watchlist_id:
          format: uuid
          type: string
        watchlist_version_id:
          format: uuid
          type: string
      required:
        - execution_id
        - watchlist_id
        - watchlist_version_id
        - run_type
        - report_date
        - queued_at
        - started_at
        - completed_at
        - superseded_at
        - status
      type: object
    Error:
      properties:
        available:
          description: Optional available amount or value
          type: string
        billing_action:
          $ref: '#/components/schemas/BillingAction'
        code:
          description: Machine-readable error code
          type: string
        currentVersion:
          description: Current server-side version, when relevant
          type: number
        details:
          description: Optional structured error details
        error:
          description: Error type or code
          type: string
        expectedVersion:
          description: Client-provided expected version, when relevant
          type: number
        message:
          description: Human-readable error message
          type: string
        requested:
          description: Optional requested amount or value
          type: string
        usage:
          description: Optional usage metadata for limit errors
      required:
        - error
      type: object
    WatchlistRunType:
      enum:
        - manual
        - scheduled
      type: string
    BillingAction:
      description: Action that resolves a billing-related rejection
      properties:
        href:
          type: string
        kind:
          enum:
            - upgrade
            - payment_method
            - spending_cap
            - billing
          type: string
        label:
          type: string
      required:
        - href
        - label
        - kind
      type: object
  securitySchemes:
    bearerAuth:
      bearerFormat: JWT
      description: Itoflow access token issued for the Itoflow API.
      scheme: bearer
      type: http

````

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