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

# Saved column mappings, so the second file from a customer arrives already mapped.

> Only the ones somebody chose to keep: a template exists for every batch, and offering all of them
back would be a list of every file ever uploaded.



## OpenAPI

````yaml /api-reference/openapi.json get /import_templates
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:
  /import_templates:
    get:
      tags:
        - Import
      summary: >-
        Saved column mappings, so the second file from a customer arrives
        already mapped.
      description: >-
        Only the ones somebody chose to keep: a template exists for every batch,
        and offering all of them

        back would be a list of every file ever uploaded.
      parameters:
        - $ref: '#/components/parameters/rowFilter.import_templates.id'
        - $ref: '#/components/parameters/rowFilter.import_templates.organization_id'
        - $ref: '#/components/parameters/rowFilter.import_templates.name'
        - $ref: '#/components/parameters/rowFilter.import_templates.entity_type'
        - $ref: '#/components/parameters/rowFilter.import_templates.header_signature'
        - $ref: '#/components/parameters/rowFilter.import_templates.natural_key_field'
        - $ref: '#/components/parameters/rowFilter.import_templates.write_mode'
        - $ref: '#/components/parameters/rowFilter.import_templates.is_shared'
        - $ref: '#/components/parameters/rowFilter.import_templates.last_used_at'
        - $ref: '#/components/parameters/rowFilter.import_templates.aliases'
        - $ref: '#/components/parameters/rowFilter.import_templates.mapped_fields'
        - $ref: '#/components/parameters/rowFilter.import_templates.row_version'
        - $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/import_templates'
                type: array
            application/vnd.pgrst.object+json:
              schema:
                items:
                  $ref: '#/components/schemas/import_templates'
                type: array
            application/vnd.pgrst.object+json;nulls=stripped:
              schema:
                items:
                  $ref: '#/components/schemas/import_templates'
                type: array
            text/csv:
              schema:
                items:
                  $ref: '#/components/schemas/import_templates'
                type: array
          description: OK
        '206':
          description: Partial Content
components:
  parameters:
    rowFilter.import_templates.id:
      in: query
      name: id
      required: false
      schema:
        type: string
    rowFilter.import_templates.organization_id:
      in: query
      name: organization_id
      required: false
      schema:
        type: string
    rowFilter.import_templates.name:
      in: query
      name: name
      required: false
      schema:
        type: string
    rowFilter.import_templates.entity_type:
      in: query
      name: entity_type
      required: false
      schema:
        type: string
    rowFilter.import_templates.header_signature:
      in: query
      name: header_signature
      required: false
      schema:
        type: string
    rowFilter.import_templates.natural_key_field:
      in: query
      name: natural_key_field
      required: false
      schema:
        type: string
    rowFilter.import_templates.write_mode:
      in: query
      name: write_mode
      required: false
      schema:
        type: string
    rowFilter.import_templates.is_shared:
      in: query
      name: is_shared
      required: false
      schema:
        type: string
    rowFilter.import_templates.last_used_at:
      in: query
      name: last_used_at
      required: false
      schema:
        type: string
    rowFilter.import_templates.aliases:
      in: query
      name: aliases
      required: false
      schema:
        type: string
    rowFilter.import_templates.mapped_fields:
      in: query
      name: mapped_fields
      required: false
      schema:
        type: string
    rowFilter.import_templates.row_version:
      in: query
      name: row_version
      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:
    import_templates:
      description: >-
        Saved column mappings, so the second file from a customer arrives
        already mapped.


        Only the ones somebody chose to keep: a template exists for every batch,
        and offering all of them

        back would be a list of every file ever uploaded.
      properties:
        aliases:
          format: bigint
          type: integer
        entity_type:
          description: >-
            Note:

            This is a Foreign Key to `custom_field_scopes.entity`.<fk
            table='custom_field_scopes' column='entity'/>
          format: character varying
          maxLength: 80
          type: string
        header_signature:
          format: text
          type: string
        id:
          description: |-
            Note:
            This is a Primary Key.<pk/>
          format: uuid
          type: string
        is_shared:
          format: boolean
          type: boolean
        last_used_at:
          format: timestamp with time zone
          type: string
        mapped_fields:
          format: bigint
          type: integer
        name:
          format: character varying
          maxLength: 200
          type: string
        natural_key_field:
          format: character varying
          maxLength: 63
          type: string
        organization_id:
          description: >-
            Note:

            This is a Foreign Key to `copilot_settings.organization_id`.<fk
            table='copilot_settings' column='organization_id'/>
          format: uuid
          type: string
        row_version:
          format: bigint
          type: integer
        write_mode:
          format: character varying
          maxLength: 20
          type: string
      type: object

````

## Related topics

- [Document settings](/config/documents.md)
- [Technicians](/workforce/technicians.md)
- [Vendors](/commercial/vendors.md)
- [The work order list](/work/work-orders.md)
- [Reports](/analytics/reports.md)
