AssetLab

v3.3.0
ca.assetlab/mcp-server Checked 2 days ago Published 1 month ago

Work orders, PM schedules, assets, capital plans and infrastructure in AssetLab CMMS/EAM.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

list_assets List assets

List assets in your AssetLab account. Supports filtering by site, building, system class, system group, system, status, and text search. Archived assets (removed from service, kept for their history) are left out unless include_archived is true or status_id names a status. Amounts are bare numbers with no currency: call get_organization_settings for currency_code before stating one.

ParameterTypeDescription
building_idstringFilter by building ID
include_archivedbooleanInclude archived assets in the list (default false)
pageintegerPage number (default: all pages fetched automatically)
per_pageintegerItems per page (default: 1000, max: 1000). All pages are fetched automatically.
searchstringSearch by name
site_idstringFilter by site ID
status_idstringFilter by status ID from list_asset_statuses. The status with system_key archived returns only archived assets.
system_class_idstringFilter by system class ID
system_group_idstringFilter by system group ID
system_idstringFilter by system ID

get_asset Get asset

Get detailed information about a specific asset by its ID, archived or not; archived_at is set on an archived asset. Amounts are bare numbers with no currency: call get_organization_settings for currency_code before stating one.

ParameterTypeDescription
id *stringAsset ID

list_work_orders List work orders

List work orders. Filter by status (NEW, IN_PROGRESS, ON_HOLD, COMPLETED, CANCELLED), priority (LOW, MEDIUM, HIGH, URGENT), type (PM, REACTIVE), and site. Amounts are bare numbers with no currency: call get_organization_settings for currency_code before stating one.

ParameterTypeDescription
pageintegerPage number (default: all pages fetched automatically)
per_pageintegerItems per page (default: 1000, max: 1000). All pages are fetched automatically.
prioritystringFilter by priority: LOW, MEDIUM, HIGH, URGENT
searchstringSearch by name
site_idstringFilter by site ID
statusstringFilter by status: NEW, IN_PROGRESS, ON_HOLD, COMPLETED, CANCELLED
typestringFilter by type: PM (preventive) or REACTIVE

get_work_order Get work order

Get detailed information about a specific work order by its ID, including description, dates, costs, and completion details. Amounts are bare numbers with no currency: call get_organization_settings for currency_code before stating one.

ParameterTypeDescription
id *stringWork order ID

list_sites List sites

List all sites (physical locations/campuses) in your organization. Amounts are bare numbers with no currency: call get_organization_settings for currency_code before stating one.

ParameterTypeDescription
citystringFilter by city name
pageintegerPage number (default: all pages fetched automatically)
per_pageintegerItems per page (default: 1000, max: 1000). All pages are fetched automatically.
searchstringSearch by name

get_site Get site

Get detailed information about a specific site including address and description. Amounts are bare numbers with no currency: call get_organization_settings for currency_code before stating one.

ParameterTypeDescription
id *stringSite ID

list_buildings List buildings

List buildings. Optionally filter by site to see all buildings at a specific location.

ParameterTypeDescription
pageintegerPage number (default: all pages fetched automatically)
per_pageintegerItems per page (default: 1000, max: 1000). All pages are fetched automatically.
searchstringSearch by name
site_idstringFilter by site ID

list_locations List locations

List locations (rooms, floors, areas within buildings). Optionally filter by building or location type.

ParameterTypeDescription
building_idstringFilter by building ID
location_type_idstringFilter by location type ID
pageintegerPage number (default: all pages fetched automatically)
per_pageintegerItems per page (default: 1000, max: 1000). All pages are fetched automatically.
searchstringSearch by name

list_systems List systems

List systems (e.g., HVAC units, plumbing systems, electrical systems). Optionally filter by system group.

ParameterTypeDescription
pageintegerPage number (default: all pages fetched automatically)
per_pageintegerItems per page (default: 1000, max: 1000). All pages are fetched automatically.
searchstringSearch by name
system_group_idstringFilter by system group ID

list_system_groups List system groups

List system groups (categories of systems, e.g., "Heating", "Cooling"). Optionally filter by system class.

ParameterTypeDescription
pageintegerPage number (default: all pages fetched automatically)
per_pageintegerItems per page (default: 1000, max: 1000). All pages are fetched automatically.
searchstringSearch by name
system_class_idstringFilter by system class ID

list_system_classes List system classes

List system classes (top-level classification, e.g., "HVAC", "Plumbing", "Electrical").

ParameterTypeDescription
pageintegerPage number (default: all pages fetched automatically)
per_pageintegerItems per page (default: 1000, max: 1000). All pages are fetched automatically.
searchstringSearch by name

list_pm_schedules List PM schedules

List preventive maintenance schedules. Filter by status, frequency, or site. Amounts are bare numbers with no currency: call get_organization_settings for currency_code before stating one.

ParameterTypeDescription
frequencystringFilter by frequency: DAILY, WEEKLY, MONTHLY, QUARTERLY, SEMI_ANNUAL, ANNUAL, FIVE_YEARLY, CUSTOM
pageintegerPage number (default: all pages fetched automatically)
per_pageintegerItems per page (default: 1000, max: 1000). All pages are fetched automatically.
searchstringSearch by name
site_idstringFilter by site ID
statusstringFilter by status: active, inactive

get_pm_schedule Get PM schedule

Get detailed information about a specific PM schedule including tasks, resources, and linked assets. Amounts are bare numbers with no currency: call get_organization_settings for currency_code before stating one.

ParameterTypeDescription
id *stringPM schedule ID

list_pm_templates List PM templates

List preventive maintenance templates that can be used to create PM schedules. Amounts are bare numbers with no currency: call get_organization_settings for currency_code before stating one.

ParameterTypeDescription
pageintegerPage number (default: all pages fetched automatically)
per_pageintegerItems per page (default: 1000, max: 1000). All pages are fetched automatically.
searchstringSearch by name

list_form_templates List form templates

List form templates - reusable inspection, checklist, compliance, and survey definitions. Each has a `module`: facilities, infrastructure, or null (shared by both).

ParameterTypeDescription
modulestringOnly records in this workspace; none = shared ones only
pageintegerPage number (default: all pages fetched automatically)
per_pageintegerItems per page (default: 1000, max: 1000). All pages are fetched automatically.
searchstringSearch by name
statusstringFilter by status: draft, published, archived
work_category_idstringFilter by work category ID (look up with list_work_categories)

get_form_template Get form template

Get detailed information about a specific form template by its ID.

ParameterTypeDescription
id *stringForm template ID

list_form_template_items List form template items

List the items (questions) within form templates. Returned in sort order. Filter by template_id.

ParameterTypeDescription
pageintegerPage number (default: all pages fetched automatically)
per_pageintegerItems per page (default: 1000, max: 1000). All pages are fetched automatically.
template_idstringFilter by form template ID

get_form_template_item Get form template item

Get detailed information about a specific form template item by its ID.

ParameterTypeDescription
id *stringForm template item ID

list_form_responses List form responses

List form responses - completed or in-progress fill-outs of a form, attached to a work order or PM. Read-only.

ParameterTypeDescription
pageintegerPage number (default: all pages fetched automatically)
per_pageintegerItems per page (default: 1000, max: 1000). All pages are fetched automatically.
statusstringFilter by status
subject_idstringFilter by subject ID
subject_typestringFilter by subject type
template_idstringFilter by form template ID

get_form_response Get form response

Get detailed information about a specific form response by its ID.

ParameterTypeDescription
id *stringForm response ID

list_form_response_answers List form response answers

List the per-question answer values within form responses. Read-only.

ParameterTypeDescription
item_keystringFilter by item key
pageintegerPage number (default: all pages fetched automatically)
per_pageintegerItems per page (default: 1000, max: 1000). All pages are fetched automatically.
response_idstringFilter by form response ID

get_form_response_answer Get form response answer

Get detailed information about a specific form response answer by its ID.

ParameterTypeDescription
id *stringForm response answer ID

list_projects List projects

List capital projects. Filter by status or health status (on_track, at_risk, delayed, critical). Amounts are bare numbers with no currency: call get_organization_settings for currency_code before stating one.

ParameterTypeDescription
health_statusstringFilter by health: on_track, at_risk, delayed, critical
pageintegerPage number (default: all pages fetched automatically)
per_pageintegerItems per page (default: 1000, max: 1000). All pages are fetched automatically.
searchstringSearch by name
statusstringFilter by project status

get_project Get project

Get detailed project information including budget, progress, schedule variance, and linked sites. Amounts are bare numbers with no currency: call get_organization_settings for currency_code before stating one.

ParameterTypeDescription
id *stringProject ID

list_contracts List contracts

List vendor contracts. Filter by category or search by title. Amounts are bare numbers with no currency: call get_organization_settings for currency_code before stating one.

ParameterTypeDescription
categorystringFilter by contract category
pageintegerPage number (default: all pages fetched automatically)
per_pageintegerItems per page (default: 1000, max: 1000). All pages are fetched automatically.
searchstringSearch by name

list_asset_statuses List asset statuses

List asset statuses for the organization. These define the lifecycle states an asset or infrastructure feature can be in. Each has a `module`: facilities (assets), infrastructure (features), or null (shared by both); pick one matching the record, or a shared one. The status with system_key archived is the built-in Archived status: assigning it to an asset archives the asset.

ParameterTypeDescription
modulestringOnly records in this workspace; none = shared ones only
pageintegerPage number (default: all pages fetched automatically)
per_pageintegerItems per page (default: 1000, max: 1000). All pages are fetched automatically.
searchstringSearch by name

get_asset_status Get asset status

Get a single asset status by ID.

ParameterTypeDescription
id *stringAsset status ID

list_compliance_items List compliance items

List compliance items (regulatory requirements tracked against PM schedules). Filter by status or system.

ParameterTypeDescription
pageintegerPage number (default: all pages fetched automatically)
per_pageintegerItems per page (default: 1000, max: 1000). All pages are fetched automatically.
searchstringSearch by name
statusstringFilter by status: active, archived
system_idstringFilter by system ID

get_compliance_item Get compliance item

Get detailed compliance item including linked PM schedules and their required frequencies.

ParameterTypeDescription
id *stringCompliance item ID

list_parts List parts

List parts/inventory items. Filter by site or category. Amounts are bare numbers with no currency: call get_organization_settings for currency_code before stating one.

ParameterTypeDescription
categorystringFilter by category (partial match)
pageintegerPage number (default: all pages fetched automatically)
per_pageintegerItems per page (default: 1000, max: 1000). All pages are fetched automatically.
searchstringSearch by name
site_idstringFilter by site ID

get_part Get part

Get detailed information about a specific part including location and stock levels. Amounts are bare numbers with no currency: call get_organization_settings for currency_code before stating one.

ParameterTypeDescription
id *stringPart ID

list_vendors List vendors

List vendors. Filter by status, category, or city.

ParameterTypeDescription
categorystringFilter by category (matches vendors that include this category)
citystringFilter by city (partial match)
pageintegerPage number (default: all pages fetched automatically)
per_pageintegerItems per page (default: 1000, max: 1000). All pages are fetched automatically.
searchstringSearch by name
statusstringFilter by vendor status

get_vendor Get vendor

Get detailed vendor information including contact details, address, and website.

ParameterTypeDescription
id *stringVendor ID

list_work_requests List work requests

List work requests (submitted by requesters). Filter by status (PENDING_REVIEW, APPROVED, REJECTED) or priority.

ParameterTypeDescription
pageintegerPage number (default: all pages fetched automatically)
per_pageintegerItems per page (default: 1000, max: 1000). All pages are fetched automatically.
prioritystringFilter by priority: LOW, MEDIUM, HIGH, URGENT
searchstringSearch by name
site_idstringFilter by site ID
statusstringFilter by status: PENDING_REVIEW, APPROVED, REJECTED

get_work_request Get work request

Get detailed work request information including description, attachments, and processing status.

ParameterTypeDescription
id *stringWork request ID

list_invoices List invoices

List invoices. Filter by status (pending, approved, paid, voided), vendor, or project. Amounts are bare numbers with no currency: call get_organization_settings for currency_code before stating one.

ParameterTypeDescription
pageintegerPage number (default: all pages fetched automatically)
per_pageintegerItems per page (default: 1000, max: 1000). All pages are fetched automatically.
project_idstringFilter by project ID
searchstringSearch by name
statusstringFilter by status: pending, approved, paid, voided
vendor_idstringFilter by vendor ID

get_invoice Get invoice

Get detailed invoice information including amounts, dates, linked vendor, project, and purchase order. Amounts are bare numbers with no currency: call get_organization_settings for currency_code before stating one.

ParameterTypeDescription
id *stringInvoice ID

list_purchase_orders List purchase orders

List purchase orders. Filter by status (draft, issued, partially_received, received, closed, cancelled), vendor, or project. Amounts are bare numbers with no currency: call get_organization_settings for currency_code before stating one.

ParameterTypeDescription
pageintegerPage number (default: all pages fetched automatically)
per_pageintegerItems per page (default: 1000, max: 1000). All pages are fetched automatically.
project_idstringFilter by project ID
searchstringSearch by name
statusstringFilter by status: draft, issued, partially_received, received, closed, cancelled
vendor_idstringFilter by vendor ID

get_purchase_order Get purchase order

Get detailed purchase order information including amount, status, vendor, and linked project. Amounts are bare numbers with no currency: call get_organization_settings for currency_code before stating one.

ParameterTypeDescription
id *stringPurchase order ID

list_purchase_order_lines List purchase order lines

List purchase order line items: description, optional part, quantity, unit_cost and quantity_received. Filter by purchase_order_id or part_id. A PO with lines takes its amount from them. unit_cost is a bare number with no currency: call get_organization_settings for currency_code before stating one.

ParameterTypeDescription
pageintegerPage number (default: all pages fetched automatically)
part_idstringFilter by part ID
per_pageintegerItems per page (default: 1000, max: 1000). All pages are fetched automatically.
purchase_order_idstringFilter by purchase order ID

get_purchase_order_line Get purchase order line

Get one purchase order line item by ID. unit_cost is a bare number with no currency: call get_organization_settings for currency_code before stating one.

ParameterTypeDescription
id *stringPurchase order line ID

list_expenses List expenses

List project-scoped expenses (the Project → Costs → Expenses tab). These records have description, amount, expense_date, receipt_url, and notes - they do NOT carry invoice_number or po_number. For the records shown on the main AssetLab "Expenses" page (which include invoice_number, po_number, category, and asset/site links), use list_asset_costs instead. Filter by project, work order, or cost category. Amounts are bare numbers with no currency: call get_organization_settings for currency_code before stating one.

ParameterTypeDescription
category_idstringFilter by cost category ID
pageintegerPage number (default: all pages fetched automatically)
per_pageintegerItems per page (default: 1000, max: 1000). All pages are fetched automatically.
project_idstringFilter by project ID
searchstringSearch by name
work_order_idstringFilter by work order ID

get_expense Get expense

Get a project-scoped expense (Project → Costs → Expenses tab) by ID, including amount, date, receipt, and linked project or work order. Does NOT include invoice_number or po_number - those live on asset_costs (the main AssetLab "Expenses" page). Use get_asset_cost for that record type. Amounts are bare numbers with no currency: call get_organization_settings for currency_code before stating one.

ParameterTypeDescription
id *stringExpense ID

list_change_orders List change orders

List change orders. Filter by status, vendor_id, or project_id. Amounts are bare numbers with no currency: call get_organization_settings for currency_code before stating one.

ParameterTypeDescription
pageintegerPage number (default: all pages fetched automatically)
per_pageintegerItems per page (default: 1000, max: 1000). All pages are fetched automatically.
project_idstringFilter by project ID
searchstringSearch by name
statusstringFilter by status: draft, submitted, approved, rejected
vendor_idstringFilter by vendor ID

get_change_order Get change order

Get a change order by ID, including amount, status, vendor, and linked project. Amounts are bare numbers with no currency: call get_organization_settings for currency_code before stating one.

ParameterTypeDescription
id *stringChange order ID

list_project_document_folder_templates List project document folder templates

List project document folder templates for reusable folder structures.

ParameterTypeDescription
pageintegerPage number (default: all pages fetched automatically)
per_pageintegerItems per page (default: 1000, max: 1000). All pages are fetched automatically.
searchstringSearch by name

get_project_document_folder_template Get project document folder template

Get a project document folder template by ID, including its folder structure.

ParameterTypeDescription
id *stringTemplate ID

list_asset_type_groups List asset type groups

List asset type group classifications. Groups organize asset types into logical categories.

ParameterTypeDescription
pageintegerPage number (default: all pages fetched automatically)
per_pageintegerItems per page (default: 1000, max: 1000). All pages are fetched automatically.
searchstringSearch by name

list_asset_types List asset types

List asset type classifications. Filter by group.

ParameterTypeDescription
group_idstringFilter by asset type group ID
pageintegerPage number (default: all pages fetched automatically)
per_pageintegerItems per page (default: 1000, max: 1000). All pages are fetched automatically.
searchstringSearch by name

list_work_categories List work categories

List work categories used to classify work orders and requests. Each has a `module`: facilities, infrastructure, or null (shared by both). Pick a category whose module matches the work - infrastructure for work on a feature, facilities otherwise - or a shared one.

ParameterTypeDescription
modulestringOnly categories in this workspace; none = shared categories only
pageintegerPage number (default: all pages fetched automatically)
per_pageintegerItems per page (default: 1000, max: 1000). All pages are fetched automatically.
searchstringSearch by name

list_manufacturers List manufacturers

List manufacturers of equipment and assets.

ParameterTypeDescription
pageintegerPage number (default: all pages fetched automatically)
per_pageintegerItems per page (default: 1000, max: 1000). All pages are fetched automatically.
searchstringSearch by name

get_manufacturer Get manufacturer

Get detailed manufacturer information including contact details and associated system classes.

ParameterTypeDescription
id *stringManufacturer ID

list_building_types List building types

List building type classifications.

ParameterTypeDescription
pageintegerPage number (default: all pages fetched automatically)
per_pageintegerItems per page (default: 1000, max: 1000). All pages are fetched automatically.
searchstringSearch by name

list_location_types List location types

List location type classifications (e.g., room types, floor types).

ParameterTypeDescription
pageintegerPage number (default: all pages fetched automatically)
per_pageintegerItems per page (default: 1000, max: 1000). All pages are fetched automatically.
searchstringSearch by name

list_project_phase_categories List project phase categories

List project phase categories (e.g., Planning, Design, Execution). Sorted by sort_order.

ParameterTypeDescription
pageintegerPage number (default: all pages fetched automatically)
per_pageintegerItems per page (default: 1000, max: 1000). All pages are fetched automatically.
searchstringSearch by name

list_cost_categories List cost categories

List cost categories used to classify expenses, invoices, and purchase orders. Supports hierarchical parent-child structure.

ParameterTypeDescription
is_activestringFilter by active status
pageintegerPage number (default: all pages fetched automatically)
parent_idstringFilter by parent category ID
per_pageintegerItems per page (default: 1000, max: 1000). All pages are fetched automatically.
searchstringSearch by name

list_budgets List budgets

List annual funding budgets - one figure per year, funding source (O&M or Capital) and workspace (module), which is what the dashboard Budget tab shows. Filter by year, funding source, module, site or building. Includes allocated, budgeted, and remaining amounts. Amounts are bare numbers with no currency: call get_organization_settings for currency_code before stating one.

ParameterTypeDescription
building_idstringFilter by building ID
funding_sourcestringFilter by funding source
modulestringFilter by workspace; 'none' for organization-wide budgets
pageintegerPage number (default: all pages fetched automatically)
per_pageintegerItems per page (default: 1000, max: 1000). All pages are fetched automatically.
site_idstringFilter by site ID
yearintegerFilter by budget year (e.g. 2026)

get_budget Get budget

Get a single annual funding budget by ID. Use list_sites/list_buildings to resolve site_id/building_id. Amounts are bare numbers with no currency: call get_organization_settings for currency_code before stating one.

ParameterTypeDescription
id *stringBudget ID

get_organization_settings Get organization settings

Get this organization's display settings: currency_code (ISO 4217), timezone, date_format, company_name, org_category, and which optional modules are enabled (infrastructure, level of service; enable_floorplans is not enforced - floorplans are available on every plan). Call this before presenting any monetary amount - costs, budgets and replacement values returned by every other tool are bare numbers with no currency attached, so stating one without checking risks labelling a Canadian tenant's money as US dollars. Also the fastest way to tell an empty module from one this organization does not…

get_dashboard_summary Get dashboard summary

Get aggregated dashboard statistics: total assets, work orders by status, overdue count, active PM schedules, sites, and buildings.

list_asset_comments List asset comments

List comments on assets. Filter by asset_id to get comments for a specific asset.

ParameterTypeDescription
asset_idstringFilter by asset ID
pageintegerPage number (default: all pages fetched automatically)
per_pageintegerItems per page (default: 1000, max: 1000). All pages are fetched automatically.

get_asset_comment Get asset comment

Get a single asset comment by ID.

ParameterTypeDescription
id *stringAsset comment ID

list_asset_costs List asset costs

List asset cost records - this is what the AssetLab UI shows on the main "Expenses" page (top-level nav). Each record includes amount, cost_date, category (Repair, PM, Operation, Replacement, Decommission, Other), description, invoice_number, po_number, and links to asset/site/building/work_order. Distinct from list_expenses, which returns project-scoped expenses without invoice/PO fields. Filter by asset, site, category, or work order. Amounts are bare numbers with no currency: call get_organization_settings for currency_code before stating one.

ParameterTypeDescription
asset_idstringFilter by asset ID
categorystringFilter by cost category
pageintegerPage number (default: all pages fetched automatically)
per_pageintegerItems per page (default: 1000, max: 1000). All pages are fetched automatically.
site_idstringFilter by site ID
work_order_idstringFilter by work order ID

get_asset_cost Get asset cost

Get a single asset cost record by ID - the record type shown on the main AssetLab "Expenses" page. Returns amount, cost_date, category, description, invoice_number, po_number, and related asset, site, building, and work_order. Distinct from get_expense (project-scoped expenses without invoice/PO). Amounts are bare numbers with no currency: call get_organization_settings for currency_code before stating one.

ParameterTypeDescription
id *stringAsset cost ID

list_asset_replacement_plans List asset replacement plans

List asset replacement plans for lifecycle/capital planning. Filter by asset, status, priority, or planned year. Amounts are bare numbers with no currency: call get_organization_settings for currency_code before stating one.

ParameterTypeDescription
asset_idstringFilter by asset ID
pageintegerPage number (default: all pages fetched automatically)
per_pageintegerItems per page (default: 1000, max: 1000). All pages are fetched automatically.
prioritystringFilter by priority
statusstringFilter by plan status
yearintegerFilter by planned replacement year

get_asset_replacement_plan Get asset replacement plan

Get a single asset replacement plan by ID. Amounts are bare numbers with no currency: call get_organization_settings for currency_code before stating one.

ParameterTypeDescription
id *stringReplacement plan ID

list_asset_risk_history List asset risk history

List asset risk assessment history. Shows risk scores, condition scores, and trigger events over time. Condition scores are 0-100: 85+ Excellent, 70-84 Good, 55-69 Fair, 40-54 Poor, below 40 Critical.

ParameterTypeDescription
asset_idstringFilter by asset ID
pageintegerPage number (default: all pages fetched automatically)
per_pageintegerItems per page (default: 1000, max: 1000). All pages are fetched automatically.
trigger_eventstringFilter by trigger event type

get_asset_risk_history_entry Get asset risk history entry

Get a single asset risk history entry by ID.

ParameterTypeDescription
id *stringRisk history entry ID

