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

# Work assigned to the calling user, with the assignment itself.

> Includes closed and completed jobs, so "completed today" is answerable from the same view as "what
is on me now".



## OpenAPI

````yaml /api-reference/openapi.json get /my_work
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:
  /my_work:
    get:
      tags:
        - The caller's own work
      summary: Work assigned to the calling user, with the assignment itself.
      description: >-
        Includes closed and completed jobs, so "completed today" is answerable
        from the same view as "what

        is on me now".
      parameters:
        - $ref: '#/components/parameters/rowFilter.my_work.id'
        - $ref: '#/components/parameters/rowFilter.my_work.work_order_number'
        - $ref: '#/components/parameters/rowFilter.my_work.title'
        - $ref: '#/components/parameters/rowFilter.my_work.description'
        - $ref: '#/components/parameters/rowFilter.my_work.remarks'
        - $ref: '#/components/parameters/rowFilter.my_work.work_order_type_id'
        - $ref: '#/components/parameters/rowFilter.my_work.work_order_type'
        - $ref: '#/components/parameters/rowFilter.my_work.work_order_type_name'
        - $ref: '#/components/parameters/rowFilter.my_work.is_planned'
        - $ref: '#/components/parameters/rowFilter.my_work.is_emergency'
        - $ref: '#/components/parameters/rowFilter.my_work.priority'
        - $ref: '#/components/parameters/rowFilter.my_work.priority_name'
        - $ref: '#/components/parameters/rowFilter.my_work.priority_rank'
        - $ref: '#/components/parameters/rowFilter.my_work.status'
        - $ref: '#/components/parameters/rowFilter.my_work.status_id'
        - $ref: '#/components/parameters/rowFilter.my_work.state_model_version_id'
        - $ref: '#/components/parameters/rowFilter.my_work.status_label'
        - $ref: '#/components/parameters/rowFilter.my_work.status_category'
        - $ref: '#/components/parameters/rowFilter.my_work.is_open'
        - $ref: '#/components/parameters/rowFilter.my_work.allows_technician_edit'
        - $ref: '#/components/parameters/rowFilter.my_work.allows_parts_consumption'
        - $ref: '#/components/parameters/rowFilter.my_work.allows_labour_entry'
        - $ref: '#/components/parameters/rowFilter.my_work.allows_sla_extension'
        - $ref: '#/components/parameters/rowFilter.my_work.origin'
        - $ref: '#/components/parameters/rowFilter.my_work.reported_by_user_id'
        - $ref: '#/components/parameters/rowFilter.my_work.reported_by_user_name'
        - $ref: '#/components/parameters/rowFilter.my_work.asset_id'
        - $ref: '#/components/parameters/rowFilter.my_work.asset_number'
        - $ref: '#/components/parameters/rowFilter.my_work.asset_name'
        - $ref: '#/components/parameters/rowFilter.my_work.asset_category_id'
        - $ref: '#/components/parameters/rowFilter.my_work.site_id'
        - $ref: '#/components/parameters/rowFilter.my_work.site_code'
        - $ref: '#/components/parameters/rowFilter.my_work.location_id'
        - $ref: '#/components/parameters/rowFilter.my_work.work_order_category_id'
        - $ref: '#/components/parameters/rowFilter.my_work.maintenance_occurrence_id'
        - $ref: '#/components/parameters/rowFilter.my_work.work_request_id'
        - $ref: '#/components/parameters/rowFilter.my_work.planned_start_at'
        - $ref: '#/components/parameters/rowFilter.my_work.planned_end_at'
        - $ref: '#/components/parameters/rowFilter.my_work.due_at'
        - $ref: '#/components/parameters/rowFilter.my_work.response_due_at'
        - $ref: '#/components/parameters/rowFilter.my_work.resolution_due_at'
        - $ref: '#/components/parameters/rowFilter.my_work.actual_start_at'
        - $ref: '#/components/parameters/rowFilter.my_work.actual_end_at'
        - $ref: '#/components/parameters/rowFilter.my_work.actual_duration_minutes'
        - $ref: '#/components/parameters/rowFilter.my_work.closed_at'
        - $ref: '#/components/parameters/rowFilter.my_work.readiness_score'
        - $ref: '#/components/parameters/rowFilter.my_work.is_ready'
        - $ref: '#/components/parameters/rowFilter.my_work.requires_permit'
        - $ref: '#/components/parameters/rowFilter.my_work.permit_required'
        - $ref: '#/components/parameters/rowFilter.my_work.safety_instructions'
        - $ref: '#/components/parameters/rowFilter.my_work.safety_briefing'
        - $ref: '#/components/parameters/rowFilter.my_work.problem_code'
        - $ref: '#/components/parameters/rowFilter.my_work.failure_code'
        - $ref: >-
            #/components/parameters/rowFilter.my_work.work_order_resolution_code_id
        - $ref: '#/components/parameters/rowFilter.my_work.resolution_code'
        - $ref: '#/components/parameters/rowFilter.my_work.resolution_code_name'
        - $ref: '#/components/parameters/rowFilter.my_work.resolution_notes'
        - $ref: '#/components/parameters/rowFilter.my_work.is_warranty_covered'
        - $ref: '#/components/parameters/rowFilter.my_work.contract_id'
        - $ref: '#/components/parameters/rowFilter.my_work.sla_breached'
        - $ref: '#/components/parameters/rowFilter.my_work.estimated_duration_minutes'
        - $ref: '#/components/parameters/rowFilter.my_work.total_cost'
        - $ref: '#/components/parameters/rowFilter.my_work.total_cost_currency_id'
        - $ref: '#/components/parameters/rowFilter.my_work.labour_cost'
        - $ref: '#/components/parameters/rowFilter.my_work.parts_cost'
        - $ref: '#/components/parameters/rowFilter.my_work.vendor_cost'
        - $ref: '#/components/parameters/rowFilter.my_work.status_is_terminal'
        - $ref: '#/components/parameters/rowFilter.my_work.assigned_vendor_id'
        - $ref: '#/components/parameters/rowFilter.my_work.assigned_vendor_name'
        - $ref: '#/components/parameters/rowFilter.my_work.assigned_team_id'
        - $ref: '#/components/parameters/rowFilter.my_work.assigned_team_name'
        - $ref: '#/components/parameters/rowFilter.my_work.vendor_technician'
        - $ref: '#/components/parameters/rowFilter.my_work.vendor_technician_phone'
        - $ref: '#/components/parameters/rowFilter.my_work.assignees'
        - $ref: '#/components/parameters/rowFilter.my_work.cc'
        - $ref: '#/components/parameters/rowFilter.my_work.task_count'
        - $ref: >-
            #/components/parameters/rowFilter.my_work.mandatory_tasks_outstanding
        - $ref: '#/components/parameters/rowFilter.my_work.primary_image_file_id'
        - $ref: '#/components/parameters/rowFilter.my_work.asset_image_file_id'
        - $ref: '#/components/parameters/rowFilter.my_work.custom_fields'
        - $ref: '#/components/parameters/rowFilter.my_work.is_unassigned'
        - $ref: '#/components/parameters/rowFilter.my_work.age_days'
        - $ref: '#/components/parameters/rowFilter.my_work.turnaround_minutes'
        - $ref: '#/components/parameters/rowFilter.my_work.turnaround_running'
        - $ref: '#/components/parameters/rowFilter.my_work.checked_in_minutes'
        - $ref: '#/components/parameters/rowFilter.my_work.checked_in_since'
        - $ref: '#/components/parameters/rowFilter.my_work.is_overdue'
        - $ref: '#/components/parameters/rowFilter.my_work.sla_breached_now'
        - $ref: >-
            #/components/parameters/rowFilter.my_work.pending_approval_request_id
        - $ref: >-
            #/components/parameters/rowFilter.my_work.pending_sla_extension_request_id
        - $ref: '#/components/parameters/rowFilter.my_work.row_version'
        - $ref: '#/components/parameters/rowFilter.my_work.created_at'
        - $ref: '#/components/parameters/rowFilter.my_work.created_by_id'
        - $ref: '#/components/parameters/rowFilter.my_work.created_by_name'
        - $ref: '#/components/parameters/rowFilter.my_work.created_source'
        - $ref: '#/components/parameters/rowFilter.my_work.updated_at'
        - $ref: '#/components/parameters/rowFilter.my_work.updated_by_id'
        - $ref: '#/components/parameters/rowFilter.my_work.updated_by_name'
        - $ref: '#/components/parameters/rowFilter.my_work.assignment_role'
        - $ref: '#/components/parameters/rowFilter.my_work.accepted'
        - $ref: '#/components/parameters/rowFilter.my_work.assigned_at'
        - $ref: '#/components/parameters/rowFilter.my_work.planned_minutes'
        - $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/my_work'
                type: array
            application/vnd.pgrst.object+json:
              schema:
                items:
                  $ref: '#/components/schemas/my_work'
                type: array
            application/vnd.pgrst.object+json;nulls=stripped:
              schema:
                items:
                  $ref: '#/components/schemas/my_work'
                type: array
            text/csv:
              schema:
                items:
                  $ref: '#/components/schemas/my_work'
                type: array
          description: OK
        '206':
          description: Partial Content
