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

# List codes

> Each datasource/domain/code retains its own label, sort and hidden values before cross-instance dictionary folding. Domain filters are required. The dictionary is source-bounded and refuses overflow; it is not paginated. A live code list (code_list, industry, additional_interest_type, profile_question, notification_type, transaction_type, activity_action, activity_checkpoint, activity_entity_type, task_action, task_entity_type, document_type, specialty_entry_type, service_agreement_type) is one domain read alone from the system of record by a seat bound to it, with that list's views and selectors and scheme paging; its rows carry source_key and source_fields until the catalog names the list's fields, and a seat the warehouse serves answers its absence. The domains rollup preserves the grouped dictionary. The agency's setup lists (line_of_business, document_classification, profile_question, carrier_question, relationship_type, relationship, code_string, coverage_code) are each a domain read alone with scheme paging: a warehouse seat reads their declared fields (code_string narrows by attribute_code), a seat bound to the system of record reads the live list where one exists.



## OpenAPI

````yaml /openapi.generated.json get /records/codes
openapi: 3.1.0
info:
  description: >-
    Public API reference. Generated from apps/engine/openapi.yaml by make
    docs-openapi-write. Do not edit.
  title: Nexio platform API
  version: '1'
servers:
  - url: https://api.usenexio.com
security: []
tags:
  - name: Access
  - name: Catalog
  - name: Conversations
  - name: Documents
  - name: Engines
  - name: Events
  - name: Feedback
  - name: Graph
  - name: Records
  - name: Roadmap
  - name: Runs
  - name: Webhooks
  - name: accounts
  - name: actions
  - name: activities
  - name: activity-feed
  - name: attachments
  - name: audit
  - name: benefit-plans
  - name: billing-transactions
  - name: carrier_documents
  - name: certificate-holders
  - name: certificate_drafts
  - name: certificates
  - name: change_feed
  - name: claims
  - name: classes
  - name: codes
  - name: commission_facts
  - name: connections
  - name: contacts
  - name: contingencies
  - name: conversations
  - name: customer
  - name: customer_contacts
  - name: deals
  - name: dependents
  - name: document_extractions
  - name: documents
  - name: drivers
  - name: eforms
  - name: employees
  - name: events
  - name: feature_requests
  - name: form-templates
  - name: invoices
  - name: leads
  - name: line_schedules_other
  - name: loss_history
  - name: machines
  - name: markets
  - name: motor-carriers
  - name: notes
  - name: opportunities
  - name: opportunity-signals
  - name: pages
  - name: personal_lines_detail
  - name: placement_choices
  - name: placement_feedback
  - name: placements
  - name: policies
  - name: policy_parties
  - name: policy_personnel
  - name: policy_transactions
  - name: premium_rows
  - name: procedures
  - name: proposals
  - name: quote_comparisons
  - name: quotes
  - name: records
  - name: register-views
  - name: renewal-entries
  - name: risk_review_choices
  - name: rollups
  - name: seats
  - name: sec-filings
  - name: service_agreements
  - name: submissions
  - name: suspenses
  - name: tasks
  - name: umbrella_underlying
  - name: underwriting_questions
  - name: uploaded_documents
  - name: vehicles
  - name: workflows
