> ## 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 the accounts in the subject's book, filterable by class (industry) (parameters in the body)

> GET /records/accounts with its query parameters in a JSON body, keyed by their query names, so free text never travels in a URL. A repeatable parameter takes an array. The answer is the GET's; a query string is refused.



## OpenAPI

````yaml /openapi.generated.json post /records/accounts/search
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/accounts/search:
    post:
      tags:
        - accounts
      summary: >-
        List the accounts in the subject's book, filterable by class (industry)
        (parameters in the body)
      description: >-
        GET /records/accounts with its query parameters in a JSON body, keyed by
        their query names, so free text never travels in a URL. A repeatable
        parameter takes an array. The answer is the GET's; a query string is
        refused.
      operationId: listAccountsSearch
      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
      requestBody:
        content:
          application/json:
            schema:
              additionalProperties: false
              properties:
                class_id:
                  description: >-
                    view=full. A class id of GET /records/classes. It is a 2022
                    NAICS code or prefix (an industry); repeat it for more than
                    one class. Keeps the accounts with evidence of the class:
                    the account's NAICS falls under it; or, for an account with
                    no NAICS, its AMS 360 SIC is one the class's concordances
                    carry or one of its in-force policies carries a general
                    liability class code that fits the class (the class's own
                    codes of GET /records/classes/{id}/rating-codes, read by at
                    least 3 of its customers). An account whose NAICS lies
                    outside the class is not kept. Each row names its
                    class_basis; facets=class_basis and rollups=class_coverage
                    say how the count rests. class_id=none, alone, keeps the
                    accounts rollups=class_mix places in no sector, its
                    unclassified row; with rollups=class_mix the mix still
                    counts every account the other filters keep.
                    class_id=no_naics, alone, keeps the accounts with no NAICS
                    code on file (the client's, or failing it its policies'),
                    whatever their SIC or GL class codes say: the accounts
                    rollups=class_coverage counts outside with_naics.
                  items:
                    type: string
                  maxItems: 10
                  type:
                    - array
                    - 'null'
                client_name[contains]:
                  description: view=full. Words in the client name, DBA or a named insured.
                  type: string
                client_name[in]:
                  description: >-
                    view=basic. Client names to resolve, the parameter repeated
                    once per name, at most 200 names of at most 200 characters.
                    Each is matched by its entity-name key (name_key) against
                    the account's client name, and answered in names as matched
                    (one account), ambiguous (the candidate accounts) or
                    unmatched; the data rows are those accounts. One page that
                    holds every candidate, whatever the limit: no cursor,
                    client_name[prefix] or facets. An account the subject cannot
                    read is never a candidate.
                  items:
                    type: string
                  maxItems: 200
                  type:
                    - array
                    - 'null'
                client_name[prefix]:
                  description: >-
                    view=basic. Words in the client name, its DBA or a named
                    insured, spacing and punctuation ignored. Every prefix of a
                    name matches.
                  type: string
                client_state:
                  description: view=basic. Two-letter state of the account's address.
                  type: string
                cursor:
                  description: >-
                    The opaque page.next of the previous page. Filters, sort and
                    subject are frozen inside it.
                  type: string
                facets:
                  description: >-
                    Facets to count; each view takes its own. view=full: facets
                    to count over the subject's filtered accounts (each owner
                    and org facet is counted without its own filter; a view=full
                    request at limit=1, with no offset, cursor, include_total,
                    rollups, id[in] or class_id, whose only facets are office
                    and market is the office list: it reads the org facet alone
                    and serves no rows, total or view block; the same request
                    naming exactly one of status, world, producer or
                    client_manager, with no rows_only or figures_only, counts
                    that facet alone, the full read's count for the same
                    filters, and serves no rows, total or view block);
                    class_basis (with class_id) counts them by why they are in
                    the class: naics, sic or gl_code. view=basic: office and
                    market only, counted over the seat's whole boundary, so they
                    take no subject and no filter; each is a bounded list of the
                    connection's offices (label, parent market) or markets with
                    their account counts.
                  items:
                    enum:
                      - status
                      - world
                      - producer
                      - client_manager
                      - office
                      - market
                      - class_basis
                    type: string
                  type:
                    - array
                    - 'null'
                figures_only:
                  description: >-
                    view=full. true reads the figures alone, with no rows. total
                    (with include_total), facets, view and rollups each match
                    the full read's for the same filters; data is empty,
                    page.next is absent and the answer says figures_only: true.
                    No page statement runs. Not with rows_only, cursor, offset
                    or id[in] (400 FIGURES_ONLY_WITH_ROWS).
                  type: boolean
                hide.status:
                  description: >-
                    view=full. Statuses to hide, comma-separated: active,
                    cancelled, ended, or none. Default cancelled,ended, which
                    keeps active accounts. Not with status. Left out with
                    status, world and the other hide filter, the person's saved
                    view or the default applies. The view block counts each
                    status under every other filter.
                  type: string
                hide.world:
                  description: >-
                    view=full. Worlds to hide, comma-separated: commercial,
                    personal, mixed (both), benefits, life, other, or none.
                    Default none. Not with world. Left out with status, world
                    and the other hide filter, the person's saved view or the
                    default applies.
                  type: string
                id[in]:
                  description: >-
                    view=basic and view=full. Only these accounts:
                    comma-separated account ids, at most 200 (in the search
                    form's body, a JSON array or one comma-joined string). An id
                    the subject cannot read is absent from the answer.
                  items:
                    type: string
                  maxItems: 200
                  type:
                    - array
                    - 'null'
                include_total:
                  description: true adds total, the row count of the whole relation.
                  type: boolean
                limit:
                  description: >-
                    Page size. Defaults to 25. The maximum is 200 for basic and
                    100 for full. Larger values are coerced to the view maximum
                    with a LIMIT_COERCED warning.
                  format: int64
                  minimum: 1
                  type: integer
                market:
                  description: >-
                    view=full. A reporting market by its name, a state or a
                    group of states; facets=market lists the markets the seat
                    reaches. A region that groups several markets is platform.
                    all is no filter.
                  type: string
                no_active_owner:
                  description: >-
                    view=full. Repeatable: producer, client_manager. Keeps the
                    accounts whose current owners on that axis include no active
                    person: every AMS 360 code the account's in-force policies
                    name on the axis (or, with none in force, its recent
                    policies) is inactive in AMS 360, belongs to a person
                    Dayforce shows terminated or retired, or is a house or
                    agency code no person holds, or the policies name no one.
                    Both axes keep the accounts with neither an active producer
                    nor an active client manager. Each row still names the owner
                    its policies carry, so a departed producer reads by name.
                  items:
                    enum:
                      - producer
                      - client_manager
                    type: string
                  maxItems: 2
                  type:
                    - array
                    - 'null'
                office:
                  description: >-
                    view=full. An office by name or agency code. A name resolves
                    only against the offices the acting seat's scope reaches and
                    narrows to every office it names, echoed as an
                    OFFICE_RESOLVED warning with each office's label and code; a
                    name that reaches none reads no rows and is echoed as
                    OFFICE_NOT_VISIBLE.
                  type: string
                offset:
                  description: >-
                    Rows to skip, register views only: at most 1000000, not with
                    cursor. A later page continues with page.next.
                  format: int64
                  minimum: 0
                  type: integer
                owner_q:
                  description: >-
                    view=full. Words that each start a word of an owner's name,
                    or equal an owner's AMS 360 code, in any order, at most 64
                    characters. It narrows the producer and client_manager
                    facets' lists (search a list the facet cap cut) and selects
                    no account, moves no count and reads under the same
                    admission. With facets=producer or facets=client_manager at
                    limit=1 it is the one-facet read.
                  maxLength: 64
                  type: string
                part:
                  description: >-
                    view=basic with client_name[prefix], first page. in_book
                    answers only the acting seat's own accounts whose name
                    matches, each admitted, ranked and cut to limit. They are
                    read live from the source. The answer is always incomplete
                    (incomplete: true, no total, no cursor): it is the fast
                    part, and the rest of the search is the same request without
                    part. include_total is ignored. A cursor, a name list, a key
                    list, a state or tenant filter, or facets is a 400
                    (FILTER_NOT_IN_VIEW). A seat or scope the platform cannot
                    read by its own book (a leader, a whole-book seat, a linked
                    seat) answers no rows, still incomplete. Absent, the search
                    answers as before.
                  enum:
                    - in_book
                  type: string
                platform:
                  description: >-
                    view=full. A platform, a region that groups several markets,
                    as SOUTH. A state or a market name goes in market.
                  type: string
                premium[gte]:
                  description: >-
                    view=full. Premium floor in whole dollars, over premium:
                    under a producer or client manager subject, that person's
                    own policies on the account.
                  pattern: ^[0-9]{1,12}$
                  type: string
                q:
                  description: >-
                    view=finder. Name to search. Absent lists the seat accounts
                    by name.
                  type: string
                rollups:
                  description: >-
                    view=full. register: the register side figures, in
                    rollups.register. Each rollup is read by the page's own
                    statement. class_coverage (with class_id) answers in
                    rollups.class_coverage how far class evidence reaches in the
                    same scope and filters without the class: commercial
                    accounts, those with a NAICS, and those with any class
                    evidence. class_mix (no class_id but class_id=none or
                    class_id=no_naics, no typed name or cursor) answers in
                    rollups.class_mix the industry mix of the filtered accounts:
                    each account in one NAICS sector, with accounts and in-force
                    premium per sector and an unclassified row. With
                    class_id=no_naics the mix counts only the accounts with no
                    NAICS, each placed by its SIC or GL class code.
                  items:
                    enum:
                      - register
                      - class_coverage
                      - class_mix
                    type: string
                  type:
                    - array
                    - 'null'
                rows_only:
                  description: >-
                    view=full. true reads the page's rows and page.next alone,
                    and the answer says so with rows_only: true. facets and view
                    are absent, never 0: the read does not count them. Not with
                    facets unless with include_total (400
                    ROWS_ONLY_WITH_FIGURES). With include_total, and
                    rollups=register and facets beside it, a first page also
                    asks for total and rollups.register's accounts and slice
                    from the rows' own statement: a warehouse page counts them
                    in that one statement, and a page whose source counts none
                    answers them in unreachable (no_aggregate), which
                    figures_only then reads. A first page whose own read decided
                    the seat's whole book, under a list row that reads its
                    figures from the same source, also serves total, the named
                    facets, view and all of rollups.register (accounts,
                    attention, slice, book, definition) from that same decision,
                    as figures_only serves them, with no second request;
                    own_book stays figures_only's. That takes no cursor, offset,
                    id[in], class_id or other rollup, and rollups needs
                    include_total (400 ROWS_ONLY_WITH_FIGURES). Without
                    include_total, total and rollups are absent. A cursor does
                    not carry it: send it on every page of a rows-only list.
                  type: boolean
                sort:
                  description: >-
                    The sort key; each view has its own keys and default.
                    view=full: x_date (default), -completeness, -premium,
                    client_name, producer_name, client_manager_name. Each field
                    sorts one way. -commission_ttm is retired and reads the
                    x_date order: the register reads no commission. It leaves
                    this list once no client sends it.
                  enum:
                    - x_date
                    - '-completeness'
                    - '-premium'
                    - '-commission_ttm'
                    - client_name
                    - producer_name
                    - client_manager_name
                  type: string
                status:
                  description: >-
                    view=full. Keeps accounts of one register status. Absent
                    means hide.status applies.
                  enum:
                    - active
                    - cancelled
                    - ended
                  type: string
                subject:
                  description: >-
                    The book to read, as tokens, repeatable: own (the acting
                    seat's own codes), book:&lt;code&gt;,
                    producer:&lt;me|code&gt;, client_manager:&lt;me|code&gt;
                    (the two axes AND; repeats within one OR), member:&lt;member
                    id&gt; (read as another member). Absent: the seat's can-open
                    boundary. Frozen in the cursor.
                  items:
                    type: string
                  type:
                    - array
                    - 'null'
                tenant_id:
                  description: >-
                    view=basic. Keeps accounts read from this AMS 360 instance
                    (tenant_id).
                  type: string
                view:
                  description: >-
                    basic (default): the client record; full: plus its policy
                    figures. basic: the client record, the roster read. full:
                    the client record plus what the account's policies derive
                    (status, world, premium, x-date, owners), the register read.
                    finder: the account finder, a name search over the client
                    name, its DBA and its named insureds (q), ordered by name,
                    with name_key and name_exact on each row; it reads q,
                    subject, limit (at most 100), cursor and include_total.
                  enum:
                    - basic
                    - full
                    - finder
                  type: string
                world:
                  description: >-
                    view=full. Keeps one world; commercial and personal each
                    include mixed accounts.
                  enum:
                    - commercial
                    - personal
                    - benefits
                    - life
                    - other
                    - mixed
                  type: string
                x_days[lte]:
                  description: >-
                    view=full. Accounts whose next x-date is within this many
                    days (at most 3650). The register's attention window is 150.
                  pattern: ^[0-9]{1,4}$
                  type: string
              type: object
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccountList'
          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:
    AccountList:
      additionalProperties: false
      properties:
        data:
          description: One page of the collection, in the requested sort order.
          items:
            $ref: '#/components/schemas/Account'
          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
        figures_only:
          description: >-
            true when the request sent figures_only: the answer holds the
            figures alone. data is empty because no row was read, not because
            the register is empty.
          type: boolean
        incomplete:
          description: >-
            The page holds part of the answer: either the finder stopped before
            all candidates were decided (rows have provisional rank and no exact
            total), or more accounts matched than the page holds (its first rows
            by rank, with the exact total). Search Accounts for the complete
            result.
          type: boolean
        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
        names:
          description: >-
            view=basic with client_name[in]: each name sent, in the order sent,
            with what it resolved to.
          items:
            $ref: '#/components/schemas/AccountNameResolution'
          type:
            - array
            - 'null'
        own_book:
          description: >-
            view=full with figures_only, served from the Data API whole-book
            fold: the seat's own book as a compact name list, every account the
            fold admitted for the seat and no other. A browser matches typed
            text against name_key with no further read. Absent on any other
            read, on a warehouse-served read, on a read with a world filter or
            x_days[lte] (its fold keeps only the filtered accounts) and on a
            seat whose book the fold does not read whole.
          items:
            $ref: '#/components/schemas/AccountOwnBookEntry'
          type:
            - array
            - 'null'
        page:
          $ref: '#/components/schemas/Page'
        request_id:
          description: The request id, as echoed in the Nexio-Request-Id response header.
          type: string
        rollups:
          $ref: '#/components/schemas/AccountListRollups'
          description: >-
            Present only for the rollups the request named in rollups=, each
            computed by the same read as the page.
        rows_only:
          description: >-
            true when the request sent rows_only: the answer holds the page's
            rows and page.next, and total and rollups.register's accounts and
            slice only when the request sent include_total and the rows' own
            statement counted them; with the named facets, view and all of
            rollups.register when that read decided the whole book (never
            own_book). Anything absent was not read, not 0 or empty.
          type: boolean
        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'
        view:
          $ref: '#/components/schemas/View'
          description: >-
            view=full: the register's view filters, hide.status and hide.world,
            each with its options (every value, its label and the accounts it
            returns under every other filter), its default and the value this
            read applied, and how many accounts they hide. Absent on a live
            read.
        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
    Account:
      additionalProperties: false
      properties:
        account_premium:
          description: >-
            Exact decimal text. The premium of every policy on the account the
            read's scope reaches, across producers, with no producer or client
            manager subject narrowing it. With no producer or client manager
            subject and no typed name it equals premium: under own or
            book:&lt;code&gt; the scope already holds only that book's policies.
            A typed name under an owner selection serves the selection's own
            policies in premium and the whole account here.
          type:
            - string
            - 'null'
        agency_code:
          type:
            - string
            - 'null'
        class_basis:
          description: >-
            With class_id: why the account is in the class. naics: its NAICS
            falls under the class; sic: it has no NAICS and its AMS 360 SIC is
            one the class's concordances carry; gl_code:&lt;code&gt;: it has no
            NAICS and one of its in-force policies carries that general
            liability class code, which fits the class.
          type: string
        client_city:
          type:
            - string
            - 'null'
        client_code:
          type:
            - string
            - 'null'
        client_country:
          type:
            - string
            - 'null'
        client_id:
          type:
            - string
            - 'null'
        client_manager_display_names:
          description: >-
            client_manager_names as a producer reads them, as
            producer_display_names reads producer_names. Null when
            client_manager_names is null.
          items:
            type: string
          type:
            - array
            - 'null'
        client_manager_name:
          type:
            - string
            - 'null'
        client_manager_names:
          description: >-
            Every account representative name on the account's register-cohort
            policies, ordered as producer_names is. Null when the account's
            policies were not read (status unknown); empty when no policy names
            one.
          items:
            type: string
          type:
            - array
            - 'null'
        client_naics_code:
          description: >-
            In view=full, the policies' NAICS code when the client record has
            none.
          type:
            - string
            - 'null'
        client_name:
          description: >-
            The client's name. In view=full, the name on the account's policies
            when the client record has none.
          type:
            - string
            - 'null'
        client_postal_code:
          type:
            - string
            - 'null'
        client_state:
          type:
            - string
            - 'null'
        commission_ttm:
          description: >-
            Trailing twelve months' commission, exact decimal text; null on
            every page today: the register reads no commission until it is a
            joinable, indexed source.
          type:
            - string
            - 'null'
        completeness:
          type: string
        customer_type:
          description: 'AMS 360 customer type: C customer, P prospect, S suspect.'
          type:
            - string
            - 'null'
        id:
          description: The account's instance key, {instance}:customer:{customer id}.
          type: string
        in_selection:
          description: >-
            With a typed name under an owner selection (own, book, producer,
            client_manager): whether the account is inside it. A typed name
            reads every account the seat can open; false rows are the others.
            Absent with no name or no selection.
          type: boolean
        industry_class:
          description: view=finder. The account's industry class.
          type: string
        lifecycle:
          $ref: '#/components/schemas/AccountLifecycle'
          description: >-
            The account's lifecycle frame, stage, health, reasons, next move and
            cycle path, derived from the row's status and policies at
            source.snapshot_at. The register reads no placements, tasks, claims
            or notices, so none of them moves it here.
        line_count:
          format: int64
          type: integer
        match:
          description: >-
            With a typed name: the best match tier over the client name, the
            stored AMS 360 name, the DBA and the named insureds. near means the
            name matched no account exactly and this one is within one edit. The
            rows order by in_selection, then this tier, then customers before
            prospects, then active before inactive accounts (AMS 360 ACTIVE),
            then the view's own order.
          enum:
            - exact
            - words
            - contains
            - all_but_one
            - near
          type: string
        naics_industry:
          type:
            - string
            - 'null'
        naics_industry_group:
          type:
            - string
            - 'null'
        naics_national_industry:
          type:
            - string
            - 'null'
        naics_sector:
          type:
            - string
            - 'null'
        naics_subsector:
          type:
            - string
            - 'null'
        name_exact:
          description: >-
            view=finder with q. Whether q is this account's entity name under
            name_key: its client name, a DBA or a named insured.
          type: boolean
        name_key:
          description: >-
            The client name's entity-name key: lower case, letters and digits
            only, legal-form words (inc, llc, co, and, ...) dropped, each word
            of 4 or more letters in its singular form (a trailing ies is y, a
            single trailing s drops), so "H&S Investments Group, LLC" and
            "H&SInvestment Group" are both hsinvestmentgroup. Two names are the
            same entity name when their keys are equal and not empty. Empty when
            the name has no letter or digit.
          type: string
        policy_count:
          description: >-
            The account's register-cohort policies; under a producer or client
            manager subject, those that person holds, as premium counts them.
          format: int64
          type: integer
        policy_labels:
          description: >-
            Display only: the distinct coverage labels of the policy-level line
            of business on the account's register-cohort policies, in the
            policies' order, with policies that record no line left out. Each
            policy contributes one label, so lines inside a package policy are
            not listed: this is not the account's coverage lines, and its length
            is not a line count. Null when the account's policies were not read
            (status unknown); empty when no cohort policy records a line.
          items:
            type: string
          type:
            - array
            - 'null'
        premium:
          description: >-
            Exact decimal text. The premium of the account's policies the read
            reaches. Under a producer or client manager subject (producer:me,
            client_manager:&lt;code&gt;) only the policies that person holds, so
            a shared account counts that person's policies and never another
            producer's; policy_count and priced_policy_count count the same
            policies. premium[gte] and sort=-premium read this figure. Under
            both a producer and a client manager subject, only the policies that
            carry both; an account where none does serves no premium and zero
            counts. A typed name reads past the subject: an account outside the
            subject's selection serves account_premium here.
          type:
            - string
            - 'null'
        priced_policy_count:
          description: Of policy_count, the policies that carry a premium.
          format: int64
          type: integer
        producer_display_names:
          description: >-
            producer_names as a producer reads them: AMS 360's Last, First in
            reading order without the dates, phone numbers, extensions or splits
            the agency typed into it (bookdisplay.AMSPersonName), in
            producer_names order with a repeated reading kept once. Null when
            producer_names is null.
          items:
            type: string
          type:
            - array
            - 'null'
        producer_name:
          type:
            - string
            - 'null'
        producer_names:
          description: >-
            Every account executive name on the account's register-cohort
            policies, trimmed, most weight first: an in-force term counts 2 and
            any other term 1, ties in the policies' order. Null when the
            account's policies were not read (status unknown); empty when no
            policy names one.
          items:
            type: string
          type:
            - array
            - 'null'
        prospect:
          description: >-
            With a typed name: AMS 360 holds the account as a prospect (TYPECUST
            P). Absent when false.
          type: boolean
        seat_role:
          description: >-
            On the acting seat's own book only (its selected book, as Accounts
            My book reads it): the seat's role on the account, read from the
            seat's own current AMS 360 assignments: producer when the seat holds
            a current Exec assignment on one of the account's current policies
            (in force, else its terms ended in the last 90 days), else
            client_manager (the seat is on the account as a Rep only). Absent on
            any other read, on the AMS 360 live register, and when the request's
            assignment reads did not cover the account's policies.
          enum:
            - producer
            - client_manager
          type: string
        source_system:
          type:
            - string
            - 'null'
        status:
          enum:
            - active
            - cancelled
            - ended
            - unknown
          type: string
        tenant_id:
          type:
            - string
            - 'null'
        urgency_rank:
          format: int64
          type: integer
        world:
          description: commercial, personal, benefits, life, other or mixed.
          type: string
        x_date:
          type:
            - string
            - 'null'
        x_days:
          description: Days from the read date to x_date.
          format: int64
          type:
            - integer
            - 'null'
      required:
        - id
        - tenant_id
        - source_system
        - client_id
        - client_code
        - agency_code
        - client_name
        - client_city
        - client_state
        - client_postal_code
        - client_country
        - client_naics_code
        - naics_national_industry
        - naics_industry
        - naics_industry_group
        - naics_subsector
        - naics_sector
      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
    AccountNameResolution:
      additionalProperties: false
      properties:
        account_ids:
          description: >-
            The accounts with this client name, accounts with a policy in force
            first: one when matched, the candidates when ambiguous, none when
            unmatched.
          items:
            type: string
          type:
            - array
            - 'null'
        candidates_cut:
          description: >-
            The name reached the most accounts one name returns (6); more
            accounts may share it. Absent when false.
          type: boolean
        name:
          description: The name as sent.
          type: string
        name_key:
          description: >-
            The name's entity-name key; empty when it has no letter or digit,
            which matches no account.
          type: string
        status:
          description: >-
            matched: one account the subject can read has this client name;
            ambiguous: more than one has; unmatched: none has.
          enum:
            - matched
            - ambiguous
            - unmatched
          type: string
      required:
        - name
        - name_key
        - status
        - account_ids
      type: object
    AccountOwnBookEntry:
      additionalProperties: false
      properties:
        city:
          description: The client's city; absent when the client record names none.
          type: string
        id:
          description: The account id.
          type: string
        name:
          description: The client name.
          type: string
        name_key:
          description: >-
            The name's entity-name key (the same key as an account's name_key);
            empty when the name has no letter or digit.
          type: string
      required:
        - id
        - name
        - name_key
      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
    AccountListRollups:
      additionalProperties: false
      properties:
        class_coverage:
          $ref: '#/components/schemas/AccountClassCoverage'
          description: >-
            How far class evidence reaches over the page's scope and filters
            without the class (rollups=class_coverage, view=full with class_id).
        class_mix:
          $ref: '#/components/schemas/AccountClassMix'
          description: >-
            The industry mix of the page's filtered accounts (rollups=class_mix,
            view=full with no class_id or with class_id=none).
        register:
          $ref: '#/components/schemas/AccountRegisterRollup'
          description: >-
            The register's side figures over the page's filters and subject
            (rollups=register, view=full).
      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
    View:
      additionalProperties: false
      properties:
        columns:
          $ref: '#/components/schemas/Columns'
          description: >-
            Every column the seat may show, its role's default columns and the
            columns this person shows.
        filters:
          items:
            $ref: '#/components/schemas/Filter'
          type:
            - array
            - 'null'
        hidden:
          $ref: '#/components/schemas/Hidden'
      required:
        - filters
        - hidden
      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
    AccountLifecycle:
      additionalProperties: false
      properties:
        frame:
          description: Which workflow frame the account wears.
          enum:
            - prospect_placement
            - renewal_window
            - active_service
          type: string
        health:
          description: What the account needs from the producer now.
          enum:
            - steady
            - attention
            - at_risk
            - in_market
          type: string
        health_label:
          type: string
        next_move:
          description: The structural next step for the stage, in producer language.
          type: string
        on_remarket_loop:
          type: boolean
        open_claim_count:
          format: int64
          type: integer
        path:
          description: The cycle path in order, each segment complete, current or upcoming.
          items:
            $ref: '#/components/schemas/LifecyclePathSegment'
          type:
            - array
            - 'null'
        reasons:
          description: The account-specific factors behind the health, one sentence each.
          items:
            type: string
          type:
            - array
            - 'null'
        stage:
          description: The account's position in the annual cycle.
          enum:
            - intake
            - marketing
            - quoting
            - proposal
            - bind
            - service
            - renewal
            - remarket
            - churned
          type: string
        stage_label:
          description: >-
            The stage as the producer reads it; an account with no term in force
            and no recorded loss reads Cancelled or Term ended, never Churned.
          type: string
      required:
        - frame
        - stage
        - stage_label
        - health
        - health_label
        - reasons
        - next_move
        - path
        - on_remarket_loop
        - open_claim_count
      type: object
    AccountClassCoverage:
      additionalProperties: false
      properties:
        commercial_accounts:
          description: >-
            Accounts with a commercial in-force policy, in the subject's scope
            and the page's filters without class_id.
          format: int64
          type: integer
        outside_binding:
          $ref: '#/components/schemas/AccountOutsideBinding'
          description: >-
            Present when platform=, market= or office= names agencies the
            connection does not read: their accounts are in none of these
            counts.
        with_class_evidence:
          description: >-
            Of commercial_accounts, those with any class evidence: a NAICS, an
            AMS 360 SIC, or a general liability class code on an in-force
            policy. An account without evidence cannot be placed in any class,
            so a class count is complete only up to this share.
          format: int64
          type: integer
        with_naics:
          description: >-
            Of commercial_accounts, those whose client record carries a NAICS
            code.
          format: int64
          type: integer
      required:
        - commercial_accounts
        - with_naics
        - with_class_evidence
      type: object
    AccountClassMix:
      additionalProperties: false
      properties:
        coverage:
          $ref: '#/components/schemas/AccountClassCoverage'
          description: How far class evidence reaches over the same accounts.
        sectors:
          description: The sectors with accounts, largest first, then the unclassified row.
          items:
            $ref: '#/components/schemas/AccountClassMixSector'
          type:
            - array
            - 'null'
      required:
        - sectors
        - coverage
      type: object
    AccountRegisterRollup:
      additionalProperties: false
      properties:
        accounts:
          description: The filtered account count.
          format: int64
          type: integer
        attention:
          description: >-
            Under every filter but x_days[lte], the accounts whose next x-date
            is within 150 days: what x_days[lte]=150 answers.
          format: int64
          type: integer
        book:
          $ref: '#/components/schemas/BookTotals'
          description: The whole book's totals at the read pin, unmoved by filters.
        definition:
          $ref: '#/components/schemas/BookPodBookAggregate'
          description: The book definition the totals count under.
        slice:
          $ref: '#/components/schemas/BookAccountRegisterSlice'
          description: >-
            The filtered accounts' policies and premium, whole cohort and in
            force. A typed name reads past an owner selection: the in-force pair
            still counts only the policies inside the selection, and its premium
            is 0 when none is priced.
      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
    Columns:
      additionalProperties: false
      properties:
        available:
          description: Every labeled field the register serves that this seat may read.
          items:
            $ref: '#/components/schemas/Column'
          type:
            - array
            - 'null'
        default:
          description: The columns the seat's role shows with nothing chosen, in order.
          items:
            type: string
          type:
            - array
            - 'null'
        shown:
          description: >-
            The columns this person shows, in order: their saved choice, else
            the default.
          items:
            type: string
          type:
            - array
            - 'null'
      required:
        - available
        - default
        - shown
      type: object
    Filter:
      additionalProperties: false
      properties:
        applied:
          description: The value this read used.
          oneOf:
            - items:
                type: string
              type: array
            - type: integer
            - type: boolean
            - type: string
        default:
          description: The value with nothing chosen.
          oneOf:
            - items:
                type: string
              type: array
            - type: integer
            - type: boolean
            - type: string
        key:
          type: string
        option_count:
          description: Values the filter holds.
          format: int64
          type: integer
        options:
          description: A multiselect's values with their counts, in the order they show.
          items:
            $ref: '#/components/schemas/Option'
          type:
            - array
            - 'null'
        truncated:
          description: More values than options; search with options_q.&lt;key&gt;.
          type: boolean
        type:
          enum:
            - multiselect
            - days
            - toggle
            - select
            - amount
          type: string
      required:
        - key
        - type
        - default
        - applied
      type: object
    Hidden:
      additionalProperties: false
      properties:
        by_filter:
          additionalProperties:
            format: int64
            type: integer
          description: >-
            Rows each filter removes from what every other filter keeps. These
            overlap and need not sum to total.
          type: object
        total:
          description: >-
            Rows the other filters keep minus the rows shown: turning every
            filter of this block off shows exactly this many more.
          format: int64
          type: integer
      required:
        - total
        - by_filter
      type: object
    LifecyclePathSegment:
      additionalProperties: false
      properties:
        label:
          type: string
        stage:
          enum:
            - intake
            - marketing
            - quoting
            - proposal
            - bind
            - service
            - renewal
          type: string
        status:
          enum:
            - complete
            - current
            - upcoming
          type: string
      required:
        - stage
        - label
        - status
      type: object
    AccountOutsideBinding:
      additionalProperties: false
      properties:
        accounts:
          description: >-
            Accounts in force under those agencies. The page's total and facets
            count none of them.
          format: int64
          type: integer
        agencies:
          description: >-
            Agencies of the requested org units outside the connection's data
            that carry a policy in force.
          format: int64
          type: integer
        commercial_accounts:
          description: >-
            Of accounts, those with a commercial policy in force;
            commercial_accounts above counts none of them.
          format: int64
          type: integer
      required:
        - agencies
        - accounts
        - commercial_accounts
      type: object
    AccountClassMixSector:
      additionalProperties: false
      properties:
        accounts:
          format: int64
          type: integer
        accounts_percent:
          description: Share of the filtered accounts, to one decimal.
          format: double
          type: number
        basis:
          $ref: '#/components/schemas/AccountClassMixBasis'
        class_id:
          description: >-
            The sector's id of GET /records/classes; null on the unclassified
            row, the accounts no basis places.
          type:
            - string
            - 'null'
        no_evidence:
          description: >-
            Of accounts, those with no NAICS, AMS 360 SIC or general liability
            class code on file, so no basis can place them; on the unclassified
            row the rest carry a SIC or general liability class code that places
            them in no one sector. The firm's account teams enter NAICS codes in
            AMS 360.
          format: int64
          type: integer
        premium_in_force:
          description: >-
            In-force premium as exact decimal text, folded as
            rollups.register.slice.premium_in_force folds it.
          type: string
        premium_percent:
          description: Share of the filtered accounts' in-force premium, to one decimal.
          format: double
          type: number
        title:
          type: string
      required:
        - class_id
        - title
        - accounts
        - accounts_percent
        - premium_in_force
        - premium_percent
        - basis
        - no_evidence
      type: object
    BookTotals:
      additionalProperties: false
      properties:
        active_clients:
          format: int64
          type: integer
        active_full_term_premium:
          type:
            - string
            - 'null'
        active_policies:
          format: int64
          type: integer
        policies:
          format: int64
          type: integer
      required:
        - policies
        - active_policies
        - active_clients
        - active_full_term_premium
      type: object
    BookPodBookAggregate:
      additionalProperties: false
      properties:
        account_count:
          format: int64
          type: integer
        definition_version:
          type: string
        policy_count:
          format: int64
          type: integer
        premium:
          type: string
        premium_basis:
          type: string
        recently_ended_account_count:
          format: int64
          type: integer
        renewals_90_days:
          format: int64
          type: integer
        snapshot_pin:
          type: string
        unpriced_term_count:
          format: int64
          type: integer
      required:
        - account_count
        - policy_count
        - premium
        - premium_basis
        - unpriced_term_count
        - recently_ended_account_count
        - definition_version
        - snapshot_pin
        - renewals_90_days
      type: object
    BookAccountRegisterSlice:
      additionalProperties: false
      properties:
        accounts:
          format: int64
          type: integer
        policies:
          format: int64
          type: integer
        policies_in_force:
          format: int64
          type: integer
        premium:
          type:
            - string
            - 'null'
        premium_in_force:
          type:
            - string
            - 'null'
        priced:
          format: int64
          type: integer
      required:
        - accounts
        - policies
        - priced
        - premium
        - policies_in_force
        - premium_in_force
      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
    Column:
      additionalProperties: false
      properties:
        description:
          description: What the field holds, from the API contract.
          type: string
        key:
          description: >-
            The served field, dotted for a field inside an object:
            producer.name.
          type: string
        label:
          type: string
        sortable:
          description: The list's sort parameter takes this key.
          type: boolean
        type:
          enum:
            - text
            - number
            - date
            - boolean
            - list
            - object
          type: string
      required:
        - key
        - label
        - type
        - sortable
      type: object
    Option:
      additionalProperties: false
      properties:
        count:
          format: int64
          type: integer
        label:
          type: string
        parent:
          description: >-
            The value this option sits under, where the filter groups its
            values: an office's reporting market. Absent when it has none.
          type: string
        uncounted:
          description: >-
            True when the read did not count this option; count is then 0 and
            states nothing. Absent when counted.
          type: boolean
        value:
          type: string
      required:
        - value
        - label
        - count
      type: object
    AccountClassMixBasis:
      additionalProperties: false
      properties:
        gl_code:
          description: >-
            Placed by the fit of its in-force general liability class codes:
            book evidence, not the client's own NAICS.
          format: int64
          type: integer
        naics:
          description: Placed by the account's NAICS.
          format: int64
          type: integer
        sic:
          description: Placed by its AMS 360 SIC through the Census concordances.
          format: int64
          type: integer
      required:
        - naics
        - sic
        - gl_code
      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.