> ## Documentation Index
> Fetch the complete documentation index at: https://docs.herondata.io/llms.txt
> Use this file to discover all available pages before exploring further.

# List the account's lookup tables

> Every lookup table the account has, at its newest version, whether or not a policy version pins it. Editing one the draft doesn't pin pins it in the draft.




## OpenAPI

````yaml https://app.herondata.io/swagger get /api/policy_version/lookup_tables
openapi: 3.0.0
info:
  contact:
    email: support@herondata.io
    name: Support
  title: Heron Data API
  version: '2021-07-19'
servers:
  - description: Production
    url: https://app.herondata.io
security:
  - ApiKeyAuth:
      - key_XXX
externalDocs:
  description: Read Tutorial
  url: https://docs.herondata.io/
paths:
  /api/policy_version/lookup_tables:
    get:
      tags:
        - Policy Versions
      summary: List the account's lookup tables
      description: >
        Every lookup table the account has, at its newest version, whether or
        not a policy version pins it. Editing one the draft doesn't pin pins it
        in the draft.
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  column_type_value_sets:
                    description: >-
                      Column types whose cells come from a value set, e.g.
                      month_window
                    items:
                      $ref: '#/components/schemas/ColumnTypeValueSetSchema'
                    type: array
                  lookup_tables:
                    items:
                      $ref: '#/components/schemas/LookupTableSummarySchema'
                    type: array
                type: object
          description: OK
      security:
        - ApiKeyAuth: []
components:
  schemas:
    ColumnTypeValueSetSchema:
      properties:
        feeds:
          description: The variable settings a column of this type can supply
          items:
            $ref: '#/components/schemas/ColumnTypeFeed'
          type: array
        name:
          description: The type's display name, e.g. Month window
          type: string
        type:
          description: A lookup column type whose cells come from a value set
          enum:
            - years
            - money
            - number
            - list
            - month_window
        value_set:
          description: >-
            The value set its cells are chosen from; its options come from the
            value sets endpoint
          enum:
            - us_state
            - naics_industry
            - naics_code
            - restricted_industries
            - merchant
            - crm_decline_reason
            - iso_source_name
            - business_entity_type
            - fraud_network_finding
            - broker_velocity
            - broker_velocity_signal
            - fraud_network_scan_status
            - fraud_network_classification
            - industry_category
            - datamerch_note_category
            - complete_months
      required:
        - feeds
        - name
        - type
        - value_set
      type: object
    LookupTableSummarySchema:
      properties:
        heron_id:
          description: Heron ID of the lookup table
          type: string
        is_draft:
          description: True while the newest version can still be edited
          type: boolean
        key:
          allOf:
            - $ref: '#/components/schemas/LookupKey'
          description: >-
            The variable the newest version is looked up by; null when it can't
            be read
          nullable: true
        key_value_set:
          description: >-
            The values the key variable takes with its settings, e.g. us_state;
            null when it has no fixed list
          enum:
            - us_state
            - naics_industry
            - naics_code
            - restricted_industries
            - merchant
            - crm_decline_reason
            - iso_source_name
            - business_entity_type
            - fraud_network_finding
            - broker_velocity
            - broker_velocity_signal
            - fraud_network_scan_status
            - fraud_network_classification
            - industry_category
            - datamerch_note_category
            - complete_months
            - null
          nullable: true
        name:
          type: string
        version:
          description: The table's newest version
          type: integer
      required:
        - heron_id
        - is_draft
        - key
        - key_value_set
        - name
        - version
      type: object
    ColumnTypeFeed:
      properties:
        attribute_label:
          description: The variable whose setting reads the column
          type: string
        parameter:
          description: The setting the column's cells supply, e.g. month_count
          type: string
        requires:
          additionalProperties:
            type: string
          description: >-
            Other settings the rule must have for this setting to read a column;
            empty when none
          type: object
      required:
        - attribute_label
        - parameter
        - requires
      type: object
    LookupKey:
      properties:
        label:
          description: The variable the table is looked up by
          type: string
        parameters:
          additionalProperties:
            oneOf:
              - type: string
              - items:
                  type: string
                type: array
          description: >-
            The variable's settings, e.g. address and part; null when the
            variable takes none
          nullable: true
          type: object
      required:
        - label
        - parameters
      type: object
  securitySchemes:
    ApiKeyAuth:
      in: header
      name: x-api-key
      type: apiKey

````

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