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

# Monitor Statistic Logs

> Retrieve a paginated list of detection logs for a specific monitor.



## OpenAPI

````yaml en-openapi POST /monitors/statistics/logs
openapi: 3.0.0
info:
  description: >-
    The Pubrio API delivers market expansion intelligence — real-time signals
    that flag when a company enters a new market — alongside the company and
    people data beneath them. Search, look up, and enrich accounts and contacts,
    and subscribe to typed, dated movement signals across 200+ markets.
  version: 1.0.0
  title: Pubrio OpenAPI
  termsOfService: https://pubrio.com/en/terms-of-service
  contact:
    email: king.lai@pubrio.com
    name: King Lai
    url: https://pubrio.com/en/get-in-touch
  license:
    name: Apache 2.0
    url: http://www.apache.org/licenses/LICENSE-2.0.html
servers:
  - url: https://api.pubrio.com
security:
  - pubrio_api_key: []
tags:
  - name: Profile
    description: Workspace profile information and usage statistics
  - name: Enrichment
    description: Enrich people and company records with detailed B2B data
  - name: Lookalike
    description: Find companies similar to a given company
  - name: Search
    description: Search for people, companies, jobs, news, and advertisements with filters
  - name: Lookup
    description: >-
      Look up detailed information for specific people, companies, jobs, news,
      advertisements, and technologies
  - name: LinkedIn
    description: Look up people and company data via LinkedIn profile URLs
  - name: Redeem
    description: Redeem credits to unlock people contact details (single and batch)
  - name: Channels
    description: Manage outreach channel templates (create, update, delete, list)
  - name: Monitor
    description: Create and manage data monitors with webhooks, statistics, and processing
  - name: Filters
    description: >-
      Retrieve available filter values for search parameters (technologies,
      locations, verticals, etc.)
  - name: API Keys
    description: List and inspect API request logs and usage analytics for API keys
  - name: Insights
    description: Aggregated signal insights for companies (jobs, news, advertisements).
  - name: Export
    description: Bulk data exports (credit-gated).
  - name: Expansion
    description: >-
      Company market-expansion intelligence: signals, stages, markets, and
      exports.
externalDocs:
  description: >-
    The Pubrio API is used to search, preview and enrich Contacts and Accounts.
    Pubrio database provides extensive B2B contacts and sales intelligence data.
  url: https://docs.pubrio.com
