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

# Where each commodity is metered, with the latest period's consumption and whether it feeds a meter.

> Where each commodity is metered, with the latest period's consumption and whether it feeds a meter. A supply point may name an asset; it always names a site.



## OpenAPI

````yaml /api-reference/openapi.json get /supply_points
openapi: 3.0.0
info:
  description: ''
  title: >-
    The only schema PostgREST exposes. Reads are security_invoker views; writes
    are SECURITY DEFINER functions. Rebuilt wholesale on every deploy — it holds
    no data.
  version: 12.2.3
servers:
  - url: https://app.assetinfinity.ai/api
security: []
tags:
  - name: Signing in
  - name: Profile
  - name: My work
  - name: Sites and locations
  - name: Assets
  - name: Asset lifecycle
  - name: Asset components
  - name: Work lifecycle
  - name: Work order execution
  - name: Work sequencing
  - name: Maintenance
  - name: Inspections
  - name: Checklists
  - name: Verification
  - name: Self verification
  - name: Inventory
  - name: Inventory detail
  - name: Parts demand
  - name: Procurement
  - name: Vendors and contracts
  - name: Contracts
  - name: Amendments
  - name: Vendor spend forecast
  - name: Workforce
  - name: Workforce detail
  - name: Capacity
  - name: Dispatch
  - name: Shutdown
  - name: Permits
  - name: Tools
  - name: Tools on jobs
  - name: Bookings
  - name: Calibration history
  - name: Reliability
  - name: Sensors and meters
  - name: Readers
  - name: Trackers
  - name: Real-time location
  - name: Feeds
  - name: Energy
  - name: IT assets
  - name: IT asset software
  - name: IT asset topology
  - name: Map
  - name: Floor plans
  - name: Labels
  - name: Lost and found
  - name: Visitors
  - name: Root cause analysis
  - name: Costing
  - name: Finance
  - name: Budgets
  - name: Capex plans
  - name: FF&E plans
  - name: Documents
  - name: Document control
  - name: Document folders
  - name: Document tree
  - name: Knowledge
  - name: Reports
  - name: Dashboards
  - name: Extracts
  - name: Data exports
  - name: Audit center
  - name: Audit feed
  - name: Activity
  - name: Conversations
  - name: Notifications
  - name: Date reminders
  - name: Channels
  - name: Search
  - name: Copilot
  - name: Import
  - name: Bulk jobs
  - name: File exchange
  - name: Filing exceptions
  - name: Files
  - name: Sync
  - name: Support
  - name: API keys
  - name: Webhooks
  - name: MCP connections
  - name: MCP sign-in
  - name: SCIM provisioning
  - name: Directory sync
  - name: Security streams
  - name: Single sign-on
  - name: Two-factor sign-in
  - name: Admin
  - name: Access
  - name: Lookups
  - name: Read models
  - name: Reference
  - name: Reference columns
  - name: Reference entry
  - name: List views
  - name: Mapping
  - name: Numbering
  - name: Branding
  - name: Custom fields
  - name: Form studio
  - name: Workflows
  - name: Workflow studio
  - name: Rules
  - name: Statuses and transitions
  - name: Currencies and locales
  - name: Today
  - name: Work configuration
  - name: Asset configuration
  - name: Inventory configuration
  - name: Tool configuration
  - name: Workforce configuration
  - name: Vendor and contract configuration
  - name: Document configuration
  - name: Inspection configuration
  - name: Sites, locations and the organisation
  - name: Setup
  - name: Features
  - name: Billing
  - name: Licence
  - name: Welcome
  - name: Tray
  - name: Tenant switch
  - name: Release
  - name: Telegram
  - name: Inbound mail
  - name: Platform
externalDocs:
  description: PostgREST Documentation
  url: https://postgrest.org/en/v12/references/api.html
