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

# Preview a monitor

> See what the monitor finds on recent news, without turning it on. A preview reads one recent window, sized to how much news the topic has, from an hour up to 7 days. It has no backfill and does not judge novelty, so it finishes faster than a seed. Previews are free.

Save `preview_id` from the response, then call Get preview details about once a second until `status` is `COMPLETED` or `FAILED`.



## OpenAPI

````yaml /api-rest/openapi/openapi_search_monitoring.json post /v1/monitors/{monitor_id}/preview
openapi: 3.1.0
info:
  title: Monitors API
  description: >-
    Run a saved Bigdata search on a schedule and get structured events when new
    content matches. Test a monitor on recent history before you turn it on.
  version: 1.0.0
servers:
  - url: https://api.bigdata.com
    description: Production server
security:
  - ApiKeyAuth: []
tags:
  - name: Monitors
    description: Create a monitor, test it on past content, then turn it on.
paths:
  /v1/monitors/{monitor_id}/preview:
    post:
      tags:
        - Monitors
      summary: Preview a monitor
      description: >-
        See what the monitor finds on recent news, without turning it on. A
        preview reads one recent window, sized to how much news the topic has,
        from an hour up to 7 days. It has no backfill and does not judge
        novelty, so it finishes faster than a seed. Previews are free.


        Save `preview_id` from the response, then call Get preview details about
        once a second until `status` is `COMPLETED` or `FAILED`.
      operationId: createPreview
      parameters:
        - $ref: '#/components/parameters/MonitorId'
      responses:
        '202':
          description: The preview was queued. Follow it with Get preview details.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PreviewAcceptedResponse'
              example:
                data:
                  preview_id: 1d2e3f4a-5b6c-7d8e-9f0a-1b2c3d4e5f60
                  monitor_id: 6af74cb7-0a6e-4ea0-8421-acde4c85e56a
                  status: QUEUED
                metadata:
                  request_id: 9f2c6b18-4e7a-4d05-8c31-0a6e5d2b91f4
                  timestamp: '2026-10-23T09:00:00Z'
        '401':
          description: An API key is required.
        '404':
          description: No monitor was found for this id.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                errors:
                  - message: Monitor not found
                metadata:
                  request_id: 9f2c6b18-4e7a-4d05-8c31-0a6e5d2b91f4
                  timestamp: '2026-10-23T09:00:00Z'
        '500':
          description: The preview could not be queued.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                errors:
                  - message: Internal server error
                metadata:
                  request_id: 9f2c6b18-4e7a-4d05-8c31-0a6e5d2b91f4
                  timestamp: '2026-10-23T09:00:00Z'
        '503':
          description: Runs cannot be queued right now. Try again shortly.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                errors:
                  - message: Service unavailable
                metadata:
                  request_id: 9f2c6b18-4e7a-4d05-8c31-0a6e5d2b91f4
                  timestamp: '2026-10-23T09:00:00Z'
components:
  parameters:
    MonitorId:
      name: monitor_id
      in: path
      required: true
      description: Id returned when you created the monitor.
      schema:
        type: string
        format: uuid
      example: 6af74cb7-0a6e-4ea0-8421-acde4c85e56a
  schemas:
    PreviewAcceptedResponse:
      type: object
      additionalProperties: false
      properties:
        data:
          $ref: '#/components/schemas/PreviewAccepted'
        metadata:
          $ref: '#/components/schemas/Metadata'
      required:
        - data
        - metadata
    ErrorResponse:
      type: object
      additionalProperties: false
      properties:
        errors:
          type: array
          items:
            $ref: '#/components/schemas/ErrorEntry'
        metadata:
          $ref: '#/components/schemas/Metadata'
      required:
        - errors
        - metadata
    PreviewAccepted:
      type: object
      additionalProperties: false
      properties:
        preview_id:
          type: string
          format: uuid
        monitor_id:
          type: string
          format: uuid
        status:
          type: string
          enum:
            - QUEUED
      required:
        - preview_id
        - monitor_id
        - status
    Metadata:
      type: object
      additionalProperties: false
      properties:
        request_id:
          type: string
          description: Id for this request. Include it if you contact support.
        timestamp:
          type: string
          format: date-time
      required:
        - request_id
        - timestamp
    ErrorEntry:
      type: object
      additionalProperties: false
      properties:
        message:
          type: string
          description: What went wrong. Validation errors name the field, then the problem.
      required:
        - message
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-KEY
      description: API key from the Bigdata Developer Platform.

````

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