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

# The maintenance plans one asset is on, however it got there.

> applied_via says whether somebody named it or its category swept it up, which is the question the
asset screen could not answer before. is_covered is core.maintenance_plan_targets restated so that
the rows that rule drops can be kept and explained: not_covered_reason says why a plan on the list
is raising nothing, and suppressed_by carries an exception that is pausing the rounds without
changing the coverage.



## OpenAPI

````yaml /api-reference/openapi.json get /asset_maintenance_plans
openapi: 3.0.0
info:
  description: ''
  title: >-
    The only schema PostgREST exposes. Reads are security_invoker views; writes
    are SECURITY DEFINER functions. Rebuilt wholesale on every deploy — it holds
    no data.
  version: 12.2.3
servers:
  - url: https://app.assetinfinity.ai/api
security: []
tags:
  - name: Signing in
  - name: Profile
  - name: Assets
  - name: Asset lifecycle
  - name: Work lifecycle
  - name: Maintenance
  - name: Inventory
  - name: Inventory detail
  - name: Procurement
  - name: Contracts
  - name: Workforce
  - name: Capacity
  - name: Dispatch
  - name: Tools
  - name: Inspections
  - name: Verification
  - name: Reliability
  - name: Parts demand
  - name: Sensors and meters
  - name: Map
  - name: Floor plans
  - name: Labels
  - name: Lost and found
  - name: Root cause analysis
  - name: Reports
  - name: Audit center
  - name: Activity
  - name: Notifications
  - name: Channels
  - name: Search
  - name: Copilot
  - name: Import
  - name: Files
  - name: Sync
  - name: Support
  - name: Admin
  - name: Access
  - name: Lookups
  - name: Read models
  - name: Branding
  - name: Custom fields
  - name: Form studio
  - name: Workflows
  - name: Workflow studio
  - name: Rules
  - name: Statuses and transitions
  - name: Currencies and locales
  - name: Work configuration
  - name: Asset configuration
  - name: Inventory configuration
  - name: Tool configuration
  - name: Workforce configuration
  - name: Vendor and contract configuration
  - name: Document configuration
  - name: Inspection configuration
  - name: Sites, locations and the organisation
  - name: Platform
  - name: Amendments
  - name: Asset clone
  - name: Asset components
  - name: Asset register
  - name: Asset transfer
  - name: Audit feed
  - name: Billing
  - name: Bookings
  - name: Budgets
  - name: Bulk jobs
  - name: Calibration history
  - name: Capex plans
  - name: Conversations
  - name: Costing
  - name: Currency
  - name: Dashboards
  - name: Directory sync
  - name: Document control
  - name: Document folders
  - name: Document tree
  - name: Documents
  - name: Energy
  - name: Extracts
  - name: Features
  - name: Feeds
  - name: File exchange
  - name: Filing exceptions
  - name: Finance
  - name: Inbound mail
  - name: Keys
  - name: Knowledge
  - name: Licence
  - name: List views
  - name: Locations
  - name: Mapping
  - name: Mcp
  - name: Mcp oauth
  - name: Mfa
  - name: Numbering
  - name: Permits
  - name: Readers
  - name: Reference
  - name: Reference columns
  - name: Reference entry
  - name: Release
  - name: Scim
  - name: Security streams
  - name: Self verification
  - name: Setup
  - name: Shutdown
  - name: Sso
  - name: Telegram
  - name: Tenant switch
  - name: The caller's own work
  - name: The checklist library
  - name: Tools on a job, and who has them out
  - name: Tray
  - name: Vendor spend forecast
  - name: Vendors and contracts
  - name: Visitors
  - name: Work order execution
  - name: Work sequencing
  - name: Workforce detail
externalDocs:
  description: PostgREST Documentation
  url: https://postgrest.org/en/v12/references/api.html
