> ## 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 shutdown register, each row carrying its own readiness and whether its critical path fits the window it is planned into.



## OpenAPI

````yaml /api-reference/openapi.json get /shutdowns
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:
  /shutdowns:
    get:
      tags:
        - Shutdown
      summary: >-
        The shutdown register, each row carrying its own readiness and whether
        its critical path fits the window it is planned into.
      parameters:
        - $ref: '#/components/parameters/rowFilter.shutdowns.id'
        - $ref: '#/components/parameters/rowFilter.shutdowns.code'
        - $ref: '#/components/parameters/rowFilter.shutdowns.name'
        - $ref: '#/components/parameters/rowFilter.shutdowns.shutdown_type'
        - $ref: '#/components/parameters/rowFilter.shutdowns.status'
        - $ref: '#/components/parameters/rowFilter.shutdowns.description'
        - $ref: '#/components/parameters/rowFilter.shutdowns.site_id'
        - $ref: '#/components/parameters/rowFilter.shutdowns.site_name'
        - $ref: '#/components/parameters/rowFilter.shutdowns.location_id'
        - $ref: '#/components/parameters/rowFilter.shutdowns.location_name'
        - $ref: '#/components/parameters/rowFilter.shutdowns.planned_start'
        - $ref: '#/components/parameters/rowFilter.shutdowns.planned_end'
        - $ref: '#/components/parameters/rowFilter.shutdowns.actual_start'
        - $ref: '#/components/parameters/rowFilter.shutdowns.actual_end'
        - $ref: '#/components/parameters/rowFilter.shutdowns.scope_frozen_at'
        - $ref: '#/components/parameters/rowFilter.shutdowns.manager_worker_id'
        - $ref: '#/components/parameters/rowFilter.shutdowns.manager_name'
        - $ref: '#/components/parameters/rowFilter.shutdowns.planned_hours'
        - $ref: '#/components/parameters/rowFilter.shutdowns.actual_hours'
        - $ref: '#/components/parameters/rowFilter.shutdowns.work_orders'
        - $ref: '#/components/parameters/rowFilter.shutdowns.work_orders_done'
        - $ref: '#/components/parameters/rowFilter.shutdowns.late_additions'
        - $ref: '#/components/parameters/rowFilter.shutdowns.scope_lines'
        - $ref: '#/components/parameters/rowFilter.shutdowns.windows'
        - $ref: '#/components/parameters/rowFilter.shutdowns.milestones_overdue'
        - $ref: '#/components/parameters/rowFilter.shutdowns.readiness_percent'
        - $ref: '#/components/parameters/rowFilter.shutdowns.blocked_work_orders'
        - $ref: '#/components/parameters/rowFilter.shutdowns.critical_path_minutes'
        - $ref: '#/components/parameters/rowFilter.shutdowns.overruns_window'
        - $ref: '#/components/parameters/rowFilter.shutdowns.created_at'
        - $ref: '#/components/parameters/rowFilter.shutdowns.updated_at'
        - $ref: '#/components/parameters/rowFilter.shutdowns.row_version'
        - $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/shutdowns'
                type: array
            application/vnd.pgrst.object+json:
              schema:
                items:
                  $ref: '#/components/schemas/shutdowns'
                type: array
            application/vnd.pgrst.object+json;nulls=stripped:
              schema:
                items:
                  $ref: '#/components/schemas/shutdowns'
                type: array
            text/csv:
              schema:
                items:
                  $ref: '#/components/schemas/shutdowns'
                type: array
          description: OK
        '206':
          description: Partial Content
