> ## 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 book opportunity signals (parameters in the body)

> GET /records/opportunity-signals 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/opportunity-signals/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/opportunity-signals/search:
    post:
      tags:
        - opportunity-signals
      summary: List book opportunity signals (parameters in the body)
      description: >-
        GET /records/opportunity-signals 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: listOpportunitySignalsSearch
      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:
                account:
                  description: Exact book account key, within the caller's admitted book.
                  type: string
                band:
                  description: 'Comma-separated priority bands: critical, high, medium, low.'
                  type: string
                cursor:
                  description: >-
                    Opaque page.next from this caller, subject, filters and
                    active run.
                  type: string
                dir:
                  description: Sort direction. Rank is always ascending.
                  enum:
                    - asc
                    - desc
                  type: string
                dismissed:
                  description: >-
                    The acting person's set-aside or pursuing signals. Absent
                    reads active signals.
                  enum:
                    - only
                    - pursuing
                  type: string
                facets:
                  description: >-
                    true: include the chip counts: lever, kind, type, band,
                    line, world, industry and office over the caller's admitted
                    signals, unfiltered by the page filters. producer and
                    client_manager (alone or with true, comma separated) add the
                    owner facets: the AMS 360 codes of the admitted signals with
                    their staff names and counts, busiest first, counted without
                    that owner selection, capped (facets.producer_truncated,
                    facets.client_manager_truncated say it was cut).
                  type: string
                hide.band:
                  description: >-
                    Comma-separated priority bands to leave out: critical, high,
                    medium, low. Empty or none hides nothing.
                  type: string
                hide.kind:
                  description: >-
                    Comma-separated kinds to leave out: retain, grow. Empty or
                    none hides nothing. Left out with every other view filter,
                    the person's saved view or the default applies. The view
                    block lists each value with its count.
                  type: string
                hide.lever:
                  description: >-
                    Comma-separated enabled levers to leave out. Empty or none
                    hides nothing.
                  type: string
                hide_dismissed:
                  description: >-
                    true (default): the default view leaves out the acting
                    person's dismissed and snoozed signals. false keeps them in
                    the list.
                  enum:
                    - 'true'
                    - 'false'
                  type: string
                include_total:
                  description: Include the exact filtered count across every page.
                  type: boolean
                industry:
                  description: Exact NAICS industry filter.
                  type: string
                kind:
                  description: >-
                    retain: keep revenue you have (in force today, a move can
                    keep it). grow: win revenue you do not have yet. Set by the
                    Engine config's kinds map; retain rows rank first. Narrows
                    rows and totals with type= as their intersection; a type
                    outside the kind is refused.
                  enum:
                    - retain
                    - grow
                  type: string
                leave_out:
                  description: >-
                    Comma-separated figures to leave out of this read when no
                    control of the caller shows them: industry (facets.industry
                    reads empty) and account_count (slice.account_count is
                    absent). Each leaves out the work that computes it; the
                    rows, total and every other figure are the same.
                  type: string
                lever:
                  description: >-
                    Comma-separated book signal levers: carrier_move,
                    cross_sell, coverage_gap, win_back. Disabled levers are
                    refused.
                  type: string
                limit:
                  description: >-
                    Page size, default 25, maximum 100 with an explicit coercion
                    warning.
                  format: int64
                  minimum: 1
                  type: integer
                line:
                  description: Exact line of business code.
                  type: string
                market:
                  description: Market filter within the caller's admitted book.
                  type: string
                min_premium:
                  description: >-
                    Non-negative premium floor in dollars, applied before
                    totals.
                  type: string
                moment_from:
                  description: >-
                    Inclusive first calendar day (YYYY-MM-DD) of moment_date,
                    the date the opportunity acts on: the renewal ahead, the
                    term that ended. Narrows rows and totals; a row with no
                    moment_date is left out while either end is set.
                  type: string
                moment_to:
                  description: >-
                    Inclusive last calendar day (YYYY-MM-DD) of moment_date.
                    Either end may be left open; moment_from after moment_to is
                    refused.
                  type: string
                new:
                  description: >-
                    true: only the signals the previous run did not serve, the
                    run the active run replaced when it flipped. Narrows rows,
                    totals and facets alike, so facets=true counts the new
                    signals by line. With no previous run on record no signal is
                    new. Refused with dismissed.
                  enum:
                    - 'true'
                    - 'false'
                  type: string
                office:
                  description: Office filter within the caller's admitted book.
                  type: string
                offset:
                  description: >-
                    Rows to skip before the page, in the global sort. Exclusive
                    with cursor; the page answers the offset it applied.
                  format: int64
                  maximum: 1000000
                  minimum: 0
                  type: integer
                owner_q:
                  description: >-
                    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 owner facets' lists (search a list the facet
                    cap cut) and selects no signal and moves no count.
                  maxLength: 64
                  type: string
                q:
                  description: >-
                    Account name search within the admitted book: the name holds
                    these words, any case, spacing, punctuation and plural
                    ignored.
                  type: string
                sort:
                  description: >-
                    Global sort; default rank. pursued requires
                    dismissed=pursuing.
                  enum:
                    - rank
                    - premium
                    - account
                    - timing
                    - workable
                    - pursued
                  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'
                type:
                  description: >-
                    Comma-separated observation types from the opportunity
                    engine.
                  type: string
                work_view:
                  description: >-
                    API-owned order and row cap for a work view. account
                    requires an account key.
                  enum:
                    - today
                    - account
                  type: string
                world:
                  description: Policy world filter.
                  type: string
              type: object
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OpportunitySignalsEnvelope'
          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:
    OpportunitySignalsEnvelope:
      additionalProperties: false
      properties:
        data:
          description: One page of the collection, in the requested sort order.
          items:
            $ref: '#/components/schemas/OpportunitySignal'
          type:
            - array
            - 'null'
        facets:
          $ref: '#/components/schemas/EngineOpportunityFacets'
          description: >-
            The chip counts, when facets=true, and the owner facets when facets
            names them. Counts are over the caller's admitted active signals,
            before the page filters other than the config cohort and the premium
            floor.
        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
        serving:
          $ref: '#/components/schemas/EngineOpportunityServing'
        slice:
          $ref: '#/components/schemas/EngineOpportunitySlice'
          description: The filtered set's premium, commission and counts.
        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/OpportunityView'
          description: >-
            The register view's filters this read applied: each hide filter's
            values with how many rows hold them among the rows every other
            filter keeps, each filter's default and applied value, and how many
            rows the view hides.
        warnings:
          description: >-
            Adjustments the platform made to the request (a coerced limit, a
            dropped facet).
          items:
            $ref: '#/components/schemas/Warning'
          type:
            - array
            - 'null'
        work_window:
          $ref: '#/components/schemas/RegisterWorkWindow'
      required:
        - serving
        - 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
    OpportunitySignal:
      additionalProperties: false
      properties:
        account_key:
          type: string
        account_name:
          type:
            - string
            - 'null'
        algorithmic_score:
          format: double
          type: number
        annotation_ref:
          type: string
        argument:
          type:
            - string
            - 'null'
        as_of:
          format: date-time
          type: string
        band:
          type: string
        brief:
          anyOf:
            - $ref: '#/components/schemas/Brief'
            - type: 'null'
        carried:
          $ref: '#/components/schemas/OpportunityCarried'
        caveats:
          type:
            - string
            - 'null'
        commission_in_play:
          type:
            - string
            - 'null'
        customer_id:
          type: string
        datasource:
          type: string
        dismissal:
          $ref: '#/components/schemas/OpportunityDismissal'
        evidence: {}
        final_score:
          format: double
          type: number
        flags:
          items:
            type: string
          type:
            - array
            - 'null'
        id:
          type: string
        kind:
          enum:
            - retain
            - grow
          type: string
        lever:
          type: string
        line:
          type:
            - string
            - 'null'
        lob_code:
          type:
            - string
            - 'null'
        moment_date:
          type:
            - string
            - 'null'
        multiplier:
          format: double
          type:
            - number
            - 'null'
        naics_code:
          description: >-
            The account's NAICS code as the warehouse holds it: the resolved
            client's, else the policy's CLIENT_NAICS_CODE when the account key
            is not ready, so it can be set while naics_industry is null. Null
            when the warehouse holds none.
          type:
            - string
            - 'null'
        naics_industry:
          type:
            - string
            - 'null'
        next_action:
          type:
            - string
            - 'null'
        observation_type:
          type: string
        opportunity_id:
          type: string
        premium_basis:
          type: string
        premium_in_play:
          type:
            - string
            - 'null'
        premium_typical_for_line:
          type:
            - string
            - 'null'
        pursuit:
          $ref: '#/components/schemas/OpportunityPursuit'
        reason:
          type: string
        register_rank:
          format: int64
          type: integer
        renewal:
          anyOf:
            - $ref: '#/components/schemas/EngineOpportunityRenewal'
            - type: 'null'
        snooze:
          $ref: '#/components/schemas/OpportunitySnoozeOptions'
        verdict:
          type:
            - string
            - 'null'
      required:
        - id
        - snooze
        - pursuit
        - annotation_ref
        - register_rank
        - opportunity_id
        - account_name
        - account_key
        - customer_id
        - datasource
        - naics_industry
        - naics_code
        - lever
        - kind
        - renewal
        - observation_type
        - band
        - final_score
        - algorithmic_score
        - multiplier
        - verdict
        - flags
        - reason
        - argument
        - next_action
        - caveats
        - brief
        - line
        - lob_code
        - premium_in_play
        - premium_basis
        - premium_typical_for_line
        - commission_in_play
        - evidence
        - moment_date
        - as_of
      type: object
    EngineOpportunityFacets:
      additionalProperties: false
      properties:
        band:
          additionalProperties:
            format: int64
            type: integer
          type: object
        client_manager:
          description: >-
            With facets=client_manager: the AMS 360 client manager codes of the
            seat's admitted opportunities, as facets.producer is counted,
            without the client_manager= selection. Rows published before the run
            that stores them list none.
          items:
            $ref: '#/components/schemas/BookOwnerFacet'
          type:
            - array
            - 'null'
        client_manager_truncated:
          description: True when facets.client_manager was cut at the owner facet cap.
          type: boolean
        industry:
          items:
            $ref: '#/components/schemas/EngineOpportunityFacet'
          type:
            - array
            - 'null'
        kind:
          additionalProperties:
            format: int64
            type: integer
          type: object
        lever:
          additionalProperties:
            format: int64
            type: integer
          type: object
        line:
          items:
            $ref: '#/components/schemas/EngineOpportunityFacet'
          type:
            - array
            - 'null'
        org:
          items:
            $ref: '#/components/schemas/BookOrgFacet'
          type:
            - array
            - 'null'
        org_markets:
          description: >-
            Each market's opportunities, each counted once however many of the
            market's offices its account's policies sit in: the total market=
            returns. Summing org office counts double counts such accounts.
          items:
            $ref: '#/components/schemas/BookOrgMarketFacet'
          type:
            - array
            - 'null'
        producer:
          description: >-
            With facets=producer: the AMS 360 producer codes of the seat's
            admitted opportunities, each with its staff name and its opportunity
            count, busiest first, ties by name. Counted without the producer=
            selection. A code the staff register does not name is not listed.
          items:
            $ref: '#/components/schemas/BookOwnerFacet'
          type:
            - array
            - 'null'
        producer_truncated:
          description: True when facets.producer was cut at the owner facet cap.
          type: boolean
        type:
          additionalProperties:
            format: int64
            type: integer
          type: object
        world:
          additionalProperties:
            format: int64
            type: integer
          type: object
      required:
        - lever
        - kind
        - type
        - band
        - line
        - world
        - industry
        - org
        - org_markets
      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
    EngineOpportunityServing:
      additionalProperties: false
      properties:
        as_of:
          format: date-time
          type:
            - string
            - 'null'
        assess_coverage:
          format: double
          type: number
        batch_set_id:
          type: string
        config_hash:
          type: string
        lens:
          $ref: '#/components/schemas/BookLensJSON'
        overlay_rev:
          format: int64
          type: integer
        prior_run_id:
          description: >-
            With new=true: the run the signals were compared against, the run
            the active run replaced. Absent when none is on record, and then no
            signal is new.
          type: string
        read_pin:
          format: date-time
          type: string
        retry_after:
          format: date-time
          type: string
        run_id:
          type:
            - string
            - 'null'
        source:
          $ref: '#/components/schemas/BookReadSourceJSON'
        stale:
          type: boolean
      required:
        - overlay_rev
        - run_id
        - as_of
        - stale
        - assess_coverage
      type: object
    EngineOpportunitySlice:
      additionalProperties: false
      properties:
        account_count:
          description: >-
            Distinct accounts in the slice. Absent when the read named
            account_count in leave_out.
          format: int64
          type: integer
        commission_in_play:
          type: string
        premium_in_play:
          type: string
        rows:
          format: int64
          type: integer
      required:
        - premium_in_play
        - commission_in_play
        - rows
      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
    OpportunityView:
      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'
        pursuing:
          description: >-
            The Pursuing tab's count: how many of the caller's Pursuing rows
            this read's page filters keep, over the rows the caller may see. The
            lever and band hides are the ones the request names (never the saved
            view), as the Pursuing view reads them; the kind hide never applies,
            as that view lists every Yes. It is the total dismissed=pursuing
            returns under the same filters, a Yes on a signal the active run no
            longer serves included. Present only on the register read
            (facets=true, no work_view); absent with dismissed=only or pursuing,
            with new=true, for a read with no person and when the count could
            not be read.
          format: int64
          type: integer
      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
    RegisterWorkWindow:
      additionalProperties: false
      properties:
        bands:
          description: >-
            The today work view's day bands of the renewal window (0 to 30, 30
            to 60, 60 to 120, 120 to the window's end): per band, the policies
            of the view's selection expiring in it, the accounts whose nearest
            selected renewal does, and those of them still open that the status
            rule left unbanded. The same counts as rollups.renewals.facets.bands
            on the same read; present on every today read, absent on every other
            view.
          items:
            $ref: '#/components/schemas/BookRenewalRegisterBand'
          type:
            - array
            - 'null'
        days_from:
          format: int64
          type:
            - integer
            - 'null'
        days_to:
          description: Exclusive upper day boundary.
          format: int64
          type:
            - integer
            - 'null'
        limit:
          format: int64
          type: integer
        name:
          type: string
      required:
        - name
        - days_from
        - days_to
        - limit
      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
    Brief:
      additionalProperties: false
      properties:
        colleague:
          anyOf:
            - $ref: '#/components/schemas/WhoToCall'
            - type: 'null'
        contact_note:
          type:
            - string
            - 'null'
        say:
          items:
            type: string
          type:
            - array
            - 'null'
        who_to_call:
          anyOf:
            - $ref: '#/components/schemas/WhoToCall'
            - type: 'null'
        why_now:
          type: string
      required:
        - why_now
        - who_to_call
        - colleague
        - contact_note
        - say
      type: object
    OpportunityCarried:
      additionalProperties: false
      properties:
        last_detected_at:
          format: date-time
          type:
            - string
            - 'null'
        not_detected_since:
          format: date-time
          type:
            - string
            - 'null'
        reason:
          type: string
      required:
        - reason
        - last_detected_at
        - not_detected_since
      type: object
    OpportunityDismissal:
      additionalProperties: false
      properties:
        account_decision_reason:
          type: string
        action:
          type: string
        created_at:
          format: date-time
          type: string
        note:
          type: string
        reason:
          type: string
        since:
          format: date-time
          type: string
        snooze_until:
          type:
            - string
            - 'null'
        updated_at:
          format: date-time
          type: string
      required:
        - action
        - reason
        - note
        - snooze_until
        - created_at
        - updated_at
      type: object
    OpportunityPursuit:
      additionalProperties: false
      properties:
        closed_reason:
          type: string
        note:
          type: string
        since:
          format: date-time
          type: string
        state:
          type: string
        won:
          $ref: '#/components/schemas/OpportunityWon'
      required:
        - since
        - note
        - won
      type: object
    EngineOpportunityRenewal:
      additionalProperties: false
      properties:
        'on':
          description: >-
            The renewal's expiration date, as the renewal register serves it:
            the open renewal, inside the Engine's renewal_link window, of the
            row's own current term (its comparison basis).
          format: date
          type: string
      required:
        - 'on'
      type: object
    OpportunitySnoozeOptions:
      additionalProperties: false
      properties:
        default_date:
          type: string
        max:
          type: string
        min:
          type: string
        picks:
          items:
            $ref: '#/components/schemas/OpportunitySnoozePick'
          type:
            - array
            - 'null'
      required:
        - min
        - max
        - default_date
        - picks
      type: object
    BookOwnerFacet:
      additionalProperties: false
      properties:
        code:
          type: string
        count:
          format: int64
          type: integer
        display_name:
          description: >-
            name as a producer reads it: AMS 360's Last, First in reading order
            without the dates, phone numbers, extensions or splits the agency
            typed into it. Filters take code; sorts read name.
          type: string
        name:
          type: string
      required:
        - code
        - name
        - count
      type: object
    EngineOpportunityFacet:
      additionalProperties: false
      properties:
        count:
          format: int64
          type: integer
        label:
          description: >-
            The value in producer words, as the rows serve it; absent where the
            value is already words.
          type: string
        value:
          type: string
      required:
        - value
        - count
      type: object
    BookOrgFacet:
      additionalProperties: false
      properties:
        count:
          format: int64
          type: integer
        market:
          type:
            - string
            - 'null'
        office_code:
          type: string
        office_label:
          type: string
      required:
        - market
        - office_code
        - office_label
        - count
      type: object
    BookOrgMarketFacet:
      additionalProperties: false
      properties:
        count:
          format: int64
          type: integer
        market:
          type: string
      required:
        - market
        - count
      type: object
    BookLensJSON:
      additionalProperties: false
      properties:
        display_name:
          type: string
        scope_kind:
          type: string
        target:
          type: string
      required:
        - target
        - display_name
        - scope_kind
      type: object
    BookReadSourceJSON:
      additionalProperties: false
      properties:
        current:
          type: boolean
        fetched_at:
          format: date-time
          type: string
        freshness:
          type: string
        mode:
          type: string
        stale_since:
          format: date-time
          type: string
      required:
        - mode
        - fetched_at
      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
    BookRenewalRegisterBand:
      additionalProperties: false
      properties:
        accounts:
          format: int64
          type: integer
        days_from:
          format: int64
          type: integer
        days_to:
          format: int64
          type: integer
        open_accounts:
          format: int64
          type: integer
        policies:
          format: int64
          type: integer
      required:
        - days_from
        - days_to
        - policies
        - accounts
        - open_accounts
      type: object
    WhoToCall:
      additionalProperties: false
      properties:
        email:
          type:
            - string
            - 'null'
        name:
          type: string
        phone:
          type:
            - string
            - 'null'
        role:
          type: string
        source:
          type: string
      required:
        - name
        - role
        - phone
        - email
        - source
      type: object
    OpportunityWon:
      additionalProperties: false
      properties:
        helped:
          type: string
        linked:
          type: boolean
        'on':
          format: date-time
          type: string
        policy:
          $ref: '#/components/schemas/OpportunityWonPolicy'
        premium:
          type: string
        since:
          type: string
      required:
        - 'on'
        - premium
        - policy
        - helped
        - linked
        - since
      type: object
    OpportunitySnoozePick:
      additionalProperties: false
      properties:
        date:
          type: string
        label:
          type: string
      required:
        - label
        - date
      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
    OpportunityWonPolicy:
      additionalProperties: false
      properties:
        annual_premium:
          type:
            - string
            - 'null'
        carrier:
          type: string
        effective_date:
          type:
            - string
            - 'null'
        kind:
          type: string
        line:
          type: string
        linked_by:
          type: string
        policy_key:
          type: string
        policy_number:
          type: string
      required:
        - policy_key
        - policy_number
        - carrier
        - kind
        - line
        - effective_date
        - annual_premium
        - linked_by
      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.