paths:
  /supply_points:
    get:
      tags:
        - Energy
      summary: >-
        Where each commodity is metered, with the latest period's consumption
        and whether it feeds a meter.
      description: >-
        Where each commodity is metered, with the latest period's consumption
        and whether it feeds a meter. A supply point may name an asset; it
        always names a site.
      parameters:
        - $ref: '#/components/parameters/rowFilter.supply_points.id'
        - $ref: '#/components/parameters/rowFilter.supply_points.code'
        - $ref: '#/components/parameters/rowFilter.supply_points.name'
        - $ref: '#/components/parameters/rowFilter.supply_points.purpose'
        - $ref: '#/components/parameters/rowFilter.supply_points.commodity_id'
        - $ref: '#/components/parameters/rowFilter.supply_points.commodity_code'
        - $ref: '#/components/parameters/rowFilter.supply_points.commodity_name'
        - $ref: '#/components/parameters/rowFilter.supply_points.unit_code'
        - $ref: '#/components/parameters/rowFilter.supply_points.site_id'
        - $ref: '#/components/parameters/rowFilter.supply_points.site_name'
        - $ref: '#/components/parameters/rowFilter.supply_points.location_id'
        - $ref: '#/components/parameters/rowFilter.supply_points.location_name'
        - $ref: '#/components/parameters/rowFilter.supply_points.location_path'
        - $ref: '#/components/parameters/rowFilter.supply_points.place_ids'
        - $ref: '#/components/parameters/rowFilter.supply_points.asset_id'
        - $ref: '#/components/parameters/rowFilter.supply_points.asset_number'
        - $ref: '#/components/parameters/rowFilter.supply_points.asset_name'
        - $ref: '#/components/parameters/rowFilter.supply_points.meter_id'
        - $ref: '#/components/parameters/rowFilter.supply_points.meter_code'
        - $ref: '#/components/parameters/rowFilter.supply_points.meter_name'
        - $ref: '#/components/parameters/rowFilter.supply_points.is_cumulative'
        - $ref: '#/components/parameters/rowFilter.supply_points.rollover_value'
        - $ref: '#/components/parameters/rowFilter.supply_points.multiplier'
        - $ref: '#/components/parameters/rowFilter.supply_points.base_reading'
        - $ref: '#/components/parameters/rowFilter.supply_points.base_consumption'
        - $ref: '#/components/parameters/rowFilter.supply_points.weather_basis'
        - $ref: '#/components/parameters/rowFilter.supply_points.raises_work_order'
        - $ref: '#/components/parameters/rowFilter.supply_points.work_order_type_id'
        - $ref: '#/components/parameters/rowFilter.supply_points.work_order_type_code'
        - $ref: '#/components/parameters/rowFilter.supply_points.last_reading_at'
        - $ref: '#/components/parameters/rowFilter.supply_points.last_register_value'
        - $ref: '#/components/parameters/rowFilter.supply_points.is_active'
        - $ref: '#/components/parameters/rowFilter.supply_points.feeds_maintenance'
        - $ref: '#/components/parameters/rowFilter.supply_points.meter_feeders'
        - $ref: >-
            #/components/parameters/rowFilter.supply_points.latest_period_consumption
        - $ref: '#/components/parameters/rowFilter.supply_points.latest_period_start'
        - $ref: '#/components/parameters/rowFilter.supply_points.open_anomalies'
        - $ref: '#/components/parameters/select'
        - $ref: '#/components/parameters/order'
        - $ref: '#/components/parameters/range'
        - $ref: '#/components/parameters/rangeUnit'
        - $ref: '#/components/parameters/offset'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/preferCount'
      responses:
        '200':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/supply_points'
                type: array
            application/vnd.pgrst.object+json:
              schema:
                items:
                  $ref: '#/components/schemas/supply_points'
                type: array
            application/vnd.pgrst.object+json;nulls=stripped:
              schema:
                items:
                  $ref: '#/components/schemas/supply_points'
                type: array
            text/csv:
              schema:
                items:
                  $ref: '#/components/schemas/supply_points'
                type: array
          description: OK
        '206':
          description: Partial Content
