> ## 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.

# Task-level instructions. Amended in place by design: a corrected instruction is the same

> instruction, not a new document beside it.



## OpenAPI

````yaml /api-reference/openapi.json get /work_instructions
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:
  /work_instructions:
    get:
      tags:
        - Document control
      summary: >-
        Task-level instructions. Amended in place by design: a corrected
        instruction is the same
      description: instruction, not a new document beside it.
      parameters:
        - $ref: '#/components/parameters/rowFilter.work_instructions.id'
        - $ref: '#/components/parameters/rowFilter.work_instructions.code'
        - $ref: '#/components/parameters/rowFilter.work_instructions.title'
        - $ref: '#/components/parameters/rowFilter.work_instructions.body'
        - $ref: '#/components/parameters/rowFilter.work_instructions.steps'
        - $ref: '#/components/parameters/rowFilter.work_instructions.step_count'
        - $ref: '#/components/parameters/rowFilter.work_instructions.sop_id'
        - $ref: '#/components/parameters/rowFilter.work_instructions.sop_code'
        - $ref: '#/components/parameters/rowFilter.work_instructions.sop_title'
        - $ref: >-
            #/components/parameters/rowFilter.work_instructions.asset_category_id
        - $ref: '#/components/parameters/rowFilter.work_instructions.asset_category'
        - $ref: '#/components/parameters/rowFilter.work_instructions.asset_model_id'
        - $ref: '#/components/parameters/rowFilter.work_instructions.asset_model'
        - $ref: '#/components/parameters/rowFilter.work_instructions.document_id'
        - $ref: '#/components/parameters/rowFilter.work_instructions.document_number'
        - $ref: >-
            #/components/parameters/rowFilter.work_instructions.estimated_minutes
        - $ref: >-
            #/components/parameters/rowFilter.work_instructions.is_available_offline
        - $ref: '#/components/parameters/rowFilter.work_instructions.is_active'
        - $ref: '#/components/parameters/rowFilter.work_instructions.created_at'
        - $ref: '#/components/parameters/rowFilter.work_instructions.updated_at'
        - $ref: '#/components/parameters/rowFilter.work_instructions.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/work_instructions'
                type: array
            application/vnd.pgrst.object+json:
              schema:
                items:
                  $ref: '#/components/schemas/work_instructions'
                type: array
            application/vnd.pgrst.object+json;nulls=stripped:
              schema:
                items:
                  $ref: '#/components/schemas/work_instructions'
                type: array
            text/csv:
              schema:
                items:
                  $ref: '#/components/schemas/work_instructions'
                type: array
          description: OK
        '206':
          description: Partial Content
components:
  parameters:
    rowFilter.work_instructions.id:
      in: query
      name: id
      required: false
      schema:
        type: string
    rowFilter.work_instructions.code:
      in: query
      name: code
      required: false
      schema:
        type: string
    rowFilter.work_instructions.title:
      in: query
      name: title
      required: false
      schema:
        type: string
    rowFilter.work_instructions.body:
      in: query
      name: body
      required: false
      schema:
        type: string
    rowFilter.work_instructions.steps:
      in: query
      name: steps
      required: false
      schema:
        type: string
    rowFilter.work_instructions.step_count:
      in: query
      name: step_count
      required: false
      schema:
        type: string
    rowFilter.work_instructions.sop_id:
      in: query
      name: sop_id
      required: false
      schema:
        type: string
    rowFilter.work_instructions.sop_code:
      in: query
      name: sop_code
      required: false
      schema:
        type: string
    rowFilter.work_instructions.sop_title:
      in: query
      name: sop_title
      required: false
      schema:
        type: string
    rowFilter.work_instructions.asset_category_id:
      in: query
      name: asset_category_id
      required: false
      schema:
        type: string
    rowFilter.work_instructions.asset_category:
      in: query
      name: asset_category
      required: false
      schema:
        type: string
    rowFilter.work_instructions.asset_model_id:
      in: query
      name: asset_model_id
      required: false
      schema:
        type: string
    rowFilter.work_instructions.asset_model:
      in: query
      name: asset_model
      required: false
      schema:
        type: string
    rowFilter.work_instructions.document_id:
      in: query
      name: document_id
      required: false
      schema:
        type: string
    rowFilter.work_instructions.document_number:
      in: query
      name: document_number
      required: false
      schema:
        type: string
    rowFilter.work_instructions.estimated_minutes:
      in: query
      name: estimated_minutes
      required: false
      schema:
        type: string
    rowFilter.work_instructions.is_available_offline:
      in: query
      name: is_available_offline
      required: false
      schema:
        type: string
    rowFilter.work_instructions.is_active:
      in: query
      name: is_active
      required: false
      schema:
        type: string
    rowFilter.work_instructions.created_at:
      in: query
      name: created_at
      required: false
      schema:
        type: string
    rowFilter.work_instructions.updated_at:
      in: query
      name: updated_at
      required: false
      schema:
        type: string
    rowFilter.work_instructions.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:
    work_instructions:
      description: >-
        Task-level instructions. Amended in place by design: a corrected
        instruction is the same

        instruction, not a new document beside it.
      properties:
        asset_category:
          format: character varying
          maxLength: 200
          type: string
        asset_category_id:
          description: >-
            Note:

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

            This is a Foreign Key to `asset_model_settings.id`.<fk
            table='asset_model_settings' column='id'/>
          format: uuid
          type: string
        body:
          format: text
          type: string
        code:
          format: character varying
          maxLength: 60
          type: string
        created_at:
          format: timestamp with time zone
          type: string
        document_id:
          description: >-
            Note:

            This is a Foreign Key to `documents.id`.<fk table='documents'
            column='id'/>
          format: uuid
          type: string
        document_number:
          format: character varying
          maxLength: 80
          type: string
        estimated_minutes:
          format: integer
          type: integer
        id:
          description: |-
            Note:
            This is a Primary Key.<pk/>
          format: uuid
          type: string
        is_active:
          format: boolean
          type: boolean
        is_available_offline:
          format: boolean
          type: boolean
        row_version:
          format: bigint
          type: integer
        sop_code:
          format: character varying
          maxLength: 60
          type: string
        sop_id:
          description: |-
            Note:
            This is a Foreign Key to `sops.id`.<fk table='sops' column='id'/>
          format: uuid
          type: string
        sop_title:
          format: character varying
          maxLength: 250
          type: string
        step_count:
          format: integer
          type: integer
        steps:
          format: jsonb
        title:
          format: character varying
          maxLength: 250
          type: string
        updated_at:
          format: timestamp with time zone
          type: string
      type: object

````