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

# Create Monitor

> Create one monitor from a table, with a row per subject.

The watched cells that arrive become each row's baseline, so the first check
reports the ones that were already stale rather than adopting them.



## OpenAPI

````yaml https://api.sixtyfour.ai/openapi.json post /monitors
openapi: 3.1.0
info:
  title: Sixtyfour API
  description: >-
    Intelligence API for People and Entities. Deploy AI agents that investigate,
    resolve identities, map relationships, and surface risk signals
  contact:
    name: Sixtyfour
    url: https://sixtyfour.ai/
    email: support@sixtyfour.ai
  license:
    name: Proprietary
  version: 1.0.0
servers:
  - url: https://api.sixtyfour.ai
    description: Production
security: []
tags:
  - name: Enrichment
    description: Find and enrich emails, phones, and LinkedIn for people and companies.
  - name: org-chart
    description: Discover people inside a company and build org charts.
  - name: Search
    description: Run deep and filter searches over Sixtyfour's data.
  - name: Workflow
    description: Create, run, and manage enrichment workflows.
  - name: Workflow Schedules
    description: Create and manage recurring schedules for workflows.
  - name: Account
    description: Manage and inspect your account and credit balance.
  - name: Intelligence
    description: Verify identity attributes such as age using high-tier OSINT research.
  - name: Atlas
    description: >-
      Read your Atlas investigations: attribution graph, workspace files,
      reports, and exports.
paths:
  /monitors:
    post:
      tags:
        - Monitors
      summary: Create Monitor
      description: >-
        Create one monitor from a table, with a row per subject.


        The watched cells that arrive become each row's baseline, so the first
        check

        reports the ones that were already stale rather than adopting them.
      operationId: create_monitor_endpoint_monitors_post
      parameters:
        - name: x-api-key
          in: header
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: X-Api-Key
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateMonitorRequest'
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MonitorDetailResponse'
        '400':
          description: Request was rejected by the route's validation rules.
          content:
            application/json:
              schema:
                type: object
                properties:
                  detail:
                    type: string
              example:
                detail: Invalid request body
        '401':
          description: Missing or invalid API key.
          content:
            application/json:
              schema:
                type: object
                properties:
                  detail:
                    type: string
              example:
                detail: Invalid API key
        '403':
          description: Organization access is locked.
          content:
            application/json:
              schema:
                type: object
                properties:
                  detail:
                    type: string
              example:
                detail: >-
                  This organization no longer has access to Sixtyfour. Contact
                  your representative at Sixtyfour.
        '422':
          description: Request body failed validation.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
        '500':
          description: Unexpected server error. Retry with backoff.
          content:
            application/json:
              schema:
                type: object
                properties:
                  detail:
                    type: string
              example:
                detail: Internal server error
