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

# Every declared device, what was decided about it, and whether it is inside the fence.

> `exit_verdict` is what the gate would say if it were presented right now.



## OpenAPI

````yaml /api-reference/openapi.json get /device_registrations
openapi: 3.0.0
info:
  description: ''
  title: >-
    The only schema PostgREST exposes. Reads are security_invoker views; writes
    are SECURITY DEFINER functions. Rebuilt wholesale on every deploy — it holds
    no data.
  version: 12.2.3
servers:
  - url: https://app.assetinfinity.ai/api
security: []
tags:
  - name: Signing in
  - name: Profile
  - name: Assets
  - name: Asset lifecycle
  - name: Work lifecycle
  - name: Maintenance
  - name: Inventory
  - name: Inventory detail
  - name: Procurement
  - name: Contracts
  - name: Workforce
  - name: Capacity
  - name: Dispatch
  - name: Tools
  - name: Inspections
  - name: Verification
  - name: Reliability
  - name: Parts demand
  - name: Sensors and meters
  - name: Map
  - name: Floor plans
  - name: Labels
  - name: Lost and found
  - name: Root cause analysis
  - name: Reports
  - name: Audit center
  - name: Activity
  - name: Notifications
  - name: Channels
  - name: Search
  - name: Copilot
  - name: Import
  - name: Files
  - name: Sync
  - name: Support
  - name: Admin
  - name: Access
  - name: Lookups
  - name: Read models
  - name: Branding
  - name: Custom fields
  - name: Form studio
  - name: Workflows
  - name: Workflow studio
  - name: Rules
  - name: Statuses and transitions
  - name: Currencies and locales
  - name: Work configuration
  - name: Asset configuration
  - name: Inventory configuration
  - name: Tool configuration
  - name: Workforce configuration
  - name: Vendor and contract configuration
  - name: Document configuration
  - name: Inspection configuration
  - name: Sites, locations and the organisation
  - name: Platform
  - name: Amendments
  - name: Asset clone
  - name: Asset components
  - name: Asset register
  - name: Asset transfer
  - name: Audit feed
  - name: Billing
  - name: Bookings
  - name: Budgets
  - name: Bulk jobs
  - name: Calibration history
  - name: Capex plans
  - name: Conversations
  - name: Costing
  - name: Currency
  - name: Dashboards
  - name: Directory sync
  - name: Document control
  - name: Document folders
  - name: Document tree
  - name: Documents
  - name: Energy
  - name: Extracts
  - name: Features
  - name: Feeds
  - name: File exchange
  - name: Filing exceptions
  - name: Finance
  - name: Inbound mail
  - name: Keys
  - name: Knowledge
  - name: Licence
  - name: List views
  - name: Locations
  - name: Mapping
  - name: Mcp
  - name: Mcp oauth
  - name: Mfa
  - name: Numbering
  - name: Permits
  - name: Readers
  - name: Reference
  - name: Reference columns
  - name: Reference entry
  - name: Release
  - name: Scim
  - name: Security streams
  - name: Self verification
  - name: Setup
  - name: Shutdown
  - name: Sso
  - name: Telegram
  - name: Tenant switch
  - name: The caller's own work
  - name: The checklist library
  - name: Tools on a job, and who has them out
  - name: Tray
  - name: Vendor spend forecast
  - name: Vendors and contracts
  - name: Visitors
  - name: Work order execution
  - name: Work sequencing
  - name: Workforce detail
externalDocs:
  description: PostgREST Documentation
  url: https://postgrest.org/en/v12/references/api.html