paths:
  /records/codes:
    get:
      tags:
        - codes
      summary: List codes
      description: >-
        Each datasource/domain/code retains its own label, sort and hidden
        values before cross-instance dictionary folding. Domain filters are
        required. The dictionary is source-bounded and refuses overflow; it is
        not paginated. A live code list (code_list, industry,
        additional_interest_type, profile_question, notification_type,
        transaction_type, activity_action, activity_checkpoint,
        activity_entity_type, task_action, task_entity_type, document_type,
        specialty_entry_type, service_agreement_type) is one domain read alone
        from the system of record by a seat bound to it, with that list's views
        and selectors and scheme paging; its rows carry source_key and
        source_fields until the catalog names the list's fields, and a seat the
        warehouse serves answers its absence. The domains rollup preserves the
        grouped dictionary. The agency's setup lists (line_of_business,
        document_classification, profile_question, carrier_question,
        relationship_type, relationship, code_string, coverage_code) are each a
        domain read alone with scheme paging: a warehouse seat reads their
        declared fields (code_string narrows by attribute_code), a seat bound to
        the system of record reads the live list where one exists.
      operationId: listVocabularyCodes
      parameters:
        - description: >-
            The member the read is made for (a WorkOS user id). Unset keeps the
            org-wide posture the key alone grants.
          in: header
          name: Nexio-Act-As
          schema:
            description: >-
              The member the read is made for (a WorkOS user id). Unset keeps
              the org-wide posture the key alone grants.
            type: string
        - description: >-
            The acting member's verified email, lowercased. Ignored without
            Nexio-Act-As.
          in: header
          name: Nexio-Act-As-Email
          schema:
            description: >-
              The acting member's verified email, lowercased. Ignored without
              Nexio-Act-As.
            type: string
        - description: The calling application (workbench).
          in: header
          name: Nexio-Consumer
          schema:
            description: The calling application (workbench).
            type: string
        - description: The calling application's build.
          in: header
          name: Nexio-Consumer-Build
          schema:
            description: The calling application's build.
            type: string
        - description: The access vocabulary hash the calling build was generated against.
          in: header
          name: Nexio-Consumer-Vocabulary
          schema:
            description: >-
              The access vocabulary hash the calling build was generated
              against.
            type: string
        - description: >-
            A caller-chosen request id, echoed in the Nexio-Request-Id response
            header.
          in: header
          name: Nexio-Request-Id
          schema:
            description: >-
              A caller-chosen request id, echoed in the Nexio-Request-Id
              response header.
            type: string
        - description: >-
            The caller's remaining budget for this request, in whole
            milliseconds (1 to 10 digits, greater than zero), relative to
            receipt. The engine stops work at the shorter of this and the
            route's own budget, and answers 504 request_timeout when it expires.
            A value above the route budget is capped to it; a malformed value is
            ignored.
          in: header
          name: Nexio-Timeout
          schema:
            description: >-
              The caller's remaining budget for this request, in whole
              milliseconds (1 to 10 digits, greater than zero), relative to
              receipt. The engine stops work at the shorter of this and the
              route's own budget, and answers 504 request_timeout when it
              expires. A value above the route budget is capped to it; a
              malformed value is ignored.
            type: string
        - description: >-
            The book to read: own, book:&lt;code&gt; or member:&lt;id&gt;.
            Source views do not admit owner filters. Absent: the seat's can-open
            boundary. Frozen in the cursor.
          explode: true
          in: query
          name: subject
          schema:
            description: >-
              The book to read: own, book:&lt;code&gt; or member:&lt;id&gt;.
              Source views do not admit owner filters. Absent: the seat's
              can-open boundary. Frozen in the cursor.
            items:
              type: string
            type:
              - array
              - 'null'
        - description: >-
            Page size. Defaults to 25; a larger value than 200 is coerced to 200
            with a LIMIT_COERCED warning.
          explode: false
          in: query
          name: limit
          schema:
            description: >-
              Page size. Defaults to 25; a larger value than 200 is coerced to
              200 with a LIMIT_COERCED warning.
            format: int64
            minimum: 1
            type: integer
        - description: >-
            The opaque page.next of the previous page. Filters, sort and subject
            are frozen inside it.
          explode: false
          in: query
          name: cursor
          schema:
            description: >-
              The opaque page.next of the previous page. Filters, sort and
              subject are frozen inside it.
            type: string
        - description: true adds total, the row count of the whole relation.
          explode: false
          in: query
          name: include_total
          schema:
            description: true adds total, the row count of the whole relation.
            type: boolean
        - description: >-
            Required dictionary domains, comma-separated or repeated; the
            dictionary is not paginated and the source bounds the number of
            domains. A live code list is one domain read alone, with scheme
            paging, by a seat bound to the system of record: code_list,
            industry, additional_interest_type, profile_question,
            notification_type, transaction_type, activity_action,
            activity_checkpoint, activity_entity_type, task_action,
            task_entity_type, document_type, specialty_entry_type,
            service_agreement_type. A seat the warehouse serves answers a live
            list's absence.
          explode: false
          in: query
          name: domain
          schema:
            description: >-
              Required dictionary domains, comma-separated or repeated; the
              dictionary is not paginated and the source bounds the number of
              domains. A live code list is one domain read alone, with scheme
              paging, by a seat bound to the system of record: code_list,
              industry, additional_interest_type, profile_question,
              notification_type, transaction_type, activity_action,
              activity_checkpoint, activity_entity_type, task_action,
              task_entity_type, document_type, specialty_entry_type,
              service_agreement_type. A seat the warehouse serves answers a live
              list's absence.
            items:
              type: string
            type:
              - array
              - 'null'
        - description: >-
            A live code list's view. code_list: agency (default), values.
            industry: naics (default), naics-detail, sic. activity_entity_type,
            task_action, task_entity_type: list (default), alternate. Every
            other list: list.
          explode: false
          in: query
          name: view
          schema:
            description: >-
              A live code list's view. code_list: agency (default), values.
              industry: naics (default), naics-detail, sic.
              activity_entity_type, task_action, task_entity_type: list
              (default), alternate. Every other list: list.
            enum:
              - list
              - alternate
              - agency
              - values
              - naics
              - naics-detail
              - sic
              - basic
              - full
              - filtered
              - record
              - by-company
            type: string
        - description: 'code_list agency: the list''s attribute code; unset lists every list.'
          explode: false
          in: query
          name: attribute_code
          schema:
            description: >-
              code_list agency: the list's attribute code; unset lists every
              list.
            type: string
        - description: 'code_list values: the value list''s name (required).'
          explode: false
          in: query
          name: list
          schema:
            description: 'code_list values: the value list''s name (required).'
            type: string
        - description: 'industry naics and naics-detail (required there): a NAICS code.'
          explode: false
          in: query
          name: code
          schema:
            description: 'industry naics and naics-detail (required there): a NAICS code.'
            type: string
        - description: 'industry naics: a name.'
          explode: false
          in: query
          name: name
          schema:
            description: 'industry naics: a name.'
            type: string
        - description: 'industry naics: true or false.'
          explode: false
          in: query
          name: active
          schema:
            description: 'industry naics: true or false.'
            type: string
        - description: 'industry sic: a SIC code.'
          explode: false
          in: query
          name: sic_code
          schema:
            description: 'industry sic: a SIC code.'
            type: string
        - description: 'industry sic: a description.'
          explode: false
          in: query
          name: description
          schema:
            description: 'industry sic: a description.'
            type: string
        - description: 'additional_interest_type: true for the master certificate interests.'
          explode: false
          in: query
          name: master_certificate
          schema:
            description: >-
              additional_interest_type: true for the master certificate
              interests.
            type: string
        - description: 'notification_type: the notification version.'
          explode: false
          in: query
          name: version
          schema:
            description: 'notification_type: the notification version.'
            type: string
        - description: >-
            activity_checkpoint: one checkpoint code (1 claim, 4 customer, 6
            download, 20 policy edit); unset reads every checkpoint.
          explode: false
          in: query
          name: checkpoint
          schema:
            description: >-
              activity_checkpoint: one checkpoint code (1 claim, 4 customer, 6
              download, 20 policy edit); unset reads every checkpoint.
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListVocabularyCodesResponse'
          description: OK
        '400':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
          description: Bad Request
        '401':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
          description: Unauthorized
        '403':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
          description: Forbidden
        '424':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
          description: Failed Dependency
        '429':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
          description: Too Many Requests
        '500':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
          description: Internal Server Error
        '503':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
          description: Service Unavailable
        '504':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
          description: Gateway Timeout
      security:
        - bearer: []