paths:
  /monitors/statistics/logs:
    post:
      tags:
        - Monitor
      summary: List monitor statistics logs
      description: Retrieve a paginated list of detection logs for a specific monitor.
      operationId: monitors_list_statistics_logs
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                monitor_id:
                  type: string
                  format: uuid
                  description: Unique identifier of the monitor to retrieve logs for.
                monitor_ids:
                  type: array
                  items:
                    type: string
                    format: uuid
                  description: Filter to logs from these monitors.
                monitor_log_ids:
                  type: array
                  items:
                    type: string
                    format: uuid
                  description: Filter to these specific log entries.
                search_term:
                  type: string
                  description: >-
                    Search term matched against error_message, destination_type,
                    and detection_mode (case-insensitive substring).
                start_date:
                  type: string
                  format: date
                  description: >-
                    Start of the created_at date range (ISO date string). Used
                    together with end_date.
                end_date:
                  type: string
                  format: date
                  description: >-
                    End of the created_at date range (ISO date string). Used
                    together with start_date.
                order_by:
                  type: string
                  enum:
                    - created_at
                    - total_credit
                    - processing_time_ms
                    - total_signals
                    - status
                    - retry_attempt
                  description: Field to sort by. Defaults to created_at.
                  default: created_at
                is_ascending_order:
                  type: boolean
                  description: Sort in ascending order. Defaults to false (descending).
                  default: false
                statuses:
                  type: array
                  items:
                    type: string
                  description: >-
                    Filter by trigger status (e.g., 'success', 'failure'). Also
                    accepts the virtual value 'recovered' — failed triggers
                    whose retry later succeeded.
                signal_types:
                  type: array
                  items:
                    type: string
                  description: >-
                    Filter to logs whose signal types include any of these
                    values.
                destination_types:
                  type: array
                  items:
                    type: string
                  description: Filter by destination types (e.g., ['email', 'webhook']).
                detection_modes:
                  type: array
                  items:
                    type: string
                  description: >-
                    Filter by detection modes (e.g., ['company_first',
                    'signal_first']).
                per_page:
                  type: integer
                  description: >-
                    Records per page. Defaults to 25, which is also the ceiling
                    on most plans — the limit is your subscription's
                    `max_search_per_page`, returned by
                    [Profile](/en/api-reference/endpoint/profile/profile).
                    Exceeding it returns **HTTP 416** with code `41676` (or
                    `41613` on company and people search), not a clamped result
                    set.
                  default: 25
                page:
                  type: integer
                  description: >-
                    Page number, starting at 1. The ceiling is your
                    subscription's `max_search_page` (`max_company_search_page`
                    for company search), returned by
                    [Profile](/en/api-reference/endpoint/profile/profile).
                    Exceeding it returns **HTTP 416**.
                  default: 1
      responses:
        '200':
          description: >-
            Successful response. The envelope is `{ metadata: { filters }, data:
            { pagination, monitor_logs } }` — `metadata.filters` echoes the
            filters that were applied to the search.
          content:
            application/json:
              schema:
                type: object
                properties:
                  metadata:
                    type: object
                    properties:
                      filters:
                        type: object
                        description: Echo of the filters applied to this search.
                  data:
                    type: object
                    properties:
                      pagination:
                        type: object
                        properties:
                          page:
                            type: integer
                            description: Current page number.
                          per_page:
                            type: integer
                            description: Number of results per page.
                          total_entries:
                            type: integer
                            description: Total number of log entries.
                          total_pages:
                            type: integer
                            description: Total number of pages.
                          total_display_pages:
                            type: integer
                            description: Total number of display pages.
                          is_timeout:
                            type: boolean
                            description: Whether the query timed out.
                      monitor_logs:
                        type: array
                        items:
                          type: object
                          properties:
                            monitor_log_id:
                              type: string
                              format: uuid
                              description: Unique identifier for this log entry.
                            monitor_id:
                              type: string
                              format: uuid
                              description: >-
                                Identifier of the monitor that generated this
                                log.
                            parent_monitor_log_id:
                              type: string
                              description: >-
                                Identifier of the parent log entry, if this is a
                                retry.
                            detection_mode:
                              type: string
                              description: >-
                                Detection mode used. Either 'company_first' or
                                'signal_first'.
                            signal_type:
                              type: array
                              items:
                                type: string
                              description: >-
                                Types of signals monitored (e.g., 'jobs',
                                'news', 'advertisements').
                            destination_type:
                              type: string
                              description: >-
                                Delivery destination type (e.g., 'email',
                                'webhook').
                            response_status_code:
                              type: integer
                              description: HTTP status code from the destination response.
                            status:
                              type: string
                              description: >-
                                Status of the trigger execution (e.g.,
                                'success', 'failed').
                            error_message:
                              type: string
                              description: >-
                                Error message if the trigger failed. Empty
                                string on success.
                            total_signals:
                              type: integer
                              description: Total number of signals detected.
                            total_companies:
                              type: integer
                              description: Total number of companies found.
                            total_people:
                              type: integer
                              description: Total number of people found.
                            trigger_credit:
                              type: integer
                              description: Credits consumed for the trigger itself.
                            total_company_credit:
                              type: integer
                              description: Credits consumed for company enrichment.
                            total_people_credit:
                              type: integer
                              description: Credits consumed for people enrichment.
                            redeem_email_credit:
                              type: integer
                              description: Credits consumed for email redemption.
                            redeem_phone_credit:
                              type: integer
                              description: Credits consumed for phone redemption.
                            total_credit:
                              type: integer
                              description: Total credits consumed for this trigger.
                            retry_attempt:
                              type: integer
                              description: Number of retry attempts made.
                            processing_time_ms:
                              type: integer
                              description: Total processing time in milliseconds.
                            created_at:
                              type: string
                              format: date-time
                              description: Timestamp when the log entry was created.
                            retry_logs:
                              type: array
                              items:
                                type: object
                              description: Array of retry log entries, if any.
                            is_retry_succeed:
                              type: boolean
                              description: Whether a retry attempt succeeded.
              example:
                metadata:
                  filters:
                    statuses:
                      - failure
                    language: en
                data:
                  pagination:
                    page: 1
                    per_page: 25
                    total_entries: 45
                    total_pages: 2
                    total_display_pages: 2
                    is_timeout: false
                  monitor_logs:
                    - monitor_log_id: a1b2c3d4-e5f6-7890-abcd-ef1234567890
                      monitor_id: b2c3d4e5-f6a7-8901-bcde-f12345678901
                      parent_monitor_log_id: ''
                      detection_mode: company_first
                      signal_type:
                        - jobs
                        - news
                        - advertisements
                      destination_type: email
                      response_status_code: 200
                      status: success
                      error_message: ''
                      total_signals: 25
                      total_companies: 11
                      total_people: 32
                      trigger_credit: 15
                      total_company_credit: 11
                      total_people_credit: 33
                      redeem_email_credit: 0
                      redeem_phone_credit: 0
                      total_credit: 59
                      retry_attempt: 0
                      processing_time_ms: 97952
                      created_at: '2026-04-05T18:28:05.000Z'
                      retry_logs: []
                      is_retry_succeed: false
                    - ...
        '400':
          $ref: '#/components/responses/general_error'
        '429':
          $ref: '#/components/responses/rate_limit_error'
        '500':
          $ref: '#/components/responses/server_error'
components:
  responses:
    general_error:
      description: >-
        Bad request. The request was malformed or contained invalid parameters.
        Check the error code and message for details.
      content:
        application/json:
          schema:
            required:
              - code
              - message
              - details
            type: object
            properties:
              code:
                example: 40001
                type: integer
              message:
                example: >-
                  Errors and codes will vary depending on the scenario, please
                  see the documentation for information.
                type: string
              details:
                type: object
    rate_limit_error:
      description: >-
        Rate limit exceeded. Too many requests were made in a given time period.
        Retry after the rate limit window resets.
      content:
        application/json:
          schema:
            required:
              - error
            type: object
            properties:
              error:
                example: Request rate limit exceeded. Please wait and try again later.
                type: string
    server_error:
      description: >-
        Internal server error. An unexpected error occurred on the server.
        Contact support if the error persists.
      content:
        application/json:
          schema:
            required:
              - error
            type: object
            properties:
              error:
                example: An unexpected error occurred on the server.
                type: string
  securitySchemes:
    pubrio_api_key:
      type: apiKey
      name: pubrio-api-key
      description: >-
        A unique API token that represents the actions you perform through the
        API and the corresponding permissions and operations. You can create it
        through the [Settings](https://dashboard.pubrio.com/#/settings/)
        section.
      in: header

````

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