paths:
  /device_registrations:
    get:
      tags:
        - Visitors
      summary: >-
        Every declared device, what was decided about it, and whether it is
        inside the fence.
      description: >-
        `exit_verdict` is what the gate would say if it were presented right
        now.
      parameters:
        - $ref: '#/components/parameters/rowFilter.device_registrations.id'
        - $ref: '#/components/parameters/rowFilter.device_registrations.reference'
        - $ref: '#/components/parameters/rowFilter.device_registrations.status'
        - $ref: '#/components/parameters/rowFilter.device_registrations.site_id'
        - $ref: '#/components/parameters/rowFilter.device_registrations.site_code'
        - $ref: '#/components/parameters/rowFilter.device_registrations.site_name'
        - $ref: '#/components/parameters/rowFilter.device_registrations.visit_id'
        - $ref: >-
            #/components/parameters/rowFilter.device_registrations.visit_reference
        - $ref: >-
            #/components/parameters/rowFilter.device_registrations.holder_user_id
        - $ref: '#/components/parameters/rowFilter.device_registrations.holder_name'
        - $ref: >-
            #/components/parameters/rowFilter.device_registrations.holder_company
        - $ref: >-
            #/components/parameters/rowFilter.device_registrations.registered_by_user_id
        - $ref: >-
            #/components/parameters/rowFilter.device_registrations.registered_by_name
        - $ref: '#/components/parameters/rowFilter.device_registrations.registered_at'
        - $ref: >-
            #/components/parameters/rowFilter.device_registrations.device_category_id
        - $ref: >-
            #/components/parameters/rowFilter.device_registrations.device_category
        - $ref: >-
            #/components/parameters/rowFilter.device_registrations.carries_storage
        - $ref: >-
            #/components/parameters/rowFilter.device_registrations.requires_authorisation
        - $ref: >-
            #/components/parameters/rowFilter.device_registrations.needs_authorisation
        - $ref: >-
            #/components/parameters/rowFilter.device_registrations.authorisation_decided_by
        - $ref: '#/components/parameters/rowFilter.device_registrations.description'
        - $ref: '#/components/parameters/rowFilter.device_registrations.manufacturer'
        - $ref: '#/components/parameters/rowFilter.device_registrations.model'
        - $ref: '#/components/parameters/rowFilter.device_registrations.serial_number'
        - $ref: '#/components/parameters/rowFilter.device_registrations.asset_tag'
        - $ref: >-
            #/components/parameters/rowFilter.device_registrations.storage_capacity_gb
        - $ref: '#/components/parameters/rowFilter.device_registrations.purpose'
        - $ref: '#/components/parameters/rowFilter.device_registrations.notes'
        - $ref: '#/components/parameters/rowFilter.device_registrations.may_enter'
        - $ref: '#/components/parameters/rowFilter.device_registrations.may_exit'
        - $ref: >-
            #/components/parameters/rowFilter.device_registrations.authorised_until
        - $ref: >-
            #/components/parameters/rowFilter.device_registrations.decided_by_user_id
        - $ref: >-
            #/components/parameters/rowFilter.device_registrations.decided_by_name
        - $ref: '#/components/parameters/rowFilter.device_registrations.decided_at'
        - $ref: >-
            #/components/parameters/rowFilter.device_registrations.decision_notes
        - $ref: '#/components/parameters/rowFilter.device_registrations.exit_verdict'
        - $ref: '#/components/parameters/rowFilter.device_registrations.exit_reason'
        - $ref: '#/components/parameters/rowFilter.device_registrations.is_on_site'
        - $ref: '#/components/parameters/rowFilter.device_registrations.last_seen_at'
        - $ref: '#/components/parameters/rowFilter.device_registrations.last_outcome'
        - $ref: '#/components/parameters/rowFilter.device_registrations.custom_fields'
        - $ref: '#/components/parameters/rowFilter.device_registrations.row_version'
        - $ref: '#/components/parameters/rowFilter.device_registrations.created_at'
        - $ref: '#/components/parameters/rowFilter.device_registrations.created_by_id'
        - $ref: >-
            #/components/parameters/rowFilter.device_registrations.created_by_name
        - $ref: >-
            #/components/parameters/rowFilter.device_registrations.created_source
        - $ref: '#/components/parameters/rowFilter.device_registrations.updated_at'
        - $ref: '#/components/parameters/rowFilter.device_registrations.updated_by_id'
        - $ref: >-
            #/components/parameters/rowFilter.device_registrations.updated_by_name
        - $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/device_registrations'
                type: array
            application/vnd.pgrst.object+json:
              schema:
                items:
                  $ref: '#/components/schemas/device_registrations'
                type: array
            application/vnd.pgrst.object+json;nulls=stripped:
              schema:
                items:
                  $ref: '#/components/schemas/device_registrations'
                type: array
            text/csv:
              schema:
                items:
                  $ref: '#/components/schemas/device_registrations'
                type: array
          description: OK
        '206':
          description: Partial Content
