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

# Get a market

> One market with its products, relationships, appetite and cited documents, and the carrier's website, logo and square symbol. A retired market's key answers its canonical market.



## OpenAPI

````yaml /openapi.generated.json get /records/markets/{id}
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/markets/{id}:
    get:
      tags:
        - markets
      summary: Get a market
      description: >-
        One market with its products, relationships, appetite and cited
        documents, and the carrier's website, logo and square symbol. A retired
        market's key answers its canonical market.
      operationId: getMarket
      parameters:
        - description: >-
            The member the read is made for (a WorkOS user id). Unset keeps the
            org-wide posture the key alone grants.
          in: header
          name: Nexio-Act-As
          schema:
            description: >-
              The member the read is made for (a WorkOS user id). Unset keeps
              the org-wide posture the key alone grants.
            type: string
        - description: >-
            The acting member's verified email, lowercased. Ignored without
            Nexio-Act-As.
          in: header
          name: Nexio-Act-As-Email
          schema:
            description: >-
              The acting member's verified email, lowercased. Ignored without
              Nexio-Act-As.
            type: string
        - description: The calling application (workbench).
          in: header
          name: Nexio-Consumer
          schema:
            description: The calling application (workbench).
            type: string
        - description: The calling application's build.
          in: header
          name: Nexio-Consumer-Build
          schema:
            description: The calling application's build.
            type: string
        - description: The access vocabulary hash the calling build was generated against.
          in: header
          name: Nexio-Consumer-Vocabulary
          schema:
            description: >-
              The access vocabulary hash the calling build was generated
              against.
            type: string
        - description: >-
            A caller-chosen request id, echoed in the Nexio-Request-Id response
            header.
          in: header
          name: Nexio-Request-Id
          schema:
            description: >-
              A caller-chosen request id, echoed in the Nexio-Request-Id
              response header.
            type: string
        - description: >-
            The caller's remaining budget for this request, in whole
            milliseconds (1 to 10 digits, greater than zero), relative to
            receipt. The engine stops work at the shorter of this and the
            route's own budget, and answers 504 request_timeout when it expires.
            A value above the route budget is capped to it; a malformed value is
            ignored.
          in: header
          name: Nexio-Timeout
          schema:
            description: >-
              The caller's remaining budget for this request, in whole
              milliseconds (1 to 10 digits, greater than zero), relative to
              receipt. The engine stops work at the shorter of this and the
              route's own budget, and answers 504 request_timeout when it
              expires. A value above the route budget is capped to it; a
              malformed value is ignored.
            type: string
        - description: The market's entity key.
          in: path
          name: id
          required: true
          schema:
            description: The market's entity key.
            type: string
        - description: Resolve the market's products for this state.
          explode: false
          in: query
          name: state
          schema:
            description: Resolve the market's products for this state.
            type: string
        - description: true serves older schedules beside the governing rows.
          explode: false
          in: query
          name: history
          schema:
            description: true serves older schedules beside the governing rows.
            type: string
        - description: >-
            true serves seat: the market's terms as one placement seat reads
            them, for the state parameter and line.
          explode: false
          in: query
          name: seat
          schema:
            description: >-
              true serves seat: the market's terms as one placement seat reads
              them, for the state parameter and line.
            type: string
        - description: >-
            With seat=true: the seat's line as the seat names it (a catalog line
            code, a book line, an app line), canonicalized by the catalog's line
            rule. Absent or program reads every commercial line.
          explode: false
          in: query
          name: line
          schema:
            description: >-
              With seat=true: the seat's line as the seat names it (a catalog
              line code, a book line, an app line), canonicalized by the
              catalog's line rule. Absent or program reads every commercial
              line.
            type: string
        - explode: false
          in: query
          name: connection_id
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RecordCatalogMarketDetailJSON'
          description: OK
        '400':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
          description: Bad Request
        '403':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
          description: Forbidden
        '404':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
          description: Not Found
        '500':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
          description: Internal Server Error
      security:
        - bearer: []
