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

# Trigger a monitor

> Run a monitor immediately, outside its cron schedule.



## OpenAPI

````yaml post /v1/monitors/{id}/trigger
openapi: 3.1.0
info:
  title: Scrapio
  version: 1.0.0
  description: >-
    Turn any URL into structured data. Fetch raw HTML, crawl sites, extract
    structured content, interact with dynamic pages, and search the web through
    one API.
  contact:
    name: Scrapio Support
    url: https://scrapio.dev
  license:
    name: Proprietary
servers:
  - url: https://api.scrapio.dev
    description: Production
security:
  - bearerAuth: []
tags:
  - name: System
  - name: Fetch
  - name: Crawl
  - name: Map
  - name: Interact
  - name: Search
  - name: Google
  - name: Fast Search
  - name: Jobs
  - name: YouTube
  - name: Amazon
  - name: Walmart
  - name: Booking
  - name: Agoda
  - name: Airbnb
  - name: ChatGPT
  - name: Perplexity
  - name: Gemini
  - name: Bing
  - name: Reddit
  - name: TikTok
  - name: Apple App Store
  - name: Target
  - name: Monitors
paths:
  /v1/monitors/{id}/trigger:
    post:
      tags:
        - Monitors
      summary: Trigger a monitor immediately
      description: >-
        Runs the monitor now, outside its cron schedule, and returns immediately
        with a `run_id`/`job_id` to poll -- it does not wait for the run to
        finish.
      operationId: triggerMonitor
      parameters:
        - name: id
          in: path
          required: true
          description: Monitor id.
          schema:
            type: string
            example: sch_abc123
      responses:
        '202':
          description: Run queued.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MonitorTriggerResponse'
        '401':
          description: Missing or invalid API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Monitor not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-codeSamples:
        - lang: cURL
          label: cURL
          source: >-
            curl -X POST https://api.scrapio.dev/v1/monitors/sch_abc123/trigger
            \
              -H "Authorization: Bearer $SCRAPIO_API_KEY"
components:
  schemas:
    MonitorTriggerResponse:
      type: object
      properties:
        request_id:
          type: string
        run_id:
          type: string
        job_id:
          anyOf:
            - type: string
            - type: 'null'
      required:
        - request_id
        - run_id
        - job_id
    ErrorResponse:
      type: object
      properties:
        request_id:
          type: string
        error:
          type: object
          properties:
            code:
              type: string
            message:
              type: string
          required:
            - code
            - message
        diagnostics:
          type: object
          properties:
            outcome:
              type: string
              enum:
                - failed
            retryable:
              type: boolean
            blocked:
              type: boolean
            timed_out:
              type: boolean
          required:
            - outcome
            - retryable
          additionalProperties: false
      required:
        - request_id
        - error
      additionalProperties: false
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key

````