components:
  schemas:
    CreateMonitorRequest:
      properties:
        name:
          type: string
          maxLength: 120
          minLength: 1
          title: Name
          description: Base name; the row's key values are appended.
        rows:
          items:
            additionalProperties: true
            type: object
          type: array
          minItems: 1
          title: Rows
        key_columns:
          items:
            type: string
          type: array
          minItems: 1
          title: Key Columns
        struct:
          additionalProperties: true
          type: object
          title: Struct
          description: >-
            Field name -> what to find. The same shape enrichment takes: either
            a sentence, or an object with 'type', 'description' and, for a
            nested field, 'subfields'.
        frequency:
          type: string
          title: Frequency
          default: 1d
        tier:
          type: string
          title: Tier
          default: low
        subject_type:
          type: string
          title: Subject Type
          description: 'Which enrichment re-derives the fields: ''company'' or ''lead''.'
          default: company
        research_plan:
          anyOf:
            - type: string
            - type: 'null'
          title: Research Plan
        webhook_url:
          anyOf:
            - type: string
            - type: 'null'
          title: Webhook Url
        webhook_event_types:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Webhook Event Types
        metadata:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Metadata
        is_active:
          type: boolean
          title: Is Active
          default: true
        first_check:
          type: string
          enum:
            - now
            - next_tick
          title: First Check
          description: >-
            When the first check runs. 'now' checks every row as soon as the
            monitor exists. 'next_tick' waits for the schedule: an hourly
            monitor first runs at the next :00 UTC, a daily one at the next
            00:00 UTC. The response's next_run_times says exactly when.
          default: now
        idempotency_key:
          anyOf:
            - type: string
              maxLength: 200
            - type: 'null'
          title: Idempotency Key
          description: >-
            Optional. Resending a request with the same key returns what the
            first attempt created instead of creating the batch twice. Omitted,
            a key is derived from the request's own content, so an identical
            resend replays by default.
      type: object
      required:
        - name
        - rows
        - key_columns
        - struct
      title: CreateMonitorRequest
      description: >-
        Start one monitor per row of a table.


        A row column named after a struct field seeds that field's starting
        value;

        a field with no matching column is established by the first check.
    MonitorDetailResponse:
      properties:
        id:
          type: string
          title: Id
        org_id:
          type: string
          title: Org Id
        team_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Team Id
        name:
          type: string
          title: Name
        frequency:
          type: string
          title: Frequency
        watched:
          additionalProperties: true
          type: object
          title: Watched
        tier:
          type: string
          title: Tier
        subject_type:
          type: string
          title: Subject Type
        research_plan:
          anyOf:
            - type: string
            - type: 'null'
          title: Research Plan
        is_active:
          type: boolean
          title: Is Active
        disabled_reason:
          anyOf:
            - type: string
            - type: 'null'
          title: Disabled Reason
        webhook_url:
          anyOf:
            - type: string
            - type: 'null'
          title: Webhook Url
        metadata:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Metadata
        last_run_at:
          anyOf:
            - type: string
            - type: 'null'
          title: Last Run At
        next_run_times:
          items:
            type: string
          type: array
          title: Next Run Times
        row_count:
          type: integer
          title: Row Count
        active_row_count:
          type: integer
          title: Active Row Count
        created_at:
          type: string
          title: Created At
        updated_at:
          type: string
          title: Updated At
        rows:
          items:
            $ref: '#/components/schemas/MonitorRowResponse'
          type: array
          title: Rows
      type: object
      required:
        - id
        - org_id
        - team_id
        - name
        - frequency
        - watched
        - tier
        - subject_type
        - research_plan
        - is_active
        - disabled_reason
        - webhook_url
        - metadata
        - last_run_at
        - next_run_times
        - row_count
        - active_row_count
        - created_at
        - updated_at
        - rows
      title: MonitorDetailResponse
      description: The monitor plus its rows — the spreadsheet view.
    HTTPValidationError:
      title: HTTPValidationError
      type: object
      properties:
        detail:
          type: array
          items:
            $ref: '#/components/schemas/ValidationError'
      example:
        detail:
          - loc:
              - body
              - target_company
              - domain
            msg: Field required
            type: missing
            input: null
            ctx: {}
    MonitorRowResponse:
      properties:
        id:
          type: string
          title: Id
        org_id:
          type: string
          title: Org Id
        team_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Team Id
        name:
          type: string
          title: Name
        frequency:
          type: string
          title: Frequency
        subject:
          additionalProperties: true
          type: object
          title: Subject
        watched:
          additionalProperties: true
          type: object
          title: Watched
        baseline:
          additionalProperties: true
          type: object
          title: Baseline
        tier:
          type: string
          title: Tier
        subject_type:
          type: string
          title: Subject Type
        research_plan:
          anyOf:
            - type: string
            - type: 'null'
          title: Research Plan
        is_active:
          type: boolean
          title: Is Active
        disabled_reason:
          anyOf:
            - type: string
            - type: 'null'
          title: Disabled Reason
        webhook_url:
          anyOf:
            - type: string
            - type: 'null'
          title: Webhook Url
        metadata:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Metadata
        last_run_at:
          anyOf:
            - type: string
            - type: 'null'
          title: Last Run At
        next_run_times:
          items:
            type: string
          type: array
          title: Next Run Times
        created_at:
          type: string
          title: Created At
        updated_at:
          type: string
          title: Updated At
      type: object
      required:
        - id
        - org_id
        - team_id
        - name
        - frequency
        - subject
        - watched
        - baseline
        - tier
        - subject_type
        - research_plan
        - is_active
        - disabled_reason
        - webhook_url
        - metadata
        - last_run_at
        - next_run_times
        - created_at
        - updated_at
      title: MonitorRowResponse
    ValidationError:
      title: ValidationError
      type: object
      required:
        - loc
        - msg
        - type
      properties:
        loc:
          type: array
          items:
            oneOf:
              - type: string
              - type: integer
          description: Path to the field that failed validation.
          example:
            - body
            - target_company
            - domain
        msg:
          type: string
          description: Human-readable error message.
          example: Field required
        type:
          type: string
          description: Error code (e.g. 'missing', 'value_error').
          example: missing
        input:
          description: The offending input value (any type, may be null).
          nullable: true
          example: null
        ctx:
          type: object
          description: Optional error context.
          additionalProperties: true
          example: {}

````