paths:
  /asset_maintenance_plans:
    get:
      tags:
        - The checklist library
      summary: The maintenance plans one asset is on, however it got there.
      description: >-
        applied_via says whether somebody named it or its category swept it up,
        which is the question the

        asset screen could not answer before. is_covered is
        core.maintenance_plan_targets restated so that

        the rows that rule drops can be kept and explained: not_covered_reason
        says why a plan on the list

        is raising nothing, and suppressed_by carries an exception that is
        pausing the rounds without

        changing the coverage.
      parameters:
        - $ref: '#/components/parameters/rowFilter.asset_maintenance_plans.asset_id'
        - $ref: >-
            #/components/parameters/rowFilter.asset_maintenance_plans.asset_number
        - $ref: >-
            #/components/parameters/rowFilter.asset_maintenance_plans.maintenance_plan_id
        - $ref: >-
            #/components/parameters/rowFilter.asset_maintenance_plans.plan_number
        - $ref: '#/components/parameters/rowFilter.asset_maintenance_plans.plan_name'
        - $ref: >-
            #/components/parameters/rowFilter.asset_maintenance_plans.plan_description
        - $ref: >-
            #/components/parameters/rowFilter.asset_maintenance_plans.applied_via
        - $ref: >-
            #/components/parameters/rowFilter.asset_maintenance_plans.named_directly
        - $ref: >-
            #/components/parameters/rowFilter.asset_maintenance_plans.applied_by_category
        - $ref: >-
            #/components/parameters/rowFilter.asset_maintenance_plans.via_parent_category
        - $ref: >-
            #/components/parameters/rowFilter.asset_maintenance_plans.category_codes
        - $ref: >-
            #/components/parameters/rowFilter.asset_maintenance_plans.category_names
        - $ref: '#/components/parameters/rowFilter.asset_maintenance_plans.status_id'
        - $ref: >-
            #/components/parameters/rowFilter.asset_maintenance_plans.plan_status
        - $ref: >-
            #/components/parameters/rowFilter.asset_maintenance_plans.plan_status_label
        - $ref: >-
            #/components/parameters/rowFilter.asset_maintenance_plans.plan_status_category
        - $ref: >-
            #/components/parameters/rowFilter.asset_maintenance_plans.plan_is_active
        - $ref: >-
            #/components/parameters/rowFilter.asset_maintenance_plans.work_order_type_id
        - $ref: >-
            #/components/parameters/rowFilter.asset_maintenance_plans.maintenance_type
        - $ref: >-
            #/components/parameters/rowFilter.asset_maintenance_plans.maintenance_type_name
        - $ref: >-
            #/components/parameters/rowFilter.asset_maintenance_plans.raises_inspection
        - $ref: >-
            #/components/parameters/rowFilter.asset_maintenance_plans.trigger_combination
        - $ref: '#/components/parameters/rowFilter.asset_maintenance_plans.frequency'
        - $ref: >-
            #/components/parameters/rowFilter.asset_maintenance_plans.trigger_count
        - $ref: >-
            #/components/parameters/rowFilter.asset_maintenance_plans.assigned_team_id
        - $ref: >-
            #/components/parameters/rowFilter.asset_maintenance_plans.assigned_team_name
        - $ref: >-
            #/components/parameters/rowFilter.asset_maintenance_plans.preferred_worker_id
        - $ref: >-
            #/components/parameters/rowFilter.asset_maintenance_plans.preferred_worker_name
        - $ref: >-
            #/components/parameters/rowFilter.asset_maintenance_plans.preferred_vendor_id
        - $ref: >-
            #/components/parameters/rowFilter.asset_maintenance_plans.preferred_vendor_name
        - $ref: >-
            #/components/parameters/rowFilter.asset_maintenance_plans.applies_from
        - $ref: '#/components/parameters/rowFilter.asset_maintenance_plans.applies_to'
        - $ref: >-
            #/components/parameters/rowFilter.asset_maintenance_plans.schedule_anchor_date
        - $ref: '#/components/parameters/rowFilter.asset_maintenance_plans.is_covered'
        - $ref: >-
            #/components/parameters/rowFilter.asset_maintenance_plans.not_covered_reason
        - $ref: >-
            #/components/parameters/rowFilter.asset_maintenance_plans.suppressed_by
        - $ref: >-
            #/components/parameters/rowFilter.asset_maintenance_plans.suppression_reason
        - $ref: >-
            #/components/parameters/rowFilter.asset_maintenance_plans.suppressed_from
        - $ref: >-
            #/components/parameters/rowFilter.asset_maintenance_plans.suppressed_to
        - $ref: >-
            #/components/parameters/rowFilter.asset_maintenance_plans.next_occurrence_id
        - $ref: >-
            #/components/parameters/rowFilter.asset_maintenance_plans.next_due_at
        - $ref: >-
            #/components/parameters/rowFilter.asset_maintenance_plans.next_is_overdue
        - $ref: >-
            #/components/parameters/rowFilter.asset_maintenance_plans.next_work_order_id
        - $ref: >-
            #/components/parameters/rowFilter.asset_maintenance_plans.next_work_order_number
        - $ref: >-
            #/components/parameters/rowFilter.asset_maintenance_plans.open_occurrence_count
        - $ref: >-
            #/components/parameters/rowFilter.asset_maintenance_plans.last_completed_at
        - $ref: >-
            #/components/parameters/rowFilter.asset_maintenance_plans.rounds_completed
        - $ref: '#/components/parameters/select'
        - $ref: '#/components/parameters/order'
        - $ref: '#/components/parameters/range'
        - $ref: '#/components/parameters/rangeUnit'
        - $ref: '#/components/parameters/offset'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/preferCount'
      responses:
        '200':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/asset_maintenance_plans'
                type: array
            application/vnd.pgrst.object+json:
              schema:
                items:
                  $ref: '#/components/schemas/asset_maintenance_plans'
                type: array
            application/vnd.pgrst.object+json;nulls=stripped:
              schema:
                items:
                  $ref: '#/components/schemas/asset_maintenance_plans'
                type: array
            text/csv:
              schema:
                items:
                  $ref: '#/components/schemas/asset_maintenance_plans'
                type: array
          description: OK
        '206':
          description: Partial Content