list_work_order_comments List work order comments

List comments on work orders. Filter by work_order_id to get comments for a specific work order.

ParameterTypeDescription
pageintegerPage number (default: all pages fetched automatically)
per_pageintegerItems per page (default: 1000, max: 1000). All pages are fetched automatically.
work_order_idstringFilter by work order ID

get_work_order_comment Get work order comment

Get a single work order comment by ID.

ParameterTypeDescription
id *stringWork order comment ID

list_work_order_schedules List work order schedules

List work order schedules (technician day plans). Filter by technician_id + scheduled_date to get one technician's ordered day: rows are returned by date, then stop_order (the day-plan stop sequence; rows without stop_order sort last), then start time. travel_time_minutes is a straight-line estimate from the previous stop.

ParameterTypeDescription
date_fromstringFilter: scheduled_date on or after (YYYY-MM-DD)
date_tostringFilter: scheduled_date on or before (YYYY-MM-DD)
pageintegerPage number (default: all pages fetched automatically)
per_pageintegerItems per page (default: 1000, max: 1000). All pages are fetched automatically.
scheduled_datestringFilter by exact date (YYYY-MM-DD)
technician_idstringFilter by technician (Clerk user ID)
work_order_idstringFilter by work order ID

get_work_order_schedule Get work order schedule

Get a single work order schedule entry by ID.

ParameterTypeDescription
id *stringWork order schedule ID

list_project_tasks List project tasks

List project tasks (work breakdown structure). Filter by project, phase, status, or priority. Amounts are bare numbers with no currency: call get_organization_settings for currency_code before stating one.

ParameterTypeDescription
pageintegerPage number (default: all pages fetched automatically)
per_pageintegerItems per page (default: 1000, max: 1000). All pages are fetched automatically.
phase_idstringFilter by phase ID
prioritystringFilter by priority
project_idstringFilter by project ID
searchstringSearch by name
statusstringFilter by task status

get_project_task Get project task

Get a single project task by ID, including cost and hour tracking. Amounts are bare numbers with no currency: call get_organization_settings for currency_code before stating one.

ParameterTypeDescription
id *stringProject task ID

list_project_milestones List project milestones

List project milestones. Filter by project or status (pending, completed, missed, at_risk).

ParameterTypeDescription
pageintegerPage number (default: all pages fetched automatically)
per_pageintegerItems per page (default: 1000, max: 1000). All pages are fetched automatically.
project_idstringFilter by project ID
searchstringSearch by name
statusstringFilter by milestone status

get_project_milestone Get project milestone

Get a single project milestone by ID.

ParameterTypeDescription
id *stringProject milestone ID

list_project_phases List project phases

List project phases. Filter by project or status (pending, in_progress, completed, skipped).

ParameterTypeDescription
pageintegerPage number (default: all pages fetched automatically)
per_pageintegerItems per page (default: 1000, max: 1000). All pages are fetched automatically.
project_idstringFilter by project ID
statusstringFilter by phase status

get_project_phase Get project phase

Get a single project phase by ID.

ParameterTypeDescription
id *stringProject phase ID

list_project_budget_items List project budget items

List project budget line items (labor, materials, equipment, subcontractors, permits, contingency, other). Amounts are bare numbers with no currency: call get_organization_settings for currency_code before stating one.

ParameterTypeDescription
categorystringFilter by budget category
pageintegerPage number (default: all pages fetched automatically)
per_pageintegerItems per page (default: 1000, max: 1000). All pages are fetched automatically.
project_idstringFilter by project ID

get_project_budget_item Get project budget item

Get a single project budget item by ID. Amounts are bare numbers with no currency: call get_organization_settings for currency_code before stating one.

ParameterTypeDescription
id *stringBudget item ID

list_project_time_entries List project time entries

List project time entries for labor tracking. Filter by project, task, or user.

ParameterTypeDescription
pageintegerPage number (default: all pages fetched automatically)
per_pageintegerItems per page (default: 1000, max: 1000). All pages are fetched automatically.
project_idstringFilter by project ID
task_idstringFilter by task ID
user_idstringFilter by user ID

get_project_time_entry Get project time entry

Get a single project time entry by ID.

ParameterTypeDescription
id *stringTime entry ID

list_project_comments List project comments

List comments on projects. Supports threaded replies via parent_id.

ParameterTypeDescription
pageintegerPage number (default: all pages fetched automatically)
per_pageintegerItems per page (default: 1000, max: 1000). All pages are fetched automatically.
project_idstringFilter by project ID

get_project_comment Get project comment

Get a single project comment by ID.

ParameterTypeDescription
id *stringProject comment ID

list_compliance_records List compliance records

List compliance records - audit trail of completed compliance checks linked to work orders and PM schedules.

ParameterTypeDescription
compliance_item_idstringFilter by compliance item ID
pageintegerPage number (default: all pages fetched automatically)
per_pageintegerItems per page (default: 1000, max: 1000). All pages are fetched automatically.
work_order_idstringFilter by work order ID

get_compliance_record Get compliance record

Get a single compliance record by ID.

ParameterTypeDescription
id *stringCompliance record ID

list_compliance_pm_schedules List compliance PM schedules

List the PM schedules linked to a compliance item, or the compliance items a PM schedule counts toward. Pass compliance_item_id or pm_schedule_id (one is required). Each link carries required_frequency_days (how often the schedule must be completed for the item to stay compliant) and weight.

ParameterTypeDescription
compliance_item_idstringCompliance item ID - resolve via list_compliance_items
pm_schedule_idstringPM schedule ID - resolve via list_pm_schedules

get_compliance_pm_schedule Get compliance PM schedule

Get one compliance item to PM schedule link by its ID.

ParameterTypeDescription
id *stringLink ID

list_site_fci_history List site FCI history

List Facility Condition Index (FCI) history for sites. fci_value is deferred renewal cost divided by current replacement value, a fraction where LOWER is healthier: below 0.05 good, 0.05-0.10 fair, 0.10 and above poor. It is not a 0-100 condition score. To chart one site, use show_site_fci_trend.

ParameterTypeDescription
pageintegerPage number (default: all pages fetched automatically)
per_pageintegerItems per page (default: 1000, max: 1000). All pages are fetched automatically.
site_idstringFilter by site ID

get_site_fci_history_entry Get site FCI history entry

Get a single site FCI history entry by ID.

ParameterTypeDescription
id *stringFCI history entry ID

list_dashboard_snapshots List dashboard snapshots

List monthly dashboard snapshots with aggregate stats: asset counts, condition scores, work order metrics, and CRV totals. Amounts are bare numbers with no currency: call get_organization_settings for currency_code before stating one.

ParameterTypeDescription
monthintegerFilter by snapshot month (1-12)
pageintegerPage number (default: all pages fetched automatically)
per_pageintegerItems per page (default: 1000, max: 1000). All pages are fetched automatically.
yearintegerFilter by snapshot year (e.g. 2026)

get_dashboard_snapshot Get dashboard snapshot

Get a single dashboard snapshot by ID. Amounts are bare numbers with no currency: call get_organization_settings for currency_code before stating one.

ParameterTypeDescription
id *stringDashboard snapshot ID

list_vendor_site_assignments List vendor site assignments

List vendor-to-site assignments showing which vendors serve which sites.

ParameterTypeDescription
pageintegerPage number (default: all pages fetched automatically)
per_pageintegerItems per page (default: 1000, max: 1000). All pages are fetched automatically.
site_idstringFilter by site ID
vendor_idstringFilter by vendor ID

get_vendor_site_assignment Get vendor site assignment

Get a single vendor site assignment by ID, including vendor and site names.

ParameterTypeDescription
id *stringVendor site assignment ID

list_contract_sites List contract sites

List contract-to-site mappings showing which contracts cover which sites. No single-record lookup (composite key).

ParameterTypeDescription
contract_idstringFilter by contract ID
pageintegerPage number (default: all pages fetched automatically)
per_pageintegerItems per page (default: 1000, max: 1000). All pages are fetched automatically.
site_idstringFilter by site ID

list_custom_field_definitions List custom field definitions

List custom field definitions configured for this tenant. Filter by entity type (e.g. asset, work_order) or field type.

ParameterTypeDescription
entity_typestringFilter by entity type (e.g. asset, work_order)
field_typestringFilter by field type
pageintegerPage number (default: all pages fetched automatically)
per_pageintegerItems per page (default: 1000, max: 1000). All pages are fetched automatically.

get_custom_field_definition Get custom field definition

Get a single custom field definition by ID.

ParameterTypeDescription
id *stringCustom field definition ID

list_custom_field_values List custom field values

List custom field values. Filter by entity_id to get all custom fields for a specific record, or by field_definition_id.

ParameterTypeDescription
entity_idstringFilter by entity ID (e.g. asset ID, work order ID)
field_definition_idstringFilter by field definition ID
pageintegerPage number (default: all pages fetched automatically)
per_pageintegerItems per page (default: 1000, max: 1000). All pages are fetched automatically.

get_custom_field_value Get custom field value

Get a single custom field value by ID.

ParameterTypeDescription
id *stringCustom field value ID

list_part_categories List part categories

List part categories used to classify inventory parts. Each has a `module`: facilities, infrastructure, or null (shared by both); pick one matching the part's workspace, or a shared one.

ParameterTypeDescription
modulestringOnly records in this workspace; none = shared ones only
pageintegerPage number (default: all pages fetched automatically)
per_pageintegerItems per page (default: 1000, max: 1000). All pages are fetched automatically.
searchstringSearch by name

get_part_category Get part category

Get a single part category by ID.

ParameterTypeDescription
id *stringPart category ID

list_asset_parts List asset parts

List parts associated with assets. Filter by asset_id to get all parts for one asset, or by part_id to see all assets using a specific part.

ParameterTypeDescription
asset_idstringFilter by asset ID
pageintegerPage number (default: all pages fetched automatically)
part_idstringFilter by part ID
per_pageintegerItems per page (default: 1000, max: 1000). All pages are fetched automatically.

get_asset_part Get asset part

Get a single asset-part association by ID, including asset and part details.

ParameterTypeDescription
id *stringAsset-part association ID

list_asset_documents List asset documents

List asset documents (O&M manuals, warranties, specs, etc.). Filter by asset_id or category.

ParameterTypeDescription
asset_idstringFilter by asset ID
categorystringFilter by document category
pageintegerPage number (default: all pages fetched automatically)
per_pageintegerItems per page (default: 1000, max: 1000). All pages are fetched automatically.
searchstringSearch by name

get_asset_document Get asset document

Get a single asset document by ID.

ParameterTypeDescription
id *stringAsset document ID

list_attachments List attachments

List file attachments linked to work orders, work requests, PM schedules, or PM templates.

ParameterTypeDescription
pageintegerPage number (default: all pages fetched automatically)
per_pageintegerItems per page (default: 1000, max: 1000). All pages are fetched automatically.
pm_schedule_idstringFilter by PM schedule ID
pm_template_idstringFilter by PM template ID
searchstringSearch by name
work_order_idstringFilter by work order ID
work_request_idstringFilter by work request ID

get_attachment Get attachment

Get a single attachment by ID.

ParameterTypeDescription
id *stringAttachment ID

list_project_documents List project documents

List documents attached to projects. Filter by project_id or folder_id.

ParameterTypeDescription
folder_idstringFilter by folder ID
pageintegerPage number (default: all pages fetched automatically)
per_pageintegerItems per page (default: 1000, max: 1000). All pages are fetched automatically.
project_idstringFilter by project ID
searchstringSearch by name

get_project_document Get project document

Get a single project document by ID.

ParameterTypeDescription
id *stringProject document ID

list_contract_documents List contract documents

List documents attached to contracts. Filter by contract_id.

ParameterTypeDescription
contract_idstringFilter by contract ID
pageintegerPage number (default: all pages fetched automatically)
per_pageintegerItems per page (default: 1000, max: 1000). All pages are fetched automatically.
searchstringSearch by name

get_contract_document Get contract document

Get a single contract document by ID.

ParameterTypeDescription
id *stringContract document ID

list_project_team_members List project team members

List project team members. Filter by project, user, or active status.

ParameterTypeDescription
is_activestringFilter by active status ("true" or "false")
pageintegerPage number (default: all pages fetched automatically)
per_pageintegerItems per page (default: 1000, max: 1000). All pages are fetched automatically.
project_idstringFilter by project ID
searchstringSearch by name
user_idstringFilter by user ID (Clerk ID)

get_project_team_member Get project team member

Get a single project team member by ID.

ParameterTypeDescription
id *stringProject team member ID

list_project_task_dependencies List project task dependencies

List task dependencies. Filter by task_id or depends_on_task_id to see dependency chains.

ParameterTypeDescription
dependency_typestringFilter by dependency type
depends_on_task_idstringFilter by depended-on task ID
pageintegerPage number (default: all pages fetched automatically)
per_pageintegerItems per page (default: 1000, max: 1000). All pages are fetched automatically.
task_idstringFilter by task ID

get_project_task_dependency Get project task dependency

Get a single project task dependency by ID.

ParameterTypeDescription
id *stringProject task dependency ID

list_project_updates List project updates

List periodic project updates (status reports). Filter by project, timeframe, or year.

ParameterTypeDescription
pageintegerPage number (default: all pages fetched automatically)
per_pageintegerItems per page (default: 1000, max: 1000). All pages are fetched automatically.
period_yearintegerFilter by year
project_idstringFilter by project ID
searchstringSearch by name
timeframestringFilter by timeframe

get_project_update Get project update

Get a single project update by ID.

ParameterTypeDescription
id *stringProject update ID

list_project_cost_snapshots List project cost snapshots

List historical cost snapshots for projects. Filter by project_id to see cost trends over time. Amounts are bare numbers with no currency: call get_organization_settings for currency_code before stating one.

ParameterTypeDescription
pageintegerPage number (default: all pages fetched automatically)
per_pageintegerItems per page (default: 1000, max: 1000). All pages are fetched automatically.
project_idstringFilter by project ID

get_project_cost_snapshot Get project cost snapshot

Get a single project cost snapshot by ID. Amounts are bare numbers with no currency: call get_organization_settings for currency_code before stating one.

ParameterTypeDescription
id *stringProject cost snapshot ID

list_project_locations List project locations

List location assignments for projects. Filter by project_id or location_id.

ParameterTypeDescription
location_idstringFilter by location ID
pageintegerPage number (default: all pages fetched automatically)
per_pageintegerItems per page (default: 1000, max: 1000). All pages are fetched automatically.
project_idstringFilter by project ID

get_project_location Get project location

Get a single project location assignment by ID.

ParameterTypeDescription
id *stringProject location ID

list_project_sites List project sites

List site assignments for projects. Filter by project_id or site_id.

ParameterTypeDescription
pageintegerPage number (default: all pages fetched automatically)
per_pageintegerItems per page (default: 1000, max: 1000). All pages are fetched automatically.
project_idstringFilter by project ID
site_idstringFilter by site ID

get_project_site Get project site

Get a single project site assignment by ID.

ParameterTypeDescription
id *stringProject site ID

list_project_buildings List project buildings

List building assignments for projects. Filter by project_id or building_id.

ParameterTypeDescription
building_idstringFilter by building ID
pageintegerPage number (default: all pages fetched automatically)
per_pageintegerItems per page (default: 1000, max: 1000). All pages are fetched automatically.
project_idstringFilter by project ID

get_project_building Get project building

Get a single project building assignment by ID.

ParameterTypeDescription
id *stringProject building ID

list_project_systems List project systems

List system assignments for projects. Filter by project_id or system_id.

ParameterTypeDescription
pageintegerPage number (default: all pages fetched automatically)
per_pageintegerItems per page (default: 1000, max: 1000). All pages are fetched automatically.
project_idstringFilter by project ID
system_idstringFilter by system ID

get_project_system Get project system

Get a single project system assignment by ID.

ParameterTypeDescription
id *stringProject system ID

list_project_system_classes List project system classes

List system class assignments for projects. Filter by project_id or system_class_id.

ParameterTypeDescription
pageintegerPage number (default: all pages fetched automatically)
per_pageintegerItems per page (default: 1000, max: 1000). All pages are fetched automatically.
project_idstringFilter by project ID
system_class_idstringFilter by system class ID

get_project_system_class Get project system class

Get a single project system class assignment by ID.

ParameterTypeDescription
id *stringProject system class ID

list_project_system_groups List project system groups

List system group assignments for projects. Filter by project_id or system_group_id.

ParameterTypeDescription
pageintegerPage number (default: all pages fetched automatically)
per_pageintegerItems per page (default: 1000, max: 1000). All pages are fetched automatically.
project_idstringFilter by project ID
system_group_idstringFilter by system group ID

get_project_system_group Get project system group

Get a single project system group assignment by ID.

ParameterTypeDescription
id *stringProject system group ID

list_project_risks List project risks

List project risks (risk register). Filter by project, status, category, probability, or impact.

ParameterTypeDescription
categorystringFilter by risk category
impactstringFilter by impact level
pageintegerPage number (default: all pages fetched automatically)
per_pageintegerItems per page (default: 1000, max: 1000). All pages are fetched automatically.
probabilitystringFilter by probability
project_idstringFilter by project ID
searchstringSearch by name
statusstringFilter by risk status

get_project_risk Get project risk

Get a single project risk by ID, including mitigation and contingency plans.

ParameterTypeDescription
id *stringProject risk ID

list_project_assets List project assets

List asset assignments for projects. Filter by project_id or asset_id.

ParameterTypeDescription
asset_idstringFilter by asset ID
pageintegerPage number (default: all pages fetched automatically)
per_pageintegerItems per page (default: 1000, max: 1000). All pages are fetched automatically.
project_idstringFilter by project ID

get_project_asset Get project asset

Get a single project asset assignment by ID.

ParameterTypeDescription
id *stringProject asset ID

list_service_areas List service areas

List service areas (Level of Service groupings). Filter by active status or search by name.

ParameterTypeDescription
is_activebooleanFilter by active status (true/false)
pageintegerPage number (default: all pages fetched automatically)
per_pageintegerItems per page (default: 1000, max: 1000). All pages are fetched automatically.
searchstringSearch by name

get_service_area Get service area

Get a single service area by ID, including linked system classes and sites.

ParameterTypeDescription
id *stringService area ID

list_service_area_system_classes List service area system classes

List system class links for service areas. Filter by service_area_id or system_class_id.

ParameterTypeDescription
pageintegerPage number (default: all pages fetched automatically)
per_pageintegerItems per page (default: 1000, max: 1000). All pages are fetched automatically.
service_area_idstringFilter by service area ID
system_class_idstringFilter by system class ID

list_service_area_sites List service area sites

List site links for service areas. Filter by service_area_id or site_id.

ParameterTypeDescription
pageintegerPage number (default: all pages fetched automatically)
per_pageintegerItems per page (default: 1000, max: 1000). All pages are fetched automatically.
service_area_idstringFilter by service area ID
site_idstringFilter by site ID

list_los_measures List LoS measures

List LoS measures. Filter by service area, category, type, data source, or active status.

ParameterTypeDescription
categorystringFilter by measure category
data_sourcestringFilter by data source type
is_activebooleanFilter by active status
pageintegerPage number (default: all pages fetched automatically)
per_pageintegerItems per page (default: 1000, max: 1000). All pages are fetched automatically.
searchstringSearch by name
service_area_idstringFilter by service area ID
typestringFilter by measure type

get_los_measure Get LoS measure

Get a single LoS measure by ID, including all configuration (targets, data source, weights).

ParameterTypeDescription
id *stringLoS measure ID

list_los_measurements List LoS measurements

List LoS measurement values (time-series). Filter by measure, period type, date range, or auto/manual.

ParameterTypeDescription
date_fromstringFilter measurements from this date (ISO 8601, inclusive)
date_tostringFilter measurements up to this date (ISO 8601, inclusive)
is_autobooleanFilter by auto-calculated (true) or manual (false)
los_measure_idstringFilter by LoS measure ID
pageintegerPage number (default: all pages fetched automatically)
per_pageintegerItems per page (default: 1000, max: 1000). All pages are fetched automatically.
period_typestringFilter by period type

get_los_measurement Get LoS measurement

Get a single LoS measurement by ID, including value, period, and source metadata.

ParameterTypeDescription
id *stringLoS measurement ID

list_los_proposed_targets List LoS proposed targets

List proposed levels of service: one row per LoS measure and future year (O. Reg. 588/17 s. 6(1)). A community measure carries target_statement; a technical measure carries target_value, in the measure's own unit (not money). Filter by measure or year.

ParameterTypeDescription
los_measure_idstringFilter by LoS measure ID
pageintegerPage number (default: all pages fetched automatically)
per_pageintegerItems per page (default: 1000, max: 1000). All pages are fetched automatically.
yearintegerFilter by target year

get_los_proposed_target Get LoS proposed target

