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

# List meters

> Meters with their latest reading, the one before it, and the resulting rate per day.



## OpenAPI

````yaml /api-reference/integration.json get /asset_meters
openapi: 3.0.0
info:
  description: >-
    The calls an integration needs first. Every endpoint the application uses is
    in the complete reference.
  title: Asset Infinity integration API
  version: 12.2.3
servers:
  - url: https://app.assetinfinity.ai/api
security: []
tags:
  - description: >-
      Exchange an API key, or an email and password, for a short-lived session
      token, and send it as `Authorization: Bearer <token>` on every other call.
    name: Signing in
  - description: >-
      Where assets are and work happens. A location belongs to a site and may
      sit inside another location.
    name: Sites and locations
  - description: >-
      The asset register: read it, add to it, correct it, move an asset between
      sites and locations, and change its status.
    name: Assets
  - description: >-
      Report a problem. A request is triaged by a person, who turns it into a
      work order or turns it down.
    name: Work requests
  - description: >-
      Raise a job, give it to somebody, move it through the organisation's
      statuses, complete it and close it.
    name: Work orders
  - description: >-
      Send readings in. A meter reading brings the meter forward and raises any
      maintenance the usage has made due. A sensor reading can open or clear an
      alert.
    name: Meters and sensors
  - description: >-
      The part catalogue and what is on the shelf in each store, and the three
      movements an outside system most often records: a delivery in, an issue
      out and a correction.
    name: Parts and stock
  - description: >-
      Have the product call your system when something happens, instead of
      asking it on a timer.
    name: Webhooks
  - description: >-
      The calls behind every register that has no call of its own, answers to
      the organisation's own fields, and the two calls that answer what to send.
      `list_options` returns the ids a field accepts. `describe_call` returns
      the fields any call takes.
    name: Any record
externalDocs:
  description: PostgREST Documentation
  url: https://postgrest.org/en/v12/references/api.html
paths:
  /asset_meters:
    get:
      tags:
        - Meters and sensors
      summary: List meters
      description: >-
        Meters with their latest reading, the one before it, and the resulting
        rate per day.
      parameters:
        - $ref: '#/components/parameters/rowFilter.asset_meters.meter_id'
        - $ref: '#/components/parameters/rowFilter.asset_meters.asset_id'
        - $ref: '#/components/parameters/rowFilter.asset_meters.asset_number'
        - $ref: '#/components/parameters/rowFilter.asset_meters.asset_name'
        - $ref: '#/components/parameters/rowFilter.asset_meters.code'
        - $ref: '#/components/parameters/rowFilter.asset_meters.name'
        - $ref: '#/components/parameters/rowFilter.asset_meters.meter_type'
        - $ref: '#/components/parameters/rowFilter.asset_meters.unit_of_measure'
        - $ref: '#/components/parameters/rowFilter.asset_meters.current_reading'
        - $ref: '#/components/parameters/rowFilter.asset_meters.last_reading_at'
        - $ref: '#/components/parameters/rowFilter.asset_meters.last_reading_id'
        - $ref: '#/components/parameters/rowFilter.asset_meters.is_cumulative'
        - $ref: '#/components/parameters/rowFilter.asset_meters.rollover_value'
        - $ref: '#/components/parameters/rowFilter.asset_meters.is_active'
        - $ref: '#/components/parameters/rowFilter.asset_meters.reading_count'
        - $ref: '#/components/parameters/rowFilter.asset_meters.previous_reading'
        - $ref: '#/components/parameters/rowFilter.asset_meters.previous_reading_at'
        - $ref: '#/components/parameters/rowFilter.asset_meters.units_per_day'
        - $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/asset_meters'
                type: array
            application/vnd.pgrst.object+json:
              schema:
                items:
                  $ref: '#/components/schemas/asset_meters'
                type: array
            application/vnd.pgrst.object+json;nulls=stripped:
              schema:
                items:
                  $ref: '#/components/schemas/asset_meters'
                type: array
            text/csv:
              schema:
                items:
                  $ref: '#/components/schemas/asset_meters'
                type: array
          description: OK
        '206':
          description: Partial Content
components:
  parameters:
    rowFilter.asset_meters.meter_id:
      in: query
      name: meter_id
      required: false
      schema:
        type: string
    rowFilter.asset_meters.asset_id:
      in: query
      name: asset_id
      required: false
      schema:
        type: string
    rowFilter.asset_meters.asset_number:
      in: query
      name: asset_number
      required: false
      schema:
        type: string
    rowFilter.asset_meters.asset_name:
      in: query
      name: asset_name
      required: false
      schema:
        type: string
    rowFilter.asset_meters.code:
      in: query
      name: code
      required: false
      schema:
        type: string
    rowFilter.asset_meters.name:
      in: query
      name: name
      required: false
      schema:
        type: string
    rowFilter.asset_meters.meter_type:
      in: query
      name: meter_type
      required: false
      schema:
        type: string
    rowFilter.asset_meters.unit_of_measure:
      in: query
      name: unit_of_measure
      required: false
      schema:
        type: string
    rowFilter.asset_meters.current_reading:
      in: query
      name: current_reading
      required: false
      schema:
        type: string
    rowFilter.asset_meters.last_reading_at:
      in: query
      name: last_reading_at
      required: false
      schema:
        type: string
    rowFilter.asset_meters.last_reading_id:
      in: query
      name: last_reading_id
      required: false
      schema:
        type: string
    rowFilter.asset_meters.is_cumulative:
      in: query
      name: is_cumulative
      required: false
      schema:
        type: string
    rowFilter.asset_meters.rollover_value:
      in: query
      name: rollover_value
      required: false
      schema:
        type: string
    rowFilter.asset_meters.is_active:
      in: query
      name: is_active
      required: false
      schema:
        type: string
    rowFilter.asset_meters.reading_count:
      in: query
      name: reading_count
      required: false
      schema:
        type: string
    rowFilter.asset_meters.previous_reading:
      in: query
      name: previous_reading
      required: false
      schema:
        type: string
    rowFilter.asset_meters.previous_reading_at:
      in: query
      name: previous_reading_at
      required: false
      schema:
        type: string
    rowFilter.asset_meters.units_per_day:
      in: query
      name: units_per_day
      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:
    asset_meters:
      description: >-
        Meters with their latest reading, the one before it, and the resulting
        rate per day.
      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
        code:
          format: character varying
          maxLength: 60
          type: string
        current_reading:
          format: numeric
          type: number
        is_active:
          format: boolean
          type: boolean
        is_cumulative:
          format: boolean
          type: boolean
        last_reading_at:
          format: timestamp with time zone
          type: string
        last_reading_id:
          description: |-
            Note:
            This is a Primary Key.<pk/>
          format: uuid
          type: string
        meter_id:
          description: |-
            Note:
            This is a Primary Key.<pk/>
          format: uuid
          type: string
        meter_type:
          format: character varying
          maxLength: 60
          type: string
        name:
          format: character varying
          maxLength: 150
          type: string
        previous_reading:
          format: numeric
          type: number
        previous_reading_at:
          format: timestamp with time zone
          type: string
        reading_count:
          format: bigint
          type: integer
        rollover_value:
          format: numeric
          type: number
        unit_of_measure:
          format: character varying
          maxLength: 30
          type: string
        units_per_day:
          format: numeric
          type: number
      type: object

````

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