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

# Monitor state

> Not yet available — planned.



## OpenAPI

````yaml /api-reference/openapi.yaml get /monitors/{id}
openapi: 3.1.0
info:
  title: Five Nine Agent API
  version: '2026-08-26'
  description: >
    Live catalogs from the open web, under signed receipts.

    Conventions (versioning via the dated `fn-version` header, request IDs,

    idempotency, rate limits, pagination, money) are documented across this

    reference; the error envelope at https://docs.fiveninelabs.com/errors; the

    event vocabulary at https://docs.fiveninelabs.com/guides/events; webhooks at

    https://docs.fiveninelabs.com/guides/webhooks.


    Honesty marker: operations tagged `x-fn-status: planned` are specced but NOT

    yet served by the live API — on any method they answer 501 not_implemented
    with

    a `surface` member naming what is missing, never 404. Everything unmarked is

    live. The changelog says when a planned surface ships.
servers:
  - url: https://api.fiveninelabs.com/v1
security:
  - bearerKey: []
paths:
  /monitors/{id}:
    get:
      summary: Monitor state
      description: Not yet available — planned.
      parameters:
        - $ref: '#/components/parameters/FnVersion'
        - $ref: '#/components/parameters/RunId'
      responses:
        '200':
          description: The monitor
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Monitor'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
components:
  parameters:
    FnVersion:
      name: fn-version
      in: header
      required: false
      schema:
        type: string
        example: '2026-08-26'
      description: >-
        Dated API version; defaults to the account pin. Honesty note: with one
        version in existence the gateway echoes any value back as effective
        WITHOUT validating it — validation against the known-versions set is
        planned, so send only real dated versions from
        https://docs.fiveninelabs.com/changelog
    RunId:
      name: id
      in: path
      required: true
      schema:
        type: string
  schemas:
    Monitor:
      type: object
      required:
        - id
        - object
        - status
      properties:
        id:
          type: string
          example: mon_5wp0d
        object:
          type: string
          const: monitor
        status:
          type: string
          description: >-
            active | paused | failing (open enum); pauses itself after 3
            consecutive failures
        name:
          type: string
        watch:
          type: object
        cadence_s:
          type: integer
        max_spend_usd_per_run:
          type: number
        worst_case_monthly_usd:
          type: number
          description: stated before you create
        last_run:
          $ref: '#/components/schemas/MonitorRun'
        next_run_at:
          type: string
          format: date-time
        lifetime_spend_usd:
          type: number
    MonitorRun:
      type: object
      required:
        - id
        - outcome
      properties:
        id:
          type: string
          example: run_0pw3e
        outcome:
          type: string
          description: changed | unchanged | failed | first-run (open enum)
        fired_at:
          type: string
          format: date-time
        rows:
          type: integer
        added:
          type: integer
        removed:
          type: integer
        price_moves:
          type: integer
        cost_usd:
          type: number
        receipt_id:
          type: string
        webhook:
          type: string
          description: delivered 200 | skipped (quiet) | failed
    Error:
      type: object
      required:
        - error
      properties:
        error:
          type: object
          required:
            - type
            - code
            - message
            - doc_url
            - request_id
          properties:
            type:
              type: string
            code:
              type: string
            message:
              type: string
            doc_url:
              type: string
              format: uri
            request_id:
              type: string
          additionalProperties: true
  responses:
    Unauthorized:
      description: 401 invalid_key | key_revoked — key missing, unknown, or revoked
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Forbidden:
      description: >-
        403 missing_scope — or a cap forbids this (session_cap_exceeded |
        monthly_cap_exceeded; caps are permissions, not rates)
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    bearerKey:
      type: http
      scheme: bearer
      description: 'fn_live_… or fn_test_… — Authorization: Bearer'

````