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

# The acting seat's pursued deals, one page in the requested order

> Open Salesforce deals of every opportunity type (New Business, Existing Business, Cross-Sell) with matched AMS evidence, plus AMS prospects without a deal. A person seat reads the deals it owns, leads or services and its own prospects: the prospect's customer producer or CSR is one of the seat's AMS codes, or the seat holds a current assignment on one of its policy terms; accounts matched to the seat's open deals stay. A whole-book seat reads every open deal and every prospect its scope admits. Filters, order, total and page, or each due bucket's first deals (view=board), and the due rollup (rollups=due) run in one warehouse statement. The default order is due bucket, due date, then deal_key. Quiet deals remain visible.



## OpenAPI

````yaml /openapi.generated.json get /records/deals
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/deals:
    get:
      tags:
        - deals
      summary: The acting seat's pursued deals, one page in the requested order
      description: >-
        Open Salesforce deals of every opportunity type (New Business, Existing
        Business, Cross-Sell) with matched AMS evidence, plus AMS prospects
        without a deal. A person seat reads the deals it owns, leads or services
        and its own prospects: the prospect's customer producer or CSR is one of
        the seat's AMS codes, or the seat holds a current assignment on one of
        its policy terms; accounts matched to the seat's open deals stay. A
        whole-book seat reads every open deal and every prospect its scope
        admits. Filters, order, total and page, or each due bucket's first deals
        (view=board), and the due rollup (rollups=due) run in one warehouse
        statement. The default order is due bucket, due date, then deal_key.
        Quiet deals remain visible.
      operationId: listDeals
      parameters:
        - description: >-
            The member the read is made for (a WorkOS user id). Unset keeps the
            org-wide posture the key alone grants.
          in: header
          name: Nexio-Act-As
          schema:
            description: >-
              The member the read is made for (a WorkOS user id). Unset keeps
              the org-wide posture the key alone grants.
            type: string
        - description: >-
            The acting member's verified email, lowercased. Ignored without
            Nexio-Act-As.
          in: header
          name: Nexio-Act-As-Email
          schema:
            description: >-
              The acting member's verified email, lowercased. Ignored without
              Nexio-Act-As.
            type: string
        - description: The calling application (workbench).
          in: header
          name: Nexio-Consumer
          schema:
            description: The calling application (workbench).
            type: string
        - description: The calling application's build.
          in: header
          name: Nexio-Consumer-Build
          schema:
            description: The calling application's build.
            type: string
        - description: The access vocabulary hash the calling build was generated against.
          in: header
          name: Nexio-Consumer-Vocabulary
          schema:
            description: >-
              The access vocabulary hash the calling build was generated
              against.
            type: string
        - description: >-
            A caller-chosen request id, echoed in the Nexio-Request-Id response
            header.
          in: header
          name: Nexio-Request-Id
          schema:
            description: >-
              A caller-chosen request id, echoed in the Nexio-Request-Id
              response header.
            type: string
        - description: >-
            The caller's remaining budget for this request, in whole
            milliseconds (1 to 10 digits, greater than zero), relative to
            receipt. The engine stops work at the shorter of this and the
            route's own budget, and answers 504 request_timeout when it expires.
            A value above the route budget is capped to it; a malformed value is
            ignored.
          in: header
          name: Nexio-Timeout
          schema:
            description: >-
              The caller's remaining budget for this request, in whole
              milliseconds (1 to 10 digits, greater than zero), relative to
              receipt. The engine stops work at the shorter of this and the
              route's own budget, and answers 504 request_timeout when it
              expires. A value above the route budget is capped to it; a
              malformed value is ignored.
            type: string
        - description: >-
            Keeps deals whose name holds these words, matched any case, spacing,
            punctuation and plural ignored.
          explode: false
          in: query
          name: q
          schema:
            description: >-
              Keeps deals whose name holds these words, matched any case,
              spacing, punctuation and plural ignored.
            type: string
        - description: >-
            Keeps Salesforce deals whose state is this deal_stage value; none
            keeps the deals whose Salesforce stage the machine does not declare.
          explode: false
          in: query
          name: deal_stage
          schema:
            description: >-
              Keeps Salesforce deals whose state is this deal_stage value; none
              keeps the deals whose Salesforce stage the machine does not
              declare.
            enum:
              - information_gathering
              - quoting
              - proposal
              - closed_won
              - closed_lost
              - closed_did_not_submit
              - none
            type: string
        - description: >-
            Keeps AMS 360 prospects whose state is this prospect_stage value;
            none keeps the prospects whose stage the machine does not declare.
          explode: false
          in: query
          name: prospect_stage
          schema:
            description: >-
              Keeps AMS 360 prospects whose state is this prospect_stage value;
              none keeps the prospects whose stage the machine does not declare.
            enum:
              - prospect
              - marketing
              - submission_to_carrier
              - quote_received
              - proposal
              - bind_request
              - binder
              - new_business
              - declined_by_customer
              - none
            type: string
        - description: >-
            Keeps deals whose stage words, ignoring case, or whose machine value
            is this text, on either machine. deal_stage and prospect_stage
            filter on one machine.
          explode: false
          in: query
          name: stage
          schema:
            description: >-
              Keeps deals whose stage words, ignoring case, or whose machine
              value is this text, on either machine. deal_stage and
              prospect_stage filter on one machine.
            type: string
        - description: Keeps deals whose next action is this one.
          explode: false
          in: query
          name: next_action
          schema:
            description: Keeps deals whose next action is this one.
            enum:
              - set_effective_date
              - past_effective
              - build_submission
              - follow_up_quotes
              - remarket_or_close
              - inactive_prospect
              - draft_proposal
              - follow_up_client
            type: string
        - description: >-
            salesforce: every Salesforce deal, each on deal_stage. ams360: every
            live AMS 360 prospect, one row per customer whether a deal matched
            it or not, each on prospect_stage. Absent: the Salesforce deals and
            the prospects no deal matched, each on its own machine.
          explode: false
          in: query
          name: source
          schema:
            description: >-
              salesforce: every Salesforce deal, each on deal_stage. ams360:
              every live AMS 360 prospect, one row per customer whether a deal
              matched it or not, each on prospect_stage. Absent: the Salesforce
              deals and the prospects no deal matched, each on its own machine.
            enum:
              - salesforce
              - ams360
            type: string
        - description: >-
            true: deals that name an account (a Salesforce deal the platform
            matched to an AMS 360 account, or an AMS 360 prospect). false: deals
            with no account.
          explode: false
          in: query
          name: matched
          schema:
            description: >-
              true: deals that name an account (a Salesforce deal the platform
              matched to an AMS 360 account, or an AMS 360 prospect). false:
              deals with no account.
            enum:
              - 'true'
              - 'false'
            type: string
        - description: >-
            Read as past_due_days=1 when true and as 0 when false, unless
            past_due_days is sent. Left out, the person's saved view or the
            default applies.
          explode: false
          in: query
          name: hide_past_due
          schema:
            description: >-
              Read as past_due_days=1 when true and as 0 when false, unless
              past_due_days is sent. Left out, the person's saved view or the
              default applies.
            enum:
              - 'true'
              - 'false'
            type: string
        - description: >-
            Leaves out deals this many days or more past their due date; a deal
            with no due date stays. 1 leaves out every past due deal. 0 turns it
            off. Left out, the person's saved view or the default applies.
          explode: false
          in: query
          name: past_due_days
          schema:
            description: >-
              Leaves out deals this many days or more past their due date; a
              deal with no due date stays. 1 leaves out every past due deal. 0
              turns it off. Left out, the person's saved view or the default
              applies.
            format: int64
            maximum: 3650
            minimum: 0
            type: integer
        - description: >-
            Keeps deals on this AMS 360 account, named by its Records account id
            in either spelling: a Salesforce deal the platform matched to it, or
            its AMS 360 prospect.
          explode: false
          in: query
          name: account_id
          schema:
            description: >-
              Keeps deals on this AMS 360 account, named by its Records account
              id in either spelling: a Salesforce deal the platform matched to
              it, or its AMS 360 prospect.
            type: string
        - description: >-
            Keeps deals whose owner, a Salesforce owner's name or an AMS 360
            prospect's producer code, is this value exactly; the seat's own
            deals, the prospects where it is the producer or CSR included, are
            the read without it, and the owner field names whose each deal is.
            The due rollup's producer facet lists the values the seat's deals
            hold.
          explode: false
          in: query
          name: producer
          schema:
            description: >-
              Keeps deals whose owner, a Salesforce owner's name or an AMS 360
              prospect's producer code, is this value exactly; the seat's own
              deals, the prospects where it is the producer or CSR included, are
              the read without it, and the owner field names whose each deal is.
              The due rollup's producer facet lists the values the seat's deals
              hold.
            type: string
        - description: >-
            Keeps deals whose deal_type is this value exactly: the Salesforce
            opportunity type (New Business, Existing Business, Cross-Sell), New
            Business for an AMS 360 prospect. The due rollup's deal_type facet
            lists the values the seat's deals hold.
          explode: false
          in: query
          name: deal_type
          schema:
            description: >-
              Keeps deals whose deal_type is this value exactly: the Salesforce
              opportunity type (New Business, Existing Business, Cross-Sell),
              New Business for an AMS 360 prospect. The due rollup's deal_type
              facet lists the values the seat's deals hold.
            maxLength: 64
            type: string
        - description: >-
            Keeps AMS 360 rows of this kind, read from AMS 360:
            renewal_remarketing for an account whose open submission group is
            coded renewal (REN); new_line for a client's open group coded new
            business (NB); new_business for a suspect or prospect otherwise. A
            Salesforce deal has no submission kind. The due rollup's
            submission_kind facet counts each kind.
          explode: false
          in: query
          name: submission_kind
          schema:
            description: >-
              Keeps AMS 360 rows of this kind, read from AMS 360:
              renewal_remarketing for an account whose open submission group is
              coded renewal (REN); new_line for a client's open group coded new
              business (NB); new_business for a suspect or prospect otherwise. A
              Salesforce deal has no submission kind. The due rollup's
              submission_kind facet counts each kind.
            enum:
              - new_business
              - renewal_remarketing
              - new_line
            type: string
        - description: >-
            Comma-separated stage values to leave out, from the requested
            source's machine, plus no_date for deals with no due date. Empty or
            none hides nothing. Left out, the person's saved view or the default
            applies. A read with no source takes no_date only. The view block
            lists the values with their counts.
          explode: false
          in: query
          name: hide.stage
          schema:
            description: >-
              Comma-separated stage values to leave out, from the requested
              source's machine, plus no_date for deals with no due date. Empty
              or none hides nothing. Left out, the person's saved view or the
              default applies. A read with no source takes no_date only. The
              view block lists the values with their counts.
            type: string
        - description: >-
            Leaves out deals with no touch in this many days, except a deal with
            an open follow-up ahead, a binder or a due date ahead. A deal with
            no touch date stays. 0 turns it off. Left out, the person's saved
            view or the default applies.
          explode: false
          in: query
          name: no_touch_days
          schema:
            description: >-
              Leaves out deals with no touch in this many days, except a deal
              with an open follow-up ahead, a binder or a due date ahead. A deal
              with no touch date stays. 0 turns it off. Left out, the person's
              saved view or the default applies.
            format: int64
            maximum: 3650
            minimum: 0
            type: integer
        - description: >-
            Leaves out deals created more than this many days ago. 0 turns it
            off. Left out, the person's saved view or the default applies.
          explode: false
          in: query
          name: created_days
          schema:
            description: >-
              Leaves out deals created more than this many days ago. 0 turns it
              off. Left out, the person's saved view or the default applies.
            format: int64
            maximum: 3650
            minimum: 0
            type: integer
        - description: >-
            opportunities, the default: the deals every other parameter
            describes. leads: the seat's open Salesforce leads (neither
            converted nor unqualified), newest first by created day, each in the
            no_date bucket with kind lead. all: every opportunity in the
            requested order, then the open leads newest first; a hidden no_date
            bucket hides the leads. leads and all take source=salesforce and no
            stage, next action, matched, account, deal_type or q filter;
            producer narrows the leads by owner, and the other hide filters
            narrow opportunities only.
          explode: false
          in: query
          name: kind
          schema:
            description: >-
              opportunities, the default: the deals every other parameter
              describes. leads: the seat's open Salesforce leads (neither
              converted nor unqualified), newest first by created day, each in
              the no_date bucket with kind lead. all: every opportunity in the
              requested order, then the open leads newest first; a hidden
              no_date bucket hides the leads. leads and all take
              source=salesforce and no stage, next action, matched, account,
              deal_type or q filter; producer narrows the leads by owner, and
              the other hide filters narrow opportunities only.
            enum:
              - opportunities
              - leads
              - all
            type: string
        - description: >-
            Rows to skip, register views only: at most 1000000, not with cursor.
            A later page continues with page.next.
          explode: false
          in: query
          name: offset
          schema:
            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
        - explode: false
          in: query
          name: due_bucket
          schema:
            enum:
              - past_due
              - d0_30
              - d31_60
              - d61_90
              - d91_180
              - d180_plus
              - no_date
            type: string
        - description: >-
            The order of the filtered set; the default is due: due bucket, then
            nearest the seat's day first (the most recently past first within
            past_due, the soonest first after it), then deal key. name and -name
            order by the deal name. stage and -stage order by the stage's place
            in the New Business pipeline (new to binding), an unplaced stage
            after the placed ones by name. amount and -amount order by the
            deal's amount: the exact Salesforce expected revenue, or the AMS 360
            premium of a deal with no Salesforce opportunity. expected_revenue
            orders by the exact Salesforce amount only. last_touch_on and
            -last_touch_on order by the latest touch. Ties keep the due order
            (which ends on deal_key), and a deal with no value for the sort key
            sorts last.
          explode: false
          in: query
          name: sort
          schema:
            description: >-
              The order of the filtered set; the default is due: due bucket,
              then nearest the seat's day first (the most recently past first
              within past_due, the soonest first after it), then deal key. name
              and -name order by the deal name. stage and -stage order by the
              stage's place in the New Business pipeline (new to binding), an
              unplaced stage after the placed ones by name. amount and -amount
              order by the deal's amount: the exact Salesforce expected revenue,
              or the AMS 360 premium of a deal with no Salesforce opportunity.
              expected_revenue orders by the exact Salesforce amount only.
              last_touch_on and -last_touch_on order by the latest touch. Ties
              keep the due order (which ends on deal_key), and a deal with no
              value for the sort key sorts last.
            enum:
              - due
              - name
              - '-name'
              - stage
              - '-stage'
              - amount
              - '-amount'
              - expected_revenue
              - '-expected_revenue'
              - last_touch_on
              - '-last_touch_on'
            type: string
        - explode: false
          in: query
          name: limit
          schema:
            format: int64
            minimum: 1
            type: integer
        - explode: false
          in: query
          name: cursor
          schema:
            type: string
        - description: >-
            board: the first limit deals of each due bucket in the requested
            order instead of one page of the whole list, with each bucket's
            count and next cursor in columns. A column's next cursor continues
            that bucket's own list (due_bucket). Takes no cursor, offset or
            due_bucket.
          explode: false
          in: query
          name: view
          schema:
            description: >-
              board: the first limit deals of each due bucket in the requested
              order instead of one page of the whole list, with each bucket's
              count and next cursor in columns. A column's next cursor continues
              that bucket's own list (due_bucket). Takes no cursor, offset or
              due_bucket.
            enum:
              - board
            type: string
        - description: >-
            How view=board cuts its columns. due, the default: the due buckets.
            stage: the stages of the source's machine, in the machine's order,
            each with its count and next cursor in stage_columns, and its deals
            in the requested order (the due order by default: past due first,
            then the soonest). A stage column's next cursor continues that
            stage's own list (deal_stage or prospect_stage, none for the deals
            whose Salesforce stage the machine does not declare). Takes
            view=board, a source and kind opportunities.
          explode: false
          in: query
          name: group
          schema:
            description: >-
              How view=board cuts its columns. due, the default: the due
              buckets. stage: the stages of the source's machine, in the
              machine's order, each with its count and next cursor in
              stage_columns, and its deals in the requested order (the due order
              by default: past due first, then the soonest). A stage column's
              next cursor continues that stage's own list (deal_stage or
              prospect_stage, none for the deals whose Salesforce stage the
              machine does not declare). Takes view=board, a source and kind
              opportunities.
            enum:
              - due
              - stage
            type: string
        - description: >-
            due answers GET /records/deals/rollups/due for the same filters in
            rollups.due, from the page's own read. stage answers the stage
            board's headers in rollups.stage: every open stage of the source's
            machine in its order, also when it holds no deal, with the count and
            amounts of the filtered deals on it. Both take no cursor or
            due_bucket; stage takes a source and kind opportunities.
          explode: false
          in: query
          name: rollups
          schema:
            description: >-
              due answers GET /records/deals/rollups/due for the same filters in
              rollups.due, from the page's own read. stage answers the stage
              board's headers in rollups.stage: every open stage of the source's
              machine in its order, also when it holds no deal, with the count
              and amounts of the filtered deals on it. Both take no cursor or
              due_bucket; stage takes a source and kind opportunities.
            items:
              enum:
                - due
                - stage
              type: string
            type:
              - array
              - 'null'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DealList'
          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:
    DealList:
      additionalProperties: false
      properties:
        columns:
          description: >-
            view=board: each due bucket that holds a deal, in due order, with
            its count and the cursor of its next page.
          items:
            $ref: '#/components/schemas/DealsColumn'
          type:
            - array
            - 'null'
        data:
          description: One page of the collection, in the requested sort order.
          items:
            $ref: '#/components/schemas/Deal'
          type:
            - array
            - 'null'
        facets:
          additionalProperties:
            items:
              $ref: '#/components/schemas/FacetValue'
            type:
              - array
              - 'null'
          description: Present only for the facets the request named in facets=.
          type: object
        missing_count:
          description: >-
            For a hierarchy read, source records missing the requested level
            after source filters, before name/ID filters and pagination. Present
            even when zero or the page is empty.
          format: int64
          type: integer
        page:
          $ref: '#/components/schemas/Page'
        request_id:
          description: The request id, as echoed in the Nexio-Request-Id response header.
          type: string
        rollups:
          $ref: '#/components/schemas/DealListRollups'
          description: >-
            Present only for the rollups the request named in rollups=, each
            computed by the same read as the page.
        source:
          $ref: '#/components/schemas/Source'
        stage_columns:
          description: >-
            view=board with group=stage: each stage that holds a deal, in the
            machine's order, with its count and the cursor of its next page.
          items:
            $ref: '#/components/schemas/DealsStageColumn'
          type:
            - array
            - 'null'
        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: >-
            The hide filters this read applied, with each option's count and how
            many rows they hide. Present on a read with no cursor, offset or
            due_bucket, also with every filter off.
        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
    DealsColumn:
      additionalProperties: false
      properties:
        bucket:
          enum:
            - past_due
            - d0_30
            - d31_60
            - d61_90
            - d91_180
            - d180_plus
            - no_date
          type: string
        count:
          format: int64
          type: integer
        next:
          description: >-
            The cursor of the column's next page, read with due_bucket set to
            this bucket; null when the column's first page holds every deal.
          type:
            - string
            - 'null'
      required:
        - bucket
        - count
        - next
      type: object
    Deal:
      additionalProperties: false
      properties:
        account_id:
          type:
            - string
            - 'null'
        bor_status:
          anyOf:
            - $ref: '#/components/schemas/MachineState'
              description: >-
                Where the account's Broker of Record stands, from the notation
                on its policies, as bor_status declares it. Null when no policy
                carries a BOR notation or the org does not declare the value.
            - type: 'null'
        created_on:
          description: The day a lead was created in Salesforce; null on a deal.
          type:
            - string
            - 'null'
        customer_status:
          description: >-
            The AMS 360 customer's status as AMS 360 splits it (suspect,
            prospect or client). Null on a Salesforce deal and on a lead.
          enum:
            - suspect
            - prospect
            - client
          type:
            - string
            - 'null'
        days_to_due:
          format: int64
          type:
            - integer
            - 'null'
        deal_key:
          type: string
        deal_type:
          description: >-
            The Salesforce opportunity type as Salesforce names it (New
            Business, Existing Business, Cross-Sell); New Business for an AMS
            360 prospect; null on a lead and on an opportunity with no type.
          type:
            - string
            - 'null'
        due_basis:
          enum:
            - effective_date
            - target_close
          type:
            - string
            - 'null'
        due_bucket:
          enum:
            - past_due
            - d0_30
            - d31_60
            - d61_90
            - d91_180
            - d180_plus
            - no_date
          type: string
        due_on:
          type:
            - string
            - 'null'
        expected_revenue:
          description: Exact decimal Salesforce expected revenue.
          type:
            - string
            - 'null'
        gone_quiet:
          type: boolean
        kind:
          description: >-
            deal: a Salesforce opportunity or an AMS 360 prospect. lead: an open
            Salesforce lead (kind=leads or kind=all), which has a name, stage,
            owner and created day and no due date, amount, account, market or
            next action.
          enum:
            - deal
            - lead
          type: string
        last_touch_on:
          type:
            - string
            - 'null'
        last_touch_source:
          enum:
            - ams360
            - salesforce
          type:
            - string
            - 'null'
        line:
          type:
            - string
            - 'null'
        markets:
          $ref: '#/components/schemas/DealMarkets'
        naics_code:
          type:
            - string
            - 'null'
        name:
          type:
            - string
            - 'null'
        next_action:
          description: >-
            Null when the stage is settled or the machine does not declare it.
            set_effective_date: establish the missing effective or target-close
            date. build_submission: prepare the account for market submission.
            follow_up_quotes: request outstanding carrier answers.
            past_effective: the effective date has passed with the submission
            still open, so close or renew it in AMS 360. remarket_or_close:
            carriers were approached and every one declined. inactive_prospect:
            an AMS 360 prospect with no effective date and no activity for 60
            days. draft_proposal: prepare a proposal from received quotes.
            follow_up_client: confirm the client's decision or binding
            instructions.
          enum:
            - set_effective_date
            - past_effective
            - build_submission
            - follow_up_quotes
            - remarket_or_close
            - inactive_prospect
            - draft_proposal
            - follow_up_client
          type:
            - string
            - 'null'
        next_step:
          anyOf:
            - $ref: '#/components/schemas/MachineNextStep'
              description: >-
                The next action as its machine declares it: key, words and who
                the work waits on. Null when next_action is null or the org does
                not declare the machine.
            - type: 'null'
        owner:
          description: >-
            Salesforce producer name, or AMS owner code when a producer name is
            not served.
          type:
            - string
            - 'null'
        policy_id:
          description: >-
            The AMS 360 account's current submission policy, the one a save for
            the deal names. The current submission group is the one whose
            policies have the latest effective term, then the latest entered
            day. Null on a Salesforce deal with no AMS 360 account.
          type:
            - string
            - 'null'
        premium:
          description: >-
            Exact decimal AMS premium; may repeat across deals on the same
            account.
          type:
            - string
            - 'null'
        record_type:
          description: >-
            The Salesforce opportunity's record type name as Salesforce names
            it. Null on an AMS 360 prospect, on a lead and on a deal read from
            the warehouse.
          type:
            - string
            - 'null'
        record_url:
          type:
            - string
            - 'null'
        salesforce_id:
          type:
            - string
            - 'null'
        stage:
          description: The stage label; state carries the stage as its machine declares it.
          type:
            - string
            - 'null'
        stage_source:
          enum:
            - ams360
            - salesforce
          type:
            - string
            - 'null'
        state:
          anyOf:
            - $ref: '#/components/schemas/DealState'
              description: >-
                The deal's stage on its source's machine. Null for a Salesforce
                stage the machine does not declare.
            - type: 'null'
        submission_kind:
          description: >-
            What an AMS 360 row is in work for, read from AMS 360:
            renewal_remarketing when the account's open submission group is
            coded renewal (REN); new_line when a client's open group is coded
            new business (NB); new_business for a suspect or prospect otherwise.
            Null on a Salesforce deal and on a lead.
          enum:
            - new_business
            - renewal_remarketing
            - new_line
          type:
            - string
            - 'null'
        weighted_revenue:
          description: >-
            Exact decimal Salesforce weighted revenue: the expected revenue
            times its stage's probability. Null on an AMS 360 prospect and on a
            lead.
          type:
            - string
            - 'null'
      required:
        - deal_key
        - kind
        - account_id
        - name
        - line
        - premium
        - expected_revenue
        - weighted_revenue
        - due_on
        - due_basis
        - days_to_due
        - due_bucket
        - stage
        - stage_source
        - deal_type
        - state
        - bor_status
        - markets
        - last_touch_on
        - last_touch_source
        - next_step
        - next_action
        - owner
        - naics_code
        - record_url
        - salesforce_id
        - gone_quiet
        - created_on
        - submission_kind
        - policy_id
        - customer_status
        - record_type
      type: object
    FacetValue:
      additionalProperties: false
      properties:
        count:
          format: int64
          type: integer
        description:
          type: string
        label:
          type: string
        parent:
          type: string
        value:
          type: string
      required:
        - value
        - count
      type: object
    Page:
      additionalProperties: false
      properties:
        cursor:
          description: The cursor that produced this page; null for the first page.
          type:
            - string
            - 'null'
        limit:
          description: >-
            The page size the platform applied, after any coercion (see
            warnings).
          format: int64
          type: integer
        max_limit:
          description: >-
            The largest page size this collection serves for this request's
            view; a larger limit is coerced to it (see warnings). A reader that
            wants the whole set in one page reads at this ceiling. Absent where
            the collection states none.
          format: int64
          type: integer
        next:
          description: The cursor of the following page; null at the end of the collection.
          type:
            - string
            - 'null'
        offset:
          description: >-
            The rows skipped before this page, echoed only when the request sent
            offset (a register's page jump).
          format: int64
          type: integer
        prev:
          description: The cursor of the preceding page; null on the first page.
          type:
            - string
            - 'null'
      required:
        - cursor
        - next
        - prev
        - limit
      type: object
    DealListRollups:
      additionalProperties: false
      properties:
        due:
          $ref: '#/components/schemas/DealsDue'
          description: >-
            The due rollup of the filtered deals (rollups=due), as GET
            /records/deals/rollups/due serves it.
        stage:
          $ref: '#/components/schemas/DealsStageRollup'
          description: >-
            The stage rollup of the filtered deals (rollups=stage): the headers
            of the stage board.
      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
    DealsStageColumn:
      additionalProperties: false
      properties:
        count:
          format: int64
          type: integer
        machine:
          enum:
            - deal_stage
            - prospect_stage
          type: string
        next:
          description: >-
            The cursor of the column's next page, read with the stage's own
            filter; null when the column's first page holds every deal.
          type:
            - string
            - 'null'
        value:
          description: >-
            The stage's value on its machine, as the query parameter its machine
            names takes it; none for the deals whose Salesforce stage the
            machine does not declare.
          type: string
      required:
        - machine
        - value
        - count
        - next
      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
    MachineState:
      additionalProperties: false
      properties:
        label:
          description: >-
            The words a person sees for the value; null when the machine labels
            none.
          type:
            - string
            - 'null'
        machine:
          description: The machine's state field (GET /records/machines/{field}).
          type: string
        next:
          anyOf:
            - $ref: '#/components/schemas/MachineNextStep'
              description: The next step served for the value; null when it has none.
            - type: 'null'
        settled:
          description: True when the value ends the work.
          type: boolean
        step:
          description: The workflow step the value sits in; null when it sits in none.
          type:
            - string
            - 'null'
        tone:
          description: The tone the value is shown with; null when the machine gives none.
          enum:
            - neutral
            - positive
            - warning
            - danger
            - null
          type:
            - string
            - 'null'
        value:
          type: string
      required:
        - machine
        - value
        - label
        - step
        - settled
        - tone
        - next
      type: object
    DealMarkets:
      additionalProperties: false
      properties:
        answers_as_of:
          description: >-
            Latest dated carrier answer in the AMS evidence; null when no dated
            answer exists. This is evidence age, not a claim that the source is
            current.
          type:
            - string
            - 'null'
        carriers:
          items:
            $ref: '#/components/schemas/DealCarrier'
          type:
            - array
            - 'null'
        declined:
          format: int64
          type: integer
        quoted:
          format: int64
          type: integer
        submitted:
          format: int64
          type: integer
      required:
        - submitted
        - quoted
        - declined
        - carriers
        - answers_as_of
      type: object
    MachineNextStep:
      additionalProperties: false
      properties:
        key:
          description: The next step key.
          type: string
        label:
          description: The words a person sees for the step.
          type: string
        waiting_on:
          description: Who the work waits on at this step.
          type: string
      required:
        - key
      type: object
    DealState:
      additionalProperties: false
      properties:
        label:
          type: string
        machine:
          enum:
            - deal_stage
            - prospect_stage
          type: string
        next:
          anyOf:
            - $ref: '#/components/schemas/MachineNextStep'
              description: >-
                The machine's next step for the value; null when the value is
                settled.
            - type: 'null'
        settled:
          description: True when the value ends the work.
          type: boolean
        step:
          description: The workflow step the value sits in.
          type: string
        tone:
          enum:
            - neutral
            - positive
            - warning
            - danger
          type: string
        value:
          type: string
      required:
        - machine
        - value
        - label
        - step
        - settled
        - tone
        - next
      type: object
    DealsDue:
      additionalProperties: false
      properties:
        buckets:
          description: >-
            Every due bucket in due order, also when it holds no deal. past_due
            is left out while past_due_days is 1.
          items:
            $ref: '#/components/schemas/DealDueBucket'
          type:
            - array
            - 'null'
        facets:
          $ref: '#/components/schemas/DealsFacets'
          description: >-
            The values each filter can take, with their deal counts. A facet
            counts the deals every other filter keeps, so its own filter never
            hides its other values.
      required:
        - buckets
        - facets
      type: object
    DealsStageRollup:
      additionalProperties: false
      properties:
        stages:
          description: >-
            Every open stage of the source's machine in its order, also when it
            holds no deal, then each other stage that holds a deal (a settled
            stage, or none for the deals whose Salesforce stage the machine does
            not declare) in the machine's order. The counts and amounts are the
            filtered deals', so they add up to the due rollup's for the same
            filters.
          items:
            $ref: '#/components/schemas/DealStageRollupStage'
          type:
            - array
            - 'null'
      required:
        - stages
      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
    DealCarrier:
      additionalProperties: false
      properties:
        last_action:
          description: >-
            The AMS 360 action name last logged against the carrier's
            submission.
          type:
            - string
            - 'null'
        last_action_on:
          description: The day of last_action.
          type:
            - string
            - 'null'
        name:
          type: string
        policy_id:
          description: >-
            The carrier's submission policy in the current submission group, the
            policy a save for this carrier names. Null when the group has no
            policy for the carrier.
          type:
            - string
            - 'null'
        status:
          description: >-
            Where the carrier stands on the current submission group, from its
            last action: lost when that action is Lost, declined when the
            carrier's newest answer is a decline, quoted when it has answered,
            submitted otherwise.
          enum:
            - submitted
            - quoted
            - declined
            - lost
          type: string
      required:
        - name
        - status
        - policy_id
        - last_action
        - last_action_on
      type: object
    DealDueBucket:
      additionalProperties: false
      properties:
        bucket:
          enum:
            - past_due
            - d0_30
            - d31_60
            - d61_90
            - d91_180
            - d180_plus
            - no_date
          type: string
        count:
          format: int64
          type: integer
        expected_revenue:
          description: >-
            Exact decimal sum over Salesforce deals only; missing amounts
            contribute nothing.
          type: string
        premium:
          description: >-
            Exact decimal sum over AMS-only deals only; matched AMS premium is
            excluded.
          type: string
        weighted_revenue:
          description: >-
            Exact decimal sum of the Salesforce deals' weighted revenue; missing
            amounts contribute nothing.
          type: string
      required:
        - bucket
        - count
        - expected_revenue
        - weighted_revenue
        - premium
      type: object
    DealsFacets:
      additionalProperties: false
      properties:
        deal_type:
          description: >-
            Each deal type the other filters keep, by count then name, the
            values the deal_type filter takes.
          items:
            $ref: '#/components/schemas/DealFacetValue'
          type:
            - array
            - 'null'
        next_action:
          items:
            $ref: '#/components/schemas/DealFacetValue'
          type:
            - array
            - 'null'
        past_due:
          description: >-
            Past due deals the other filters keep: what past_due_days leaves
            out.
          format: int64
          type: integer
        producer:
          description: >-
            Each deal owner the other filters keep, the values the producer
            filter takes.
          items:
            $ref: '#/components/schemas/DealFacetValue'
          type:
            - array
            - 'null'
        source:
          items:
            $ref: '#/components/schemas/DealFacetValue'
          type:
            - array
            - 'null'
        stage:
          items:
            $ref: '#/components/schemas/DealFacetValue'
          type:
            - array
            - 'null'
        submission_kind:
          description: >-
            Each submission kind the other filters keep, in new_business,
            renewal_remarketing, new_line order, the values the submission_kind
            filter takes. The counts add up to the AMS 360 rows the other
            filters keep.
          items:
            $ref: '#/components/schemas/DealFacetValue'
          type:
            - array
            - 'null'
      required:
        - stage
        - next_action
        - source
        - producer
        - deal_type
        - submission_kind
        - past_due
      type: object
    DealStageRollupStage:
      additionalProperties: false
      properties:
        count:
          format: int64
          type: integer
        expected_revenue:
          description: >-
            Exact decimal sum over Salesforce deals only; missing amounts
            contribute nothing.
          type: string
        label:
          description: The stage's words on its machine.
          type: string
        machine:
          enum:
            - deal_stage
            - prospect_stage
          type: string
        premium:
          description: >-
            Exact decimal sum over AMS-only deals only; matched AMS premium is
            excluded.
          type: string
        value:
          description: >-
            The stage's value on its machine, as the query parameter its machine
            names takes it; none for the deals whose Salesforce stage the
            machine does not declare.
          type: string
        weighted_revenue:
          description: >-
            Exact decimal sum of the Salesforce deals' weighted revenue; missing
            amounts contribute nothing.
          type: string
      required:
        - machine
        - value
        - label
        - count
        - expected_revenue
        - weighted_revenue
        - premium
      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
    DealFacetValue:
      additionalProperties: false
      properties:
        count:
          format: int64
          type: integer
        label:
          description: The words for the value, for a stage and a declared next action.
          type: string
        machine:
          description: >-
            The machine a stage value belongs to, and the query parameter that
            filters on it.
          enum:
            - deal_stage
            - prospect_stage
          type: string
        value:
          description: >-
            The value the filter takes. A stage is its machine's value: send it
            as the query parameter its machine names.
          type: string
      required:
        - value
        - count
      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.