components:
  parameters:
    rowFilter.shutdowns.id:
      in: query
      name: id
      required: false
      schema:
        type: string
    rowFilter.shutdowns.code:
      in: query
      name: code
      required: false
      schema:
        type: string
    rowFilter.shutdowns.name:
      in: query
      name: name
      required: false
      schema:
        type: string
    rowFilter.shutdowns.shutdown_type:
      in: query
      name: shutdown_type
      required: false
      schema:
        type: string
    rowFilter.shutdowns.status:
      in: query
      name: status
      required: false
      schema:
        type: string
    rowFilter.shutdowns.description:
      in: query
      name: description
      required: false
      schema:
        type: string
    rowFilter.shutdowns.site_id:
      in: query
      name: site_id
      required: false
      schema:
        type: string
    rowFilter.shutdowns.site_name:
      in: query
      name: site_name
      required: false
      schema:
        type: string
    rowFilter.shutdowns.location_id:
      in: query
      name: location_id
      required: false
      schema:
        type: string
    rowFilter.shutdowns.location_name:
      in: query
      name: location_name
      required: false
      schema:
        type: string
    rowFilter.shutdowns.planned_start:
      in: query
      name: planned_start
      required: false
      schema:
        type: string
    rowFilter.shutdowns.planned_end:
      in: query
      name: planned_end
      required: false
      schema:
        type: string
    rowFilter.shutdowns.actual_start:
      in: query
      name: actual_start
      required: false
      schema:
        type: string
    rowFilter.shutdowns.actual_end:
      in: query
      name: actual_end
      required: false
      schema:
        type: string
    rowFilter.shutdowns.scope_frozen_at:
      in: query
      name: scope_frozen_at
      required: false
      schema:
        type: string
    rowFilter.shutdowns.manager_worker_id:
      in: query
      name: manager_worker_id
      required: false
      schema:
        type: string
    rowFilter.shutdowns.manager_name:
      in: query
      name: manager_name
      required: false
      schema:
        type: string
    rowFilter.shutdowns.planned_hours:
      in: query
      name: planned_hours
      required: false
      schema:
        type: string
    rowFilter.shutdowns.actual_hours:
      in: query
      name: actual_hours
      required: false
      schema:
        type: string
    rowFilter.shutdowns.work_orders:
      in: query
      name: work_orders
      required: false
      schema:
        type: string
    rowFilter.shutdowns.work_orders_done:
      in: query
      name: work_orders_done
      required: false
      schema:
        type: string
    rowFilter.shutdowns.late_additions:
      in: query
      name: late_additions
      required: false
      schema:
        type: string
    rowFilter.shutdowns.scope_lines:
      in: query
      name: scope_lines
      required: false
      schema:
        type: string
    rowFilter.shutdowns.windows:
      in: query
      name: windows
      required: false
      schema:
        type: string
    rowFilter.shutdowns.milestones_overdue:
      in: query
      name: milestones_overdue
      required: false
      schema:
        type: string
    rowFilter.shutdowns.readiness_percent:
      in: query
      name: readiness_percent
      required: false
      schema:
        type: string
    rowFilter.shutdowns.blocked_work_orders:
      in: query
      name: blocked_work_orders
      required: false
      schema:
        type: string
    rowFilter.shutdowns.critical_path_minutes:
      in: query
      name: critical_path_minutes
      required: false
      schema:
        type: string
    rowFilter.shutdowns.overruns_window:
      in: query
      name: overruns_window
      required: false
      schema:
        type: string
    rowFilter.shutdowns.created_at:
      in: query
      name: created_at
      required: false
      schema:
        type: string
    rowFilter.shutdowns.updated_at:
      in: query
      name: updated_at
      required: false
      schema:
        type: string
    rowFilter.shutdowns.row_version:
      in: query
      name: row_version
      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:
    shutdowns:
      description: >-
        The shutdown register, each row carrying its own readiness and whether
        its critical path fits the window it is planned into.
      properties:
        actual_end:
          format: timestamp with time zone
          type: string
        actual_hours:
          format: numeric
          type: number
        actual_start:
          format: timestamp with time zone
          type: string
        blocked_work_orders:
          format: bigint
          type: integer
        code:
          format: character varying
          maxLength: 40
          type: string
        created_at:
          format: timestamp with time zone
          type: string
        critical_path_minutes:
          format: bigint
          type: integer
        description:
          format: text
          type: string
        id:
          description: |-
            Note:
            This is a Primary Key.<pk/>
          format: uuid
          type: string
        late_additions:
          format: bigint
          type: integer
        location_id:
          description: >-
            Note:

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

            This is a Foreign Key to `assignable_workers.id`.<fk
            table='assignable_workers' column='id'/>
          format: uuid
          type: string
        milestones_overdue:
          format: bigint
          type: integer
        name:
          format: character varying
          maxLength: 200
          type: string
        overruns_window:
          format: boolean
          type: boolean
        planned_end:
          format: timestamp with time zone
          type: string
        planned_hours:
          format: numeric
          type: number
        planned_start:
          format: timestamp with time zone
          type: string
        readiness_percent:
          format: numeric
          type: number
        row_version:
          format: bigint
          type: integer
        scope_frozen_at:
          format: timestamp with time zone
          type: string
        scope_lines:
          format: bigint
          type: integer
        shutdown_type:
          format: character varying
          maxLength: 20
          type: string
        site_id:
          description: >-
            Note:

            This is a Foreign Key to `entry_currencies.for_site_id`.<fk
            table='entry_currencies' column='for_site_id'/>
          format: uuid
          type: string
        site_name:
          format: character varying
          maxLength: 200
          type: string
        status:
          format: character varying
          maxLength: 20
          type: string
        updated_at:
          format: timestamp with time zone
          type: string
        windows:
          format: bigint
          type: integer
        work_orders:
          format: bigint
          type: integer
        work_orders_done:
          format: bigint
          type: integer
      type: object

````