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

# What else will do: alternatives and approved substitutes, with what is on the shelf of each.



## OpenAPI

````yaml /api-reference/openapi.json get /part_relationships
openapi: 3.0.0
info:
  description: ''
  title: >-
    The only schema PostgREST exposes (ADR-014). 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: Routing
  - 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: Self verification
  - name: Setup
  - name: Tools on a job, and who has them out
  - name: Vendors and contracts
  - name: Work order execution
  - name: Workforce detail
externalDocs:
  description: PostgREST Documentation
  url: https://postgrest.org/en/v12/references/api.html
paths:
  /part_relationships:
    get:
      tags:
        - Inventory detail
      summary: >-
        What else will do: alternatives and approved substitutes, with what is
        on the shelf of each.
      parameters:
        - $ref: '#/components/parameters/rowFilter.part_relationships.id'
        - $ref: '#/components/parameters/rowFilter.part_relationships.part_id'
        - $ref: '#/components/parameters/rowFilter.part_relationships.relationship'
        - $ref: '#/components/parameters/rowFilter.part_relationships.related_part_id'
        - $ref: >-
            #/components/parameters/rowFilter.part_relationships.related_part_number
        - $ref: >-
            #/components/parameters/rowFilter.part_relationships.related_part_name
        - $ref: >-
            #/components/parameters/rowFilter.part_relationships.compatibility_score
        - $ref: >-
            #/components/parameters/rowFilter.part_relationships.conversion_ratio
        - $ref: >-
            #/components/parameters/rowFilter.part_relationships.is_bidirectional
        - $ref: '#/components/parameters/rowFilter.part_relationships.notes'
        - $ref: >-
            #/components/parameters/rowFilter.part_relationships.related_available_quantity
        - $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/part_relationships'
                type: array
            application/vnd.pgrst.object+json:
              schema:
                items:
                  $ref: '#/components/schemas/part_relationships'
                type: array
            application/vnd.pgrst.object+json;nulls=stripped:
              schema:
                items:
                  $ref: '#/components/schemas/part_relationships'
                type: array
            text/csv:
              schema:
                items:
                  $ref: '#/components/schemas/part_relationships'
                type: array
          description: OK
        '206':
          description: Partial Content
components:
  parameters:
    rowFilter.part_relationships.id:
      in: query
      name: id
      required: false
      schema:
        type: string
    rowFilter.part_relationships.part_id:
      in: query
      name: part_id
      required: false
      schema:
        type: string
    rowFilter.part_relationships.relationship:
      in: query
      name: relationship
      required: false
      schema:
        type: string
    rowFilter.part_relationships.related_part_id:
      in: query
      name: related_part_id
      required: false
      schema:
        type: string
    rowFilter.part_relationships.related_part_number:
      in: query
      name: related_part_number
      required: false
      schema:
        type: string
    rowFilter.part_relationships.related_part_name:
      in: query
      name: related_part_name
      required: false
      schema:
        type: string
    rowFilter.part_relationships.compatibility_score:
      in: query
      name: compatibility_score
      required: false
      schema:
        type: string
    rowFilter.part_relationships.conversion_ratio:
      in: query
      name: conversion_ratio
      required: false
      schema:
        type: string
    rowFilter.part_relationships.is_bidirectional:
      in: query
      name: is_bidirectional
      required: false
      schema:
        type: string
    rowFilter.part_relationships.notes:
      in: query
      name: notes
      required: false
      schema:
        type: string
    rowFilter.part_relationships.related_available_quantity:
      in: query
      name: related_available_quantity
      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:
    part_relationships:
      description: >-
        What else will do: alternatives and approved substitutes, with what is
        on the shelf of each.
      properties:
        compatibility_score:
          format: numeric
          type: number
        conversion_ratio:
          format: numeric
          type: number
        id:
          format: uuid
          type: string
        is_bidirectional:
          format: boolean
          type: boolean
        notes:
          format: text
          type: string
        part_id:
          format: uuid
          type: string
        related_available_quantity:
          format: numeric
          type: number
        related_part_id:
          format: uuid
          type: string
        related_part_name:
          format: character varying
          maxLength: 250
          type: string
        related_part_number:
          format: character varying
          maxLength: 80
          type: string
        relationship:
          format: text
          type: string
      type: object

````

## Related topics

- [Inside a part](/inventory/part-detail.md)
- [Inside a vendor](/commercial/vendor-detail.md)
- [Reorder recommendations](/inventory/reorder.md)
- [Core concepts](/core-concepts.md)
- [Finding your way around](/get-started/navigating.md)
