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

# Scoring strategies and where each one applies. The most specific active profile governs a job.



## OpenAPI

````yaml /api-reference/openapi.json get /routing_profiles
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:
  /routing_profiles:
    get:
      tags:
        - Routing
      summary: >-
        Scoring strategies and where each one applies. The most specific active
        profile governs a job.
      parameters:
        - $ref: '#/components/parameters/rowFilter.routing_profiles.id'
        - $ref: '#/components/parameters/rowFilter.routing_profiles.code'
        - $ref: '#/components/parameters/rowFilter.routing_profiles.name'
        - $ref: '#/components/parameters/rowFilter.routing_profiles.purpose'
        - $ref: '#/components/parameters/rowFilter.routing_profiles.site_id'
        - $ref: '#/components/parameters/rowFilter.routing_profiles.site_code'
        - $ref: >-
            #/components/parameters/rowFilter.routing_profiles.work_order_type_id
        - $ref: '#/components/parameters/rowFilter.routing_profiles.work_order_type'
        - $ref: '#/components/parameters/rowFilter.routing_profiles.weight_skill'
        - $ref: '#/components/parameters/rowFilter.routing_profiles.weight_distance'
        - $ref: >-
            #/components/parameters/rowFilter.routing_profiles.weight_availability
        - $ref: '#/components/parameters/rowFilter.routing_profiles.weight_expertise'
        - $ref: '#/components/parameters/rowFilter.routing_profiles.weight_sla'
        - $ref: '#/components/parameters/rowFilter.routing_profiles.weight_resource'
        - $ref: '#/components/parameters/rowFilter.routing_profiles.weight_cost'
        - $ref: '#/components/parameters/rowFilter.routing_profiles.skill_percent'
        - $ref: '#/components/parameters/rowFilter.routing_profiles.is_active'
        - $ref: '#/components/parameters/rowFilter.routing_profiles.row_version'
        - $ref: '#/components/parameters/rowFilter.routing_profiles.updated_at'
        - $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/routing_profiles'
                type: array
            application/vnd.pgrst.object+json:
              schema:
                items:
                  $ref: '#/components/schemas/routing_profiles'
                type: array
            application/vnd.pgrst.object+json;nulls=stripped:
              schema:
                items:
                  $ref: '#/components/schemas/routing_profiles'
                type: array
            text/csv:
              schema:
                items:
                  $ref: '#/components/schemas/routing_profiles'
                type: array
          description: OK
        '206':
          description: Partial Content
components:
  parameters:
    rowFilter.routing_profiles.id:
      in: query
      name: id
      required: false
      schema:
        type: string
    rowFilter.routing_profiles.code:
      in: query
      name: code
      required: false
      schema:
        type: string
    rowFilter.routing_profiles.name:
      in: query
      name: name
      required: false
      schema:
        type: string
    rowFilter.routing_profiles.purpose:
      in: query
      name: purpose
      required: false
      schema:
        type: string
    rowFilter.routing_profiles.site_id:
      in: query
      name: site_id
      required: false
      schema:
        type: string
    rowFilter.routing_profiles.site_code:
      in: query
      name: site_code
      required: false
      schema:
        type: string
    rowFilter.routing_profiles.work_order_type_id:
      in: query
      name: work_order_type_id
      required: false
      schema:
        type: string
    rowFilter.routing_profiles.work_order_type:
      in: query
      name: work_order_type
      required: false
      schema:
        type: string
    rowFilter.routing_profiles.weight_skill:
      in: query
      name: weight_skill
      required: false
      schema:
        type: string
    rowFilter.routing_profiles.weight_distance:
      in: query
      name: weight_distance
      required: false
      schema:
        type: string
    rowFilter.routing_profiles.weight_availability:
      in: query
      name: weight_availability
      required: false
      schema:
        type: string
    rowFilter.routing_profiles.weight_expertise:
      in: query
      name: weight_expertise
      required: false
      schema:
        type: string
    rowFilter.routing_profiles.weight_sla:
      in: query
      name: weight_sla
      required: false
      schema:
        type: string
    rowFilter.routing_profiles.weight_resource:
      in: query
      name: weight_resource
      required: false
      schema:
        type: string
    rowFilter.routing_profiles.weight_cost:
      in: query
      name: weight_cost
      required: false
      schema:
        type: string
    rowFilter.routing_profiles.skill_percent:
      in: query
      name: skill_percent
      required: false
      schema:
        type: string
    rowFilter.routing_profiles.is_active:
      in: query
      name: is_active
      required: false
      schema:
        type: string
    rowFilter.routing_profiles.row_version:
      in: query
      name: row_version
      required: false
      schema:
        type: string
    rowFilter.routing_profiles.updated_at:
      in: query
      name: updated_at
      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:
    routing_profiles:
      description: >-
        Scoring strategies and where each one applies. The most specific active
        profile governs a job.
      properties:
        code:
          format: character varying
          maxLength: 60
          type: string
        id:
          description: |-
            Note:
            This is a Primary Key.<pk/>
          format: uuid
          type: string
        is_active:
          format: boolean
          type: boolean
        name:
          format: character varying
          maxLength: 150
          type: string
        purpose:
          format: character varying
          maxLength: 200
          type: string
        row_version:
          format: bigint
          type: integer
        site_code:
          format: character varying
          maxLength: 50
          type: string
        site_id:
          description: >-
            Note:

            This is a Foreign Key to `site_settings.id`.<fk
            table='site_settings' column='id'/>
          format: uuid
          type: string
        skill_percent:
          format: numeric
          type: number
        updated_at:
          format: timestamp with time zone
          type: string
        weight_availability:
          format: numeric
          type: number
        weight_cost:
          format: numeric
          type: number
        weight_distance:
          format: numeric
          type: number
        weight_expertise:
          format: numeric
          type: number
        weight_resource:
          format: numeric
          type: number
        weight_skill:
          format: numeric
          type: number
        weight_sla:
          format: numeric
          type: number
        work_order_type:
          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

````

## Related topics

- [Working a job](/field/job.md)
- [Work settings](/config/work.md)
- [Finding your way around](/get-started/navigating.md)
- [Inside an asset](/assets/detail.md)
- [Rules](/config/rules.md)