components:
  parameters:
    rowFilter.supply_points.id:
      in: query
      name: id
      required: false
      schema:
        type: string
    rowFilter.supply_points.code:
      in: query
      name: code
      required: false
      schema:
        type: string
    rowFilter.supply_points.name:
      in: query
      name: name
      required: false
      schema:
        type: string
    rowFilter.supply_points.purpose:
      in: query
      name: purpose
      required: false
      schema:
        type: string
    rowFilter.supply_points.commodity_id:
      in: query
      name: commodity_id
      required: false
      schema:
        type: string
    rowFilter.supply_points.commodity_code:
      in: query
      name: commodity_code
      required: false
      schema:
        type: string
    rowFilter.supply_points.commodity_name:
      in: query
      name: commodity_name
      required: false
      schema:
        type: string
    rowFilter.supply_points.unit_code:
      in: query
      name: unit_code
      required: false
      schema:
        type: string
    rowFilter.supply_points.site_id:
      in: query
      name: site_id
      required: false
      schema:
        type: string
    rowFilter.supply_points.site_name:
      in: query
      name: site_name
      required: false
      schema:
        type: string
    rowFilter.supply_points.location_id:
      in: query
      name: location_id
      required: false
      schema:
        type: string
    rowFilter.supply_points.location_name:
      in: query
      name: location_name
      required: false
      schema:
        type: string
    rowFilter.supply_points.location_path:
      in: query
      name: location_path
      required: false
      schema:
        type: string
    rowFilter.supply_points.place_ids:
      in: query
      name: place_ids
      required: false
      schema:
        type: string
    rowFilter.supply_points.asset_id:
      in: query
      name: asset_id
      required: false
      schema:
        type: string
    rowFilter.supply_points.asset_number:
      in: query
      name: asset_number
      required: false
      schema:
        type: string
    rowFilter.supply_points.asset_name:
      in: query
      name: asset_name
      required: false
      schema:
        type: string
    rowFilter.supply_points.meter_id:
      in: query
      name: meter_id
      required: false
      schema:
        type: string
    rowFilter.supply_points.meter_code:
      in: query
      name: meter_code
      required: false
      schema:
        type: string
    rowFilter.supply_points.meter_name:
      in: query
      name: meter_name
      required: false
      schema:
        type: string
    rowFilter.supply_points.is_cumulative:
      in: query
      name: is_cumulative
      required: false
      schema:
        type: string
    rowFilter.supply_points.rollover_value:
      in: query
      name: rollover_value
      required: false
      schema:
        type: string
    rowFilter.supply_points.multiplier:
      in: query
      name: multiplier
      required: false
      schema:
        type: string
    rowFilter.supply_points.base_reading:
      in: query
      name: base_reading
      required: false
      schema:
        type: string
    rowFilter.supply_points.base_consumption:
      in: query
      name: base_consumption
      required: false
      schema:
        type: string
    rowFilter.supply_points.weather_basis:
      in: query
      name: weather_basis
      required: false
      schema:
        type: string
    rowFilter.supply_points.raises_work_order:
      in: query
      name: raises_work_order
      required: false
      schema:
        type: string
    rowFilter.supply_points.work_order_type_id:
      in: query
      name: work_order_type_id
      required: false
      schema:
        type: string
    rowFilter.supply_points.work_order_type_code:
      in: query
      name: work_order_type_code
      required: false
      schema:
        type: string
    rowFilter.supply_points.last_reading_at:
      in: query
      name: last_reading_at
      required: false
      schema:
        type: string
    rowFilter.supply_points.last_register_value:
      in: query
      name: last_register_value
      required: false
      schema:
        type: string
    rowFilter.supply_points.is_active:
      in: query
      name: is_active
      required: false
      schema:
        type: string
    rowFilter.supply_points.feeds_maintenance:
      in: query
      name: feeds_maintenance
      required: false
      schema:
        type: string
    rowFilter.supply_points.meter_feeders:
      in: query
      name: meter_feeders
      required: false
      schema:
        type: string
    rowFilter.supply_points.latest_period_consumption:
      in: query
      name: latest_period_consumption
      required: false
      schema:
        type: string
    rowFilter.supply_points.latest_period_start:
      in: query
      name: latest_period_start
      required: false
      schema:
        type: string
    rowFilter.supply_points.open_anomalies:
      in: query
      name: open_anomalies
      required: false
      schema:
        type: string
    select:
      description: Filtering Columns
      in: query
      name: select
      required: false
      schema:
        type: string
    order:
      description: Ordering
      in: query
      name: order
      required: false
      schema:
        type: string
    range:
      description: Limiting and Pagination
      in: header
      name: Range
      required: false
      schema:
        type: string
    rangeUnit:
      description: Limiting and Pagination
      in: header
      name: Range-Unit
      required: false
      schema:
        default: items
        type: string
    offset:
      description: Limiting and Pagination
      in: query
      name: offset
      required: false
      schema:
        type: string
    limit:
      description: Limiting and Pagination
      in: query
      name: limit
      required: false
      schema:
        type: string
    preferCount:
      description: Preference
      in: header
      name: Prefer
      required: false
      schema:
        enum:
          - count=none
        type: string
  schemas:
    supply_points:
      description: >-
        Where each commodity is metered, with the latest period's consumption
        and whether it feeds a meter. A supply point may name an asset; it
        always names a site.
      properties:
        asset_id:
          description: >-
            Note:

            This is a Foreign Key to `asset_contracts.asset_id`.<fk
            table='asset_contracts' column='asset_id'/>
          format: uuid
          type: string
        asset_name:
          format: character varying
          maxLength: 250
          type: string
        asset_number:
          format: character varying
          maxLength: 80
          type: string
        base_consumption:
          format: numeric
          type: number
        base_reading:
          format: numeric
          type: number
        code:
          format: character varying
          maxLength: 60
          type: string
        commodity_code:
          format: character varying
          maxLength: 40
          type: string
        commodity_id:
          description: >-
            Note:

            This is a Foreign Key to `commodities.id`.<fk table='commodities'
            column='id'/>
          format: uuid
          type: string
        commodity_name:
          format: character varying
          maxLength: 120
          type: string
        feeds_maintenance:
          format: boolean
          type: boolean
        id:
          description: |-
            Note:
            This is a Primary Key.<pk/>
          format: uuid
          type: string
        is_active:
          format: boolean
          type: boolean
        is_cumulative:
          format: boolean
          type: boolean
        last_reading_at:
          format: timestamp with time zone
          type: string
        last_register_value:
          format: numeric
          type: number
        latest_period_consumption:
          format: numeric
          type: number
        latest_period_start:
          format: date
          type: string
        location_id:
          description: >-
            Note:

            This is a Foreign Key to `location_settings.id`.<fk
            table='location_settings' column='id'/>
          format: uuid
          type: string
        location_name:
          format: character varying
          maxLength: 200
          type: string
        location_path:
          format: text
          type: string
        meter_code:
          format: character varying
          maxLength: 60
          type: string
        meter_feeders:
          format: bigint
          type: integer
        meter_id:
          description: >-
            Note:

            This is a Foreign Key to `asset_meters.meter_id`.<fk
            table='asset_meters' column='meter_id'/>
          format: uuid
          type: string
        meter_name:
          format: character varying
          maxLength: 150
          type: string
        multiplier:
          format: numeric
          type: number
        name:
          format: character varying
          maxLength: 150
          type: string
        open_anomalies:
          format: bigint
          type: integer
        place_ids:
          format: uuid[]
          items:
            type: string
          type: array
        purpose:
          format: character varying
          maxLength: 20
          type: string
        raises_work_order:
          format: boolean
          type: boolean
        rollover_value:
          format: numeric
          type: number
        site_id:
          description: >-
            Note:

            This is a Foreign Key to `entry_currencies.for_site_id`.<fk
            table='entry_currencies' column='for_site_id'/>
          format: uuid
          type: string
        site_name:
          format: character varying
          maxLength: 200
          type: string
        unit_code:
          format: character varying
          maxLength: 30
          type: string
        weather_basis:
          format: character varying
          maxLength: 10
          type: string
        work_order_type_code:
          format: character varying
          maxLength: 40
          type: string
        work_order_type_id:
          description: >-
            Note:

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

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.