components:
  parameters:
    rowFilter.device_registrations.id:
      in: query
      name: id
      required: false
      schema:
        type: string
    rowFilter.device_registrations.reference:
      in: query
      name: reference
      required: false
      schema:
        type: string
    rowFilter.device_registrations.status:
      in: query
      name: status
      required: false
      schema:
        type: string
    rowFilter.device_registrations.site_id:
      in: query
      name: site_id
      required: false
      schema:
        type: string
    rowFilter.device_registrations.site_code:
      in: query
      name: site_code
      required: false
      schema:
        type: string
    rowFilter.device_registrations.site_name:
      in: query
      name: site_name
      required: false
      schema:
        type: string
    rowFilter.device_registrations.visit_id:
      in: query
      name: visit_id
      required: false
      schema:
        type: string
    rowFilter.device_registrations.visit_reference:
      in: query
      name: visit_reference
      required: false
      schema:
        type: string
    rowFilter.device_registrations.holder_user_id:
      in: query
      name: holder_user_id
      required: false
      schema:
        type: string
    rowFilter.device_registrations.holder_name:
      in: query
      name: holder_name
      required: false
      schema:
        type: string
    rowFilter.device_registrations.holder_company:
      in: query
      name: holder_company
      required: false
      schema:
        type: string
    rowFilter.device_registrations.registered_by_user_id:
      in: query
      name: registered_by_user_id
      required: false
      schema:
        type: string
    rowFilter.device_registrations.registered_by_name:
      in: query
      name: registered_by_name
      required: false
      schema:
        type: string
    rowFilter.device_registrations.registered_at:
      in: query
      name: registered_at
      required: false
      schema:
        type: string
    rowFilter.device_registrations.device_category_id:
      in: query
      name: device_category_id
      required: false
      schema:
        type: string
    rowFilter.device_registrations.device_category:
      in: query
      name: device_category
      required: false
      schema:
        type: string
    rowFilter.device_registrations.carries_storage:
      in: query
      name: carries_storage
      required: false
      schema:
        type: string
    rowFilter.device_registrations.requires_authorisation:
      in: query
      name: requires_authorisation
      required: false
      schema:
        type: string
    rowFilter.device_registrations.needs_authorisation:
      in: query
      name: needs_authorisation
      required: false
      schema:
        type: string
    rowFilter.device_registrations.authorisation_decided_by:
      in: query
      name: authorisation_decided_by
      required: false
      schema:
        type: string
    rowFilter.device_registrations.description:
      in: query
      name: description
      required: false
      schema:
        type: string
    rowFilter.device_registrations.manufacturer:
      in: query
      name: manufacturer
      required: false
      schema:
        type: string
    rowFilter.device_registrations.model:
      in: query
      name: model
      required: false
      schema:
        type: string
    rowFilter.device_registrations.serial_number:
      in: query
      name: serial_number
      required: false
      schema:
        type: string
    rowFilter.device_registrations.asset_tag:
      in: query
      name: asset_tag
      required: false
      schema:
        type: string
    rowFilter.device_registrations.storage_capacity_gb:
      in: query
      name: storage_capacity_gb
      required: false
      schema:
        type: string
    rowFilter.device_registrations.purpose:
      in: query
      name: purpose
      required: false
      schema:
        type: string
    rowFilter.device_registrations.notes:
      in: query
      name: notes
      required: false
      schema:
        type: string
    rowFilter.device_registrations.may_enter:
      in: query
      name: may_enter
      required: false
      schema:
        type: string
    rowFilter.device_registrations.may_exit:
      in: query
      name: may_exit
      required: false
      schema:
        type: string
    rowFilter.device_registrations.authorised_until:
      in: query
      name: authorised_until
      required: false
      schema:
        type: string
    rowFilter.device_registrations.decided_by_user_id:
      in: query
      name: decided_by_user_id
      required: false
      schema:
        type: string
    rowFilter.device_registrations.decided_by_name:
      in: query
      name: decided_by_name
      required: false
      schema:
        type: string
    rowFilter.device_registrations.decided_at:
      in: query
      name: decided_at
      required: false
      schema:
        type: string
    rowFilter.device_registrations.decision_notes:
      in: query
      name: decision_notes
      required: false
      schema:
        type: string
    rowFilter.device_registrations.exit_verdict:
      in: query
      name: exit_verdict
      required: false
      schema:
        type: string
    rowFilter.device_registrations.exit_reason:
      in: query
      name: exit_reason
      required: false
      schema:
        type: string
    rowFilter.device_registrations.is_on_site:
      in: query
      name: is_on_site
      required: false
      schema:
        type: string
    rowFilter.device_registrations.last_seen_at:
      in: query
      name: last_seen_at
      required: false
      schema:
        type: string
    rowFilter.device_registrations.last_outcome:
      in: query
      name: last_outcome
      required: false
      schema:
        type: string
    rowFilter.device_registrations.custom_fields:
      in: query
      name: custom_fields
      required: false
      schema:
        type: string
    rowFilter.device_registrations.row_version:
      in: query
      name: row_version
      required: false
      schema:
        type: string
    rowFilter.device_registrations.created_at:
      in: query
      name: created_at
      required: false
      schema:
        type: string
    rowFilter.device_registrations.created_by_id:
      in: query
      name: created_by_id
      required: false
      schema:
        type: string
    rowFilter.device_registrations.created_by_name:
      in: query
      name: created_by_name
      required: false
      schema:
        type: string
    rowFilter.device_registrations.created_source:
      in: query
      name: created_source
      required: false
      schema:
        type: string
    rowFilter.device_registrations.updated_at:
      in: query
      name: updated_at
      required: false
      schema:
        type: string
    rowFilter.device_registrations.updated_by_id:
      in: query
      name: updated_by_id
      required: false
      schema:
        type: string
    rowFilter.device_registrations.updated_by_name:
      in: query
      name: updated_by_name
      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:
    device_registrations:
      description: >-
        Every declared device, what was decided about it, and whether it is
        inside the fence.


        `exit_verdict` is what the gate would say if it were presented right
        now.
      properties:
        asset_tag:
          format: character varying
          maxLength: 80
          type: string
        authorisation_decided_by:
          format: text
          type: string
        authorised_until:
          format: date
          type: string
        carries_storage:
          format: boolean
          type: boolean
        created_at:
          format: timestamp with time zone
          type: string
        created_by_id:
          description: >-
            Note:

            This is a Foreign Key to `capex_invite_candidates.id`.<fk
            table='capex_invite_candidates' column='id'/>
          format: uuid
          type: string
        created_by_name:
          format: character varying
          maxLength: 200
          type: string
        created_source:
          format: text
          type: string
        custom_fields:
          format: jsonb
        decided_at:
          format: timestamp with time zone
          type: string
        decided_by_name:
          format: character varying
          maxLength: 200
          type: string
        decided_by_user_id:
          description: >-
            Note:

            This is a Foreign Key to `capex_invite_candidates.id`.<fk
            table='capex_invite_candidates' column='id'/>
          format: uuid
          type: string
        decision_notes:
          format: text
          type: string
        description:
          format: character varying
          maxLength: 200
          type: string
        device_category:
          format: character varying
          maxLength: 150
          type: string
        device_category_id:
          description: >-
            Note:

            This is a Foreign Key to `device_categories.id`.<fk
            table='device_categories' column='id'/>
          format: uuid
          type: string
        exit_reason:
          format: text
          type: string
        exit_verdict:
          format: text
          type: string
        holder_company:
          format: character varying
          type: string
        holder_name:
          format: character varying
          type: string
        holder_user_id:
          description: >-
            Note:

            This is a Foreign Key to `capex_invite_candidates.id`.<fk
            table='capex_invite_candidates' column='id'/>
          format: uuid
          type: string
        id:
          description: |-
            Note:
            This is a Primary Key.<pk/>
          format: uuid
          type: string
        is_on_site:
          format: boolean
          type: boolean
        last_outcome:
          format: character varying
          maxLength: 20
          type: string
        last_seen_at:
          format: timestamp with time zone
          type: string
        manufacturer:
          format: character varying
          maxLength: 80
          type: string
        may_enter:
          format: boolean
          type: boolean
        may_exit:
          format: boolean
          type: boolean
        model:
          format: character varying
          maxLength: 80
          type: string
        needs_authorisation:
          format: boolean
          type: boolean
        notes:
          format: text
          type: string
        purpose:
          format: character varying
          maxLength: 200
          type: string
        reference:
          format: character varying
          maxLength: 40
          type: string
        registered_at:
          format: timestamp with time zone
          type: string
        registered_by_name:
          format: character varying
          maxLength: 200
          type: string
        registered_by_user_id:
          description: >-
            Note:

            This is a Foreign Key to `capex_invite_candidates.id`.<fk
            table='capex_invite_candidates' column='id'/>
          format: uuid
          type: string
        requires_authorisation:
          format: boolean
          type: boolean
        row_version:
          format: bigint
          type: integer
        serial_number:
          format: character varying
          maxLength: 80
          type: string
        site_code:
          format: character varying
          maxLength: 50
          type: string
        site_id:
          description: >-
            Note:

            This is a Foreign Key to `entry_currencies.for_site_id`.<fk
            table='entry_currencies' column='for_site_id'/>
          format: uuid
          type: string
        site_name:
          format: character varying
          maxLength: 200
          type: string
        status:
          format: character varying
          maxLength: 20
          type: string
        storage_capacity_gb:
          format: integer
          type: integer
        updated_at:
          format: timestamp with time zone
          type: string
        updated_by_id:
          description: >-
            Note:

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

            This is a Foreign Key to `visits.id`.<fk table='visits'
            column='id'/>
          format: uuid
          type: string
        visit_reference:
          format: character varying
          maxLength: 40
          type: string
      type: object

````