components:
  schemas:
    ListVocabularyCodesResponse:
      additionalProperties: false
      properties:
        data:
          description: One page of the collection, in the requested sort order.
          items:
            $ref: '#/components/schemas/VocabularyCode'
          type:
            - array
            - 'null'
        facets:
          additionalProperties:
            items:
              $ref: '#/components/schemas/FacetValue'
            type:
              - array
              - 'null'
          description: Present only for the facets the request named in facets=.
          type: object
        missing_count:
          description: >-
            For a hierarchy read, source records missing the requested level
            after source filters, before name/ID filters and pagination. Present
            even when zero or the page is empty.
          format: int64
          type: integer
        page:
          $ref: '#/components/schemas/Page'
        request_id:
          description: The request id, as echoed in the Nexio-Request-Id response header.
          type: string
        source:
          $ref: '#/components/schemas/Source'
        total:
          $ref: '#/components/schemas/Total'
          description: Present only when the request sent include_total=true.
        unreachable:
          description: >-
            Parts of the answer no source could fill, each with its reason.
            Empty when every part was filled.
          items:
            $ref: '#/components/schemas/Unreachable'
          type:
            - array
            - 'null'
        warnings:
          description: >-
            Adjustments the platform made to the request (a coerced limit, a
            dropped facet).
          items:
            $ref: '#/components/schemas/Warning'
          type:
            - array
            - 'null'
      required:
        - data
        - page
        - source
        - unreachable
        - warnings
        - request_id
      type: object
    Problem:
      additionalProperties: false
      properties:
        code:
          description: >-
            The stable machine-readable error code, UPPER_SNAKE_CASE, one
            meaning forever.
          enum:
            - INVALID_ARGUMENT
            - UNAUTHENTICATED
            - CAPABILITY_DENIED
            - NOT_VISIBLE_OR_ABSENT
            - IDEMPOTENT_REQUEST_IN_FLIGHT
            - ETAG_MISMATCH
            - VALIDATION_FAILED
            - IDEMPOTENCY_KEY_PAYLOAD_MISMATCH
            - SOURCE_UNAVAILABLE
            - RATE_LIMITED
            - INTERNAL
            - DEADLINE_EXCEEDED
            - UNAVAILABLE
            - CLIENT_CLOSED_REQUEST
          type: string
        detail:
          description: A human-readable sentence about this occurrence.
          type: string
        details:
          description: >-
            Structured detail for the reason (for example which owner selection
            rule failed). A Records refusal names its reason code in
            details.reason; a projection refusal (SOURCE_UNAVAILABLE) also names
            its closed subtype in details.subtype (admission_pending, no_build,
            binding_changed, agency_admission_unbounded,
            authority_coordinates_changed, guard_absent, derivation_unaccepted),
            and only admission_pending, which clears by itself, also carries
            details.retry_after_ms, equal to retry_after_ms and the Retry-After
            header.
        errors:
          description: Each invalid parameter, for INVALID_ARGUMENT.
          items:
            $ref: '#/components/schemas/ProblemError'
          type:
            - array
            - 'null'
        instance:
          description: The request path this occurrence answered.
          type: string
        reason:
          description: >-
            The finer cause within the code, UPPER_SNAKE_CASE (for example
            SCOPE_UNAVAILABLE under CAPABILITY_DENIED).
          type: string
        request_id:
          description: The request id, as echoed in the Nexio-Request-Id response header.
          type: string
        retry_after_ms:
          description: When a retry may succeed, the wait before it.
          format: int64
          type: integer
        status:
          description: The HTTP status code.
          format: int64
          type: integer
        title:
          description: The HTTP status phrase.
          type: string
        type:
          description: A URI naming the problem type, derived from the code.
          type: string
      required:
        - type
        - title
        - status
        - code
        - request_id
      type: object
    VocabularyCode:
      additionalProperties: false
      properties:
        acord_code:
          description: A payment plan's ACORD code. Served on a row the warehouse serves.
          type:
            - string
            - 'null'
        active_status:
          description: A active, I inactive. Served on a row the warehouse serves.
          type:
            - string
            - 'null'
        ams360_datasource:
          type:
            - string
            - 'null'
        answer_format:
          description: The answer's data type. Served on a row the warehouse serves.
          type:
            - string
            - 'null'
        answer_length:
          description: >-
            The answer's longest length. An exact number, as decimal text.
            Served on a row the warehouse serves.
          type:
            - string
            - 'null'
        applies_text:
          description: >-
            How a personal lines coverage reads when it applies. Served on a row
            the warehouse serves.
          type:
            - string
            - 'null'
        attribute_code:
          description: >-
            The list the entry belongs to. An exact number, as decimal text.
            Served on a row the warehouse serves.
          type:
            - string
            - 'null'
        carrier_code:
          description: >-
            The carrier a carrier-specific coverage code belongs to; null on the
            agency's own codes. Served on a row the warehouse serves.
          type:
            - string
            - 'null'
        category:
          description: >-
            Group, or primary and secondary. Served on a row the warehouse
            serves.
          type:
            - string
            - 'null'
        child_attribute_code:
          description: >-
            The list an entry's next level reads from. An exact number, as
            decimal text. Served on a row the warehouse serves.
          type:
            - string
            - 'null'
        code:
          type: string
        coverage_code:
          description: The coverage's ACORD code. Served on a row the warehouse serves.
          type:
            - string
            - 'null'
        coverage_group:
          description: >-
            An exact number, as decimal text. Served on a row the warehouse
            serves.
          type:
            - string
            - 'null'
        default_form_number:
          description: Served on a row the warehouse serves.
          type:
            - string
            - 'null'
        description:
          description: >-
            What the agency's pick lists show. Served on a row the warehouse
            serves.
          type:
            - string
            - 'null'
        domain:
          type: string
        download_abstraction:
          description: Served on a row the warehouse serves.
          type:
            - string
            - 'null'
        download_rules:
          description: >-
            The rule set carrier downloads of the line are processed with. An
            exact number, as decimal text. Served on a row the warehouse serves.
          type:
            - string
            - 'null'
        entry_form:
          description: >-
            The data entry form the line opens. Served on a row the warehouse
            serves.
          type:
            - string
            - 'null'
        form_type_id:
          description: >-
            The electronic form type the line prints on. Served on a row the
            warehouse serves.
          type:
            - string
            - 'null'
        hidden:
          type:
            - string
            - 'null'
        id:
          type: string
        income_group:
          description: >-
            The income group the line posts under. Served on a row the warehouse
            serves.
          type:
            - string
            - 'null'
        is_commercial:
          description: >-
            An exact number, as decimal text. Served on a row the warehouse
            serves.
          type:
            - string
            - 'null'
        is_coverage:
          description: >-
            1 when a coverage, as opposed to an endorsement. An exact number, as
            decimal text. Served on a row the warehouse serves.
          type:
            - string
            - 'null'
        is_default:
          description: >-
            The classification new documents take. Served on a row the warehouse
            serves.
          type:
            - boolean
            - 'null'
        is_defined:
          description: >-
            The classification has been activated. Served on a row the warehouse
            serves.
          type:
            - boolean
            - 'null'
        is_endorsement:
          description: >-
            An exact number, as decimal text. Served on a row the warehouse
            serves.
          type:
            - string
            - 'null'
        is_hidden:
          description: >-
            Hidden from the agency's pick lists. Served on a row the warehouse
            serves.
          type:
            - boolean
            - 'null'
        is_liability:
          description: >-
            An exact number, as decimal text. Served on a row the warehouse
            serves.
          type:
            - string
            - 'null'
        is_personal:
          description: >-
            An exact number, as decimal text. Served on a row the warehouse
            serves.
          type:
            - string
            - 'null'
        is_policy_level:
          description: Served on a row the warehouse serves.
          type:
            - boolean
            - 'null'
        is_property:
          description: >-
            An exact number, as decimal text. Served on a row the warehouse
            serves.
          type:
            - string
            - 'null'
        is_required:
          description: Served on a row the warehouse serves.
          type:
            - boolean
            - 'null'
        item_id:
          description: >-
            The entry's number within its list. An exact number, as decimal
            text. Served on a row the warehouse serves.
          type:
            - string
            - 'null'
        kind:
          description: The row's kind, on a row the warehouse serves.
          type:
            - string
            - 'null'
        label:
          type:
            - string
            - 'null'
        line_of_business:
          description: >-
            The ACORD line of business code. Served on a row the warehouse
            serves.
          type:
            - string
            - 'null'
        permanent:
          description: >-
            1 when the source ships the row and it cannot be deleted. An exact
            number, as decimal text. Served on a row the warehouse serves.
          type:
            - string
            - 'null'
        plan_type:
          description: >-
            A payment plan's type, as the agency sets it up. Served on a row the
            warehouse serves.
          type:
            - string
            - 'null'
        primary_label:
          description: The primary role's label. Served on a row the warehouse serves.
          type:
            - string
            - 'null'
        prints_on_bop:
          description: >-
            On a BOP policy type, the line prints on the businessowners form.
            Served on a row the warehouse serves.
          type:
            - boolean
            - 'null'
        question:
          description: The question's text. Served on a row the warehouse serves.
          type:
            - string
            - 'null'
        relationship_type_id:
          description: >-
            The relationship type (codes?domain=relationship_type) the
            relationship is one of. Served on a row the warehouse serves.
          type:
            - string
            - 'null'
        secondary_label:
          description: The secondary role's label. Served on a row the warehouse serves.
          type:
            - string
            - 'null'
        security_item_id:
          description: >-
            The security item whose grant opens documents of the classification.
            Served on a row the warehouse serves.
          type:
            - string
            - 'null'
        sort_no:
          format: double
          type:
            - number
            - 'null'
        source_fields:
          additionalProperties: {}
          description: >-
            The system of record's own fields, on a code read live; named fields
            replace them as the catalog names them.
          type: object
        source_id:
          description: >-
            The source's own id for the row. Served on a row the warehouse
            serves.
          type:
            - string
            - 'null'
        source_key:
          description: >-
            The source's opaque record reference, on a code a seat bound to the
            system of record read live.
          type: string
        type_of_business:
          $ref: '#/components/schemas/CatalogCodeValue'
          description: >-
            The type of business: commercial, personal, benefits, life and so
            on. Served on a row the warehouse serves.
      required:
        - id
        - ams360_datasource
        - domain
        - code
        - label
        - sort_no
        - hidden
      type: object
    FacetValue:
      additionalProperties: false
      properties:
        count:
          format: int64
          type: integer
        description:
          type: string
        label:
          type: string
        parent:
          type: string
        value:
          type: string
      required:
        - value
        - count
      type: object
    Page:
      additionalProperties: false
      properties:
        cursor:
          description: The cursor that produced this page; null for the first page.
          type:
            - string
            - 'null'
        limit:
          description: >-
            The page size the platform applied, after any coercion (see
            warnings).
          format: int64
          type: integer
        max_limit:
          description: >-
            The largest page size this collection serves for this request's
            view; a larger limit is coerced to it (see warnings). A reader that
            wants the whole set in one page reads at this ceiling. Absent where
            the collection states none.
          format: int64
          type: integer
        next:
          description: The cursor of the following page; null at the end of the collection.
          type:
            - string
            - 'null'
        offset:
          description: >-
            The rows skipped before this page, echoed only when the request sent
            offset (a register's page jump).
          format: int64
          type: integer
        prev:
          description: The cursor of the preceding page; null on the first page.
          type:
            - string
            - 'null'
      required:
        - cursor
        - next
        - prev
        - limit
      type: object
    Source:
      additionalProperties: false
      properties:
        actor:
          $ref: '#/components/schemas/Actor'
        connection:
          description: >-
            The id of the connection that answered; empty when the read had no
            connection.
          type: string
        coverage:
          $ref: '#/components/schemas/SourceCoverage'
          description: >-
            What the family's data has: late only when its source is older than
            its measured window, and the gaps a reader states where it shows an
            absence for the family.
        elapsed_ms:
          description: A live source's call time for this read.
          format: int64
          type: integer
        family:
          description: The registry family that answered.
          type: string
        freshness:
          description: >-
            The freshness word as served before freshness_promised and
            freshness_observed existed; read those two instead.
          type: string
        freshness_observed:
          description: >-
            What this read observed: settled or prior_stable (the warehouse
            pin), reused (a kept answer of the same statement and data version),
            live (a call answered now), fresh or stale.
          type: string
        freshness_promised:
          description: >-
            What the source promises: pinned (the warehouse, read at a pinned
            instant), live (the system of record, per call), store (the
            platform's own store) or computed (a derived function over other
            reads).
          type: string
        id:
          description: >-
            The registry source id (warehouse, ams360_ems, ...), empty when
            absent.
          type: string
        kind:
          description: >-
            The kind of source that answered: the warehouse, the customer's
            system of record (whichever vendor; the vendor is in id), the
            platform's own store, or absent when no source serves the family.
          enum:
            - warehouse
            - system
            - store
            - absent
          type: string
        operations:
          description: >-
            What ran to serve this answer, in order: the warehouse statements,
            vendor operations, store families or functions. Empty only when no
            source serves the family.
          items:
            $ref: '#/components/schemas/SourceOperation'
          type:
            - array
            - 'null'
        origin:
          description: Which input decided the source.
          enum:
            - default
            - connection
            - seat
          type: string
        reason:
          $ref: '#/components/schemas/SourceReason'
          description: Why the family is absent, when kind is absent.
        snapshot_at:
          description: >-
            The instant the rows were read at: the warehouse pin, or the live
            call's time.
          format: date-time
          type:
            - string
            - 'null'
        snapshot_id:
          description: The warehouse snapshot the rows came from, when one names them.
          type: string
        stale_since:
          description: When the snapshot stopped being current, for a stale read.
          format: date-time
          type: string
        subject:
          $ref: '#/components/schemas/Subject'
        system:
          deprecated: true
          description: >-
            deprecated: read kind; removed with generation 1. The system behind
            the source.
          enum:
            - warehouse
            - ams360
            - store
            - absent
          type: string
      required:
        - coverage
        - family
        - kind
        - connection
        - system
        - id
        - origin
        - freshness
        - freshness_promised
        - snapshot_at
        - operations
        - subject
        - actor
      type: object
    Total:
      additionalProperties: false
      properties:
        exact:
          type: boolean
        value:
          format: int64
          type: integer
      required:
        - value
        - exact
      type: object
    Unreachable:
      additionalProperties: false
      properties:
        detail:
          type: string
        part:
          description: The envelope part (a field path or a child family).
          type: string
        reason:
          description: 'Why: no_adapter, not_documented, absent, source_unavailable, ...'
          type: string
        ref:
          description: The vendor reference id of the call that failed, when one did.
          type: string
      required:
        - part
        - reason
      type: object
    Warning:
      additionalProperties: false
      properties:
        code:
          description: >-
            UPPER_SNAKE_CASE, one meaning forever (LIMIT_COERCED, FACET_DROPPED,
            ...).
          type: string
        detail:
          type: string
      required:
        - code
      type: object
    ProblemError:
      additionalProperties: false
      properties:
        location:
          description: Where the input was, for example query.limit.
          type: string
        message:
          type: string
        value: {}
      required:
        - message
      type: object
    CatalogCodeValue:
      additionalProperties: false
      properties:
        code:
          description: The code as the system of record holds it.
          type: string
        label:
          description: >-
            The code's label in the connection's codes; null when the codes
            carry none.
          type:
            - string
            - 'null'
      required:
        - code
        - label
      type: object
    Actor:
      additionalProperties: false
      properties:
        impersonation_kind:
          enum:
            - act_as
            - workos
          type: string
        impersonator:
          description: The operator behind an impersonated session.
          type: string
        member:
          description: The acting member (Nexio-Act-As); empty for a key acting as itself.
          type: string
      type: object
    SourceCoverage:
      additionalProperties: false
      properties:
        as_of:
          description: >-
            The earliest as-of among the family's sources, present only when the
            state is late.
          format: date-time
          type: string
        gaps:
          description: >-
            The family's absence gaps, each stated in plain words with its share
            and whose it is to fill. Empty when the family has none.
          items:
            $ref: '#/components/schemas/CoverageGap'
          type: array
        late:
          $ref: '#/components/schemas/CoverageLate'
          description: Present only when the state is late.
        state:
          description: >-
            late: a source is older than its measured window. current: no source
            is late. unmeasured: no source with a refresh cadence has two stored
            commits yet, so no window is known.
          enum:
            - current
            - late
            - unmeasured
          type: string
      required:
        - state
        - gaps
      type: object
    SourceOperation:
      additionalProperties: false
      properties:
        kind:
          description: >-
            statement: a registered warehouse statement; vendor: a system of
            record operation; store: a platform store family; compute: a derived
            function.
          enum:
            - statement
            - vendor
            - store
            - compute
          type: string
        ref:
          description: >-
            The statement name, the Records operation ref, the store family or
            the function.
          type: string
        reused:
          description: >-
            True when a kept answer of the same statement and data version was
            replayed instead of run.
          type: boolean
      required:
        - kind
        - ref
        - reused
      type: object
    SourceReason:
      additionalProperties: false
      properties:
        kind:
          type: string
        note:
          type: string
        ref:
          type: string
      required:
        - kind
      type: object
    Subject:
      additionalProperties: false
      properties:
        member:
          $ref: '#/components/schemas/SubjectMember'
          description: >-
            The member whose book was read, when the request read as another
            member.
        scope:
          description: The scope kind the acting seat resolved to (self, office, all, ...).
          type: string
        selection:
          description: >-
            The subject selection served, as subject= tokens (own,
            book:&lt;code&gt;, producer:&lt;code|me&gt;,
            client_manager:&lt;code|me&gt;, member:&lt;id&gt;). Empty when none
            was sent.
          items:
            type: string
          type:
            - array
            - 'null'
        selection_kind:
          description: >-
            own, code, client_manager, account, boundary or whole: what the
            served relation is.
          type: string
        selection_source:
          description: >-
            request when the caller chose the selection; none when it chose
            nothing.
          type: string
      required:
        - scope
        - selection
        - selection_kind
        - selection_source
      type: object
    CoverageGap:
      additionalProperties: false
      properties:
        code:
          description: Stable gap code.
          type: string
        owner:
          description: Who keeps the source that would fill the gap.
          enum:
            - firm
            - vertafore
            - nexio
          type: string
        section_field:
          description: >-
            Dotted path inside a derived read's section that holds this gap's
            fact: the gap applies when that value is empty.
          type: string
        section_lines:
          description: >-
            AMS 360 line codes the gap speaks to: it applies only when the
            read's line_codes name one.
          items:
            type: string
          type:
            - array
            - 'null'
        sentence:
          description: >-
            The gap in plain words: the source, the share it covers and whose it
            is to fill.
          type: string
      required:
        - code
        - sentence
        - owner
      type: object
    CoverageLate:
      additionalProperties: false
      properties:
        sentence:
          type: string
      required:
        - sentence
      type: object
    SubjectMember:
      additionalProperties: false
      properties:
        display_name:
          type: string
        id:
          type: string
        scope:
          type: string
      required:
        - id
        - display_name
        - scope
      type: object
  securitySchemes:
    bearer:
      description: The org's platform API key.
      scheme: bearer
      type: http

````

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