components:
  schemas:
    RecordCatalogMarketDetailJSON:
      additionalProperties: false
      properties:
        data:
          $ref: '#/components/schemas/CatalogMarketDetailJSON'
        missing_count:
          description: >-
            For a hierarchy record, source records missing that level after
            source filters and before name/ID filters.
          format: int64
          type: integer
        request_id:
          type: string
        source:
          $ref: '#/components/schemas/Source'
        unreachable:
          items:
            $ref: '#/components/schemas/Unreachable'
          type:
            - array
            - 'null'
        warnings:
          items:
            $ref: '#/components/schemas/Warning'
          type:
            - array
            - 'null'
      required:
        - data
        - 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
    CatalogMarketDetailJSON:
      additionalProperties: false
      properties:
        appetite:
          items:
            $ref: '#/components/schemas/CatalogAppetiteJSON'
          type:
            - array
            - 'null'
        canonical_entity_key:
          type: string
        logo:
          anyOf:
            - $ref: '#/components/schemas/MarketLogoJSON'
              description: The carrier's stored logo; null when none is on file.
            - type: 'null'
        market:
          $ref: '#/components/schemas/CatalogMarketJSON'
        retired:
          type: boolean
        seat:
          $ref: '#/components/schemas/SeatTerms'
        symbol:
          anyOf:
            - $ref: '#/components/schemas/MarketLogoJSON'
              description: >-
                The carrier's square symbol, for a tile too small to read its
                logo; null when none is on file. The bytes are at the logo read
                with mark=symbol.
            - type: 'null'
        website:
          description: >-
            The carrier's website from its verified domain; null when none is on
            file.
          type:
            - string
            - 'null'
      required:
        - website
        - logo
        - symbol
        - appetite
      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
    Unreachable:
      additionalProperties: false
      properties:
        detail:
          type: string
        part:
          description: The envelope part (a field path or a child family).
          type: string
        reason:
          description: 'Why: no_adapter, not_documented, absent, source_unavailable, ...'
          type: string
        ref:
          description: The vendor reference id of the call that failed, when one did.
          type: string
      required:
        - part
        - reason
      type: object
    Warning:
      additionalProperties: false
      properties:
        code:
          description: >-
            UPPER_SNAKE_CASE, one meaning forever (LIMIT_COERCED, FACET_DROPPED,
            ...).
          type: string
        detail:
          type: string
      required:
        - code
      type: object
    ProblemError:
      additionalProperties: false
      properties:
        location:
          description: Where the input was, for example query.limit.
          type: string
        message:
          type: string
        value: {}
      required:
        - message
      type: object
    CatalogAppetiteJSON:
      additionalProperties: false
      properties:
        business_class:
          type: string
        confidence:
          format: double
          type:
            - number
            - 'null'
        eligibility:
          type: string
        line:
          type: string
        line_code:
          type: string
        market_entity_key:
          type: string
        product_grain:
          enum:
            - product
            - type
          type: string
        product_id:
          type:
            - string
            - 'null'
        product_source_text:
          type: string
        product_unmatched_reason:
          type:
            - string
            - 'null'
        provenance:
          $ref: '#/components/schemas/CatalogProvenanceJSON'
        segment:
          type: string
        signals:
          $ref: '#/components/schemas/CatalogSignalsJSON'
        verdict:
          description: >-
            What the eligibility tells a producer: writes (send it), considers
            (ask first), wont_write (do not send), or unstated when the token is
            outside the eligibility vocabulary. Read from eligibility, whose
            provenance is the cell's source.
          enum:
            - writes
            - considers
            - wont_write
            - unstated
          type: string
      required:
        - market_entity_key
        - segment
        - business_class
        - line
        - line_code
        - eligibility
        - verdict
        - confidence
        - provenance
        - product_id
        - product_grain
        - product_source_text
        - product_unmatched_reason
      type: object
    MarketLogoJSON:
      additionalProperties: false
      properties:
        etag:
          description: >-
            The logo's version: a prefix of its sha256. Pass it as v= on the
            logo read to cache the bytes for good.
          type: string
        fit:
          description: >-
            How a square tile draws the file: fill is a near-square file that
            carries its own safe area (a bare mark inset in the file, or a
            filled tile to its edge), drawn edge to edge and clipped to the
            tile's corners; pad is a wordmark or a file stored before it was
            normalized, inset with even padding.
          enum:
            - fill
            - pad
          type: string
        format:
          enum:
            - svg
            - png
            - webp
            - jpeg
          type: string
        height:
          description: >-
            Pixels for a raster; the viewBox height for an SVG. Null when the
            file does not state it.
          format: int64
          type:
            - integer
            - 'null'
        width:
          description: >-
            Pixels for a raster; the viewBox width for an SVG. Null when the
            file does not state it.
          format: int64
          type:
            - integer
            - 'null'
      required:
        - etag
        - format
        - width
        - height
        - fit
      type: object
    CatalogMarketJSON:
      additionalProperties: false
      properties:
        agreement_ended_on:
          type: string
        agreement_year:
          format: int64
          type: integer
        am_best_rating:
          type:
            - string
            - 'null'
        appetite_reference:
          $ref: '#/components/schemas/MarketAppetiteReference'
        appointment:
          $ref: '#/components/schemas/CatalogAppointmentJSON'
        backing:
          type:
            - string
            - 'null'
        documents:
          items:
            $ref: '#/components/schemas/CatalogMarketDocumentJSON'
          type:
            - array
            - 'null'
        effective_year:
          format: int64
          type:
            - integer
            - 'null'
        entity_key:
          type: string
        id:
          type: string
        legal_name:
          type: string
        market_id:
          type: string
        market_type:
          type:
            - string
            - 'null'
        name:
          type: string
        parties:
          items:
            type: string
          type:
            - array
            - 'null'
        products:
          items:
            $ref: '#/components/schemas/CatalogProductJSON'
          type:
            - array
            - 'null'
        provenance:
          $ref: '#/components/schemas/CatalogProvenanceJSON'
        relationships:
          items:
            $ref: '#/components/schemas/CatalogRelationshipJSON'
          type:
            - array
            - 'null'
        short_name:
          type: string
        signals:
          $ref: '#/components/schemas/CatalogSignalsJSON'
      required:
        - appointment
        - id
        - entity_key
        - market_id
        - name
        - short_name
        - market_type
        - am_best_rating
        - effective_year
        - provenance
        - products
        - relationships
        - backing
      type: object
    SeatTerms:
      additionalProperties: false
      properties:
        focus_label:
          description: >-
            The line group the seat reads: its line's group, else the first
            commercial group; null when the market has none.
          type:
            - string
            - 'null'
        issuing_company:
          description: >-
            The first applying row's issuing company; null when none names one.
            Served as the row names it, even when it equals the market's name;
            the seat card prints it only when it differs.
          type:
            - string
            - 'null'
        line:
          description: >-
            The catalog line code the seat asked for; null for a program-wide
            seat, which reads every commercial line.
          type:
            - string
            - 'null'
        line_row_count:
          description: >-
            The commercial rows on the seat's line (every commercial row for a
            program-wide seat), in any state.
          format: int64
          type: integer
        market_short_name:
          description: >-
            The market the way a producer says it on a card: the market's served
            short_name. The seat card prints issuing_company as Paper only when
            it differs from this name.
          type: string
        product_ids:
          description: >-
            The served product rows that apply to the seat: commercial, on the
            seat's line, applying in its state. The seat's commission and
            program are read from these rows only.
          items:
            type: string
          type:
            - array
            - 'null'
        program:
          description: The first applying row's program; null when none names one.
          type:
            - string
            - 'null'
        state:
          description: The seat's two-letter state; empty when none was asked.
          type: string
        state_standing:
          anyOf:
            - $ref: '#/components/schemas/StateStanding'
              description: >-
                How the seat's state stands on the market; null when no state
                was asked.
            - type: 'null'
      required:
        - market_short_name
        - line
        - state
        - state_standing
        - product_ids
        - line_row_count
        - focus_label
        - program
        - issuing_company
      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
    CatalogProvenanceJSON:
      additionalProperties: false
      properties:
        effective_from:
          format: date-time
          type: string
        extraction_run_id:
          type:
            - string
            - 'null'
        source_blob_ref:
          type:
            - string
            - 'null'
        source_label:
          type:
            - string
            - 'null'
        source_removed_at:
          format: date-time
          type: string
      required:
        - source_blob_ref
        - source_label
        - extraction_run_id
        - effective_from
      type: object
    CatalogSignalsJSON:
      additionalProperties: false
      type: object
    MarketAppetiteReference:
      additionalProperties: false
      properties:
        company_id:
          type: string
        connection_id:
          type: string
        datasource_id:
          type: string
        entity_key:
          type: string
        kind:
          type: string
      required:
        - kind
        - connection_id
      type: object
    CatalogAppointmentJSON:
      additionalProperties: false
      properties:
        agreement:
          anyOf:
            - $ref: '#/components/schemas/CatalogStandingAgreementJSON'
              description: >-
                The agreement the standing rests on: the one in force when
                current, the last to end when terminated; null otherwise.
            - type: 'null'
        as_of:
          format: date-time
          type: string
        badge:
          type: boolean
        basis:
          $ref: '#/components/schemas/CatalogAppointmentBasis'
        execution_backed:
          type: boolean
        reasons:
          items:
            $ref: '#/components/schemas/CatalogAppointmentReason'
          type:
            - array
            - 'null'
        standing:
          enum:
            - current
            - terminated
            - undetermined
            - none_on_file
            - unverified
          type: string
        statement:
          description: >-
            One sentence: whether we can place with the carrier today, and under
            which agreement.
          type: string
        via_prior_names_only:
          type: boolean
      required:
        - standing
        - badge
        - execution_backed
        - via_prior_names_only
        - statement
        - agreement
        - reasons
        - basis
        - as_of
      type: object
    CatalogMarketDocumentJSON:
      additionalProperties: false
      properties:
        file_name:
          type:
            - string
            - 'null'
        source_blob_ref:
          type:
            - string
            - 'null'
        source_label:
          type:
            - string
            - 'null'
        states:
          items:
            type: string
          type:
            - array
            - 'null'
        terms_governing:
          format: int64
          type: integer
        terms_total:
          format: int64
          type: integer
        year:
          format: int64
          type:
            - integer
            - 'null'
      required:
        - source_blob_ref
        - source_label
        - file_name
        - year
        - states
        - terms_total
        - terms_governing
      type: object
    CatalogProductJSON:
      additionalProperties: false
      properties:
        appetite_strength:
          type:
            - string
            - 'null'
        avoided:
          type: boolean
        band_max_cents:
          format: int64
          type:
            - integer
            - 'null'
        band_min_cents:
          format: int64
          type:
            - integer
            - 'null'
        citations:
          additionalProperties:
            $ref: '#/components/schemas/CatalogCitationJSON'
          type: object
        commission_is_percent:
          type:
            - boolean
            - 'null'
        commission_new:
          format: double
          type:
            - number
            - 'null'
        commission_new_fraction:
          format: double
          type:
            - number
            - 'null'
        commission_renewal:
          format: double
          type:
            - number
            - 'null'
        commission_renewal_fraction:
          format: double
          type:
            - number
            - 'null'
        commission_tier_kind:
          type: string
        effective_date:
          type:
            - string
            - 'null'
        eligible_states:
          items:
            type: string
          type:
            - array
            - 'null'
        excluded_states:
          items:
            type: string
          type:
            - array
            - 'null'
        governing:
          type: boolean
        governing_exclusions:
          items:
            type: string
          type:
            - array
            - 'null'
        held_for_review:
          type: boolean
        id:
          type: string
        issuing_company:
          type:
            - string
            - 'null'
        line:
          type: string
        line_class:
          type: string
        line_code:
          type:
            - string
            - 'null'
        line_group:
          type:
            - string
            - 'null'
        market_entity_key:
          type: string
        placement_group_rank:
          format: int64
          type: integer
        policy_condition:
          type:
            - string
            - 'null'
        product_grain:
          enum:
            - product
            - type
          type: string
        product_id:
          type:
            - string
            - 'null'
        product_key:
          type: string
        product_name:
          type:
            - string
            - 'null'
        product_source_text:
          type: string
        product_unmatched_reason:
          type:
            - string
            - 'null'
        program_parent:
          type:
            - string
            - 'null'
        prohibited_naics:
          items:
            type: string
          type:
            - array
            - 'null'
        provenance:
          $ref: '#/components/schemas/CatalogProvenanceJSON'
        raw_label:
          type: string
        register_group_rank:
          format: int64
          type: integer
        signals:
          $ref: '#/components/schemas/CatalogSignalsJSON'
        source_line_label:
          type:
            - string
            - 'null'
        state_scope:
          type:
            - string
            - 'null'
        tier_basis:
          type: string
        variant_rank:
          format: int64
          type: integer
      required:
        - commission_new_fraction
        - commission_renewal_fraction
        - id
        - product_key
        - market_entity_key
        - line
        - line_code
        - line_class
        - product_name
        - commission_new
        - commission_renewal
        - commission_is_percent
        - source_line_label
        - policy_condition
        - appetite_strength
        - excluded_states
        - prohibited_naics
        - state_scope
        - avoided
        - provenance
        - citations
        - eligible_states
        - effective_date
        - issuing_company
        - program_parent
        - line_group
        - raw_label
        - commission_tier_kind
        - tier_basis
        - band_min_cents
        - band_max_cents
        - placement_group_rank
        - register_group_rank
        - product_id
        - product_grain
        - product_source_text
        - product_unmatched_reason
      type: object
    CatalogRelationshipJSON:
      additionalProperties: false
      properties:
        carrier_issued_codes:
          items:
            type: string
          type:
            - array
            - 'null'
        effective_from_date:
          type:
            - string
            - 'null'
        effective_to_date:
          type:
            - string
            - 'null'
        execution_backed:
          type: boolean
        family_entity:
          type: string
        paper_status:
          type: string
        source_blob_ref:
          type:
            - string
            - 'null'
        source_label:
          type:
            - string
            - 'null'
        succession_date:
          type:
            - string
            - 'null'
        term_ended:
          type: boolean
        termination_source_blob_ref:
          type: string
      required:
        - family_entity
        - paper_status
        - execution_backed
        - effective_from_date
        - effective_to_date
        - succession_date
        - carrier_issued_codes
        - source_blob_ref
        - source_label
        - term_ended
      type: object
    StateStanding:
      additionalProperties: false
      properties:
        as_of:
          description: >-
            The latest effective_from of the rows read (RFC 3339, UTC): the
            newest served fact the standing rests on; null when no row was read.
          type:
            - string
            - 'null'
        basis:
          $ref: '#/components/schemas/SeatTermsBasis'
        reasons:
          items:
            $ref: '#/components/schemas/StateStandingReason'
          type:
            - array
            - 'null'
        value:
          enum:
            - excluded
            - excluded_on_some
            - named_eligible
            - all_licensed
            - verify_first
          type: string
      required:
        - value
        - reasons
        - basis
        - as_of
      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
    CatalogStandingAgreementJSON:
      additionalProperties: false
      properties:
        effective_from_date:
          type:
            - string
            - 'null'
        effective_to_date:
          type:
            - string
            - 'null'
        party:
          description: >-
            The agency family the agreement is attributed to (the paper's party,
            resolved through the profile's agency codes); empty when the paper
            states none.
          type: string
        prior_name:
          description: The agreement is held under a prior agency name.
          type: boolean
        source_blob_ref:
          type:
            - string
            - 'null'
      required:
        - party
        - prior_name
        - effective_from_date
        - effective_to_date
        - source_blob_ref
      type: object
    CatalogAppointmentBasis:
      additionalProperties: false
      properties:
        derived:
          enum:
            - market_appointment
          type: string
      required:
        - derived
      type: object
    CatalogAppointmentReason:
      additionalProperties: false
      properties:
        code:
          enum:
            - live_agreement
            - terminated_agreement
            - unknown_paper
            - no_paper
            - not_read
          type: string
        source:
          $ref: '#/components/schemas/CatalogAppointmentSource'
        text:
          type: string
      required:
        - code
        - text
        - source
      type: object
    CatalogCitationJSON:
      additionalProperties: false
      properties:
        field_path:
          type:
            - string
            - 'null'
        grain:
          type: string
        page:
          format: int64
          type:
            - integer
            - 'null'
        quote:
          type:
            - string
            - 'null'
        region:
          $ref: '#/components/schemas/CatalogCitationRegionJSON'
        source_blob_ref:
          type:
            - string
            - 'null'
      required:
        - source_blob_ref
        - field_path
        - quote
        - page
        - region
        - grain
      type: object
    SeatTermsBasis:
      additionalProperties: false
      properties:
        derived:
          enum:
            - market_seat_terms
          type: string
        rows_read:
          description: >-
            The commercial rows on the seat's line the standing was decided
            from.
          format: int64
          type: integer
      required:
        - derived
        - rows_read
      type: object
    StateStandingReason:
      additionalProperties: false
      properties:
        code:
          enum:
            - excluded_state
            - named_state
            - all_licensed
            - not_named
          type: string
        source:
          $ref: '#/components/schemas/StateStandingReasonSource'
        text:
          type: string
      required:
        - code
        - text
        - source
      type: object
    CatalogAppointmentSource:
      additionalProperties: false
      properties:
        kind:
          enum:
            - market_relationships
          type: string
        ref:
          type: string
        source_blob_ref:
          type:
            - string
            - 'null'
      required:
        - kind
        - ref
        - source_blob_ref
      type: object
    CatalogCitationRegionJSON:
      additionalProperties: false
      properties:
        h:
          format: double
          type: number
        w:
          format: double
          type: number
        x:
          format: double
          type: number
        'y':
          format: double
          type: number
      required:
        - x
        - 'y'
        - w
        - h
      type: object
    StateStandingReasonSource:
      additionalProperties: false
      properties:
        kind:
          enum:
            - catalog_product
          type: string
        ref:
          description: >-
            The served product id; empty when the reason is that no row names
            the state.
          type: string
      required:
        - kind
        - ref
      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.