Get a single LoS proposed target by ID: measure, year, and target_value (in the measure's own unit, not money) or target_statement.

ParameterTypeDescription
id *stringLoS proposed target ID

list_los_targets_history List LoS targets history

List recorded changes to a LoS measure's target, minimum and stretch goal, newest first. Recording began on 2026-09-20: a change made before that date left no entry, so an empty list does not mean the target never changed. One entry per measure per day; a second change the same day overwrites that day's entry. Values are in the measure's own unit (not money). Filter by measure ID.

ParameterTypeDescription
los_measure_idstringFilter by LoS measure ID
pageintegerPage number (default: all pages fetched automatically)
per_pageintegerItems per page (default: 1000, max: 1000). All pages are fetched automatically.

get_los_targets_history_entry Get LoS targets history entry

Get a single LoS targets history entry by ID: the target, minimum and stretch goal a measure was set to on effective_date, in the measure's own unit (not money). History exists from 2026-09-20 onward only.

ParameterTypeDescription
id *stringLoS targets history entry ID

list_system_los_targets List system LoS targets

List technical Level of Service targets for building systems. One base target per system and metric, set once for the organization. Each building is held to a version adjusted by its criticality: a lower-is-better target is multiplied by the tier's modifier, a higher-is-better one keeps its distance from a perfect score multiplied by it (condition 70 becomes 82 at a Critical facility, 58 at a Low one). Derived targets never leave the metric's scale. Metrics: fci (0-100 percent, lower is better), asset_condition_avg (0-100, higher is better, read with the fixed condition bands), asset_past_usef…

ParameterTypeDescription
activebooleanFilter by active (true) or paused (false)
metricstringFilter by metric
pageintegerPage number (default: all pages fetched automatically)
per_pageintegerItems per page (default: 1000, max: 1000). All pages are fetched automatically.
system_idstringFilter by system ID

get_system_los_target Get system LoS target

Get a single system LoS target by ID. base_target is the organization-wide base for that system and metric, not what any one building is held to (list_system_los_targets explains the criticality adjustment). fci, asset_condition_avg and asset_past_useful_life_pct are 0-100 and risk_score_avg is 0-25; condition is higher-is-better, the others lower-is-better. Not money.

ParameterTypeDescription
id *stringSystem LoS target ID

list_infrastructure_los_targets List infrastructure LoS targets

List technical Level of Service targets for infrastructure. One base target per feature class and metric, set once for the organization. Each network of that class is held to a version adjusted by the network's criticality (an unrated network counts as medium): a lower-is-better target is multiplied by the tier's modifier, a higher-is-better one keeps its distance from a perfect score multiplied by it (condition 70 becomes 82 at a Critical network, 58 at a Low one). Derived targets never leave the metric's scale. Metrics: fci (0-100 percent, lower is better), asset_condition_avg (0-100, higher…

ParameterTypeDescription
activebooleanFilter by active (true) or paused (false)
feature_classstringFilter by feature class code (e.g. "sidewalk")
metricstringFilter by metric
pageintegerPage number (default: all pages fetched automatically)
per_pageintegerItems per page (default: 1000, max: 1000). All pages are fetched automatically.

get_infrastructure_los_target Get infrastructure LoS target

Get a single infrastructure LoS target by ID. base_target is the base for that feature class and metric, not what any one network is held to (list_infrastructure_los_targets explains the criticality adjustment). All three metrics are 0-100; condition is higher-is-better, fci and asset_past_useful_life_pct lower-is-better. Not money.

ParameterTypeDescription
id *stringInfrastructure LoS target ID

list_criticality_modifiers List criticality modifiers

List the organization's criticality modifier overrides. Rows are overrides only: a tier with no row uses the built-in default (critical 0.6, high 0.8, medium 1.0, low 1.4), so an empty list means every tier is on its default. A modifier below 1 tightens the targets of facilities in that tier and one above 1 relaxes them; the allowed range is 0.1 to 1.9. Deleting a row restores the default. Filter by tier.

ParameterTypeDescription
criticalitystringFilter by criticality tier
pageintegerPage number (default: all pages fetched automatically)
per_pageintegerItems per page (default: 1000, max: 1000). All pages are fetched automatically.

get_criticality_modifier Get criticality modifier

Get a single criticality modifier override by ID. A tier with no override uses the built-in default (critical 0.6, high 0.8, medium 1.0, low 1.4); a modifier below 1 tightens targets and one above 1 relaxes them.

ParameterTypeDescription
id *stringCriticality modifier ID

list_los_consequences List LoS consequences

List Level of Service consequences: what a missed technical target means, in the organization's own words. Advisory only: the statement is shown on the Status screen when a target is breached, and no notification is sent to notify_roles or to anyone else. When several match a breach the most specific scope wins (a specific system or feature class over a criticality tier over global). severity is a floor; the severity shown scales with the size of the gap and the facility's criticality. A null metric matches any metric. Filter by scope type, severity or active.

ParameterTypeDescription
activebooleanFilter by active (true) or paused (false)
pageintegerPage number (default: all pages fetched automatically)
per_pageintegerItems per page (default: 1000, max: 1000). All pages are fetched automatically.
scope_typestringFilter by scope type
severitystringFilter by severity

get_los_consequence Get LoS consequence

Get a single LoS consequence by ID. Advisory only: no notification is sent. scope_ref holds a criticality tier, a system ID or a feature class code depending on scope_type, and is null for global.

ParameterTypeDescription
id *stringLoS consequence ID

list_los_status_snapshots List LoS status snapshots

List monthly technical Level of Service readings, newest first. Read-only. One reading per tracked pair (a system in a building, or an infrastructure network) and metric per month, recorded the first time anyone opens the Status screen in that month, so a month nobody opened it is missing rather than zero. actual is the measured value and is null when there was no data; base_target is the organization-wide target and derived_target is what that facility was held to at the time, after its criticality was applied; status is exceeding, meeting, below, failing or no_data. fci and asset_past_useful…

ParameterTypeDescription
building_idstringFilter by building ID
metricstringFilter by metric
network_idstringFilter by infrastructure network ID
pageintegerPage number (default: all pages fetched automatically)
per_pageintegerItems per page (default: 1000, max: 1000). All pages are fetched automatically.
period_fromstringReadings for this month or later (YYYY-MM-DD, compared to period_start)
period_tostringReadings for this month or earlier (YYYY-MM-DD, compared to period_start)
system_idstringFilter by system ID

get_los_status_snapshot Get LoS status snapshot

Get a single monthly Level of Service reading by ID. actual is null when there was no data; derived_target is what that facility was held to then, after its criticality was applied. fci and asset_past_useful_life_pct are 0-100 percentages (not fractions), asset_condition_avg is 0-100 and risk_score_avg is 0-25. Not money.

ParameterTypeDescription
id *stringLoS status snapshot ID

list_floorplans List floorplans

List floorplans (PDF page-level floors or site-level sheets). Filter by building_id for a building's floors, or by site_id for site-level plans (campus maps, outdoor layouts). Each floorplan belongs to exactly one of building OR site. A multi-page PDF produces multiple floorplans sharing the same pdf_storage_path.

ParameterTypeDescription
building_idstringFilter by building ID (building-scoped floorplans)
pageintegerPage number (default: all pages fetched automatically)
per_pageintegerItems per page (default: 1000, max: 1000). All pages are fetched automatically.
site_idstringFilter by site ID (site-scoped floorplans only)
statusstringFilter by detection status

get_floorplan Get floorplan

Get a single floorplan by ID. Returns floor metadata, PDF path, page number, and detection status.

ParameterTypeDescription
id *stringFloorplan ID

list_floorplan_regions List floorplan regions

List labeled rooms/zones on a floorplan. Each region has a polygon (normalized 0-1 coordinates), an optional location_id linking to the Locations hierarchy, and a "reviewed" flag for AI-detected regions.

ParameterTypeDescription
floorplan_idstringFilter by floorplan ID
location_idstringFilter regions linked to a specific location
pageintegerPage number (default: all pages fetched automatically)
per_pageintegerItems per page (default: 1000, max: 1000). All pages are fetched automatically.
reviewedbooleanFilter by reviewed state

get_floorplan_region Get floorplan region

Get a single floorplan region by ID.

ParameterTypeDescription
id *stringFloorplan region ID

list_asset_placements List asset placements

List asset pin placements on floorplans. Each asset has at most one placement globally. Filter by floorplan_id to see all pins on one floor, or by asset_id to find where a specific asset is placed.

ParameterTypeDescription
asset_idstringFilter by asset ID
floorplan_idstringFilter by floorplan ID
pageintegerPage number (default: all pages fetched automatically)
per_pageintegerItems per page (default: 1000, max: 1000). All pages are fetched automatically.
region_idstringFilter by region ID

get_asset_placement Get asset placement

Get a single asset placement by ID.

ParameterTypeDescription
id *stringAsset placement ID

list_infrastructure_feature_classes List infrastructure feature classes

List infrastructure feature classes (catalog of classes like water_main, sewer_gravity, pavement). Use the `code` field as the natural key when referencing a class from a network. Filter by category or is_builtin.

ParameterTypeDescription
categorystringFilter by category
is_builtinstringFilter by builtin ("true") vs tenant-defined ("false")
pageintegerPage number (default: all pages fetched automatically)
per_pageintegerItems per page (default: 1000, max: 1000). All pages are fetched automatically.
searchstringSearch by name

get_infrastructure_feature_class Get infrastructure feature class

Get a single infrastructure feature class by its `code` (e.g. "water_main"). Note: addressed by code, not UUID.

ParameterTypeDescription
code *stringAsset class code (lowercase, snake_case)

list_infrastructure_lifecycle_events List infrastructure lifecycle events

List lifecycle strategy events - condition-triggered maintenance/rehabilitation events keyed on a scope (feature_class code, material, optional diameter band), never on individual features. The events sharing one scope form that scope's strategy; features resolve the most specific matching scope like replacement rates. Filter by feature_class, material, event_class, or is_active. Amounts are bare numbers with no currency: call get_organization_settings for currency_code before stating one.

ParameterTypeDescription
event_classstringFilter by event type
feature_classstringFilter by feature class code
is_activestringFilter by active ("true") vs disabled ("false") events
materialstringFilter by material (exact string)
pageintegerPage number (default: all pages fetched automatically)
per_pageintegerItems per page (default: 1000, max: 1000). All pages are fetched automatically.

get_infrastructure_lifecycle_event Get infrastructure lifecycle event

Get a single lifecycle strategy event by ID. Amounts are bare numbers with no currency: call get_organization_settings for currency_code before stating one.

ParameterTypeDescription
id *stringLifecycle event ID

list_infrastructure_networks List infrastructure networks

List infrastructure networks (named groupings of features bound to one feature class). criticality (critical, high, medium, low) sets how strictly a network is held to its feature class's Level of Service targets; null is treated as medium. Filter by feature_class code or text search.

ParameterTypeDescription
feature_classstringFilter by feature class code (e.g. "water_main")
pageintegerPage number (default: all pages fetched automatically)
per_pageintegerItems per page (default: 1000, max: 1000). All pages are fetched automatically.
searchstringSearch by name

get_infrastructure_network Get infrastructure network

Get a single infrastructure network by ID. criticality sets how strictly the network is held to its feature class's Level of Service targets; null is treated as medium.

ParameterTypeDescription
id *stringInfrastructure network ID

list_infrastructure_assets List infrastructure assets

List infrastructure assets (features - segments or nodes). Geometry is returned as GeoJSON (Point for nodes, LineString for segments) in EPSG:4326. Filter by network, feature_type, site, status, asset type, condition score range, or risk score range. Amounts are bare numbers with no currency: call get_organization_settings for currency_code before stating one.

ParameterTypeDescription
asset_type_idstringFilter by asset type ID
condition_maxnumberMaximum condition score (0-100)
condition_minnumberMinimum condition score (0-100)
feature_typestringFilter by feature type
include_deletedstringInclude soft-deleted features ("true") - default "false"
network_idstringFilter by infrastructure network ID
pageintegerPage number (default: all pages fetched automatically)
per_pageintegerItems per page (default: 1000, max: 1000). All pages are fetched automatically.
risk_score_maxnumberMaximum risk score
risk_score_minnumberMinimum risk score
searchstringSearch by name
site_idstringFilter by site ID
status_idstringFilter by asset status ID

get_infrastructure_asset Get infrastructure asset

Get a single infrastructure asset (feature) by ID. Returns full geometry as GeoJSON plus all attributes. Amounts are bare numbers with no currency: call get_organization_settings for currency_code before stating one.

ParameterTypeDescription
id *stringInfrastructure asset (feature) ID

list_infrastructure_asset_inspections List infrastructure asset inspections

List inspections recorded against infrastructure assets. Filter by feature, inspector, method, condition score range, or inspection date range.

ParameterTypeDescription
condition_maxnumberMaximum condition score (0-100)
condition_minnumberMinimum condition score (0-100)
feature_idstringFilter by infrastructure asset (feature) ID
inspection_date_fromstringFilter inspections on/after this date (YYYY-MM-DD)
inspection_date_tostringFilter inspections on/before this date (YYYY-MM-DD)
inspector_idstringFilter by inspector user ID
methodstringFilter by inspection method (e.g. CCTV, visual)
pageintegerPage number (default: all pages fetched automatically)
per_pageintegerItems per page (default: 1000, max: 1000). All pages are fetched automatically.

get_infrastructure_asset_inspection Get infrastructure asset inspection

Get a single infrastructure asset inspection by ID.

ParameterTypeDescription
id *stringInfrastructure asset inspection ID

list_asset_condition_assessments List asset condition assessments

List point-in-time condition assessments recorded against assets. Filter by asset, assessor, method, condition score range, or assessment date range. Condition scores are 0-100: 85+ Excellent, 70-84 Good, 55-69 Fair, 40-54 Poor, below 40 Critical. Amounts are bare numbers with no currency: call get_organization_settings for currency_code before stating one.

ParameterTypeDescription
assessed_on_fromstringFilter assessments on/after this date (YYYY-MM-DD)
assessed_on_tostringFilter assessments on/before this date (YYYY-MM-DD)
assessor_idstringFilter by assessor user ID
asset_idstringFilter by asset ID
condition_maxnumberMaximum condition score (0-100)
condition_minnumberMinimum condition score (0-100)
methodstringFilter by method (visual | detailed | vendor)
pageintegerPage number (default: all pages fetched automatically)
per_pageintegerItems per page (default: 1000, max: 1000). All pages are fetched automatically.

get_asset_condition_assessment Get asset condition assessment

Get a single asset condition assessment by ID. Condition scores are 0-100: 85+ Excellent, 70-84 Good, 55-69 Fair, 40-54 Poor, below 40 Critical. Amounts are bare numbers with no currency: call get_organization_settings for currency_code before stating one.

ParameterTypeDescription
id *stringAsset condition assessment ID

list_asset_lifecycle_events List asset lifecycle events

List facility lifecycle strategy events - condition-triggered maintenance/rehabilitation events keyed on an asset-type scope (exactly one of asset_type_id or asset_type_group_id), never on individual assets. The events sharing one scope form that scope's strategy; an asset resolves its type's own strategy first, else its type group's. Filter by asset_type_id, asset_type_group_id, event_class, or is_active. Amounts are bare numbers with no currency: call get_organization_settings for currency_code before stating one.

ParameterTypeDescription
asset_type_group_idstringFilter by asset type group ID
asset_type_idstringFilter by asset type ID
event_classstringFilter by event type
is_activestringFilter by active ("true") vs disabled ("false") events
pageintegerPage number (default: all pages fetched automatically)
per_pageintegerItems per page (default: 1000, max: 1000). All pages are fetched automatically.

get_asset_lifecycle_event Get asset lifecycle event

Get a single facility lifecycle strategy event by ID. Amounts are bare numbers with no currency: call get_organization_settings for currency_code before stating one.

ParameterTypeDescription
id *stringLifecycle event ID

list_asset_betterments List asset betterments

List betterments - capital work that extended a facility asset's life, such as an elevator modernization or a boiler retube. Each records what the work cost (capitalized_amount), how much service life it bought (added_life_years), and when it went into service (occurred_on). A betterment re-bases the asset's depreciation from its own date and never changes the asset's original in-service date. Filter by asset_id, project_id or work_order_id. Amounts are bare numbers with no currency: call get_organization_settings for currency_code before stating one.

ParameterTypeDescription
asset_idstringFilter by asset ID
pageintegerPage number (default: all pages fetched automatically)
per_pageintegerItems per page (default: 1000, max: 1000). All pages are fetched automatically.
project_idstringFilter by the project that delivered it
work_order_idstringFilter by the work order that delivered it

get_asset_betterment Get asset betterment

Get a single betterment by ID - one capital improvement on one asset, with its cost, the service life it bought, and its in-service date. Amounts are bare numbers with no currency: call get_organization_settings for currency_code before stating one.

ParameterTypeDescription
id *stringBetterment ID

list_infrastructure_asset_costs List infrastructure asset costs

List cost rows for infrastructure features. Filter by feature, work order, category, or cost date range. Amounts are bare numbers with no currency: call get_organization_settings for currency_code before stating one.

ParameterTypeDescription
categorystringFilter by cost category
cost_date_fromstringCosts on/after this date (YYYY-MM-DD)
cost_date_tostringCosts on/before this date (YYYY-MM-DD)
feature_idstringFilter by infrastructure feature ID
pageintegerPage number (default: all pages fetched automatically)
per_pageintegerItems per page (default: 1000, max: 1000). All pages are fetched automatically.
work_order_idstringFilter by work order ID

get_infrastructure_asset_cost Get infrastructure asset cost

Get a single infrastructure asset cost by ID. Amounts are bare numbers with no currency: call get_organization_settings for currency_code before stating one.

ParameterTypeDescription
id *stringInfrastructure asset cost ID

list_infrastructure_asset_parts List infrastructure asset parts

List parts associated with infrastructure features. Filter by feature or part.

ParameterTypeDescription
feature_idstringFilter by infrastructure feature ID
pageintegerPage number (default: all pages fetched automatically)
part_idstringFilter by part ID
per_pageintegerItems per page (default: 1000, max: 1000). All pages are fetched automatically.

get_infrastructure_asset_part Get infrastructure asset part

Get a single infrastructure asset part association by ID.

ParameterTypeDescription
id *stringInfrastructure asset part ID

list_infrastructure_asset_documents List infrastructure asset documents

List documents attached to infrastructure features. Filter by feature, category, or name search.

ParameterTypeDescription
categorystringFilter by document category
feature_idstringFilter by infrastructure feature ID
pageintegerPage number (default: all pages fetched automatically)
per_pageintegerItems per page (default: 1000, max: 1000). All pages are fetched automatically.
searchstringSearch by name

get_infrastructure_asset_document Get infrastructure asset document

Get a single infrastructure asset document by ID.

ParameterTypeDescription
id *stringInfrastructure asset document ID

list_infrastructure_asset_comments List infrastructure asset comments

List comments on infrastructure features. Filter by feature.

ParameterTypeDescription
feature_idstringFilter by infrastructure feature ID
pageintegerPage number (default: all pages fetched automatically)
per_pageintegerItems per page (default: 1000, max: 1000). All pages are fetched automatically.

get_infrastructure_asset_comment Get infrastructure asset comment

Get a single infrastructure asset comment by ID.

ParameterTypeDescription
id *stringInfrastructure asset comment ID

list_infrastructure_zones List infrastructure zones

List operational hydraulic boundaries (pressure zones, DMAs, sewersheds, etc.). Boundary is returned as a GeoJSON Polygon in EPSG:4326. Filter by network or kind.

ParameterTypeDescription
kindstringFilter by zone kind
network_idstringFilter by infrastructure network ID
pageintegerPage number (default: all pages fetched automatically)
per_pageintegerItems per page (default: 1000, max: 1000). All pages are fetched automatically.

get_infrastructure_zone Get infrastructure zone

Get a single infrastructure zone by ID. Boundary is returned as a GeoJSON Polygon.

ParameterTypeDescription
id *stringInfrastructure zone ID

list_project_infrastructure_assets List project infrastructure assets

List links between projects and infrastructure features. Filter by project or feature.

ParameterTypeDescription
feature_idstringFilter by infrastructure feature ID
pageintegerPage number (default: all pages fetched automatically)
per_pageintegerItems per page (default: 1000, max: 1000). All pages are fetched automatically.
project_idstringFilter by project ID

get_project_infrastructure_asset Get project infrastructure asset

Get a single project ↔ infrastructure feature link by ID.

ParameterTypeDescription
id *stringProject infrastructure asset link ID

list_infrastructure_asset_risk_history List infrastructure asset risk history

List the risk + condition history captured for infrastructure features (populated automatically when a feature's risk fields change). Read-only. Filter by feature, source, or capture date range.

ParameterTypeDescription
captured_at_fromstringEntries on/after this date (YYYY-MM-DD)
captured_at_tostringEntries on/before this date (YYYY-MM-DD)
feature_idstringFilter by infrastructure feature ID
pageintegerPage number (default: all pages fetched automatically)
per_pageintegerItems per page (default: 1000, max: 1000). All pages are fetched automatically.
sourcestringFilter by capture source (e.g. manual_update)

get_infrastructure_asset_risk_history_entry Get infrastructure asset risk history entry

Get a single infrastructure asset risk history entry by ID. Read-only.

ParameterTypeDescription
id *stringInfrastructure asset risk history entry ID

list_users List users

List organization members. Returns user IDs, names, emails, and roles. Requires users:read scope. Note: This exposes personal information - only use when the user explicitly requests member data.

ParameterTypeDescription
pageintegerPage number (default: all pages fetched automatically)
per_pageintegerItems per page (default: 1000, max: 1000). All pages are fetched automatically.

get_user Get user

Get a specific organization member by their user ID. Returns name, email, and role. Requires users:read scope.

ParameterTypeDescription
id *stringUser ID (Clerk user ID string)

create_work_order Create work order

Create a new work order. Requires work_orders:write scope. REQUIRED: title. STRONGLY RECOMMENDED: site_id, building_id and at least one target (asset_id, location_id, system_ids or infrastructure_asset_ids) - the AssetLab app always sets one, and a work order with no target is hard to find and to cost, so ask the user which applies before calling. The API accepts a work order without a target. Also recommended: work_category_id (look up via list_work_categories; omit only if no reasonable match exists). Location hierarchy: always resolve top-down by calling list_sites first, then list_building…

ParameterTypeDescription
title *stringWork order title (required)
asset_idstringAsset this work order is for - resolve via list_assets. The server mirrors it into asset_ids.
asset_idsarrayAssets this work order covers - use instead of asset_id when there is more than one.
assigned_tostringAssigned user ID (mapped to assignees array)
assigneesarrayArray of assigned user IDs (alternative to assigned_to for multiple assignees)
building_idstringBuilding ID - resolve second via list_buildings filtered by site_id
descriptionstringDetailed description
due_datestringDue date (ISO 8601)
estimated_costnumberEstimated cost
estimated_timenumberEstimated time in hours
image_urlstringImage storage path (upload via create_upload_url with bucket "attachments", then set this to the returned path)
infrastructure_asset_idsarrayInfrastructure features this work order covers - resolve via list_infrastructure_assets. Use this when one job covers several features (a round of hydrant flushing); the whole selection is one work or…
location_idstringLocation this work order is for - resolve last via list_locations filtered by building_id. The server mirrors it into location_ids, so send this OR location_ids, not a conflicting pair.
location_idsarrayLocations this work order covers - use instead of location_id when there is more than one. Sending location_id alone replaces this with that single id.
meter_readingnumberMeter/odometer reading at time of service
meter_unitstringMeter unit (km, miles, hours, cycles)
prioritystringPriority level
purchase_order_idstringPurchase order that paid this work order's actual cost - resolve via list_purchase_orders. Counts against the order's remaining balance.
site_idstringSite ID - resolve first via list_sites
start_datestringStart date (ISO 8601)
statusstringStatus
system_idsarraySystems this work order covers - resolve via list_systems. Systems have no singular field; this array is the only way to associate them.
typestringWork order type
work_category_idstringWork category ID

update_work_order Update work order

Update an existing work order by ID. Requires work_orders:write scope. When changing location, resolve top-down: list_sites → list_buildings (by site_id) → list_locations (by building_id). Provide all three IDs. To complete a work order, set status COMPLETED and say what was done in completion_notes; completed_at is stamped automatically.

ParameterTypeDescription
id *stringWork order ID
asset_idstringAsset this work order is for - resolve via list_assets. The server mirrors it into asset_ids.
asset_idsarrayAssets this work order covers - use instead of asset_id when there is more than one.
assigned_tostringAssigned user ID (mapped to assignees array)
assigneesarrayArray of assigned user IDs (alternative to assigned_to for multiple assignees)
building_idstringBuilding ID - resolve second via list_buildings filtered by site_id
completion_notesstringWhat was done, recorded on the work order when it is completed
descriptionstringDetailed description
due_datestringDue date (ISO 8601)
estimated_costnumberEstimated cost
estimated_timenumberEstimated time in hours
image_urlstringImage storage path (upload via create_upload_url with bucket "attachments", then set this to the returned path)
infrastructure_asset_idsarrayInfrastructure features this work order covers - resolve via list_infrastructure_assets. Use this when one job covers several features (a round of hydrant flushing); the whole selection is one work or…
location_idstringLocation this work order is for - resolve last via list_locations filtered by building_id. The server mirrors it into location_ids, so send this OR location_ids, not a conflicting pair.
location_idsarrayLocations this work order covers - use instead of location_id when there is more than one. Sending location_id alone replaces this with that single id.
meter_readingnumberMeter/odometer reading at time of service
meter_unitstringMeter unit (km, miles, hours, cycles)
prioritystringPriority level
purchase_order_idPurchase order that paid this work order's actual cost - resolve via list_purchase_orders. Counts against the order's remaining balance; null clears it.
site_idstringSite ID - resolve first via list_sites
start_datestringStart date (ISO 8601)
statusstringStatus
system_idsarraySystems this work order covers - resolve via list_systems. Systems have no singular field; this array is the only way to associate them.
titlestringWork order title
typestringWork order type
work_category_idstringWork category ID

delete_work_order Delete work order

Delete a work order by ID. Requires work_orders:write scope.

ParameterTypeDescription
id *stringWork order ID

create_asset Create asset

Create a new asset. Requires assets:write scope. IMPORTANT - Location hierarchy: always resolve top-down by calling list_sites first, then list_buildings filtered by site_id, then list_locations filtered by building_id. Provide all three IDs (site_id, building_id, location_id) explicitly. System hierarchy: similarly resolve via list_system_classes → list_system_groups → list_systems.

ParameterTypeDescription
name *stringAsset name (required)
archived_reasonstringWhy the asset is archived. Kept only while it is archived.
asset_idstringCustom asset identifier (unique per tenant)
asset_type_idstringAsset type ID (from asset_types)
building_idstringBuilding ID - resolve second via list_buildings filtered by site_id
condition_scorenumberCondition score (0-100)
consequence_of_failure_scoreintegerConsequence of failure score, 1-5. Setting it makes it a manual value that a system change no longer replaces; send null to return it to the default from its system.
cost_per_sq_ftnumberCost per square foot
current_meter_readingnumberCurrent meter/odometer reading
descriptionstringDescription
environmental_impactstringEnvironmental impact level (LOW, MEDIUM, HIGH, CRITICAL)
expected_lifetime_yearsnumberExpected lifetime in years
image_urlstringImage URL
last_maintenance_datestringLast maintenance date (ISO 8601)
likelihood_of_failure_scoreintegerLikelihood of failure score, 1-5. Derived from condition_score unless set: setting it makes it a manual value that condition changes no longer replace; send null to return it to derivation.
location_idstringLocation ID - resolve last via list_locations filtered by building_id
manufacturer_idstringManufacturer ID (from manufacturers)
meter_unitstringMeter unit (km, miles, hours, cycles)
modelstringModel name/number
purchase_costnumberPurchase cost
purchase_datestringPurchase date (ISO 8601)
quantitynumberQuantity
regulatory_impactstringRegulatory impact level (LOW, MEDIUM, HIGH, CRITICAL)
replacement_valuenumberCost to replace this asset today, in current dollars. Distinct from purchase_cost, which is what was paid and is the depreciation basis.
replacement_value_reviewed_onstringDate replacement_value was last confirmed (ISO 8601)
reputation_impactstringReputation impact level (LOW, MEDIUM, HIGH, CRITICAL)
risk_factorstringRisk factor (CRITICAL, HIGH, MEDIUM, LOW)
safety_impactstringSafety impact level (LOW, MEDIUM, HIGH, CRITICAL)
salvage_valuenumberSalvage value
salvage_value_percentagenumberSalvage value percentage (0-100)
serial_numberstringSerial number
service_impactstringService impact level (LOW, MEDIUM, HIGH, CRITICAL)
site_idstringSite ID - resolve first via list_sites
status_idstringStatus ID from list_asset_statuses. The status with system_key archived archives the asset; any other status restores it.
system_class_idstringSystem class ID - resolve first via list_system_classes
system_group_idstringSystem group ID - resolve second via list_system_groups filtered by system_class_id
system_idstringSystem ID - resolve last via list_systems filtered by system_group_id
unit_of_measurestringUnit of measure
unit_replacement_valuenumberUnit replacement value

update_asset Update asset

Update an existing asset by ID. Requires assets:write scope. When changing location, resolve top-down: list_sites → list_buildings (by site_id) → list_locations (by building_id). Provide all three IDs. Same for systems: list_system_classes → list_system_groups → list_systems.

ParameterTypeDescription
id *stringAsset ID
archived_reasonstringWhy the asset is archived. Kept only while it is archived.
asset_idstringCustom asset identifier (unique per tenant)
asset_type_idstringAsset type ID (from asset_types)
building_idstringBuilding ID - resolve second via list_buildings filtered by site_id
condition_scorenumberCondition score (0-100)
consequence_of_failure_scoreintegerConsequence of failure score, 1-5. Setting it makes it a manual value that a system change no longer replaces; send null to return it to the default from its system.
cost_per_sq_ftnumberCost per square foot
current_meter_readingnumberCurrent meter/odometer reading
descriptionstringDescription
environmental_impactstringEnvironmental impact level (LOW, MEDIUM, HIGH, CRITICAL)
expected_lifetime_yearsnumberExpected lifetime in years
image_urlstringImage URL
last_maintenance_datestringLast maintenance date (ISO 8601)
likelihood_of_failure_scoreintegerLikelihood of failure score, 1-5. Derived from condition_score unless set: setting it makes it a manual value that condition changes no longer replace; send null to return it to derivation.
location_idstringLocation ID - resolve last via list_locations filtered by building_id
manufacturer_idstringManufacturer ID (from manufacturers)
meter_unitstringMeter unit (km, miles, hours, cycles)
modelstringModel name/number
namestringAsset name
purchase_costnumberPurchase cost
purchase_datestringPurchase date (ISO 8601)
quantitynumberQuantity
regulatory_impactstringRegulatory impact level (LOW, MEDIUM, HIGH, CRITICAL)
replacement_valuenumberCost to replace this asset today, in current dollars. Distinct from purchase_cost, which is what was paid and is the depreciation basis.
replacement_value_reviewed_onstringDate replacement_value was last confirmed (ISO 8601)
reputation_impactstringReputation impact level (LOW, MEDIUM, HIGH, CRITICAL)
risk_factorstringRisk factor (CRITICAL, HIGH, MEDIUM, LOW)
safety_impactstringSafety impact level (LOW, MEDIUM, HIGH, CRITICAL)
salvage_valuenumberSalvage value
salvage_value_percentagenumberSalvage value percentage (0-100)
serial_numberstringSerial number
service_impactstringService impact level (LOW, MEDIUM, HIGH, CRITICAL)
site_idstringSite ID - resolve first via list_sites
status_idstringStatus ID from list_asset_statuses. The status with system_key archived archives the asset; any other status restores it.
system_class_idstringSystem class ID - resolve first via list_system_classes
system_group_idstringSystem group ID - resolve second via list_system_groups filtered by system_class_id
system_idstringSystem ID - resolve last via list_systems filtered by system_group_id
unit_of_measurestringUnit of measure
unit_replacement_valuenumberUnit replacement value

delete_asset Delete asset

Permanently delete an asset by ID, cascading to its history. Requires assets:write scope. For an asset taken out of service, archive it instead with update_asset (status_id = the Archived status), which keeps its work orders, costs and inspections.

ParameterTypeDescription
id *stringAsset ID

create_work_request Create work request

Create a new work request. Requires work_requests:write scope. IMPORTANT - Location hierarchy: always resolve top-down by calling list_sites first, then list_buildings filtered by site_id, then list_locations filtered by building_id. Provide all three IDs (site_id, building_id, location_id) explicitly.

ParameterTypeDescription
title *stringWork request title (required)
asset_idstringAsset ID
building_idstringBuilding ID - resolve second via list_buildings filtered by site_id
descriptionstringDescription
location_idstringLocation ID - resolve last via list_locations filtered by building_id
prioritystringPriority level
site_idstringSite ID - resolve first via list_sites
statusstringOmit it: new requests always start as PENDING_REVIEW. Approve or reject with update_work_request.
system_idstringSystem ID
work_category_idstringWork category ID

update_work_request Update work request

Update an existing work request by ID. Requires work_requests:write scope. Setting status to APPROVED creates a new work order from the request (its title, location and asset carry over) - confirm with the user first, and look the work order up afterwards with list_work_orders; REJECTED creates nothing. When changing location, resolve top-down: list_sites → list_buildings (by site_id) → list_locations (by building_id). Provide all three IDs.

ParameterTypeDescription
id *stringWork request ID
asset_idstringAsset ID
building_idstringBuilding ID - resolve second via list_buildings filtered by site_id
descriptionstringDescription
location_idstringLocation ID - resolve last via list_locations filtered by building_id
prioritystringPriority level
site_idstringSite ID - resolve first via list_sites
statusstringStatus. New requests start as PENDING_REVIEW.
system_idstringSystem ID
titlestringWork request title
work_category_idstringWork category ID

delete_work_request Delete work request

Delete a work request by ID. Requires work_requests:write scope.

ParameterTypeDescription
id *stringWork request ID

create_vendor Create vendor

Create a new vendor. Requires vendors:write scope.

ParameterTypeDescription
name *stringVendor name (required)
addressstringStreet address
categoriesarrayVendor categories (e.g. ["HVAC", "Plumbing"])
citystringCity
contact_emailstringContact email
contact_namestringContact person name
contact_phonestringContact phone
countrystringCountry
descriptionstringDescription
statestringState/province
statusstringVendor status
websitestringWebsite URL (protocol and www prefix are stripped automatically)

update_vendor Update vendor

Update an existing vendor by ID. Requires vendors:write scope.

ParameterTypeDescription
id *stringVendor ID
addressstringStreet address
categoriesarrayVendor categories (e.g. ["HVAC", "Plumbing"])
citystringCity
contact_emailstringContact email
contact_namestringContact person name
contact_phonestringContact phone
countrystringCountry
descriptionstringDescription
namestringVendor name
statestringState/province
statusstringVendor status
websitestringWebsite URL (protocol and www prefix are stripped automatically)

delete_vendor Delete vendor

Delete a vendor by ID. Requires vendors:write scope.

ParameterTypeDescription
id *stringVendor ID

create_site Create site

Create a new site. Requires sites:write scope.

ParameterTypeDescription
name *stringSite name (required)
additional_cost_per_sqftnumberAdditional cost per square foot
addressstringStreet address
citystringCity
contact_emailstringContact email
contact_namestringPrimary contact name
contact_phonestringContact phone
cost_per_sqftnumberBase cost per square foot
countrystringCountry
descriptionstringDescription
insurance_policy_numberstringInsurance policy number
insurance_providerstringInsurance provider name
lease_detailsstringFree-text lease details / notes
lease_end_datestringLease end date (YYYY-MM-DD)
lease_start_datestringLease start date (YYYY-MM-DD)
operational_cost_per_sqftnumberOperational cost per square foot
owner_landlordstringProperty owner or landlord
ownership_typestringOwnership type
postal_codestringPostal/zip code
property_manager_companystringProperty management company name
property_manager_contact_emailstringProperty management contact email
property_manager_contact_namestringProperty management contact name
property_manager_contact_phonestringProperty management contact phone
provincestringProvince/state
renewal_optionstringLease renewal option details
square_footagenumberSquare footage
year_builtintegerYear built

update_site Update site

Update an existing site by ID. Requires sites:write scope.

ParameterTypeDescription
id *stringSite ID
additional_cost_per_sqftnumberAdditional cost per square foot
addressstringStreet address
citystringCity
contact_emailstringContact email
contact_namestringPrimary contact name
contact_phonestringContact phone
cost_per_sqftnumberBase cost per square foot
countrystringCountry
descriptionstringDescription
insurance_policy_numberstringInsurance policy number
insurance_providerstringInsurance provider name
lease_detailsstringFree-text lease details / notes
lease_end_datestringLease end date (YYYY-MM-DD)
lease_start_datestringLease start date (YYYY-MM-DD)
namestringSite name
operational_cost_per_sqftnumberOperational cost per square foot
owner_landlordstringProperty owner or landlord
ownership_typestringOwnership type
postal_codestringPostal/zip code
property_manager_companystringProperty management company name
property_manager_contact_emailstringProperty management contact email
property_manager_contact_namestringProperty management contact name
property_manager_contact_phonestringProperty management contact phone
provincestringProvince/state
renewal_optionstringLease renewal option details
square_footagenumberSquare footage
year_builtintegerYear built

delete_site Delete site

Delete a site by ID. Requires sites:write scope.

ParameterTypeDescription
id *stringSite ID

create_building Create building

Create a new building. Requires buildings:write scope. latitude and longitude place the building on the map and must be sent together - one without the other is rejected.

ParameterTypeDescription
name *stringBuilding name (required)
site_id *stringSite ID (required)
area_sqftnumberArea in square feet
building_type_idstringBuilding type ID (from building_types)
floorsintegerNumber of floors
latitudenumberWGS 84 latitude of the building, in decimal degrees. Must be sent together with longitude.
longitudenumberWGS 84 longitude of the building, in decimal degrees. Must be sent together with latitude.
typestringBuilding type label
year_builtintegerYear the building was constructed

update_building Update building

Update an existing building by ID. Requires buildings:write scope. latitude and longitude must be sent together; send both as null to clear the building position.

ParameterTypeDescription
id *stringBuilding ID
area_sqftnumberArea in square feet
building_type_idstringBuilding type ID (from building_types)
floorsintegerNumber of floors
latitudeWGS 84 latitude of the building, in decimal degrees. Must be sent together with longitude.
longitudeWGS 84 longitude of the building, in decimal degrees. Must be sent together with latitude.
namestringBuilding name
site_idstringSite ID
typestringBuilding type label
year_builtintegerYear the building was constructed

delete_building Delete building

Delete a building by ID. Requires buildings:write scope.

ParameterTypeDescription
id *stringBuilding ID

create_location Create location

Create a new location within a building. Requires locations:write scope.

ParameterTypeDescription
building_id *stringBuilding ID (required)
name *stringLocation name (required)
areanumberArea (sq ft or sq m)
floorstringFloor identifier
location_type_idstringLocation type ID (from location_types)
typestringLocation type label

update_location Update location

Update an existing location by ID. Requires locations:write scope.

ParameterTypeDescription
id *stringLocation ID
areanumberArea (sq ft or sq m)
building_idstringBuilding ID
floorstringFloor identifier
location_type_idstringLocation type ID (from location_types)
namestringLocation name
typestringLocation type label

delete_location Delete location

Delete a location by ID. Requires locations:write scope.

ParameterTypeDescription
id *stringLocation ID

create_pm_schedule Create PM schedule

Create a new preventive maintenance schedule. Requires pm_schedules:write scope. IMPORTANT - Location hierarchy: always resolve top-down by calling list_sites first, then list_buildings filtered by site_id, then list_locations filtered by building_id. Provide all three IDs explicitly.

ParameterTypeDescription
title *stringPM schedule title (required)
asset_idstringAsset ID
asset_idsarrayAssets this schedule covers - use instead of asset_id when there is more than one.
auto_generate_wobooleanAuto-generate work orders
building_idstringBuilding ID - resolve second via list_buildings filtered by site_id
custom_interval_weeksintegerCustom interval in weeks (when frequency is CUSTOM)
descriptionstringDescription
estimated_costnumberEstimated cost
estimated_hoursnumberEstimated hours
floatingbooleanFloating schedule (due date based on completion)
form_template_idstringForm template ID to attach to every work order this generates - resolve via list_form_templates. Use a PUBLISHED template: generation resolves the current published version of the form, so a draft att…
frequencystringFrequency
grace_period_daysintegerGrace period in days
infrastructure_asset_idsarrayInfrastructure features this schedule covers - resolve via list_infrastructure_assets. One schedule over several features generates one work order per cycle covering all of them. Mutually exclusive wi…
lead_time_daysintegerLead time in days
location_idstringLocation ID - resolve last via list_locations filtered by building_id
location_idsarrayLocations this schedule covers - use instead of location_id when there is more than one. Sending location_id alone replaces this with that single id.
meter_basedbooleanWhether this PM triggers at meter intervals (e.g. every 5000 km)
meter_intervalnumberMeter interval - trigger every N units
meter_unitstringMeter unit (km, miles, hours, cycles)
next_duestringNext due date (ISO 8601)
safety_requirementsstringSafety requirements
schedule_typestringSchedule type
site_idstringSite ID - resolve first via list_sites
start_datestringStart date (ISO 8601)
statusstringSchedule status
system_idsarraySystems this schedule covers. Systems have no singular field; this array is the only way to associate them.
tasksarrayChecklist of tasks for this PM schedule
work_categorystringWork category label

update_pm_schedule Update PM schedule

Update an existing PM schedule by ID. Requires pm_schedules:write scope. When changing location, resolve top-down: list_sites → list_buildings (by site_id) → list_locations (by building_id). Provide all three IDs.

ParameterTypeDescription
id *stringPM schedule ID
asset_idstringAsset ID
asset_idsarrayAssets this schedule covers - use instead of asset_id when there is more than one.
auto_generate_wobooleanAuto-generate work orders
building_idstringBuilding ID - resolve second via list_buildings filtered by site_id
custom_interval_weeksintegerCustom interval in weeks (when frequency is CUSTOM)
descriptionstringDescription
estimated_costnumberEstimated cost
estimated_hoursnumberEstimated hours
floatingbooleanFloating schedule (due date based on completion)
form_template_idstringForm template ID to attach to every work order this generates - resolve via list_form_templates. Use a PUBLISHED template: generation resolves the current published version of the form, so a draft att…
frequencystringFrequency
grace_period_daysintegerGrace period in days
infrastructure_asset_idsarrayInfrastructure features this schedule covers - resolve via list_infrastructure_assets. One schedule over several features generates one work order per cycle covering all of them. Mutually exclusive wi…
lead_time_daysintegerLead time in days
location_idstringLocation ID - resolve last via list_locations filtered by building_id
location_idsarrayLocations this schedule covers - use instead of location_id when there is more than one. Sending location_id alone replaces this with that single id.
meter_basedbooleanWhether this PM triggers at meter intervals
meter_intervalnumberMeter interval - trigger every N units
meter_unitstringMeter unit (km, miles, hours, cycles)
next_duestringNext due date (ISO 8601)
safety_requirementsstringSafety requirements
schedule_typestringSchedule type
site_idstringSite ID - resolve first via list_sites
start_datestringStart date (ISO 8601)
statusstringSchedule status
system_idsarraySystems this schedule covers. Systems have no singular field; this array is the only way to associate them.
tasksarrayChecklist of tasks for this PM schedule
titlestringPM schedule title
work_categorystringWork category label

delete_pm_schedule Delete PM schedule

Delete a PM schedule by ID. Requires pm_schedules:write scope.

ParameterTypeDescription
id *stringPM schedule ID

create_pm_template Create PM template

Create a new PM template. Templates are reusable PM definitions (not linked to a site/asset) that can seed new PM schedules. Requires pm_templates:write scope.

ParameterTypeDescription
title *stringPM template title (required, unique per tenant)
asset_idsarrayDefault asset IDs to seed on derived schedules
custom_interval_weeksintegerCustom interval in weeks (when frequency is CUSTOM)
descriptionstringDescription
documentsarrayDocument references
estimated_costnumberEstimated cost
estimated_hoursnumberEstimated hours
form_template_idstringForm template ID to attach to every work order this generates - resolve via list_form_templates. Use a PUBLISHED template: generation resolves the current published version of the form, so a draft att…
frequencystringSuggested maintenance frequency
location_idsarrayDefault location IDs to seed on derived schedules
resourcesarrayResource references (parts, tools, materials, equipment)
safety_requirementsstringSafety requirements
tasksarrayChecklist of tasks baked into this template
work_categorystringWork category label (free text)
work_category_idstringWork category ID - resolve via list_work_categories

update_pm_template Update PM template

Update an existing PM template by ID. Requires pm_templates:write scope.

ParameterTypeDescription
id *stringPM template ID
asset_idsarrayDefault asset IDs
custom_interval_weeksintegerCustom interval in weeks (when frequency is CUSTOM)
descriptionstringDescription
documentsarrayDocument references
estimated_costnumberEstimated cost
estimated_hoursnumberEstimated hours
form_template_idstringForm template ID to attach to every work order this generates - resolve via list_form_templates. Use a PUBLISHED template: generation resolves the current published version of the form, so a draft att…
frequencystringSuggested maintenance frequency
location_idsarrayDefault location IDs
resourcesarrayResource references (parts, tools, materials, equipment)
safety_requirementsstringSafety requirements
tasksarrayChecklist of tasks baked into this template
titlestringPM template title
work_categorystringWork category label (free text)
work_category_idstringWork category ID

delete_pm_template Delete PM template

Delete a PM template by ID. Requires pm_templates:write scope.

ParameterTypeDescription
id *stringPM template ID

create_form_template Create form template

Create a form template - a reusable inspection, checklist, compliance, or survey definition. Step 1 of building a form: create it as a draft, then add questions with create_form_template_item (or bulk_create on form-template-items), then publish with update_form_template status=published (publishing is rejected if any question is malformed). Requires form_templates:write scope.

ParameterTypeDescription
name *stringForm template name (required)
descriptionstringDescription
modulestringWorkspace the form is offered in: facilities, infrastructure (inspections of features), or shared (both). Defaults to shared.
statusstringPublication status - leave as draft (default) until all questions are added.
work_category_idstringWork category ID - the same tenant-configured categories used by work orders (e.g. Electrical, Plumbing, HVAC). Look them up with list_work_categories and pick the closest match; omit if none fits.

update_form_template Update form template

Update an existing form template by ID. Requires form_templates:write scope.

ParameterTypeDescription
id *stringForm template ID
descriptionstringDescription
modulestringMove the form to a workspace: facilities, infrastructure, or shared (both).
namestringForm template name
statusstringPublication status (draft, published, or archived)
work_category_idstringWork category ID (look up with list_work_categories)

delete_form_template Delete form template

Delete a form template by ID. Requires form_templates:write scope.

ParameterTypeDescription
id *stringForm template ID

create_form_template_item Create form template item

Add one question (item) to a form template. Build a form by calling this once per question in order, or use bulk_create on form-template-items. Requires form_template_items:write scope.

ParameterTypeDescription
item_type *stringPick by the answer you want: single_select = exactly one choice (Pass/Fail, Yes/No, Yes/No/N-A, or custom - supply options); multi_select = pick several (supply options); number = a numeric reading/co…
label *stringQuestion text / prompt shown to the user
sort_order *integerDisplay order within the template (0-based; questions render in this order)
template_id *stringForm template ID - resolve via list_form_templates
configobjectPer-type settings. number: { min, max, unit, integer, decimals }. text: { multiline, maxLength, placeholder }. multi_select: { minSelections, maxSelections }. photo: { minPhotos, maxPhotos }. Any sing…
help_textstringOptional hint shown under the label
item_keystringOptional stable key, unique within the template. OMIT IT and the server derives one from the label (recommended). Only set it when a later item’s visible_when must reference this one - then use a sh…
optionsarrayREQUIRED for single_select/multi_select: at least 2 choices as { value, label } with unique values. value is a machine slug (e.g. "fail"), label is shown to the user (e.g. "Fail"). Omit for other type…
requiredbooleanWhether an answer is required to complete the form (default false)
visible_whenOptional conditional visibility { itemKey, op, value }. itemKey must reference an EARLIER item’s key (set that item’s item_key explicitly). Operators by referenced type - single_select/checkbox: e…

update_form_template_item Update form template item

Update an existing form template item by ID. template_id and item_key are immutable and cannot be changed. Requires form_template_items:write scope.

ParameterTypeDescription
id *stringForm template item ID
configobjectPer-type configuration (e.g. { min, max, unit, multiline })
help_textstringHelp text shown under the label
item_typestringItem type (section, checkbox, single_select, multi_select, number, text, photo, team_members, signature)
labelstringQuestion label / prompt
optionsarrayChoices for single_select / multi_select items
requiredbooleanWhether an answer is required
sort_orderintegerDisplay order within the template
visible_whenConditional-visibility rule referencing another item

delete_form_template_item Delete form template item

Delete a form template item by ID. Requires form_template_items:write scope.

ParameterTypeDescription
id *stringForm template item ID

create_form_response Create form response

Attach a published form to one record so it can be filled in - the direct way to put an inspection or checklist on an existing work order. The form's questions are snapshotted at attach time, so later edits to the template never change a form already in progress. To put a form on every work order a PM schedule generates, set form_template_id on the schedule instead of calling this per work order. Answering and completing the form happen in the AssetLab app, not through this API. Requires form_responses:write scope.

ParameterTypeDescription
subject_id *stringID of the record - resolve via the matching list tool (list_work_orders, list_pm_schedules, list_infrastructure_assets, list_compliance_records, list_sites)
subject_type *stringWhat kind of record the form is being attached to
template_id *stringPublished form template ID - resolve via list_form_templates. A draft or archived template is rejected; publish it first with update_form_template status="published".

delete_form_response Delete form response

Remove a form from the record it is attached to, along with any answers already given. Use this before attaching a different form, since a record holds at most one form. Requires form_responses:write scope.

ParameterTypeDescription
id *stringForm response ID - resolve via list_form_responses filtered by subject_id

create_project Create project

Create a new project. Requires projects:write scope.

ParameterTypeDescription
name *stringProject name (required)
start_date *stringStart date (ISO 8601, required)
budgetnumberInitial budget, stored as a lump-sum budget item. A project budget is the sum of its budget items: change it later with create/update_project_budget_item.
budget_statusstringBudget status
current_phasestringCurrent phase
descriptionstringDescription
end_datestringEnd date (ISO 8601)
health_statusstringHealth status
image_urlstringImage URL
progress_percentagenumberProgress percentage (0-100)
progress_statusstringProgress status
project_codestringProject code
project_managerstringProject manager name
project_typestringProject type
statusstringStatus label shown in the app's Status column and filter: planning, in-progress, on-hold, completed, cancelled, or your organization's own value. Defaults to planning. Whether the project is active or…

update_project Update project

Update an existing project by ID. Requires projects:write scope.

ParameterTypeDescription
id *stringProject ID
budget_statusstringBudget status
current_phasestringCurrent phase
descriptionstringDescription
end_datestringEnd date (ISO 8601)
health_statusstringHealth status
image_urlstringImage URL
namestringProject name
progress_percentagenumberProgress percentage (0-100)
progress_statusstringProgress status
project_codestringProject code
project_managerstringProject manager name
project_typestringProject type
start_datestringStart date (ISO 8601)
statusstringStatus label shown in the app's Status column and filter: planning, in-progress, on-hold, completed, cancelled, or your organization's own value. Defaults to planning. Whether the project is active or…

delete_project Delete project

Delete a project by ID. Requires projects:write scope.

ParameterTypeDescription
id *stringProject ID

create_contract Create contract

Create a new contract. Requires contracts:write scope.

ParameterTypeDescription
category *stringContract category (required)
end_date *stringEnd date (ISO 8601, required)
start_date *stringStart date (ISO 8601, required)
title *stringContract title (required)
annual_costnumberAnnual cost
company_idstringVendor ID
descriptionstringDescription
extendablebooleanWhether contract is extendable
purchase_orderstringPurchase order reference
quality_scorenumberQuality score (1-10)

update_contract Update contract

Update an existing contract by ID. Requires contracts:write scope.

ParameterTypeDescription
id *stringContract ID
annual_costnumberAnnual cost
categorystringContract category
company_idstringVendor ID
descriptionstringDescription
end_datestringEnd date (ISO 8601)
extendablebooleanWhether contract is extendable
purchase_orderstringPurchase order reference
quality_scorenumberQuality score (1-10)
start_datestringStart date (ISO 8601)
titlestringContract title

delete_contract Delete contract

Delete a contract by ID. Requires contracts:write scope.

ParameterTypeDescription
id *stringContract ID

create_invoice Create invoice

Create a new invoice. Requires invoices:write scope.

ParameterTypeDescription
amount *numberInvoice amount (required)
invoice_date *stringInvoice date (ISO 8601, required)
invoice_number *stringInvoice number (required)
category_idstringCost category ID
descriptionstringDescription
due_datestringDue date (ISO 8601)
notesstringNotes
paid_datestringPaid date (ISO 8601)
project_idstringProject ID
purchase_order_idstringPurchase order ID
statusstringInvoice status
tax_amountnumberTax amount
vendor_idstringVendor ID
work_order_idstringWork order ID

update_invoice Update invoice

Update an existing invoice by ID. Requires invoices:write scope.

ParameterTypeDescription
id *stringInvoice ID
amountnumberInvoice amount
category_idstringCost category ID
descriptionstringDescription
due_datestringDue date (ISO 8601)
invoice_datestringInvoice date (ISO 8601)
invoice_numberstringInvoice number
notesstringNotes
paid_datestringPaid date (ISO 8601)
project_idstringProject ID
purchase_order_idstringPurchase order ID
statusstringInvoice status
tax_amountnumberTax amount
vendor_idstringVendor ID
work_order_idstringWork order ID

delete_invoice Delete invoice

Delete an invoice by ID. Requires invoices:write scope.

ParameterTypeDescription
id *stringInvoice ID

create_purchase_order Create purchase order

Create a new purchase order. Requires purchase_orders:write scope.

ParameterTypeDescription
amount *numberPO amount (required)
po_number *stringPO number (required)
category_idstringCost category ID
descriptionstringDescription
expected_datestringExpected delivery date (ISO 8601)
issued_datestringIssued date (ISO 8601)
notesstringNotes
project_idstringProject ID
statusstringPO status
vendor_idstringVendor ID
work_order_idstringWork order ID

update_purchase_order Update purchase order

Update an existing purchase order by ID. Requires purchase_orders:write scope.

ParameterTypeDescription
id *stringPurchase order ID
amountnumberPO amount
category_idstringCost category ID
descriptionstringDescription
expected_datestringExpected delivery date (ISO 8601)
issued_datestringIssued date (ISO 8601)
notesstringNotes
po_numberstringPO number
project_idstringProject ID
statusstringPO status
vendor_idstringVendor ID
work_order_idstringWork order ID

create_purchase_order_line Create purchase order line

Add a line item to a purchase order. Requires purchase_orders:write scope. The PO's amount becomes the sum of its lines. A line naming a part_id is counted in whole units, and its quantity_received is added to that part's stock. Required: purchase_order_id, description, quantity.

ParameterTypeDescription
description *stringWhat is being ordered (required)
purchase_order_id *stringPurchase order ID (required) - resolve via list_purchase_orders
quantity *numberQuantity ordered (required)
line_numberintegerPosition on the order. Omit it to add the line after the last one.
part_idstringPart from inventory - resolve via list_parts
quantity_receivednumberQuantity received so far, 0 to quantity
unit_costnumberPrice per unit, in the organization currency

update_purchase_order_line Update purchase order line

Update a purchase order line item. Requires purchase_orders:write scope. To receive goods, set quantity_received; for a line with a part, the change is added to (or taken from) that part's stock. A line with stock received cannot change its part.

ParameterTypeDescription
id *stringPurchase order line ID
descriptionstringWhat is being ordered
line_numberintegerPosition on the order
part_idstringPart from inventory
quantitynumberQuantity ordered
quantity_receivednumberQuantity received so far, 0 to quantity
unit_costnumberPrice per unit, in the organization currency

delete_purchase_order_line Delete purchase order line

Delete a purchase order line item. Requires purchase_orders:write scope. A line with stock received is refused until its quantity_received is set back to 0.

ParameterTypeDescription
id *stringPurchase order line ID

delete_purchase_order Delete purchase order

Delete a purchase order by ID. Requires purchase_orders:write scope.

ParameterTypeDescription
id *stringPurchase order ID

create_expense Create expense

Create a new expense. Requires expenses:write scope.

ParameterTypeDescription
amount *numberExpense amount (required)
description *stringExpense description (required)
expense_date *stringExpense date (ISO 8601, required)
project_id *stringProject ID (required)
category_idstringCost category ID
notesstringNotes
receipt_urlstringReceipt URL
work_order_idstringWork order ID

update_expense Update expense

Update an existing expense by ID. Requires expenses:write scope.

ParameterTypeDescription
id *stringExpense ID
amountnumberExpense amount
category_idstringCost category ID
descriptionstringExpense description
expense_datestringExpense date (ISO 8601)
notesstringNotes
project_idstringProject ID
receipt_urlstringReceipt URL
work_order_idstringWork order ID

delete_expense Delete expense

Delete an expense by ID. Requires expenses:write scope.

ParameterTypeDescription
id *stringExpense ID

create_change_order Create change order

Create a new change order. Requires change_orders:write scope.

ParameterTypeDescription
amount *numberAmount (required, negative for credits)
co_number *stringChange order number (required)
description *stringDescription (required)
project_id *stringProject ID (required)
category_idstringCost category ID
notesstringAdditional notes
reasonstringReason for the change order
statusstringStatus
vendor_idstringVendor ID

update_change_order Update change order

Update an existing change order by ID. Requires change_orders:write scope.

ParameterTypeDescription
id *stringChange order ID
amountnumberAmount (negative for credits)
approved_atstringApproval date (ISO 8601)
approved_bystringApproved by (user ID)
category_idstringCost category ID
co_numberstringChange order number
descriptionstringDescription
notesstringNotes
project_idstringProject ID
reasonstringReason
statusstringStatus
vendor_idstringVendor ID

delete_change_order Delete change order

Delete a change order by ID. Requires change_orders:write scope.

ParameterTypeDescription
id *stringChange order ID

create_project_document_folder_template Create project document folder template

Create a project document folder template. Requires project_document_folder_templates:write scope.

ParameterTypeDescription
name *stringTemplate name (required)
descriptionstringTemplate description
is_defaultbooleanWhether this is the default template
structurearrayFolder hierarchy as JSON array

update_project_document_folder_template Update project document folder template

Update a project document folder template by ID. Requires project_document_folder_templates:write scope.

ParameterTypeDescription
id *stringTemplate ID
descriptionstringTemplate description
is_defaultbooleanWhether this is the default template
namestringTemplate name
structurearrayFolder hierarchy as JSON array

delete_project_document_folder_template Delete project document folder template

Delete a project document folder template by ID. Requires project_document_folder_templates:write scope.

ParameterTypeDescription
id *stringTemplate ID

create_budget Create budget

Set an annual funding budget, as the dashboard Budget tab does. Requires budgets:write scope. The tab holds one figure per year, per funding source ('O&M' or 'Capital'), per workspace (module: facilities, infrastructure, or omitted for organization-wide). Send one row per year and funding source - do not split a year across sites or buildings; the tab does not read site_id or building_id and a second row for the same slot is refused with 409. Required: year, funding_source, budgeted_amount.

ParameterTypeDescription
funding_source *string'O&M' (operations and maintenance) or 'Capital' (required)
year *integerBudget year (required)
allocated_amountnumberAllocated amount
budgeted_amountnumberBudgeted amount
building_idstringBuilding ID. Not read by the Budget tab.
modulestringWorkspace the budget belongs to. Omit for an organization-wide budget; set it when the organization budgets facilities and infrastructure separately.
site_idstringSite ID. Not read by the Budget tab.

update_budget Update budget

Update an existing budget by ID. Requires budgets:write scope.

ParameterTypeDescription
id *stringBudget ID
allocated_amountnumberAllocated amount
budgeted_amountnumberBudgeted amount
building_idstringBuilding ID. Not read by the Budget tab.
funding_sourcestring'O&M' or 'Capital'
moduleWorkspace; null for organization-wide
site_idstringSite ID. Not read by the Budget tab.
yearintegerBudget year

delete_budget Delete budget

Delete a budget by ID. Requires budgets:write scope.

ParameterTypeDescription
id *stringBudget ID

create_asset_comment Create asset comment

Create a new comment on an asset. Requires asset_comments:write scope.

ParameterTypeDescription
asset_id *stringAsset ID (required)
comment *stringComment text (required)

update_asset_comment Update asset comment

Update an existing asset comment by ID. Requires asset_comments:write scope.

ParameterTypeDescription
id *stringAsset comment ID
commentstringComment text

delete_asset_comment Delete asset comment

Delete an asset comment by ID. Requires asset_comments:write scope.

ParameterTypeDescription
id *stringAsset comment ID

create_work_order_comment Create work order comment

Create a new comment on a work order. Requires work_order_comments:write scope.

ParameterTypeDescription
comment *stringComment text (required)
work_order_id *stringWork order ID (required)

update_work_order_comment Update work order comment

Update an existing work order comment by ID. Requires work_order_comments:write scope.

ParameterTypeDescription
id *stringWork order comment ID
commentstringComment text

delete_work_order_comment Delete work order comment

Delete a work order comment by ID. Requires work_order_comments:write scope.

ParameterTypeDescription
id *stringWork order comment ID

create_work_order_schedule Create work order schedule

Schedule a work order for a technician on a date (one entry of a day plan). stop_order gives the position in the technician's day; leave it unset for an unordered calendar entry. Requires work_order_schedules:write scope.

ParameterTypeDescription
scheduled_date *stringDate (YYYY-MM-DD, required)
technician_id *stringTechnician Clerk user ID (required)
work_order_id *stringWork order ID (required)
duration_minutesintegerPlanned duration in minutes
scheduled_end_timestringEnd time (HH:MM)
scheduled_start_timestringStart time (HH:MM)
scheduling_notesstringScheduling notes
stop_orderinteger1-based stop position in the day plan
travel_time_minutesintegerTravel time from previous stop

update_work_order_schedule Update work order schedule

Update a work order schedule entry by ID (date, times, stop_order, notes). work_order_id is immutable. Requires work_order_schedules:write scope.

ParameterTypeDescription
id *stringWork order schedule ID
duration_minutesintegerPlanned duration in minutes
scheduled_datestringDate (YYYY-MM-DD)
scheduled_end_timestringEnd time (HH:MM)
scheduled_start_timestringStart time (HH:MM)
scheduling_notesstringScheduling notes
stop_orderinteger1-based stop position in the day plan
technician_idstringTechnician Clerk user ID
travel_time_minutesintegerTravel time from previous stop

delete_work_order_schedule Delete work order schedule

Delete a work order schedule entry by ID (removes the stop from the technician's day). Requires work_order_schedules:write scope.

ParameterTypeDescription
id *stringWork order schedule ID

create_project_comment Create project comment

Create a new comment on a project. Requires project_comments:write scope.

ParameterTypeDescription
content *stringComment content (required)
project_id *stringProject ID (required)
parent_idstringParent comment ID (for threading)

update_project_comment Update project comment

Update an existing project comment by ID. Requires project_comments:write scope.

ParameterTypeDescription
id *stringProject comment ID
contentstringComment content
parent_idstringParent comment ID

delete_project_comment Delete project comment

Delete a project comment by ID. Requires project_comments:write scope.

ParameterTypeDescription
id *stringProject comment ID

create_asset_cost Create asset cost

Create a new asset cost entry - the record type shown on the AssetLab "Expenses" page. Requires asset_costs:write scope.

ParameterTypeDescription
amount *numberCost amount (required)
category *stringCost category (required)
cost_date *stringCost date (ISO 8601, required)
asset_idstringAsset ID
building_idstringBuilding ID
descriptionstringDescription
invoice_numberstringInvoice number (free text)
po_numberstringPurchase order number (free text)
purchase_order_idstringPurchase order that paid this cost - resolve via list_purchase_orders. Counts against the order's remaining balance unless the cost belongs to a work order.
site_idstringSite ID
work_order_idstringWork order ID

update_asset_cost Update asset cost

Update an existing asset cost entry by ID - the record type shown on the AssetLab "Expenses" page. Requires asset_costs:write scope.

ParameterTypeDescription
id *stringAsset cost ID
amountnumberCost amount
asset_idstringAsset ID
building_idstringBuilding ID
categorystringCost category
cost_datestringCost date (ISO 8601)
descriptionstringDescription
invoice_numberstringInvoice number (free text)
po_numberstringPurchase order number (free text)
purchase_order_idPurchase order that paid this cost - resolve via list_purchase_orders. Counts against the order's remaining balance unless the cost belongs to a work order; null clears it.
site_idstringSite ID
work_order_idstringWork order ID

delete_asset_cost Delete asset cost

Delete an asset cost entry by ID. Requires asset_costs:write scope.

ParameterTypeDescription
id *stringAsset cost ID

create_asset_replacement_plan Create asset replacement plan

Create a new asset replacement plan. Requires asset_replacement_plans:write scope.

ParameterTypeDescription
asset_id *stringAsset ID (required)
planned_replacement_year *integerPlanned replacement year (required)
estimated_costnumberEstimated replacement cost
funding_sourcestringFunding source
notesstringNotes
prioritystringPriority
statusstringStatus

update_asset_replacement_plan Update asset replacement plan

Update an existing asset replacement plan by ID. Requires asset_replacement_plans:write scope.

ParameterTypeDescription
id *stringAsset replacement plan ID
asset_idstringAsset ID
estimated_costnumberEstimated replacement cost
funding_sourcestringFunding source
notesstringNotes
planned_replacement_yearintegerPlanned replacement year
prioritystringPriority
statusstringStatus

delete_asset_replacement_plan Delete asset replacement plan

Delete an asset replacement plan by ID. Requires asset_replacement_plans:write scope.

ParameterTypeDescription
id *stringAsset replacement plan ID

create_project_task Create project task

Create a new project task. Requires project_tasks:write scope.

ParameterTypeDescription
project_id *stringProject ID (required)
title *stringTask title (required)
assigned_tostringAssigned user - an active member of the organization (see list_users)
completion_percentagenumberPercent complete (0-100)
descriptionstringDescription
due_datestringDue date (ISO 8601)
estimated_costnumberEstimated cost
estimated_hoursnumberEstimated hours
parent_task_idstringParent task ID, for a subtask
phase_idstringPhase ID
prioritystringPriority
start_datestringStart date (ISO 8601)
statusstringTask status

update_project_task Update project task

Update an existing project task by ID. Requires project_tasks:write scope.

ParameterTypeDescription
id *stringProject task ID
assigned_tostringAssigned user - an active member of the organization (see list_users)
completion_percentagenumberPercent complete (0-100)
descriptionstringDescription
due_datestringDue date (ISO 8601)
estimated_costnumberEstimated cost
estimated_hoursnumberEstimated hours
parent_task_idstringParent task ID, for a subtask
phase_idstringPhase ID
prioritystringPriority
project_idstringProject ID
start_datestringStart date (ISO 8601)
statusstringTask status
titlestringTask title

delete_project_task Delete project task

Delete a project task by ID. Requires project_tasks:write scope.

ParameterTypeDescription
id *stringProject task ID

create_project_milestone Create project milestone

Create a new project milestone. Requires project_milestones:write scope.

ParameterTypeDescription
due_date *stringDue date (ISO 8601, required)
name *stringMilestone name (required)
project_id *stringProject ID (required)
completed_datestringCompleted date (ISO 8601)
descriptionstringDescription
is_criticalbooleanWhether the milestone is on the critical path
phase_idstringPhase the milestone belongs to
statusstringMilestone status

update_project_milestone Update project milestone

Update an existing project milestone by ID. Requires project_milestones:write scope.

ParameterTypeDescription
id *stringProject milestone ID
completed_datestringCompleted date (ISO 8601)
descriptionstringDescription
due_datestringDue date (ISO 8601)
is_criticalbooleanWhether the milestone is on the critical path
namestringMilestone name
phase_idstringPhase the milestone belongs to
project_idstringProject ID
statusstringMilestone status

delete_project_milestone Delete project milestone

Delete a project milestone by ID. Requires project_milestones:write scope.

ParameterTypeDescription
id *stringProject milestone ID

create_project_phase Create project phase

Create a new project phase. Requires project_phases:write scope.

ParameterTypeDescription
name *stringPhase name (required)
project_id *stringProject ID (required)
descriptionstringDescription
end_datestringEnd date (ISO 8601)
sequence_orderintegerOrder within the project. Defaults to after the last existing phase.
start_datestringStart date (ISO 8601)
statusstringPhase status

update_project_phase Update project phase

Update an existing project phase by ID. Requires project_phases:write scope.

ParameterTypeDescription
id *stringProject phase ID
descriptionstringDescription
end_datestringEnd date (ISO 8601)
namestringPhase name
project_idstringProject ID
sequence_orderintegerOrder within the project
start_datestringStart date (ISO 8601)
statusstringPhase status

delete_project_phase Delete project phase

Delete a project phase by ID. Requires project_phases:write scope.

ParameterTypeDescription
id *stringProject phase ID

create_project_budget_item Create project budget item

Create a new project budget item. Requires project_budget_items:write scope.

ParameterTypeDescription
category *stringBudget category (required)
project_id *stringProject ID (required)
actual_amountnumberActual amount
descriptionstringDescription
notesstringNotes
planned_amountnumberPlanned amount

update_project_budget_item Update project budget item

Update an existing project budget item by ID. Requires project_budget_items:write scope.

ParameterTypeDescription
id *stringProject budget item ID
actual_amountnumberActual amount
categorystringBudget category
descriptionstringDescription
notesstringNotes
planned_amountnumberPlanned amount
project_idstringProject ID

delete_project_budget_item Delete project budget item

Delete a project budget item by ID. Requires project_budget_items:write scope.

ParameterTypeDescription
id *stringProject budget item ID

create_project_time_entry Create project time entry

Create a new project time entry. Requires project_time_entries:write scope.

ParameterTypeDescription
project_id *stringProject ID (required)
start_time *stringStart time (ISO 8601 datetime, required)
task_id *stringTask ID (required)
user_id *stringUser ID (required) - an active member of the organization (see list_users)
descriptionstringDescription
duration_minutesintegerWhole minutes worked. Send this or start_time and end_time; if you send both, they must agree.
end_timestringEnd time (ISO 8601 datetime)
is_billablebooleanWhether the time is billable
user_namestringDisplay name of the user

update_project_time_entry Update project time entry

Update an existing project time entry by ID. Requires project_time_entries:write scope.

ParameterTypeDescription
id *stringProject time entry ID
descriptionstringDescription
duration_minutesintegerWhole minutes worked. Send this or start_time and end_time; if you send both, they must agree.
end_timestringEnd time (ISO 8601 datetime)
is_billablebooleanWhether the time is billable
project_idstringProject ID
start_timestringStart time (ISO 8601 datetime)
task_idstringTask ID
user_idstringUser ID
user_namestringDisplay name of the user

delete_project_time_entry Delete project time entry

Delete a project time entry by ID. Requires project_time_entries:write scope.

ParameterTypeDescription
id *stringProject time entry ID

create_manufacturer Create manufacturer

Create a new manufacturer. Requires manufacturers:write scope.

ParameterTypeDescription
name *stringManufacturer name (required)
contact_emailstringContact email address
contact_namestringPrimary contact name
contact_phonestringContact phone number
notesstringNotes
websitestringWebsite URL

update_manufacturer Update manufacturer

Update an existing manufacturer by ID. Requires manufacturers:write scope.

ParameterTypeDescription
id *stringManufacturer ID
contact_emailstringContact email address
contact_namestringPrimary contact name
contact_phonestringContact phone number
namestringManufacturer name
notesstringNotes
websitestringWebsite URL

delete_manufacturer Delete manufacturer

Delete a manufacturer by ID. Requires manufacturers:write scope.

ParameterTypeDescription
id *stringManufacturer ID

create_asset_type Create asset type

Create a new asset type. Requires asset_types:write scope.

ParameterTypeDescription
name *stringAsset type name (required)
descriptionstringDescription
group_idstringGroup ID

update_asset_type Update asset type

Update an existing asset type by ID. Requires asset_types:write scope.

ParameterTypeDescription
id *stringAsset type ID
descriptionstringDescription
group_idstringGroup ID
namestringAsset type name

delete_asset_type Delete asset type

Delete an asset type by ID. Requires asset_types:write scope.

ParameterTypeDescription
id *stringAsset type ID

create_work_category Create work category

Create a new work category. Requires work_categories:write scope.

ParameterTypeDescription
name *stringWork category name (required)
descriptionstringDescription
modulestringWorkspace the category is offered in: facilities, infrastructure, or shared (both). Defaults to shared.

update_work_category Update work category

Update an existing work category by ID. Requires work_categories:write scope.

ParameterTypeDescription
id *stringWork category ID
descriptionstringDescription
modulestringMove the category to a workspace: facilities, infrastructure, or shared (both).
namestringWork category name

delete_work_category Delete work category

Delete a work category by ID. Requires work_categories:write scope.

ParameterTypeDescription
id *stringWork category ID

create_asset_type_group Create asset type group

Create a new asset type group. Groups organize asset types into logical categories. Requires asset_type_groups:write scope.

ParameterTypeDescription
name *stringGroup name (required)
colorstringColor hex code (e.g., #6366f1)
descriptionstringDescription

update_asset_type_group Update asset type group

Update an existing asset type group by ID. Requires asset_type_groups:write scope.

ParameterTypeDescription
id *stringAsset type group ID
colorstringColor hex code (e.g., #6366f1)
descriptionstringDescription
namestringGroup name

delete_asset_type_group Delete asset type group

Delete an asset type group by ID. Requires asset_type_groups:write scope.

ParameterTypeDescription
id *stringAsset type group ID

create_building_type Create building type

Create a new building type. Requires building_types:write scope.

ParameterTypeDescription
name *stringBuilding type name (required)
descriptionstringDescription

update_building_type Update building type

Update an existing building type by ID. Requires building_types:write scope.

ParameterTypeDescription
id *stringBuilding type ID
descriptionstringDescription
namestringBuilding type name

delete_building_type Delete building type

Delete a building type by ID. Requires building_types:write scope.

ParameterTypeDescription
id *stringBuilding type ID

create_location_type Create location type

Create a new location type. Requires location_types:write scope.

ParameterTypeDescription
name *stringLocation type name (required)
descriptionstringDescription

update_location_type Update location type

Update an existing location type by ID. Requires location_types:write scope.

ParameterTypeDescription
id *stringLocation type ID
descriptionstringDescription
namestringLocation type name

delete_location_type Delete location type

Delete a location type by ID. Requires location_types:write scope.

ParameterTypeDescription
id *stringLocation type ID

create_project_phase_category Create project phase category

Create a new project phase category. Requires project_phase_categories:write scope.

ParameterTypeDescription
name *stringPhase name (required), e.g. "Planning", "Design"
descriptionstringDescription of the phase
sort_orderintegerDisplay order (lower = first)

update_project_phase_category Update project phase category

Update an existing project phase category by ID. Requires project_phase_categories:write scope.

ParameterTypeDescription
id *stringProject phase category ID
descriptionstringDescription
namestringPhase name
sort_orderintegerDisplay order (lower = first)

delete_project_phase_category Delete project phase category

Delete a project phase category by ID. Requires project_phase_categories:write scope.

ParameterTypeDescription
id *stringProject phase category ID

create_cost_category Create cost category

Create a new cost category. Requires cost_categories:write scope.

ParameterTypeDescription
name *stringCost category name (required)
is_activebooleanWhether the category is active
parent_idstringParent cost category ID

update_cost_category Update cost category

Update an existing cost category by ID. Requires cost_categories:write scope.

ParameterTypeDescription
id *stringCost category ID
is_activebooleanWhether the category is active
namestringCost category name
parent_idstringParent cost category ID

delete_cost_category Delete cost category

Delete a cost category by ID. Requires cost_categories:write scope.

ParameterTypeDescription
id *stringCost category ID

create_part_category Create part category

Create a new part category. Requires part_categories:write scope.

ParameterTypeDescription
name *stringPart category name (required)
descriptionstringDescription
modulestringWorkspace the category is offered in: facilities, infrastructure, or shared (both). Defaults to shared.

update_part_category Update part category

Update an existing part category by ID. Requires part_categories:write scope.

ParameterTypeDescription
id *stringPart category ID
descriptionstringDescription
modulestringMove the category to a workspace: facilities, infrastructure, or shared (both).
namestringPart category name

delete_part_category Delete part category

Delete a part category by ID. Requires part_categories:write scope.

ParameterTypeDescription
id *stringPart category ID

create_asset_part Create asset part

Link a part to an asset (creates an asset-part association). Requires asset_parts:write scope.

ParameterTypeDescription
asset_id *stringAsset ID (required)
part_id *stringPart ID (required)
quantitynumberQuantity of this part on the asset

update_asset_part Update asset part

Update the quantity of an asset-part association by ID. Requires asset_parts:write scope.

ParameterTypeDescription
id *stringAsset-part association ID
quantitynumberNew quantity

delete_asset_part Delete asset part

Remove a part from an asset by association ID. Requires asset_parts:write scope.

ParameterTypeDescription
id *stringAsset-part association ID

create_system Create system

Create a new system. Requires systems:write scope.

ParameterTypeDescription
name *stringSystem name (required)
crv_multipliernumberCRV multiplier
descriptionstringDescription
system_group_idstringSystem group ID

update_system Update system

Update an existing system by ID. Requires systems:write scope.

ParameterTypeDescription
id *stringSystem ID
crv_multipliernumberCRV multiplier
descriptionstringDescription
namestringSystem name
system_group_idstringSystem group ID

delete_system Delete system

Delete a system by ID. Requires systems:write scope.

ParameterTypeDescription
id *stringSystem ID

create_system_class Create system class

Create a new system class (top-level classification, e.g., "HVAC & Mechanical", "Material Handling"). Requires systems:write scope.

ParameterTypeDescription
name *stringSystem class name (required)
descriptionstringDescription

update_system_class Update system class

Update an existing system class by ID. Requires systems:write scope.

ParameterTypeDescription
id *stringSystem class ID
descriptionstringDescription
namestringSystem class name

delete_system_class Delete system class

Delete a system class by ID. Requires systems:write scope.

ParameterTypeDescription
id *stringSystem class ID

create_system_group Create system group

Create a new system group (category under a system class, e.g., "Heating", "Cooling"). Requires systems:write scope.

ParameterTypeDescription
name *stringSystem group name (required)
descriptionstringDescription
system_class_idstringParent system class ID

update_system_group Update system group

Update an existing system group by ID. Requires systems:write scope.

ParameterTypeDescription
id *stringSystem group ID
descriptionstringDescription
namestringSystem group name
system_class_idstringParent system class ID

delete_system_group Delete system group

Delete a system group by ID. Requires systems:write scope.

ParameterTypeDescription
id *stringSystem group ID

create_vendor_site_assignment Create vendor site assignment

Assign a vendor to a site. Requires vendor_site_assignments:write scope.

ParameterTypeDescription
site_id *stringSite ID (required)
vendor_id *stringVendor ID (required)

delete_vendor_site_assignment Delete vendor site assignment

Remove a vendor-site assignment by ID. Requires vendor_site_assignments:write scope.

ParameterTypeDescription
id *stringVendor-site assignment ID

create_contract_site Create contract site

Assign a contract to a site. Requires contract_sites:write scope.

ParameterTypeDescription
contract_id *stringContract ID (required)
site_id *stringSite ID (required)

delete_contract_site Delete contract site

Remove a contract from a site. Requires contract_sites:write scope. An assignment is identified by its contract and site; it has no id of its own.

ParameterTypeDescription
contract_id *stringContract ID (required)
site_id *stringSite ID (required)

create_custom_field_definition Create custom field definition

Create a new custom field definition. Requires custom_fields:write scope.

ParameterTypeDescription
entity_type *stringEntity type this field applies to (required)
field_name *stringField name / key (required)
field_type *stringField data type (required)
display_orderintegerDisplay order
field_labelstringDisplay label
field_optionsarrayOptions for select-type fields
is_requiredbooleanWhether the field is required

update_custom_field_definition Update custom field definition

Update an existing custom field definition by ID. Requires custom_fields:write scope.

ParameterTypeDescription
id *stringCustom field definition ID
display_orderintegerDisplay order
entity_typestringEntity type
field_labelstringDisplay label
field_namestringField name / key
field_optionsarrayOptions for select-type fields
field_typestringField data type
is_requiredbooleanWhether the field is required

delete_custom_field_definition Delete custom field definition

Delete a custom field definition by ID. Requires custom_fields:write scope.

ParameterTypeDescription
id *stringCustom field definition ID

create_custom_field_value Create custom field value

Create (upsert) a custom field value for an entity. The table stores values in typed columns - prefer setting the one that matches the field definition's field_type: value_text (text/select; a select value must be one of the field's options), value_number (number), value_date (date, ISO YYYY-MM-DD), value_boolean (boolean). Alternatively pass a single `value` string and the server will dispatch it to the right column based on field_type. Writes upsert on (entity_id, field_definition_id) so replaying a batch is idempotent. Requires custom_fields:write scope.

ParameterTypeDescription
entity_id *stringEntity ID - e.g. asset.id, work_order.id (required)
field_definition_id *stringCustom field definition ID - resolve via list_custom_field_definitions (required)
valuestringLegacy single-value shim - server dispatches to the correct typed column based on the field definition's field_type. Ignored if any value_* typed column is set.
value_booleanboolean | nullBoolean value (use for field_type=boolean)
value_datestring | nullDate value, ISO YYYY-MM-DD (use for field_type=date)
value_numbernumber | nullNumeric value (use for field_type=number)
value_textText value (use for field_type=text or select)

update_custom_field_value Update custom field value

Update an existing custom field value by ID. Set whichever typed column matches the definition's field_type (value_text / value_number / value_date / value_boolean), or pass a single `value` and the server will dispatch it. Requires custom_fields:write scope.

ParameterTypeDescription
id *stringCustom field value ID
entity_idstringEntity ID
field_definition_idstringCustom field definition ID - required when using the `value` fallback if you want to avoid the server fetching it
valuestringLegacy single-value shim - server dispatches based on field_type
value_booleanboolean | nullBoolean value
value_datestring | nullDate value, ISO YYYY-MM-DD
value_numbernumber | nullNumeric value
value_textText value

delete_custom_field_value Delete custom field value

Delete a custom field value by ID. Requires custom_fields:write scope.

ParameterTypeDescription
id *stringCustom field value ID

create_part Create part

Create a new part/inventory item. Requires parts:write scope.

ParameterTypeDescription
name *stringPart name (required)
building_idstringBuilding ID
categorystringCategory label
costnumberUnit cost
desired_quantityintegerTarget / reorder quantity
location_idstringLocation ID
part_numberstringPart number / SKU
quantityintegerCurrent stock quantity
site_idstringSite ID
specific_locationstringStorage location description
supplierstringDEPRECATED - legacy free-text supplier name. Use supplier_id instead.
supplier_idstringVendor ID (resolve via list_vendors)

update_part Update part

Update an existing part/inventory item by ID. Requires parts:write scope.

ParameterTypeDescription
id *stringPart ID
building_idstringBuilding ID
categorystringCategory label
costnumberUnit cost
desired_quantityintegerTarget / reorder quantity
location_idstringLocation ID
namestringPart name
part_numberstringPart number / SKU
quantityintegerCurrent stock quantity
site_idstringSite ID
specific_locationstringStorage location description
supplierstringDEPRECATED - legacy free-text supplier name. Use supplier_id instead.
supplier_idstringVendor ID (resolve via list_vendors)

delete_part Delete part

Delete a part/inventory item by ID. Requires parts:write scope.

ParameterTypeDescription
id *stringPart ID

create_upload_url Create upload URL

Generate a signed upload URL for uploading a file to AssetLab storage. Returns a signed_url to PUT the file to, and the storage path to store on the record. IMPORTANT - When a user wants to upload a file, always clarify the target. File upload paths: (1) Asset IMAGE: bucket "asset-images" → update_asset with image_url. (2) Asset DOCUMENT (O&M, warranty, spec): bucket "documents" → create_asset_document. (3) Work order IMAGE: bucket "attachments" → update_work_order with image_url. (4) Work order/request/PM ATTACHMENT: bucket "attachments" → create_attachment with the parent ID. (5) Pro…

ParameterTypeDescription
bucket *stringStorage bucket (required). Use "asset-images" for asset photos.
file_name *stringFile name including extension (required)

upload_file Upload file

Upload a file to AssetLab storage by sending its bytes inline (base64). The AssetLab backend performs the storage upload server-side - use this tool when the client cannot PUT directly to Supabase Storage (e.g. Claude integrations whose outbound network blocks arbitrary supabase.co hosts). Returns { path, bucket, file_size, content_type }. After uploading, pass path to the appropriate record tool (update_asset image_url, create_asset_document file_path, update_work_order image_url, create_attachment file_url, create_project_document file_path, create_contract_document file_path). Server limit…

ParameterTypeDescription
bucket *stringStorage bucket (required). Use "asset-images" for asset photos, "attachments" for work-order/PM attachments.
content_base64 *stringFile contents base64-encoded (required). Data URI prefixes like "data:image/png;base64," are stripped automatically.
file_name *stringFile name including extension (required)
content_typestringMIME type (e.g. image/jpeg, application/pdf). Defaults to application/octet-stream.

create_asset_document Create asset document

Create an asset document record (after uploading the file via create_upload_url). Requires asset_documents:write scope.

ParameterTypeDescription
asset_id *stringAsset ID this document belongs to (required)
file_path *stringStorage path from upload URL response (required)
name *stringDocument name (required)
categorystringDocument category
descriptionstringDescription
file_sizenumberFile size in bytes
file_typestringMIME type
user_idstringUploader user ID

update_asset_document Update asset document

Update an asset document by ID. Requires asset_documents:write scope.

ParameterTypeDescription
id *stringAsset document ID
asset_idstringAsset ID
categorystringDocument category
descriptionstringDescription
file_pathstringStorage path
file_sizenumberFile size in bytes
file_typestringMIME type
namestringDocument name
user_idstringUploader user ID

delete_asset_document Delete asset document

Delete an asset document by ID. Requires asset_documents:write scope.

ParameterTypeDescription
id *stringAsset document ID

create_attachment Create attachment

Create an attachment record linked to a work order, work request, PM schedule, or PM template. Exactly one parent ID must be provided. Requires attachments:write scope.

ParameterTypeDescription
file_name *stringFile name (required)
file_url *stringFile URL / storage path (required)
descriptionstringDescription
file_sizenumberFile size in bytes
file_typestringMIME type
pm_schedule_idstringPM schedule ID (exactly one parent required)
pm_template_idstringPM template ID (exactly one parent required)
uploaded_bystringUploader user ID
work_order_idstringWork order ID (exactly one parent required)
work_request_idstringWork request ID (exactly one parent required)

update_attachment Update attachment

Update an attachment by ID. Requires attachments:write scope.

ParameterTypeDescription
id *stringAttachment ID
descriptionstringDescription
file_namestringFile name
file_sizenumberFile size in bytes
file_typestringMIME type
file_urlstringFile URL / storage path
pm_schedule_idstringPM schedule ID
pm_template_idstringPM template ID
uploaded_bystringUploader user ID
work_order_idstringWork order ID
work_request_idstringWork request ID

delete_attachment Delete attachment

Delete an attachment by ID. Requires attachments:write scope.

ParameterTypeDescription
id *stringAttachment ID

create_project_document Create project document

Create a project document record. Requires project_documents:write scope.

ParameterTypeDescription
file_path *stringStorage path from upload URL response (required)
name *stringDocument name (required)
project_id *stringProject ID (required)
uploaded_by *stringUploader user ID (required)
descriptionstringDescription
file_sizenumberFile size in bytes
file_typestringMIME type
folder_idstringFolder ID

update_project_document Update project document

Update a project document by ID. Requires project_documents:write scope.

ParameterTypeDescription
id *stringProject document ID
descriptionstringDescription
file_pathstringStorage path
file_sizenumberFile size in bytes
file_typestringMIME type
folder_idstringFolder ID
namestringDocument name
project_idstringProject ID
uploaded_bystringUploader user ID

delete_project_document Delete project document

Delete a project document by ID. Requires project_documents:write scope.

ParameterTypeDescription
id *stringProject document ID

create_contract_document Create contract document

Create a contract document record. Requires contract_documents:write scope.

ParameterTypeDescription
contract_id *stringContract ID (required)
file_name *stringFile name (required)
file_path *stringStorage path from upload URL response (required)
file_sizenumberFile size in bytes
file_typestringMIME type
uploaded_bystringUploader user ID

update_contract_document Update contract document

Update a contract document by ID. Requires contract_documents:write scope.

ParameterTypeDescription
id *stringContract document ID
contract_idstringContract ID
file_namestringFile name
file_pathstringStorage path
file_sizenumberFile size in bytes
file_typestringMIME type
uploaded_bystringUploader user ID

delete_contract_document Delete contract document

Delete a contract document by ID. Requires contract_documents:write scope.

ParameterTypeDescription
id *stringContract document ID

create_project_team_member Create project team member

Add a team member to a project. Requires project_team_members:write scope.

ParameterTypeDescription
project_id *stringProject ID (required)
role *stringRole on the project (required)
user_id *stringClerk user ID (required)
end_datestringEnd date (ISO 8601)
is_activebooleanWhether member is currently active
responsibilitiesstringDescription of responsibilities
start_datestringStart date (ISO 8601)

update_project_team_member Update project team member

Update a project team member by ID. Requires project_team_members:write scope.

ParameterTypeDescription
id *stringProject team member ID
end_datestringEnd date (ISO 8601)
is_activebooleanWhether member is currently active
project_idstringProject ID
responsibilitiesstringDescription of responsibilities
rolestringRole on the project
start_datestringStart date (ISO 8601)
user_idstringClerk user ID

delete_project_team_member Delete project team member

Remove a team member from a project by ID. Requires project_team_members:write scope.

ParameterTypeDescription
id *stringProject team member ID

create_project_task_dependency Create project task dependency

Create a dependency between two project tasks. Requires project_task_dependencies:write scope.

ParameterTypeDescription
depends_on_task_id *stringTask ID that must complete first (required); must differ from task_id
task_id *stringTask ID (the dependent task, required)
dependency_typestringDependency type (default: finish_to_start)

delete_project_task_dependency Delete project task dependency

Delete a task dependency by ID. Requires project_task_dependencies:write scope.

ParameterTypeDescription
id *stringProject task dependency ID

create_project_update Create project update

Create a periodic project status update. Requires project_updates:write scope.

ParameterTypeDescription
author_id *stringAuthor Clerk user ID (required)
content *stringUpdate content (required)
period_value *stringPeriod value - 1-12 for monthly, 1-4 for quarterly, etc. (required)
period_year *integerYear for this update period (required)
project_id *stringProject ID (required)
timeframe *stringUpdate timeframe (required)
titlestringOptional custom title

update_project_update Update project update

Update an existing project update by ID. Requires project_updates:write scope.

ParameterTypeDescription
id *stringProject update ID
author_idstringAuthor Clerk user ID
contentstringUpdate content
period_valuestringPeriod value
period_yearintegerYear for this update period
project_idstringProject ID
timeframestringUpdate timeframe
titlestringOptional custom title

delete_project_update Delete project update

Delete a project update by ID. Requires project_updates:write scope.

ParameterTypeDescription
id *stringProject update ID

create_project_cost_snapshot Create project cost snapshot

Record a cost snapshot for a project at a point in time. Requires project_cost_snapshots:write scope.

ParameterTypeDescription
actual_cost *numberActual cost to date (required)
project_id *stringProject ID (required)
snapshot_date *stringSnapshot date (ISO 8601, required)
total_budget *numberTotal budget amount (required)
forecasted_costnumberForecasted total cost
percent_completenumberCompletion percentage (0-100)

delete_project_cost_snapshot Delete project cost snapshot

Delete a project cost snapshot by ID. Requires project_cost_snapshots:write scope.

ParameterTypeDescription
id *stringProject cost snapshot ID

create_project_location Create project location

Link a location to a project. Requires project_locations:write scope.

ParameterTypeDescription
location_id *stringLocation ID (required)
project_id *stringProject ID (required)

delete_project_location Delete project location

Remove a location from a project by ID. Requires project_locations:write scope.

ParameterTypeDescription
id *stringProject location ID

create_project_site Create project site

Link a site to a project. Requires project_sites:write scope.

ParameterTypeDescription
project_id *stringProject ID (required)
site_id *stringSite ID (required)

delete_project_site Delete project site

Remove a site from a project by ID. Requires project_sites:write scope.

ParameterTypeDescription
id *stringProject site ID

create_project_building Create project building

Link a building to a project. Requires project_buildings:write scope.

ParameterTypeDescription
building_id *stringBuilding ID (required)
project_id *stringProject ID (required)

delete_project_building Delete project building

Remove a building from a project by ID. Requires project_buildings:write scope.

ParameterTypeDescription
id *stringProject building ID

create_project_system Create project system

Link a system to a project. Requires project_systems:write scope.

ParameterTypeDescription
project_id *stringProject ID (required)
system_id *stringSystem ID (required)

delete_project_system Delete project system

Remove a system from a project by ID. Requires project_systems:write scope.

ParameterTypeDescription
id *stringProject system ID

create_project_system_class Create project system class

Link a system class to a project. Requires project_system_classes:write scope.

ParameterTypeDescription
project_id *stringProject ID (required)
system_class_id *stringSystem class ID (required)

delete_project_system_class Delete project system class

Remove a system class from a project by ID. Requires project_system_classes:write scope.

ParameterTypeDescription
id *stringProject system class ID

create_project_system_group Create project system group

Link a system group to a project. Requires project_system_groups:write scope.

ParameterTypeDescription
project_id *stringProject ID (required)
system_group_id *stringSystem group ID (required)

delete_project_system_group Delete project system group

Remove a system group from a project by ID. Requires project_system_groups:write scope.

ParameterTypeDescription
id *stringProject system group ID

create_project_risk Create project risk

Create a new project risk. Requires project_risks:write scope.

ParameterTypeDescription
project_id *stringProject ID (required)
title *stringRisk title (required)
categorystringRisk category
contingency_planstringContingency plan
created_bystringCreator (Clerk user ID)
descriptionstringRisk description
due_datestringDue date (ISO 8601)
impactstringImpact level. Defaults to medium.
mitigation_planstringMitigation plan
owner_idstringRisk owner (Clerk user ID)
probabilitystringProbability level. Defaults to medium.
statusstringRisk status (default: identified)

update_project_risk Update project risk

Update an existing project risk by ID. Requires project_risks:write scope.

ParameterTypeDescription
id *stringProject risk ID
categorystringRisk category
contingency_planstringContingency plan
descriptionstringRisk description
due_datestringDue date (ISO 8601)
impactstringImpact level
mitigation_planstringMitigation plan
owner_idstringRisk owner (Clerk user ID)
probabilitystringProbability level
project_idstringProject ID
statusstringRisk status
titlestringRisk title

delete_project_risk Delete project risk

Delete a project risk by ID. Requires project_risks:write scope.

ParameterTypeDescription
id *stringProject risk ID

create_project_asset Create project asset

Link an asset to a project. Requires project_assets:write scope.

ParameterTypeDescription
asset_id *stringAsset ID (required)
project_id *stringProject ID (required)

delete_project_asset Delete project asset

Remove an asset from a project by ID. Requires project_assets:write scope.

ParameterTypeDescription
id *stringProject asset ID

create_service_area Create service area

Create a new service area for Level of Service tracking. Requires service_areas:write scope. After creating, link system classes via create_service_area_system_class and sites via create_service_area_site.

ParameterTypeDescription
name *stringService area name (required, unique per tenant)
colorstringHex color code (e.g., "#3B82F6")
descriptionstringDescription
iconstringIcon name (e.g., "droplets" for water)
is_activebooleanWhether the service area is active (default: true)
sort_orderintegerSort order for display

update_service_area Update service area

Update an existing service area by ID. Requires service_areas:write scope.

ParameterTypeDescription
id *stringService area ID
colorstringHex color code
descriptionstringDescription
iconstringIcon name
is_activebooleanActive status
namestringService area name
sort_orderintegerSort order

delete_service_area Delete service area

Delete a service area by ID. WARNING: This also deletes all linked measures, measurements, and junction records. Requires service_areas:write scope.

ParameterTypeDescription
id *stringService area ID

create_service_area_system_class Create service area system class

Link a system class to a service area. Requires service_areas:write scope. Resolve IDs first: list_service_areas → service_area_id, list_system_classes → system_class_id.

ParameterTypeDescription
service_area_id *stringService area ID (required)
system_class_id *stringSystem class ID (required)

delete_service_area_system_class Delete service area system class

Remove a system class link from a service area. Requires service_areas:write scope.

ParameterTypeDescription
id *stringService area system class link ID

create_service_area_site Create service area site

Link a site to a service area (optional scoping). Requires service_areas:write scope. Resolve IDs first: list_service_areas → service_area_id, list_sites → site_id.

ParameterTypeDescription
service_area_id *stringService area ID (required)
site_id *stringSite ID (required)

delete_service_area_site Delete service area site

Remove a site link from a service area. Requires service_areas:write scope.

ParameterTypeDescription
id *stringService area site link ID

create_los_measure Create LoS measure

Create a new LoS measure within a service area. Requires los_measures:write scope. Resolve service_area_id first via list_service_areas.

ParameterTypeDescription
category *stringMeasure category (required)
data_source *stringData source type (required). Use "manual" if values will be entered by hand.
name *stringMeasure name (required, unique per service area)
service_area_id *stringService area ID (required)
type *stringMeasure type (required)
community_statementstringCommunity-facing statement (for community type measures)
data_source_configobjectData source configuration (JSONB). E.g., {"threshold": 3} for pct_above/below, {"days_back": 90} for WO metrics.
descriptionstringDescription
is_activebooleanWhether the measure is active (default: true)
minimum_acceptablenumberMinimum acceptable value
sort_orderintegerSort order for display
stretch_goalnumberStretch goal value
target_valuenumberTarget value
trend_directionstringWhich direction is better
unitstringUnit of measurement (e.g., "%", "hours", "count")
weightnumberWeight for composite score calculation (default: 1.0)

update_los_measure Update LoS measure

Update an existing LoS measure by ID. Requires los_measures:write scope.

ParameterTypeDescription
id *stringLoS measure ID
categorystringMeasure category
community_statementstringCommunity-facing statement
data_sourcestringData source type
data_source_configobjectData source configuration (JSONB)
descriptionstringDescription
is_activebooleanActive status
minimum_acceptablenumberMinimum acceptable value
namestringMeasure name
sort_orderintegerSort order
stretch_goalnumberStretch goal value
target_valuenumberTarget value
trend_directionstringWhich direction is better
typestringMeasure type
unitstringUnit of measurement
weightnumberWeight for composite score calculation

delete_los_measure Delete LoS measure

Delete a LoS measure by ID. WARNING: This also deletes all associated measurements and targets history. Requires los_measures:write scope.

ParameterTypeDescription
id *stringLoS measure ID

create_los_measurement Create LoS measurement

Record a new LoS measurement value. Requires los_measurements:write scope. Resolve los_measure_id first via list_los_measures.

ParameterTypeDescription
actual_value *numberMeasured value (required)
los_measure_id *stringLoS measure ID (required)
period_end *stringPeriod end date (ISO 8601, required, e.g., "2026-03-31")
period_start *stringPeriod start date (ISO 8601, required, e.g., "2026-01-01")
period_type *stringPeriod type (required)
is_autobooleanWhether this is an auto-calculated value (default: false)
notesstringNotes or context for this measurement

update_los_measurement Update LoS measurement

Update an existing LoS measurement by ID. Requires los_measurements:write scope.

ParameterTypeDescription
id *stringLoS measurement ID
actual_valuenumberMeasured value
is_autobooleanWhether this is auto-calculated
notesstringNotes or context
period_endstringPeriod end date (ISO 8601)
period_startstringPeriod start date (ISO 8601)
period_typestringPeriod type

delete_los_measurement Delete LoS measurement

Delete a LoS measurement by ID. Requires los_measurements:write scope.

ParameterTypeDescription
id *stringLoS measurement ID

create_los_proposed_target Create LoS proposed target

Record the proposed level of service for a LoS measure in one future year (O. Reg. 588/17 s. 6(1)). One row per measure and year; a duplicate returns 409, so update the existing row instead. Use target_statement for a community measure and target_value for a technical one. Requires los_proposed_targets:write scope. Resolve los_measure_id first via list_los_measures.

ParameterTypeDescription
los_measure_id *stringLoS measure ID (required)
year *integerTarget year, 2000-2200 (required)
target_statementstringProposed level of service for a community measure, as a statement
target_valuenumberProposed value for a technical measure, in the measure's own unit

update_los_proposed_target Update LoS proposed target

Update an existing LoS proposed target by ID. Requires los_proposed_targets:write scope.

ParameterTypeDescription
id *stringLoS proposed target ID
target_statementstringProposed level of service for a community measure, as a statement
target_valuenumberProposed value for a technical measure, in the measure's own unit
yearintegerTarget year, 2000-2200

delete_los_proposed_target Delete LoS proposed target

Delete a LoS proposed target by ID. Requires los_proposed_targets:write scope.

ParameterTypeDescription
id *stringLoS proposed target ID

create_system_los_target Create system LoS target

Set the technical Level of Service target for one system and metric. One base target per system and metric, set once for the organization; a duplicate returns 409, so update the existing row instead. Each building is held to a version adjusted by its criticality: a lower-is-better target is multiplied by the tier's modifier, a higher-is-better one keeps its distance from a perfect score multiplied by it (condition 70 becomes 82 at a Critical facility, 58 at a Low one). Derived targets never leave the metric's scale. Direction is fixed by the metric and cannot be sent: asset_condition_avg is hi…

ParameterTypeDescription
base_target *numberBase target on the metric's scale (required): fci, asset_condition_avg and asset_past_useful_life_pct run 0-100; risk_score_avg runs 0-25
metric *stringMetric the target tracks (required)
system_id *stringSystem ID (required) - resolve first via list_systems
activebooleanWhether the target is scored (default true)

update_system_los_target Update system LoS target

Update a system LoS target by ID. base_target must sit on the scale of the metric in force (0-100, or 0-25 for risk_score_avg), so send a new base_target when changing to a metric with a smaller scale. Direction follows the metric automatically. Requires los_targets:write scope.

ParameterTypeDescription
id *stringSystem LoS target ID
activebooleanWhether the target is scored
base_targetnumberBase target on the metric's scale: fci, asset_condition_avg and asset_past_useful_life_pct run 0-100; risk_score_avg runs 0-25
metricstringMetric the target tracks
system_idstringSystem ID - resolve first via list_systems

delete_system_los_target Delete system LoS target

Delete a system LoS target by ID. Buildings stop being scored on that system and metric; past status snapshots are kept. Requires los_targets:write scope.

ParameterTypeDescription
id *stringSystem LoS target ID

create_infrastructure_los_target Create infrastructure LoS target

Set the technical Level of Service target for one infrastructure feature class and metric. One base target per feature class and metric, set once for the organization; a duplicate returns 409, so update the existing row instead. Each network of that class is held to a version adjusted by the network's criticality (unrated counts as medium): a lower-is-better target is multiplied by the tier's modifier, a higher-is-better one keeps its distance from a perfect score multiplied by it (condition 70 becomes 82 at a Critical network, 58 at a Low one). Derived targets never leave the metric's scale.…

ParameterTypeDescription
base_target *numberBase target, 0-100 (required)
feature_class *stringFeature class code (required) - must exist; resolve first via list_infrastructure_feature_classes
metric *stringMetric the target tracks (required)
activebooleanWhether the target is scored (default true)

update_infrastructure_los_target Update infrastructure LoS target

Update an infrastructure LoS target by ID. base_target stays on 0-100. Requires los_targets:write scope.

ParameterTypeDescription
id *stringInfrastructure LoS target ID
activebooleanWhether the target is scored
base_targetnumberBase target, 0-100
feature_classstringFeature class code - resolve first via list_infrastructure_feature_classes
metricstringMetric the target tracks

delete_infrastructure_los_target Delete infrastructure LoS target

Delete an infrastructure LoS target by ID. Networks of that class stop being scored on the metric; past status snapshots are kept. Requires los_targets:write scope.

ParameterTypeDescription
id *stringInfrastructure LoS target ID

create_criticality_modifier Create criticality modifier

Override the criticality modifier for one tier. Rows are overrides only: a tier with no row uses the built-in default (critical 0.6, high 0.8, medium 1.0, low 1.4). A modifier below 1 tightens every target held by facilities in that tier and one above 1 relaxes them. One override per tier; a duplicate returns 409, so call list_criticality_modifiers and update the existing row instead. Requires los_targets:write scope.

ParameterTypeDescription
criticality *stringCriticality tier (required)
modifier *numberMultiplier from 0.1 to 1.9 (required); below 1 tightens, above 1 relaxes

update_criticality_modifier Update criticality modifier

Update a criticality modifier override by ID. Below 1 tightens the targets of facilities in that tier, above 1 relaxes them. Requires los_targets:write scope.

ParameterTypeDescription
id *stringCriticality modifier ID
criticalitystringCriticality tier
modifiernumberMultiplier from 0.1 to 1.9; below 1 tightens, above 1 relaxes

delete_criticality_modifier Delete criticality modifier

Delete a criticality modifier override by ID, which restores the built-in default for that tier (critical 0.6, high 0.8, medium 1.0, low 1.4). Requires los_targets:write scope.

ParameterTypeDescription
id *stringCriticality modifier ID

create_los_consequence Create LoS consequence

Record what a missed technical Level of Service target means, in the organization's own words. Advisory only: the statement is shown on the Status screen when a matching target is breached, and no notification is sent to notify_roles or to anyone else. When several match a breach the most specific scope wins (a specific system or feature class over a criticality tier over global). severity is a floor; the severity shown scales with the size of the gap and the facility's criticality. Requires los_consequences:write scope.

ParameterTypeDescription
scope_type *stringWhat the consequence applies to (required)
severity *stringMinimum severity shown (required)
statement *stringThe consequence, as a statement (required)
activebooleanWhether the consequence is shown (default true)
metricLimit to one metric; omit or null to match any metric
notify_rolesarrayRoles named as owning the consequence. Recorded only; nothing is sent
scope_refstring | nullWhat the scope points at: null for global; critical, high, medium or low for criticality_tier; a system ID (resolve first via list_systems) for system; a feature class code (resolve first via list_inf…

update_los_consequence Update LoS consequence

Update a LoS consequence by ID. Changing scope_type to global clears scope_ref; changing it to anything else needs a scope_ref that fits the new type. Advisory only: no notification is sent. Requires los_consequences:write scope.

ParameterTypeDescription
id *stringLoS consequence ID
activebooleanWhether the consequence is shown
metricLimit to one metric; null matches any metric
notify_rolesarrayRoles named as owning the consequence. Recorded only; nothing is sent
scope_refstring | nullWhat the scope points at: null for global; critical, high, medium or low for criticality_tier; a system ID (resolve first via list_systems) for system; a feature class code (resolve first via list_inf…
scope_typestringWhat the consequence applies to
severitystringMinimum severity shown
statementstringThe consequence, as a statement

delete_los_consequence Delete LoS consequence

Delete a LoS consequence by ID. Requires los_consequences:write scope.

ParameterTypeDescription
id *stringLoS consequence ID

create_floorplan Create floorplan

Create a floorplan row. Provide EXACTLY ONE of building_id (per-building floor) or site_id (site-level / campus plan). Typically the web app calls this per page of an uploaded PDF; MCP clients rarely need to call this directly since they do not upload the PDF itself. Requires floorplans:write scope.

ParameterTypeDescription
floor_label *stringHuman-readable label (e.g. "Ground Floor", "Mezzanine", "Site Plan")
pdf_filename *stringOriginal filename for display
pdf_storage_path *stringSupabase Storage path to the PDF file
building_idstringBuilding this floor belongs to (omit if site-scoped)
floor_orderintegerSort order within the scope (lowest first)
page_height_ptnumberPage height in PDF points
page_numberinteger1-indexed page number within the PDF
page_width_ptnumberPage width in PDF points (discovered client-side)
site_idstringSite this plan belongs to (use for site-level / campus plans; omit if building-scoped)
statusstringDetection status (default: pending)

update_floorplan Update floorplan

Update floorplan metadata (rename floor, reorder, set status). Requires floorplans:write scope.

ParameterTypeDescription
id *stringFloorplan ID
detection_errorstringError message if status=failed
floor_labelstringNew floor label
floor_orderintegerNew sort order
statusstringDetection status

delete_floorplan Delete floorplan

Delete a floorplan. WARNING: cascades to all regions and asset placements on this floor. Does NOT delete the underlying PDF file from storage (do that separately if no other floors reference it). Requires floorplans:write scope.

ParameterTypeDescription
id *stringFloorplan ID

create_floorplan_region Create floorplan region

Create a region (labeled room or zone) on a floorplan. Polygon coordinates are normalized 0-1 with origin top-left. Optionally link the region to an existing Location via location_id. Requires floorplan_regions:write scope.

ParameterTypeDescription
floorplan_id *stringFloorplan this region belongs to
label *stringRegion label (e.g. "Boiler Room 2B")
polygon *arrayPolygon outline as an array of [x, y] points in normalized 0-1 coordinates (origin top-left). At least 3 points.
confidencenumberAI confidence score (0-1), only set when source=ai
location_idstringLinked Location ID (resolved via list_locations)
reviewedbooleanTrue if an admin has reviewed this region (default: true for manual, false for ai)
sourcestring"manual" (default) or "ai" for AI-detected

update_floorplan_region Update floorplan region

Update a floorplan region - rename, reshape polygon, link to a Location, or mark as reviewed. Requires floorplan_regions:write scope.

ParameterTypeDescription
id *stringFloorplan region ID
confidencenumber
labelstringNew label
location_idstringLinked Location ID (set to null to unlink)
polygonarrayPolygon outline as an array of [x, y] points in normalized 0-1 coordinates (origin top-left). At least 3 points.
reviewedbooleanMark region as reviewed by admin

delete_floorplan_region Delete floorplan region

Delete a region. Asset placements that referenced this region will have region_id set to null but remain on the floorplan. Requires floorplan_regions:write scope.

ParameterTypeDescription
id *stringFloorplan region ID

create_asset_placement Create asset placement

Place an asset on a floorplan at the given (x, y) coordinate (normalized 0-1, origin top-left). UPSERTS by asset_id - an asset can have at most ONE placement globally, so calling this again just moves the pin. Use bulk_create with resource="asset-placements" to place many assets at once. Requires asset_placements:write scope.

ParameterTypeDescription
asset_id *stringAsset to place (resolve via list_assets)
floorplan_id *stringTarget floorplan (resolve via list_floorplans)
x *numberNormalized x coordinate (0=left, 1=right)
y *numberNormalized y coordinate (0=top, 1=bottom)
region_idstringRegion the pin sits inside. Not inferred from the pin position: set it if the pin belongs to a region.
sourcestring"manual" (default) or "ai" for AI-placed

update_asset_placement Update asset placement

Move an asset placement to new coordinates or a different floorplan. Requires asset_placements:write scope.

ParameterTypeDescription
id *stringAsset placement ID
floorplan_idstringMove to a different floorplan
region_idstringNew region (set to null to clear)
xnumberNew x coordinate
ynumberNew y coordinate

delete_asset_placement Delete asset placement

Remove an asset placement. The asset itself is not affected - only the pin on the floorplan is removed. Requires asset_placements:write scope.

ParameterTypeDescription
id *stringAsset placement ID

bulk_create Bulk create

Create multiple records of a resource type in one API call (max 100). Each item is processed independently - one failure does not affect others. Returns per-item results. Requires {resource}:write scope. Counts as 1 request for rate limiting.

ParameterTypeDescription
items *arrayArray of objects to create (max 100). Each object uses the same fields as the single-create endpoint for that resource.
resource *stringResource type (e.g. "assets", "work-orders")

create_asset_status Create asset status

Create a new asset status (lifecycle state for assets). Requires asset_statuses:write scope.

ParameterTypeDescription
name *stringStatus name (required)
descriptionstringDescription
modulestringWorkspace the status is offered in: facilities (assets), infrastructure (features), or shared (both). Defaults to shared.

update_asset_status Update asset status

Update an existing asset status by ID. Requires asset_statuses:write scope. On the built-in Archived status (system_key archived) only name and description can change.

ParameterTypeDescription
id *stringAsset status ID
descriptionstringDescription
modulestringMove the status to a workspace: facilities, infrastructure, or shared (both).
namestringStatus name

delete_asset_status Delete asset status

Delete an asset status by ID. Requires asset_statuses:write scope. The built-in Archived status (system_key archived) cannot be deleted.

ParameterTypeDescription
id *stringAsset status ID

create_compliance_item Create compliance item

Create a new compliance item (regulatory requirement). Requires compliance:write scope.

ParameterTypeDescription
name *stringCompliance item name (required)
compliance_period_monthsintegerCompliance period in months
descriptionstringDescription
regulation_referencestringRegulation or code reference
statusstringStatus
system_idstringAssociated system ID

update_compliance_item Update compliance item

Update an existing compliance item by ID. Requires compliance:write scope.

ParameterTypeDescription
id *stringCompliance item ID
compliance_period_monthsintegerCompliance period in months
descriptionstringDescription
namestringCompliance item name
regulation_referencestringRegulation or code reference
statusstringStatus
system_idstringAssociated system ID

delete_compliance_item Delete compliance item

Delete a compliance item by ID. Requires compliance:write scope.

ParameterTypeDescription
id *stringCompliance item ID

create_compliance_record Create compliance record

Create a new compliance record (audit trail entry). Requires compliance_records:write scope.

ParameterTypeDescription
completed_at *stringCompletion date-time (ISO 8601, required)
compliance_item_id *stringCompliance item ID (required)
pm_schedule_id *stringPM schedule ID (required)
required_frequency_days *integerRequired frequency in days (required)
work_order_id *stringWork order ID (required)
completed_bystringUser ID who completed
days_since_last_completionintegerDays since last completion

update_compliance_record Update compliance record

Update an existing compliance record by ID. Requires compliance_records:write scope.

ParameterTypeDescription
id *stringCompliance record ID
completed_atstringCompletion date-time (ISO 8601)
completed_bystringUser ID who completed
days_since_last_completionintegerDays since last completion
required_frequency_daysintegerRequired frequency in days

delete_compliance_record Delete compliance record

Delete a compliance record by ID. Requires compliance_records:write scope.

ParameterTypeDescription
id *stringCompliance record ID

create_compliance_pm_schedule Create compliance PM schedule

Link a PM schedule to a compliance item, so completing the schedule keeps the item compliant. Requires compliance:write scope. Required: compliance_item_id, pm_schedule_id, required_frequency_days. Resolve both ids first with list_compliance_items and list_pm_schedules.

ParameterTypeDescription
compliance_item_id *stringCompliance item ID (required)
pm_schedule_id *stringPM schedule ID (required)
required_frequency_days *integerHow often, in days, the schedule must be completed for the item to stay compliant (required), e.g. 365 for annual
weightnumberRelative weight of this schedule in the item score. Default 1.

update_compliance_pm_schedule Update compliance PM schedule

Change the required frequency or weight of a compliance item to PM schedule link. Requires compliance:write scope. To point a link at a different item or schedule, delete it and create a new one.

ParameterTypeDescription
id *stringLink ID - resolve via list_compliance_pm_schedules
required_frequency_daysintegerRequired frequency in days
weightnumberRelative weight

delete_compliance_pm_schedule Delete compliance PM schedule

Unlink a PM schedule from a compliance item. The schedule and the item both stay. Requires compliance:write scope.

ParameterTypeDescription
id *stringLink ID - resolve via list_compliance_pm_schedules

create_infrastructure_feature_class Create infrastructure feature class

Create a tenant-defined infrastructure feature class. Builtin classes are managed by AssetLab and cannot be created via API (is_builtin is always forced to false). Requires infrastructure_feature_classes:write scope.

ParameterTypeDescription
category *stringCategory - municipal service family (transportation, water, wastewater, stormwater, structures, facilities, electrical, telecom, gas, roadside, other)
code *stringAsset class code (lowercase snake_case, 1-50 chars)
label *stringDisplay name (required)
color_hexstringDisplay colour as hex, e.g. #3B82F6
iconstringIcon name
sort_orderintegerSort order

update_infrastructure_feature_class Update infrastructure feature class

Update a tenant-defined infrastructure feature class (addressed by code). The `code`, `category`, and `is_builtin` fields are immutable; attempts to change them on a builtin class return 409. Requires infrastructure_feature_classes:write scope.

ParameterTypeDescription
code *stringAsset class code (lowercase snake_case, 1-50 chars)
color_hexstringDisplay colour as hex, e.g. #3B82F6
iconstringIcon name
labelstringDisplay name
sort_orderintegerSort order

delete_infrastructure_feature_class Delete infrastructure feature class

Delete a tenant-defined infrastructure feature class by code. Builtin classes cannot be deleted. Classes referenced by any infrastructure network are protected by FK and cannot be deleted until those networks are reassigned. Requires infrastructure_feature_classes:write scope.

ParameterTypeDescription
code *stringAsset class code (lowercase snake_case, 1-50 chars)

create_infrastructure_lifecycle_event Create infrastructure lifecycle event

Create a lifecycle strategy event. Events attach to a SCOPE (feature_class code, material, optional diameter band) - never to individual features; every feature resolves the most specific matching scope, like replacement rates. Replacement is NOT an event (it is priced by the rates and scheduled by the renewal forecast) - model the interventions BEFORE replacement: crack sealing, relining, resurfacing. List existing events first to reuse a scope. Requires infrastructure_lifecycle_events:write scope.

ParameterTypeDescription
event_class *stringEvent type - preventative maintenance or rehabilitation
impact_method *stringEffect: add years of life, or reset condition to a value
name *stringEvent name (required, e.g. "Crack Sealing")
trigger_condition_max *integerUpper bound of the trigger window - the event fires when projected condition falls to this
cost_methodstringCosting: per unit (uses the feature's measured quantity and unit) or a fixed amount (default per_unit)
cost_sourcestringProvenance of the cost ("Engineering 2026", a tender reference)
diameter_min_mmnumberLower bound of a diameter band (requires material); bands ladder like rates
feature_classstringFeature class code the strategy scope applies to (omit for a material-wide scope; at least one of feature_class/material is required)
fixed_costnumberFixed cost (current dollars)
impact_add_yearsnumberYears added (required when impact_method is add_years)
impact_reset_tointegerCondition after the event (required when impact_method is reset_condition)
materialstringMaterial the scope applies to, exactly as features carry it (e.g. "PVC")
max_applicationsintegerHow many times the event may fire over a feature's life (default 1)
min_years_betweennumberMinimum years between firings of a recurring event (default 1)
sort_orderintegerEvaluation order within the strategy
trigger_condition_minintegerLower bound of the trigger window (default 0); a feature already below it has missed the event
unit_costnumberCost per unit (current dollars, never indexed)
work_generationstringWhat a due application of this event becomes when created from the interventions list: none (plan only, default), work_order, or project. Nothing is created on a schedule.
work_generation_category_idstringWork category for generated work orders - resolve with list_work_categories. Ignored unless work_generation is work_order.
work_generation_prioritystringPriority for generated work orders. Ignored unless work_generation is work_order.

update_infrastructure_lifecycle_event Update infrastructure lifecycle event

Update a lifecycle strategy event by ID. Editing re-confirms the cost (cost_reviewed_on is server-set). Set is_active false to disable an event without deleting it - projections recompute immediately. Requires infrastructure_lifecycle_events:write scope.

ParameterTypeDescription
id *stringLifecycle event ID
cost_methodstringCosting: per unit (uses the feature's measured quantity and unit) or a fixed amount (default per_unit)
cost_sourcestringProvenance of the cost ("Engineering 2026", a tender reference)
event_classstringEvent type - preventative maintenance or rehabilitation
fixed_costnumberFixed cost (current dollars)
impact_add_yearsnumberYears added (required when impact_method is add_years)
impact_methodstringEffect: add years of life, or reset condition to a value
impact_reset_tointegerCondition after the event (required when impact_method is reset_condition)
is_activebooleanDisable/enable the event
max_applicationsintegerHow many times the event may fire over a feature's life (default 1)
min_years_betweennumberMinimum years between firings of a recurring event (default 1)
namestringEvent name
sort_orderintegerEvaluation order within the strategy
trigger_condition_maxintegerUpper bound of the trigger window - the event fires when projected condition falls to this
trigger_condition_minintegerLower bound of the trigger window (default 0); a feature already below it has missed the event
unit_costnumberCost per unit (current dollars, never indexed)
work_generationstringWhat a due application of this event becomes when created from the interventions list: none (plan only, default), work_order, or project. Nothing is created on a schedule.
work_generation_category_idstringWork category for generated work orders - resolve with list_work_categories. Ignored unless work_generation is work_order.
work_generation_prioritystringPriority for generated work orders. Ignored unless work_generation is work_order.

delete_infrastructure_lifecycle_event Delete infrastructure lifecycle event

Delete a lifecycle strategy event by ID. Projections recompute immediately; consider update with is_active=false to disable instead. Requires infrastructure_lifecycle_events:write scope.

ParameterTypeDescription
id *stringLifecycle event ID

create_infrastructure_network Create infrastructure network

Create an infrastructure network - a named grouping of features bound to one feature class. Requires infrastructure_networks:write scope.

ParameterTypeDescription
feature_class *stringAsset class code (must exist; resolve via list_infrastructure_feature_classes)
name *stringNetwork name (required)
color_schemestringDisplay color scheme
criticalitystringHow strictly the network is held to its feature class's Level of Service targets: critical, high, medium or low. Unset is treated as medium; send null on update to clear it
descriptionstringDescription
metadataobjectFree-form JSON metadata

update_infrastructure_network Update infrastructure network

Update an existing infrastructure network by ID. Requires infrastructure_networks:write scope.

ParameterTypeDescription
id *stringInfrastructure network ID
color_schemestringDisplay color scheme
criticalityHow strictly the network is held to its feature class's Level of Service targets: critical, high, medium or low. Unset is treated as medium; send null on update to clear it
descriptionstringDescription
feature_classstringAsset class code
metadataobjectFree-form JSON metadata
namestringNetwork name

delete_infrastructure_network Delete infrastructure network

Delete an infrastructure network by ID. Cascades to all features in the network - confirm with the user before deleting. Requires infrastructure_networks:write scope.

ParameterTypeDescription
id *stringInfrastructure network ID

create_infrastructure_asset Create infrastructure asset

Create an infrastructure asset (feature - segment or node). Geometry must be GeoJSON Point (for nodes) or LineString (for segments) in EPSG:4326; coordinates are [longitude, latitude]. `length_m`, `slope_pct`, and `risk_score` are computed server-side. Requires infrastructure_assets:write scope.

ParameterTypeDescription
feature_type *string"segment" (LineString) or "node" (Point)
geometry *GeoJSON geometry - Point for nodes, LineString for segments
network_id *stringInfrastructure network ID (required)
asset_type_idstringAsset type ID
building_idstringBuilding ID
condition_scorenumberCondition score (0-100)
consequence_of_failure_scorenumber
data_sourcestringData source
depth_mnumberDepth (m)
descriptionstringDescription
diameter_mmnumberDiameter (mm)
environmental_impactstringLOW, MEDIUM, HIGH, CRITICAL
expected_lifetime_yearsnumberExpected lifetime (years)
external_idsobjectFree-form external ID map
feature_codestringFeature ID - human-readable asset identifier, unique per tenant (typically the source GIS asset id)
financial_impactstringLOW, MEDIUM, HIGH, CRITICAL
flow_directionstringFlow direction
from_feature_idstringFrom-node feature ID (segments)
from_invert_mnumberFrom-invert elevation (m)
from_streetstringFrom street (segments)
image_urlstringImage URL
install_datestringInstall date (YYYY-MM-DD)
lanesintegerLane count
last_maintenance_datestringLast maintenance date (YYYY-MM-DD)
likelihood_of_failure_scorenumber
location_idstringLocation ID
manufacturer_idstringManufacturer ID
materialstringMaterial
modelstringModel
namestringFeature name
positional_accuracy_classstringPositional accuracy class
purchase_costnumberPurchase cost
purchase_cost_calculation_methodstringCost calc method
purchase_datestringPurchase date (YYYY-MM-DD)
qr_codestringQR code
quantitynumberQuantity
regulatory_impactstringLOW, MEDIUM, HIGH, CRITICAL
reputation_impactstringLOW, MEDIUM, HIGH, CRITICAL
risk_factorstringRisk factor: CRITICAL, HIGH, MEDIUM, LOW
road_classO. Reg. 239/02 road class 1-6 (1-2 arterial, 3-4 collector, 5-6 local)
safety_impactstringLOW, MEDIUM, HIGH, CRITICAL
salvage_valuenumberSalvage value
salvage_value_percentagenumber
serial_numberstringSerial number
service_impactstringLOW, MEDIUM, HIGH, CRITICAL
site_idstringSite ID
status_idstringAsset status ID
system_class_idstringSystem class ID
system_group_idstringSystem group ID
system_idstringSystem ID
to_feature_idstringTo-node feature ID (segments)
to_invert_mnumberTo-invert elevation (m)
to_streetstringTo street (segments)
unit_of_measurestringUnit of measure
unit_replacement_valuenumberUnit replacement value
width_mnumberWidth (m)

update_infrastructure_asset Update infrastructure asset

Update an existing infrastructure asset (feature) by ID. To change geometry, provide a new GeoJSON Point/LineString matching the existing feature_type. Computed columns (length_m, slope_pct, risk_score) cannot be set. Requires infrastructure_assets:write scope.

ParameterTypeDescription
id *stringInfrastructure asset ID
asset_type_idstring
building_idstring
condition_scorenumber
consequence_of_failure_scorenumber
data_sourcestring
depth_mnumber
descriptionstring
diameter_mmnumber
environmental_impactstring
expected_lifetime_yearsnumber
external_idsobject
feature_codestring
financial_impactstring
flow_directionstring
from_feature_idstring
from_invert_mnumber
from_streetstring
geometryReplacement GeoJSON geometry
image_urlstring
install_datestring
lanesinteger
last_maintenance_datestring
likelihood_of_failure_scorenumber
location_idstring
manufacturer_idstring
materialstring
modelstring
namestring
positional_accuracy_classstring
purchase_costnumber
purchase_cost_calculation_methodstring
purchase_datestring
qr_codestring
quantitynumber
regulatory_impactstring
reputation_impactstring
risk_factorstring
road_classO. Reg. 239/02 road class 1-6 (1-2 arterial, 3-4 collector, 5-6 local)
safety_impactstring
salvage_valuenumber
salvage_value_percentagenumber
serial_numberstring
service_impactstring
site_idstring
status_idstring
system_class_idstring
system_group_idstring
system_idstring
to_feature_idstring
to_invert_mnumber
to_streetstring
unit_of_measurestring
unit_replacement_valuenumber
width_mnumber

delete_infrastructure_asset Delete infrastructure asset

Soft-delete an infrastructure asset (feature) by ID (sets deleted_at). Requires infrastructure_assets:write scope.

ParameterTypeDescription
id *stringInfrastructure asset ID

create_infrastructure_asset_inspection Create infrastructure asset inspection

Record an inspection against an infrastructure feature. Requires infrastructure_asset_inspections:write scope.

ParameterTypeDescription
feature_id *stringInfrastructure asset (feature) ID (required)
inspection_date *stringInspection date (YYYY-MM-DD, required)
attachmentsarrayAttachment URLs/paths
condition_scorenumberCondition score (0-100)
defectsobjectDefect observations (JSON)
inspector_idstringInspector user ID
methodstringInspection method (e.g. CCTV, visual)
notesstringFree-form notes

update_infrastructure_asset_inspection Update infrastructure asset inspection

Update an existing infrastructure asset inspection by ID. Requires infrastructure_asset_inspections:write scope.

ParameterTypeDescription
id *stringInspection ID
attachmentsarrayAttachment URLs/paths
condition_scorenumberCondition score
defectsobjectDefect observations
inspection_datestringInspection date (YYYY-MM-DD)
inspector_idstringInspector user ID
methodstringInspection method
notesstringNotes

delete_infrastructure_asset_inspection Delete infrastructure asset inspection

Soft-delete an infrastructure asset inspection by ID. Requires infrastructure_asset_inspections:write scope.

ParameterTypeDescription
id *stringInspection ID

create_asset_lifecycle_event Create asset lifecycle event

Create a facility lifecycle strategy event. Events attach to an asset-type SCOPE - exactly ONE of asset_type_id or asset_type_group_id - never to individual assets; an asset resolves its type's own strategy first, else its type group's. Replacement is NOT an event (it stays the renewal forecast + replacement value) - model the interventions BEFORE replacement: roof recoats, boiler retubes, overhauls. Resolve type ids with list_asset_types / list_asset_type_groups, and list existing events first to reuse a scope. Requires asset_lifecycle_events:write scope.

ParameterTypeDescription
event_class *stringEvent type - preventative maintenance or rehabilitation
impact_method *stringEffect: add years of life, or reset condition to a value
name *stringEvent name (required, e.g. "Roof recoat")
trigger_condition_max *integerUpper bound of the trigger window - the event fires when projected condition falls to this
asset_type_group_idstringAsset type group the scope applies to (exactly one of the two scope ids)
asset_type_idstringAsset type the strategy scope applies to (exactly one of the two scope ids)
cost_sourcestringProvenance of the cost ("Engineering 2026", a tender reference)
fixed_costnumberFixed cost per application (current dollars, never indexed)
impact_add_yearsnumberYears added (required when impact_method is add_years)
impact_reset_tointegerCondition after the event (required when impact_method is reset_condition)
max_applicationsintegerHow many times the event may fire over an asset's life (default 1)
min_years_betweennumberMinimum years between firings of a recurring event (default 1)
sort_orderintegerEvaluation order within the strategy
trigger_condition_minintegerLower bound of the trigger window (default 0); an asset already below it has missed the event
work_generationstringWhat a due application of this event becomes when created from the interventions list: none (plan only, default), work_order, or project. Nothing is created on a schedule.
work_generation_category_idstringWork category for generated work orders - resolve with list_work_categories. Ignored unless work_generation is work_order.
work_generation_prioritystringPriority for generated work orders. Ignored unless work_generation is work_order.

update_asset_lifecycle_event Update asset lifecycle event

Update a facility lifecycle strategy event by ID. Editing re-confirms the cost (cost_reviewed_on is server-set). Set is_active false to disable an event without deleting it - projections recompute immediately. Requires asset_lifecycle_events:write scope.

ParameterTypeDescription
id *stringLifecycle event ID
cost_sourcestringProvenance of the cost ("Engineering 2026", a tender reference)
event_classstringEvent type - preventative maintenance or rehabilitation
fixed_costnumberFixed cost per application (current dollars, never indexed)
impact_add_yearsnumberYears added (required when impact_method is add_years)
impact_methodstringEffect: add years of life, or reset condition to a value
impact_reset_tointegerCondition after the event (required when impact_method is reset_condition)
is_activebooleanDisable/enable the event
max_applicationsintegerHow many times the event may fire over an asset's life (default 1)
min_years_betweennumberMinimum years between firings of a recurring event (default 1)
namestringEvent name
sort_orderintegerEvaluation order within the strategy
trigger_condition_maxintegerUpper bound of the trigger window - the event fires when projected condition falls to this
trigger_condition_minintegerLower bound of the trigger window (default 0); an asset already below it has missed the event
work_generationstringWhat a due application of this event becomes when created from the interventions list: none (plan only, default), work_order, or project. Nothing is created on a schedule.
work_generation_category_idstringWork category for generated work orders - resolve with list_work_categories. Ignored unless work_generation is work_order.
work_generation_prioritystringPriority for generated work orders. Ignored unless work_generation is work_order.

delete_asset_lifecycle_event Delete asset lifecycle event

Delete a facility lifecycle strategy event by ID. Projections recompute immediately; consider update with is_active=false to disable instead. Requires asset_lifecycle_events:write scope.

ParameterTypeDescription
id *stringLifecycle event ID

create_asset_betterment Create asset betterment

Record capital work that ALREADY extended a facility asset's life - an elevator modernization, a boiler retube, a major component replacement. Required: asset_id, occurred_on, and at least one of capitalized_amount or added_life_years (work that adds neither changes nothing and is rejected). The asset's net book value and remaining life re-base from occurred_on, and its purchase_date is NEVER changed - if a user asks to change an in-service date to reflect an overhaul, record this instead and say why. Use asset_lifecycle_events for work expected in future; use a condition assessment for what s…

ParameterTypeDescription
asset_id *stringAsset the capital work was performed on (required)
occurred_on *stringDate the work went into service, YYYY-MM-DD (required). Not the invoice date - this is the date its value begins depreciating from.
added_life_yearsnumberExtra service life the work bought, in years. Required unless capitalized_amount is given.
asset_cost_idstringThe asset cost row holding the spend, so the money is not double-entered
asset_lifecycle_event_idstringThe lifecycle strategy event this executed, if any
capitalized_amountnumberAmount added to the asset value, in the organization currency (call get_organization_settings for currency_code). Required unless added_life_years is given.
descriptionstringWhat was actually done
project_idstringThe project that delivered it
work_order_idstringThe work order that delivered it

update_asset_betterment Update asset betterment

Update a betterment by ID. The asset it belongs to cannot be changed - delete and re-create to move one. The row must still add either capital or life after the update. Requires asset_betterments:write scope.

ParameterTypeDescription
id *stringBetterment ID
added_life_yearsnumberExtra service life the work bought, in years
capitalized_amountnumberAmount added to the asset value
descriptionstringWhat was actually done
occurred_onstringDate the work went into service, YYYY-MM-DD

delete_asset_betterment Delete asset betterment

Delete a betterment by ID. The asset's net book value and remaining life revert to what they were without it. Requires asset_betterments:write scope.

ParameterTypeDescription
id *stringBetterment ID

create_asset_condition_assessment Create asset condition assessment

Record a point-in-time condition assessment against an asset. Requires asset_condition_assessments:write scope. Call list_assets first to resolve asset_id.

ParameterTypeDescription
assessed_on *stringAssessment date (YYYY-MM-DD, required; today or earlier)
asset_id *stringAsset ID (required)
assessor_idstringAssessor user ID
condition_scoreintegerCondition score (0-100)
defectsobjectStructured defect findings (JSON)
methodstringAssessment method
notesstringFree-form notes
replacement_costnumberCurrent replacement value / CRV at assessment time
update_purchase_costbooleanDefault OFF - omit unless the user explicitly asks to update/overwrite the asset's purchase cost, or says their org treats purchase cost as the current replacement value. Recording an assessment does…

update_asset_condition_assessment Update asset condition assessment

Update an existing asset condition assessment by ID. Requires asset_condition_assessments:write scope. Note: the purchase-cost writeback is create-only and cannot be triggered by an update.

ParameterTypeDescription
id *stringAssessment ID
assessed_onstringAssessment date (YYYY-MM-DD, today or earlier)
assessor_idstringAssessor user ID
condition_scoreintegerCondition score (0-100)
defectsobjectStructured defect findings (JSON)
methodstringAssessment method
notesstringFree-form notes
replacement_costnumberCurrent replacement value / CRV

delete_asset_condition_assessment Delete asset condition assessment

Soft-delete an asset condition assessment by ID. Requires asset_condition_assessments:write scope.

ParameterTypeDescription
id *stringAssessment ID

create_infrastructure_asset_cost Create infrastructure asset cost

Record a cost against an infrastructure feature. work_order_number is derived server-side from work_order_id; do not set it. Requires infrastructure_asset_costs:write scope.

ParameterTypeDescription
amount *numberCost amount (required)
category *stringCost category (required)
cost_date *stringCost date (YYYY-MM-DD, required)
feature_id *stringInfrastructure feature ID (required)
invoice_numberstringInvoice number
po_numberstringPO number
purchase_order_idstringPurchase order that paid this cost - resolve via list_purchase_orders. Counts against the order's remaining balance unless the cost belongs to a work order.
work_order_idstringLinked work order ID

update_infrastructure_asset_cost Update infrastructure asset cost

Update an infrastructure asset cost by ID. Requires infrastructure_asset_costs:write scope.

ParameterTypeDescription
id *stringCost ID
amountnumberCost amount
categorystringCost category
cost_datestringCost date (YYYY-MM-DD)
invoice_numberstringInvoice number
po_numberstringPO number
purchase_order_idPurchase order that paid this cost - resolve via list_purchase_orders. Counts against the order's remaining balance unless the cost belongs to a work order; null clears it.
work_order_idstringLinked work order ID

delete_infrastructure_asset_cost Delete infrastructure asset cost

Delete an infrastructure asset cost by ID. Requires infrastructure_asset_costs:write scope.

ParameterTypeDescription
id *stringCost ID

create_infrastructure_asset_part Create infrastructure asset part

Associate a part with an infrastructure feature. The (feature_id, part_id) pair must be unique - a duplicate returns 409. Requires infrastructure_asset_parts:write scope.

ParameterTypeDescription
feature_id *stringInfrastructure feature ID (required)
part_id *stringPart ID (required; resolve via list_parts)
quantitynumberDesign/installed quantity (default 1)

update_infrastructure_asset_part Update infrastructure asset part

Update an infrastructure asset part association by ID. Requires infrastructure_asset_parts:write scope.

ParameterTypeDescription
id *stringAssociation ID
feature_idstringInfrastructure feature ID
part_idstringPart ID
quantitynumberDesign/installed quantity

delete_infrastructure_asset_part Delete infrastructure asset part

Delete an infrastructure asset part association by ID. Requires infrastructure_asset_parts:write scope.

ParameterTypeDescription
id *stringAssociation ID

create_infrastructure_asset_document Create infrastructure asset document

Attach document metadata to an infrastructure feature. Upload the file bytes first via create_upload_url, then pass the returned file_path here. Requires infrastructure_asset_documents:write scope.

ParameterTypeDescription
feature_id *stringInfrastructure feature ID (required)
file_path *stringStorage path from create_upload_url (required)
name *stringDocument name (required)
categorystringDocument category
descriptionstringDescription
file_sizenumberFile size in bytes
file_typestringMIME type

update_infrastructure_asset_document Update infrastructure asset document

Update infrastructure asset document metadata by ID. Requires infrastructure_asset_documents:write scope.

ParameterTypeDescription
id *stringDocument ID
categorystringDocument category
descriptionstringDescription
file_pathstringStorage path
file_sizenumberFile size in bytes
file_typestringMIME type
namestringDocument name

delete_infrastructure_asset_document Delete infrastructure asset document

Delete an infrastructure asset document by ID. Requires infrastructure_asset_documents:write scope.

ParameterTypeDescription
id *stringDocument ID

create_infrastructure_asset_comment Create infrastructure asset comment

Add a comment to an infrastructure feature. The author is attributed to the API key automatically; do not pass user_id. Requires infrastructure_asset_comments:write scope.

ParameterTypeDescription
comment *stringComment text (required)
feature_id *stringInfrastructure feature ID (required)

update_infrastructure_asset_comment Update infrastructure asset comment

Update an infrastructure asset comment by ID. Requires infrastructure_asset_comments:write scope.

ParameterTypeDescription
id *stringComment ID
commentstringComment text

delete_infrastructure_asset_comment Delete infrastructure asset comment

Delete an infrastructure asset comment by ID. Requires infrastructure_asset_comments:write scope.

ParameterTypeDescription
id *stringComment ID

create_infrastructure_zone Create infrastructure zone

Create an operational hydraulic boundary (pressure zone, DMA, sewershed, etc.). boundary is a GeoJSON Polygon, or a MultiPolygon when the area comes in separate pieces. (network_id, name) must be unique. Requires infrastructure_zones:write scope.

ParameterTypeDescription
boundary *GeoJSON Polygon or MultiPolygon (EPSG:4326). Each ring is closed; coordinates are [lon, lat]. Use MultiPolygon for a boundary in separate pieces - an area split by a rail corridor, or one containing a…
kind *stringZone kind (required)
name *stringZone name (required)
network_id *stringInfrastructure network ID (required)
codestringOptional short code (e.g. "PZ-04")
notesstringFree-form notes

update_infrastructure_zone Update infrastructure zone

Update an infrastructure zone by ID. Pass boundary as a GeoJSON Polygon or MultiPolygon to replace the geometry. Requires infrastructure_zones:write scope.

ParameterTypeDescription
id *stringZone ID
boundaryGeoJSON Polygon or MultiPolygon (EPSG:4326). Each ring is closed; coordinates are [lon, lat]. Use MultiPolygon for a boundary in separate pieces - an area split by a rail corridor, or one containing a…
codestringOptional short code
kindstringZone kind
namestringZone name
network_idstringInfrastructure network ID
notesstringFree-form notes

delete_infrastructure_zone Delete infrastructure zone

Delete an infrastructure zone by ID. Requires infrastructure_zones:write scope.

ParameterTypeDescription
id *stringZone ID

create_project_infrastructure_asset Create project infrastructure asset

Link a project to an infrastructure feature. The (project_id, feature_id) pair must be unique - a duplicate returns 409. Requires project_infrastructure_assets:write scope.

ParameterTypeDescription
feature_id *stringInfrastructure feature ID (required)
project_id *stringProject ID (required)
notesstringFree-form notes

update_project_infrastructure_asset Update project infrastructure asset

Update a project ↔ infrastructure feature link by ID. Requires project_infrastructure_assets:write scope.

ParameterTypeDescription
id *stringLink ID
feature_idstringInfrastructure feature ID
notesstringFree-form notes
project_idstringProject ID

delete_project_infrastructure_asset Delete project infrastructure asset

Delete a project ↔ infrastructure feature link by ID. Requires project_infrastructure_assets:write scope.

ParameterTypeDescription
id *stringLink ID

bulk_update Bulk update

Update multiple records of a resource type in one API call (max 100). Each item must include an "id" field (UUID). Each item is processed independently - one failure does not affect others. Returns per-item results. Requires {resource}:write scope. Counts as 1 request for rate limiting.

ParameterTypeDescription
items *arrayArray of objects to update (max 100). Each must include an "id" field (UUID) plus fields to change.
resource *stringResource type (e.g. "assets", "work-orders")

show_site_fci_trend Show site FCI trend

Show one site’s Facility Condition Index (FCI) history as a chart, in clients that render MCP Apps; other clients get the same summary as text. FCI is deferred renewal cost divided by current replacement value, a fraction where LOWER is healthier: good below 5%, fair 5-10%, poor 10% and above. It is not a 0-100 condition score. Resolve site_id with list_sites first.

ParameterTypeDescription
site_id *stringSite ID (required). Get it from list_sites.
daysintegerHow many days back to chart. Default 365.