components:
  parameters:
    rowFilter.asset_maintenance_plans.asset_id:
      in: query
      name: asset_id
      required: false
      schema:
        type: string
    rowFilter.asset_maintenance_plans.asset_number:
      in: query
      name: asset_number
      required: false
      schema:
        type: string
    rowFilter.asset_maintenance_plans.maintenance_plan_id:
      in: query
      name: maintenance_plan_id
      required: false
      schema:
        type: string
    rowFilter.asset_maintenance_plans.plan_number:
      in: query
      name: plan_number
      required: false
      schema:
        type: string
    rowFilter.asset_maintenance_plans.plan_name:
      in: query
      name: plan_name
      required: false
      schema:
        type: string
    rowFilter.asset_maintenance_plans.plan_description:
      in: query
      name: plan_description
      required: false
      schema:
        type: string
    rowFilter.asset_maintenance_plans.applied_via:
      in: query
      name: applied_via
      required: false
      schema:
        type: string
    rowFilter.asset_maintenance_plans.named_directly:
      in: query
      name: named_directly
      required: false
      schema:
        type: string
    rowFilter.asset_maintenance_plans.applied_by_category:
      in: query
      name: applied_by_category
      required: false
      schema:
        type: string
    rowFilter.asset_maintenance_plans.via_parent_category:
      in: query
      name: via_parent_category
      required: false
      schema:
        type: string
    rowFilter.asset_maintenance_plans.category_codes:
      in: query
      name: category_codes
      required: false
      schema:
        type: string
    rowFilter.asset_maintenance_plans.category_names:
      in: query
      name: category_names
      required: false
      schema:
        type: string
    rowFilter.asset_maintenance_plans.status_id:
      in: query
      name: status_id
      required: false
      schema:
        type: string
    rowFilter.asset_maintenance_plans.plan_status:
      in: query
      name: plan_status
      required: false
      schema:
        type: string
    rowFilter.asset_maintenance_plans.plan_status_label:
      in: query
      name: plan_status_label
      required: false
      schema:
        type: string
    rowFilter.asset_maintenance_plans.plan_status_category:
      in: query
      name: plan_status_category
      required: false
      schema:
        type: string
    rowFilter.asset_maintenance_plans.plan_is_active:
      in: query
      name: plan_is_active
      required: false
      schema:
        type: string
    rowFilter.asset_maintenance_plans.work_order_type_id:
      in: query
      name: work_order_type_id
      required: false
      schema:
        type: string
    rowFilter.asset_maintenance_plans.maintenance_type:
      in: query
      name: maintenance_type
      required: false
      schema:
        type: string
    rowFilter.asset_maintenance_plans.maintenance_type_name:
      in: query
      name: maintenance_type_name
      required: false
      schema:
        type: string
    rowFilter.asset_maintenance_plans.raises_inspection:
      in: query
      name: raises_inspection
      required: false
      schema:
        type: string
    rowFilter.asset_maintenance_plans.trigger_combination:
      in: query
      name: trigger_combination
      required: false
      schema:
        type: string
    rowFilter.asset_maintenance_plans.frequency:
      in: query
      name: frequency
      required: false
      schema:
        type: string
    rowFilter.asset_maintenance_plans.trigger_count:
      in: query
      name: trigger_count
      required: false
      schema:
        type: string
    rowFilter.asset_maintenance_plans.assigned_team_id:
      in: query
      name: assigned_team_id
      required: false
      schema:
        type: string
    rowFilter.asset_maintenance_plans.assigned_team_name:
      in: query
      name: assigned_team_name
      required: false
      schema:
        type: string
    rowFilter.asset_maintenance_plans.preferred_worker_id:
      in: query
      name: preferred_worker_id
      required: false
      schema:
        type: string
    rowFilter.asset_maintenance_plans.preferred_worker_name:
      in: query
      name: preferred_worker_name
      required: false
      schema:
        type: string
    rowFilter.asset_maintenance_plans.preferred_vendor_id:
      in: query
      name: preferred_vendor_id
      required: false
      schema:
        type: string
    rowFilter.asset_maintenance_plans.preferred_vendor_name:
      in: query
      name: preferred_vendor_name
      required: false
      schema:
        type: string
    rowFilter.asset_maintenance_plans.applies_from:
      in: query
      name: applies_from
      required: false
      schema:
        type: string
    rowFilter.asset_maintenance_plans.applies_to:
      in: query
      name: applies_to
      required: false
      schema:
        type: string
    rowFilter.asset_maintenance_plans.schedule_anchor_date:
      in: query
      name: schedule_anchor_date
      required: false
      schema:
        type: string
    rowFilter.asset_maintenance_plans.is_covered:
      in: query
      name: is_covered
      required: false
      schema:
        type: string
    rowFilter.asset_maintenance_plans.not_covered_reason:
      in: query
      name: not_covered_reason
      required: false
      schema:
        type: string
    rowFilter.asset_maintenance_plans.suppressed_by:
      in: query
      name: suppressed_by
      required: false
      schema:
        type: string
    rowFilter.asset_maintenance_plans.suppression_reason:
      in: query
      name: suppression_reason
      required: false
      schema:
        type: string
    rowFilter.asset_maintenance_plans.suppressed_from:
      in: query
      name: suppressed_from
      required: false
      schema:
        type: string
    rowFilter.asset_maintenance_plans.suppressed_to:
      in: query
      name: suppressed_to
      required: false
      schema:
        type: string
    rowFilter.asset_maintenance_plans.next_occurrence_id:
      in: query
      name: next_occurrence_id
      required: false
      schema:
        type: string
    rowFilter.asset_maintenance_plans.next_due_at:
      in: query
      name: next_due_at
      required: false
      schema:
        type: string
    rowFilter.asset_maintenance_plans.next_is_overdue:
      in: query
      name: next_is_overdue
      required: false
      schema:
        type: string
    rowFilter.asset_maintenance_plans.next_work_order_id:
      in: query
      name: next_work_order_id
      required: false
      schema:
        type: string
    rowFilter.asset_maintenance_plans.next_work_order_number:
      in: query
      name: next_work_order_number
      required: false
      schema:
        type: string
    rowFilter.asset_maintenance_plans.open_occurrence_count:
      in: query
      name: open_occurrence_count
      required: false
      schema:
        type: string
    rowFilter.asset_maintenance_plans.last_completed_at:
      in: query
      name: last_completed_at
      required: false
      schema:
        type: string
    rowFilter.asset_maintenance_plans.rounds_completed:
      in: query
      name: rounds_completed
      required: false
      schema:
        type: string
    select:
      description: Filtering Columns
      in: query
      name: select
      required: false
      schema:
        type: string
    order:
      description: Ordering
      in: query
      name: order
      required: false
      schema:
        type: string
    range:
      description: Limiting and Pagination
      in: header
      name: Range
      required: false
      schema:
        type: string
    rangeUnit:
      description: Limiting and Pagination
      in: header
      name: Range-Unit
      required: false
      schema:
        default: items
        type: string
    offset:
      description: Limiting and Pagination
      in: query
      name: offset
      required: false
      schema:
        type: string
    limit:
      description: Limiting and Pagination
      in: query
      name: limit
      required: false
      schema:
        type: string
    preferCount:
      description: Preference
      in: header
      name: Prefer
      required: false
      schema:
        enum:
          - count=none
        type: string
  schemas:
    asset_maintenance_plans:
      description: >-
        The maintenance plans one asset is on, however it got there.


        applied_via says whether somebody named it or its category swept it up,
        which is the question the

        asset screen could not answer before. is_covered is
        core.maintenance_plan_targets restated so that

        the rows that rule drops can be kept and explained: not_covered_reason
        says why a plan on the list

        is raising nothing, and suppressed_by carries an exception that is
        pausing the rounds without

        changing the coverage.
      properties:
        applied_by_category:
          format: boolean
          type: boolean
        applied_via:
          format: text
          type: string
        applies_from:
          format: date
          type: string
        applies_to:
          format: date
          type: string
        asset_id:
          format: uuid
          type: string
        asset_number:
          format: character varying
          maxLength: 80
          type: string
        assigned_team_id:
          description: |-
            Note:
            This is a Foreign Key to `teams.id`.<fk table='teams' column='id'/>
          format: uuid
          type: string
        assigned_team_name:
          format: character varying
          maxLength: 200
          type: string
        category_codes:
          format: text
          type: string
        category_names:
          format: text
          type: string
        frequency:
          format: text
          type: string
        is_covered:
          format: boolean
          type: boolean
        last_completed_at:
          format: timestamp with time zone
          type: string
        maintenance_plan_id:
          format: uuid
          type: string
        maintenance_type:
          format: character varying
          maxLength: 40
          type: string
        maintenance_type_name:
          format: character varying
          maxLength: 150
          type: string
        named_directly:
          format: boolean
          type: boolean
        next_due_at:
          format: timestamp with time zone
          type: string
        next_is_overdue:
          format: boolean
          type: boolean
        next_occurrence_id:
          description: |-
            Note:
            This is a Primary Key.<pk/>
          format: uuid
          type: string
        next_work_order_id:
          description: |-
            Note:
            This is a Primary Key.<pk/>
          format: uuid
          type: string
        next_work_order_number:
          format: character varying
          maxLength: 60
          type: string
        not_covered_reason:
          format: text
          type: string
        open_occurrence_count:
          format: bigint
          type: integer
        plan_description:
          format: text
          type: string
        plan_is_active:
          format: boolean
          type: boolean
        plan_name:
          format: character varying
          maxLength: 250
          type: string
        plan_number:
          format: character varying
          maxLength: 60
          type: string
        plan_status:
          format: character varying
          maxLength: 60
          type: string
        plan_status_category:
          format: character varying
          maxLength: 20
          type: string
        plan_status_label:
          format: character varying
          maxLength: 150
          type: string
        preferred_vendor_id:
          description: >-
            Note:

            This is a Foreign Key to `assignable_vendors.id`.<fk
            table='assignable_vendors' column='id'/>
          format: uuid
          type: string
        preferred_vendor_name:
          format: character varying
          maxLength: 200
          type: string
        preferred_worker_id:
          description: >-
            Note:

            This is a Foreign Key to `assignable_workers.id`.<fk
            table='assignable_workers' column='id'/>
          format: uuid
          type: string
        preferred_worker_name:
          format: character varying
          maxLength: 200
          type: string
        raises_inspection:
          format: boolean
          type: boolean
        rounds_completed:
          format: bigint
          type: integer
        schedule_anchor_date:
          format: date
          type: string
        status_id:
          description: >-
            Note:

            This is a Foreign Key to `my_work.status_id`.<fk table='my_work'
            column='status_id'/>
          format: uuid
          type: string
        suppressed_by:
          format: character varying
          maxLength: 20
          type: string
        suppressed_from:
          format: date
          type: string
        suppressed_to:
          format: date
          type: string
        suppression_reason:
          format: text
          type: string
        trigger_combination:
          format: character varying
          maxLength: 10
          type: string
        trigger_count:
          format: bigint
          type: integer
        via_parent_category:
          format: boolean
          type: boolean
        work_order_type_id:
          description: >-
            Note:

            This is a Foreign Key to `work_order_types.id`.<fk
            table='work_order_types' column='id'/>
          format: uuid
          type: string
      type: object

````