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

# List Monitors

> The organization's monitors, newest first, each with its last run.



## OpenAPI

````yaml /api-reference/openapi.json get /monitors
openapi: 3.1.0
info:
  title: Croma Marketplace API
  version: 1.0.0
  description: >-
    Government-data APIs for Colombia, Peru, Mexico, and global web search.
    Croma normalizes public-sector data into structured JSON for product teams
    and AI agents.


    Every operation is a POST with a JSON body and an organization API key as a
    bearer token; every operation is an idempotent lookup and accepts an
    optional `Idempotency-Key` header. Paths carry their major version (`/v1`);
    the versioning and deprecation policy, including the `Deprecation` and
    `Sunset` headers a retiring endpoint sends, is at
    https://docs.usecroma.com/versioning. Rate limits are per organization and
    reported on every response (`RateLimit-Policy`, `X-RateLimit-*`):
    https://docs.usecroma.com/rate-limits.
  termsOfService: https://usecroma.com/en/terms
  contact:
    name: Croma support
    url: https://usecroma.com/en/support
    email: tomas@usecroma.com
servers:
  - url: https://api.croma.run
security: []
paths:
  /monitors:
    get:
      tags:
        - Monitors
      summary: List Monitors
      description: The organization's monitors, newest first, each with its last run.
      operationId: list_monitors
      parameters:
        - name: page
          in: query
          required: false
          schema:
            type: integer
            minimum: 1
            default: 1
        - name: per_page
          in: query
          required: false
          schema:
            type: integer
            minimum: 1
            maximum: 50
            default: 20
      responses:
        '200':
          description: Monitors and pagination.
          headers:
            X-Request-Id:
              $ref: '#/components/headers/X-Request-Id'
            RateLimit-Policy:
              $ref: '#/components/headers/RateLimit-Policy'
            Idempotency-Key:
              $ref: '#/components/headers/Idempotency-Key'
            Deprecation:
              $ref: '#/components/headers/Deprecation'
            Sunset:
              $ref: '#/components/headers/Sunset'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MonitorListResponse'
        '401':
          description: Missing or invalid API key
          headers:
            X-Request-Id:
              $ref: '#/components/headers/X-Request-Id'
            RateLimit-Policy:
              $ref: '#/components/headers/RateLimit-Policy'
            Idempotency-Key:
              $ref: '#/components/headers/Idempotency-Key'
            Deprecation:
              $ref: '#/components/headers/Deprecation'
            Sunset:
              $ref: '#/components/headers/Sunset'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '429':
          description: Rate limit exceeded
          headers:
            X-Request-Id:
              $ref: '#/components/headers/X-Request-Id'
            RateLimit-Policy:
              $ref: '#/components/headers/RateLimit-Policy'
            Idempotency-Key:
              $ref: '#/components/headers/Idempotency-Key'
            Deprecation:
              $ref: '#/components/headers/Deprecation'
            Sunset:
              $ref: '#/components/headers/Sunset'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      security:
        - bearerAuth: []
components:
  headers:
    X-Request-Id:
      description: Unique id for the request (req_…). Include it in support reports.
      schema:
        type: string
    RateLimit-Policy:
      description: >-
        Quota policy for this endpoint as an IETF RateLimit-Policy structured
        field, e.g. `"default";q=100;w=86400` (100 requests per 86400-second
        window per organization). Endpoints with an extra hourly ceiling list
        both policies, e.g. `"webSearch";q=10;w=3600, "default";q=100;w=86400`.
        Present on every response, including 401 and 429.
      schema:
        type: string
        example: '"default";q=100;w=86400'
    Idempotency-Key:
      description: >-
        The `Idempotency-Key` the request carried, echoed back unchanged. Absent
        when the request sent none.
      schema:
        type: string
    Deprecation:
      description: >-
        Present only on an endpoint version scheduled for removal: the date the
        deprecation took effect (RFC 9745). A `Sunset` header and a `Link` with
        `rel="successor-version"` accompany it. Policy:
        https://docs.usecroma.com/versioning
      schema:
        type: string
        example: '@1767225600'
    Sunset:
      description: >-
        Present only on an endpoint version scheduled for removal: the date
        after which it answers 410 (RFC 8594). Announced in the changelog at
        least 90 days ahead.
      schema:
        type: string
        format: date-time
        example: Wed, 01 Apr 2026 00:00:00 GMT
  schemas:
    MonitorListResponse:
      type: object
      required:
        - data
      properties:
        data:
          type: object
          required:
            - results
            - pagination
          properties:
            results:
              type: array
              items:
                $ref: '#/components/schemas/Monitor'
            pagination:
              $ref: '#/components/schemas/Pagination'
    ApiError:
      type: object
      required:
        - error
      properties:
        error:
          type: object
          required:
            - type
            - code
            - message
          properties:
            type:
              type: string
              description: >-
                Broad category: invalid_request_error, authentication_error,
                not_found_error, rate_limit_error, upstream_error, api_error.
            code:
              type: string
              description: Machine-readable specific code.
            message:
              type: string
              description: Human-readable explanation, safe to surface in UI.
            param:
              type: string
              description: Field that triggered the error. Present on validation errors.
            details:
              type: object
              description: Free-form structured detail.
    Monitor:
      type: object
      required:
        - id
        - name
        - endpoint
        - query
        - relevance
        - schedule
        - recipients
        - notify
        - language
        - status
        - created_at
        - updated_at
        - last_run
      properties:
        id:
          type: string
          example: mon_5f1c2c0a-9d1e-4a3b-8c7d-1e2f3a4b5c6d
        name:
          type: string
        endpoint:
          type: object
          required:
            - id
            - path
            - source
            - name
          properties:
            id:
              type: string
              example: anm-notices-search
            path:
              type: string
              example: /co/anm/notices-search/v1
            source:
              type: string
              example: ANM
            name:
              type: string
        query:
          type: object
          additionalProperties: true
        relevance:
          type:
            - string
            - 'null'
        schedule:
          type: object
          required:
            - cadence
            - timezone
            - cron
            - next_run_at
          properties:
            cadence:
              type: string
              enum:
                - source
                - hourly
                - daily
                - weekly
            at:
              type: string
            weekday:
              type: string
              enum:
                - monday
                - tuesday
                - wednesday
                - thursday
                - friday
                - saturday
                - sunday
            timezone:
              type: string
            cron:
              type: string
              description: The compiled schedule, five-field cron in `timezone`.
              example: 30 7 * * *
            next_run_at:
              type:
                - string
                - 'null'
              format: date-time
        recipients:
          type: array
          items:
            type: string
        notify:
          type: string
          enum:
            - always
            - on_new
        language:
          type: string
          enum:
            - es
            - en
        status:
          type: string
          enum:
            - active
            - paused
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
        last_run:
          $ref: '#/components/schemas/MonitorLastRun'
    Pagination:
      type: object
      required:
        - total
        - page_size
        - total_pages
        - page
      properties:
        total:
          type: integer
        page_size:
          type: integer
        total_pages:
          type: integer
        page:
          type: integer
    MonitorLastRun:
      type:
        - object
        - 'null'
      required:
        - id
        - at
        - status
        - new_results
        - relevant_results
        - source_as_of
        - source_stale
      properties:
        id:
          type: string
        at:
          type: string
          format: date-time
        status:
          type: string
          enum:
            - running
            - completed
            - failed
            - skipped_plan_limit
        new_results:
          type: integer
        relevant_results:
          type: integer
        source_as_of:
          type:
            - string
            - 'null'
        source_stale:
          type: boolean
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'Use Authorization: Bearer YOUR_API_KEY'

````