components:
  parameters:
    rowFilter.my_work.id:
      in: query
      name: id
      required: false
      schema:
        type: string
    rowFilter.my_work.work_order_number:
      in: query
      name: work_order_number
      required: false
      schema:
        type: string
    rowFilter.my_work.title:
      in: query
      name: title
      required: false
      schema:
        type: string
    rowFilter.my_work.description:
      in: query
      name: description
      required: false
      schema:
        type: string
    rowFilter.my_work.remarks:
      in: query
      name: remarks
      required: false
      schema:
        type: string
    rowFilter.my_work.work_order_type_id:
      in: query
      name: work_order_type_id
      required: false
      schema:
        type: string
    rowFilter.my_work.work_order_type:
      in: query
      name: work_order_type
      required: false
      schema:
        type: string
    rowFilter.my_work.work_order_type_name:
      in: query
      name: work_order_type_name
      required: false
      schema:
        type: string
    rowFilter.my_work.is_planned:
      in: query
      name: is_planned
      required: false
      schema:
        type: string
    rowFilter.my_work.is_emergency:
      in: query
      name: is_emergency
      required: false
      schema:
        type: string
    rowFilter.my_work.priority:
      in: query
      name: priority
      required: false
      schema:
        type: string
    rowFilter.my_work.priority_name:
      in: query
      name: priority_name
      required: false
      schema:
        type: string
    rowFilter.my_work.priority_rank:
      in: query
      name: priority_rank
      required: false
      schema:
        type: string
    rowFilter.my_work.status:
      in: query
      name: status
      required: false
      schema:
        type: string
    rowFilter.my_work.status_id:
      in: query
      name: status_id
      required: false
      schema:
        type: string
    rowFilter.my_work.state_model_version_id:
      in: query
      name: state_model_version_id
      required: false
      schema:
        type: string
    rowFilter.my_work.status_label:
      in: query
      name: status_label
      required: false
      schema:
        type: string
    rowFilter.my_work.status_category:
      in: query
      name: status_category
      required: false
      schema:
        type: string
    rowFilter.my_work.is_open:
      in: query
      name: is_open
      required: false
      schema:
        type: string
    rowFilter.my_work.allows_technician_edit:
      in: query
      name: allows_technician_edit
      required: false
      schema:
        type: string
    rowFilter.my_work.allows_parts_consumption:
      in: query
      name: allows_parts_consumption
      required: false
      schema:
        type: string
    rowFilter.my_work.allows_labour_entry:
      in: query
      name: allows_labour_entry
      required: false
      schema:
        type: string
    rowFilter.my_work.allows_sla_extension:
      in: query
      name: allows_sla_extension
      required: false
      schema:
        type: string
    rowFilter.my_work.origin:
      in: query
      name: origin
      required: false
      schema:
        type: string
    rowFilter.my_work.reported_by_user_id:
      in: query
      name: reported_by_user_id
      required: false
      schema:
        type: string
    rowFilter.my_work.reported_by_user_name:
      in: query
      name: reported_by_user_name
      required: false
      schema:
        type: string
    rowFilter.my_work.asset_id:
      in: query
      name: asset_id
      required: false
      schema:
        type: string
    rowFilter.my_work.asset_number:
      in: query
      name: asset_number
      required: false
      schema:
        type: string
    rowFilter.my_work.asset_name:
      in: query
      name: asset_name
      required: false
      schema:
        type: string
    rowFilter.my_work.asset_category_id:
      in: query
      name: asset_category_id
      required: false
      schema:
        type: string
    rowFilter.my_work.site_id:
      in: query
      name: site_id
      required: false
      schema:
        type: string
    rowFilter.my_work.site_code:
      in: query
      name: site_code
      required: false
      schema:
        type: string
    rowFilter.my_work.location_id:
      in: query
      name: location_id
      required: false
      schema:
        type: string
    rowFilter.my_work.work_order_category_id:
      in: query
      name: work_order_category_id
      required: false
      schema:
        type: string
    rowFilter.my_work.maintenance_occurrence_id:
      in: query
      name: maintenance_occurrence_id
      required: false
      schema:
        type: string
    rowFilter.my_work.work_request_id:
      in: query
      name: work_request_id
      required: false
      schema:
        type: string
    rowFilter.my_work.planned_start_at:
      in: query
      name: planned_start_at
      required: false
      schema:
        type: string
    rowFilter.my_work.planned_end_at:
      in: query
      name: planned_end_at
      required: false
      schema:
        type: string
    rowFilter.my_work.due_at:
      in: query
      name: due_at
      required: false
      schema:
        type: string
    rowFilter.my_work.response_due_at:
      in: query
      name: response_due_at
      required: false
      schema:
        type: string
    rowFilter.my_work.resolution_due_at:
      in: query
      name: resolution_due_at
      required: false
      schema:
        type: string
    rowFilter.my_work.actual_start_at:
      in: query
      name: actual_start_at
      required: false
      schema:
        type: string
    rowFilter.my_work.actual_end_at:
      in: query
      name: actual_end_at
      required: false
      schema:
        type: string
    rowFilter.my_work.actual_duration_minutes:
      in: query
      name: actual_duration_minutes
      required: false
      schema:
        type: string
    rowFilter.my_work.closed_at:
      in: query
      name: closed_at
      required: false
      schema:
        type: string
    rowFilter.my_work.readiness_score:
      in: query
      name: readiness_score
      required: false
      schema:
        type: string
    rowFilter.my_work.is_ready:
      in: query
      name: is_ready
      required: false
      schema:
        type: string
    rowFilter.my_work.requires_permit:
      in: query
      name: requires_permit
      required: false
      schema:
        type: string
    rowFilter.my_work.permit_required:
      in: query
      name: permit_required
      required: false
      schema:
        type: string
    rowFilter.my_work.safety_instructions:
      in: query
      name: safety_instructions
      required: false
      schema:
        type: string
    rowFilter.my_work.safety_briefing:
      in: query
      name: safety_briefing
      required: false
      schema:
        type: string
    rowFilter.my_work.problem_code:
      in: query
      name: problem_code
      required: false
      schema:
        type: string
    rowFilter.my_work.failure_code:
      in: query
      name: failure_code
      required: false
      schema:
        type: string
    rowFilter.my_work.work_order_resolution_code_id:
      in: query
      name: work_order_resolution_code_id
      required: false
      schema:
        type: string
    rowFilter.my_work.resolution_code:
      in: query
      name: resolution_code
      required: false
      schema:
        type: string
    rowFilter.my_work.resolution_code_name:
      in: query
      name: resolution_code_name
      required: false
      schema:
        type: string
    rowFilter.my_work.resolution_notes:
      in: query
      name: resolution_notes
      required: false
      schema:
        type: string
    rowFilter.my_work.is_warranty_covered:
      in: query
      name: is_warranty_covered
      required: false
      schema:
        type: string
    rowFilter.my_work.contract_id:
      in: query
      name: contract_id
      required: false
      schema:
        type: string
    rowFilter.my_work.sla_breached:
      in: query
      name: sla_breached
      required: false
      schema:
        type: string
    rowFilter.my_work.estimated_duration_minutes:
      in: query
      name: estimated_duration_minutes
      required: false
      schema:
        type: string
    rowFilter.my_work.total_cost:
      in: query
      name: total_cost
      required: false
      schema:
        type: string
    rowFilter.my_work.total_cost_currency_id:
      in: query
      name: total_cost_currency_id
      required: false
      schema:
        type: string
    rowFilter.my_work.labour_cost:
      in: query
      name: labour_cost
      required: false
      schema:
        type: string
    rowFilter.my_work.parts_cost:
      in: query
      name: parts_cost
      required: false
      schema:
        type: string
    rowFilter.my_work.vendor_cost:
      in: query
      name: vendor_cost
      required: false
      schema:
        type: string
    rowFilter.my_work.status_is_terminal:
      in: query
      name: status_is_terminal
      required: false
      schema:
        type: string
    rowFilter.my_work.assigned_vendor_id:
      in: query
      name: assigned_vendor_id
      required: false
      schema:
        type: string
    rowFilter.my_work.assigned_vendor_name:
      in: query
      name: assigned_vendor_name
      required: false
      schema:
        type: string
    rowFilter.my_work.assigned_team_id:
      in: query
      name: assigned_team_id
      required: false
      schema:
        type: string
    rowFilter.my_work.assigned_team_name:
      in: query
      name: assigned_team_name
      required: false
      schema:
        type: string
    rowFilter.my_work.vendor_technician:
      in: query
      name: vendor_technician
      required: false
      schema:
        type: string
    rowFilter.my_work.vendor_technician_phone:
      in: query
      name: vendor_technician_phone
      required: false
      schema:
        type: string
    rowFilter.my_work.assignees:
      in: query
      name: assignees
      required: false
      schema:
        type: string
    rowFilter.my_work.cc:
      in: query
      name: cc
      required: false
      schema:
        type: string
    rowFilter.my_work.task_count:
      in: query
      name: task_count
      required: false
      schema:
        type: string
    rowFilter.my_work.mandatory_tasks_outstanding:
      in: query
      name: mandatory_tasks_outstanding
      required: false
      schema:
        type: string
    rowFilter.my_work.primary_image_file_id:
      in: query
      name: primary_image_file_id
      required: false
      schema:
        type: string
    rowFilter.my_work.asset_image_file_id:
      in: query
      name: asset_image_file_id
      required: false
      schema:
        type: string
    rowFilter.my_work.custom_fields:
      in: query
      name: custom_fields
      required: false
      schema:
        type: string
    rowFilter.my_work.is_unassigned:
      in: query
      name: is_unassigned
      required: false
      schema:
        type: string
    rowFilter.my_work.age_days:
      in: query
      name: age_days
      required: false
      schema:
        type: string
    rowFilter.my_work.turnaround_minutes:
      in: query
      name: turnaround_minutes
      required: false
      schema:
        type: string
    rowFilter.my_work.turnaround_running:
      in: query
      name: turnaround_running
      required: false
      schema:
        type: string
    rowFilter.my_work.checked_in_minutes:
      in: query
      name: checked_in_minutes
      required: false
      schema:
        type: string
    rowFilter.my_work.checked_in_since:
      in: query
      name: checked_in_since
      required: false
      schema:
        type: string
    rowFilter.my_work.is_overdue:
      in: query
      name: is_overdue
      required: false
      schema:
        type: string
    rowFilter.my_work.sla_breached_now:
      in: query
      name: sla_breached_now
      required: false
      schema:
        type: string
    rowFilter.my_work.pending_approval_request_id:
      in: query
      name: pending_approval_request_id
      required: false
      schema:
        type: string
    rowFilter.my_work.pending_sla_extension_request_id:
      in: query
      name: pending_sla_extension_request_id
      required: false
      schema:
        type: string
    rowFilter.my_work.row_version:
      in: query
      name: row_version
      required: false
      schema:
        type: string
    rowFilter.my_work.created_at:
      in: query
      name: created_at
      required: false
      schema:
        type: string
    rowFilter.my_work.created_by_id:
      in: query
      name: created_by_id
      required: false
      schema:
        type: string
    rowFilter.my_work.created_by_name:
      in: query
      name: created_by_name
      required: false
      schema:
        type: string
    rowFilter.my_work.created_source:
      in: query
      name: created_source
      required: false
      schema:
        type: string
    rowFilter.my_work.updated_at:
      in: query
      name: updated_at
      required: false
      schema:
        type: string
    rowFilter.my_work.updated_by_id:
      in: query
      name: updated_by_id
      required: false
      schema:
        type: string
    rowFilter.my_work.updated_by_name:
      in: query
      name: updated_by_name
      required: false
      schema:
        type: string
    rowFilter.my_work.assignment_role:
      in: query
      name: assignment_role
      required: false
      schema:
        type: string
    rowFilter.my_work.accepted:
      in: query
      name: accepted
      required: false
      schema:
        type: string
    rowFilter.my_work.assigned_at:
      in: query
      name: assigned_at
      required: false
      schema:
        type: string
    rowFilter.my_work.planned_minutes:
      in: query
      name: planned_minutes
      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:
    my_work:
      description: >-
        Work assigned to the calling user, with the assignment itself.


        Includes closed and completed jobs, so "completed today" is answerable
        from the same view as "what

        is on me now".
      properties:
        accepted:
          format: boolean
          type: boolean
        actual_duration_minutes:
          format: integer
          type: integer
        actual_end_at:
          format: timestamp with time zone
          type: string
        actual_start_at:
          format: timestamp with time zone
          type: string
        age_days:
          format: integer
          type: integer
        allows_labour_entry:
          format: boolean
          type: boolean
        allows_parts_consumption:
          format: boolean
          type: boolean
        allows_sla_extension:
          format: boolean
          type: boolean
        allows_technician_edit:
          format: boolean
          type: boolean
        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_id:
          description: >-
            Note:

            This is a Foreign Key to `asset_contracts.asset_id`.<fk
            table='asset_contracts' column='asset_id'/>
          format: uuid
          type: string
        asset_image_file_id:
          format: uuid
          type: string
        asset_name:
          format: character varying
          maxLength: 250
          type: string
        asset_number:
          format: character varying
          maxLength: 80
          type: string
        assigned_at:
          format: timestamp with time zone
          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
        assigned_vendor_id:
          description: >-
            Note:

            This is a Foreign Key to `assignable_vendors.id`.<fk
            table='assignable_vendors' column='id'/>
          format: uuid
          type: string
        assigned_vendor_name:
          format: character varying
          maxLength: 200
          type: string
        assignees:
          format: jsonb
        assignment_role:
          format: character varying
          maxLength: 30
          type: string
        cc:
          format: jsonb
        checked_in_minutes:
          format: integer
          type: integer
        checked_in_since:
          format: timestamp with time zone
          type: string
        closed_at:
          format: timestamp with time zone
          type: string
        contract_id:
          description: >-
            Note:

            This is a Foreign Key to `contract_cover.contract_id`.<fk
            table='contract_cover' column='contract_id'/>
          format: uuid
          type: string
        created_at:
          format: timestamp with time zone
          type: string
        created_by_id:
          description: >-
            Note:

            This is a Foreign Key to `capex_invite_candidates.id`.<fk
            table='capex_invite_candidates' column='id'/>
          format: uuid
          type: string
        created_by_name:
          format: character varying
          maxLength: 200
          type: string
        created_source:
          format: text
          type: string
        custom_fields:
          format: jsonb
        description:
          format: text
          type: string
        due_at:
          format: timestamp with time zone
          type: string
        estimated_duration_minutes:
          format: integer
          type: integer
        failure_code:
          format: character varying
          maxLength: 80
          type: string
        id:
          description: |-
            Note:
            This is a Primary Key.<pk/>
          format: uuid
          type: string
        is_emergency:
          format: boolean
          type: boolean
        is_open:
          format: boolean
          type: boolean
        is_overdue:
          format: boolean
          type: boolean
        is_planned:
          format: boolean
          type: boolean
        is_ready:
          format: boolean
          type: boolean
        is_unassigned:
          format: boolean
          type: boolean
        is_warranty_covered:
          format: boolean
          type: boolean
        labour_cost:
          format: numeric
          type: number
        location_id:
          description: >-
            Note:

            This is a Foreign Key to `location_settings.id`.<fk
            table='location_settings' column='id'/>
          format: uuid
          type: string
        maintenance_occurrence_id:
          description: >-
            Note:

            This is a Foreign Key to
            `asset_maintenance_plans.next_occurrence_id`.<fk
            table='asset_maintenance_plans' column='next_occurrence_id'/>
          format: uuid
          type: string
        mandatory_tasks_outstanding:
          format: bigint
          type: integer
        origin:
          format: character varying
          maxLength: 30
          type: string
        parts_cost:
          format: numeric
          type: number
        pending_approval_request_id:
          format: uuid
          type: string
        pending_sla_extension_request_id:
          format: uuid
          type: string
        permit_required:
          format: boolean
          type: boolean
        planned_end_at:
          format: timestamp with time zone
          type: string
        planned_minutes:
          format: integer
          type: integer
        planned_start_at:
          format: timestamp with time zone
          type: string
        primary_image_file_id:
          format: uuid
          type: string
        priority:
          format: character varying
          maxLength: 40
          type: string
        priority_name:
          format: character varying
          maxLength: 150
          type: string
        priority_rank:
          format: smallint
          type: integer
        problem_code:
          format: character varying
          maxLength: 80
          type: string
        readiness_score:
          format: numeric
          type: number
        remarks:
          format: text
          type: string
        reported_by_user_id:
          description: >-
            Note:

            This is a Foreign Key to `capex_invite_candidates.id`.<fk
            table='capex_invite_candidates' column='id'/>
          format: uuid
          type: string
        reported_by_user_name:
          format: character varying
          maxLength: 200
          type: string
        requires_permit:
          format: boolean
          type: boolean
        resolution_code:
          format: character varying
          maxLength: 60
          type: string
        resolution_code_name:
          format: character varying
          maxLength: 200
          type: string
        resolution_due_at:
          format: timestamp with time zone
          type: string
        resolution_notes:
          format: text
          type: string
        response_due_at:
          format: timestamp with time zone
          type: string
        row_version:
          format: bigint
          type: integer
        safety_briefing:
          format: text
          type: string
        safety_instructions:
          format: text
          type: string
        site_code:
          format: character varying
          maxLength: 50
          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
        sla_breached:
          format: boolean
          type: boolean
        sla_breached_now:
          format: boolean
          type: boolean
        state_model_version_id:
          description: >-
            Note:

            This is a Foreign Key to `state_models.version_id`.<fk
            table='state_models' column='version_id'/>
          format: uuid
          type: string
        status:
          format: character varying
          maxLength: 60
          type: string
        status_category:
          format: character varying
          maxLength: 20
          type: string
        status_id:
          description: |-
            Note:
            This is a Primary Key.<pk/>
          format: uuid
          type: string
        status_is_terminal:
          format: boolean
          type: boolean
        status_label:
          format: text
          type: string
        task_count:
          format: bigint
          type: integer
        title:
          format: character varying
          maxLength: 250
          type: string
        total_cost:
          format: numeric
          type: number
        total_cost_currency_id:
          description: >-
            Note:

            This is a Foreign Key to `asset_cost_to_keep.currency_id`.<fk
            table='asset_cost_to_keep' column='currency_id'/>
          format: uuid
          type: string
        turnaround_minutes:
          format: integer
          type: integer
        turnaround_running:
          format: boolean
          type: boolean
        updated_at:
          format: timestamp with time zone
          type: string
        updated_by_id:
          description: >-
            Note:

            This is a Foreign Key to `capex_invite_candidates.id`.<fk
            table='capex_invite_candidates' column='id'/>
          format: uuid
          type: string
        updated_by_name:
          format: character varying
          maxLength: 200
          type: string
        vendor_cost:
          format: numeric
          type: number
        vendor_technician:
          format: character varying
          maxLength: 120
          type: string
        vendor_technician_phone:
          format: character varying
          maxLength: 40
          type: string
        work_order_category_id:
          description: >-
            Note:

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

            This is a Foreign Key to `work_order_resolution_codes.id`.<fk
            table='work_order_resolution_codes' column='id'/>
          format: uuid
          type: string
        work_order_type:
          format: character varying
          maxLength: 40
          type: string
        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
        work_order_type_name:
          format: character varying
          maxLength: 150
          type: string
        work_request_id:
          description: >-
            Note:

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

````