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

# Appetite assertions on a market

> The appetite assertions people published on one market: its current assertions, or one assertion's revisions. Each item's revision is the expected_revision a market_appetite.publish change names; can_publish says whether the acting member may publish.



## OpenAPI

````yaml /openapi.generated.json get /records/market-appetite/rollups/assertions
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/market-appetite/rollups/assertions:
    get:
      tags:
        - markets
      summary: Appetite assertions on a market
      description: >-
        The appetite assertions people published on one market: its current
        assertions, or one assertion's revisions. Each item's revision is the
        expected_revision a market_appetite.publish change names; can_publish
        says whether the acting member may publish.
      operationId: getMarketAppetiteAssertions
      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 kind: catalog, a native catalog head (with entity_key),
            or ams, a live AMS 360 company (with datasource_id and company_id).
          explode: false
          in: query
          name: kind
          schema:
            description: >-
              The market's kind: catalog, a native catalog head (with
              entity_key), or ams, a live AMS 360 company (with datasource_id
              and company_id).
            enum:
              - catalog
              - ams
            type: string
        - description: The market's catalog or source connection.
          explode: false
          in: query
          name: connection_id
          schema:
            description: The market's catalog or source connection.
            type: string
        - description: A native market's entity key.
          explode: false
          in: query
          name: entity_key
          schema:
            description: A native market's entity key.
            type: string
        - description: An AMS 360 company's datasource.
          explode: false
          in: query
          name: datasource_id
          schema:
            description: An AMS 360 company's datasource.
            type: string
        - description: An AMS 360 company's source row id.
          explode: false
          in: query
          name: company_id
          schema:
            description: An AMS 360 company's source row id.
            type: string
        - description: >-
            One assertion's revisions, newest first. Absent: the market's
            current assertions, withdrawals included.
          explode: false
          in: query
          name: assertion_id
          schema:
            description: >-
              One assertion's revisions, newest first. Absent: the market's
              current assertions, withdrawals included.
            type: string
        - description: >-
            With line_code: only the current assertions on this business class
            key and line, every state and route; each item's revision is the
            expected_revision a change to that scope names. Never with
            assertion_id.
          explode: false
          in: query
          name: class_key
          schema:
            description: >-
              With line_code: only the current assertions on this business class
              key and line, every state and route; each item's revision is the
              expected_revision a change to that scope names. Never with
              assertion_id.
            maxLength: 256
            type: string
        - description: >-
            With class_key: the line of the current assertions listed, a code of
            GET /records/products?view=lines (linevocabulary.IsLineCode). Any
            other value is a 400.
          explode: false
          in: query
          name: line_code
          schema:
            description: >-
              With class_key: the line of the current assertions listed, a code
              of GET /records/products?view=lines (linevocabulary.IsLineCode).
              Any other value is a 400.
            maxLength: 64
            type: string
        - description: Page size, 1 to 250. Default 100.
          explode: false
          in: query
          name: limit
          schema:
            description: Page size, 1 to 250. Default 100.
            format: int64
            type: integer
        - description: Rows to skip.
          explode: false
          in: query
          name: offset
          schema:
            description: Rows to skip.
            format: int64
            type: integer
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CatalogAppetiteAssertionsResponse'
          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
        '503':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
          description: Service Unavailable
      security:
        - bearer: []
components:
  schemas:
    CatalogAppetiteAssertionsResponse:
      additionalProperties: false
      properties:
        can_publish:
          type: boolean
        has_more:
          type: boolean
        items:
          items:
            $ref: '#/components/schemas/MarketAppetiteRevision'
          type:
            - array
            - 'null'
        limit:
          format: int64
          type: integer
        max_changes:
          format: int64
          type: integer
        offset:
          format: int64
          type: integer
      required:
        - items
        - limit
        - offset
        - has_more
        - max_changes
        - can_publish
      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
    MarketAppetiteRevision:
      additionalProperties: false
      properties:
        acted_by_actor_id:
          type: string
        actor_email:
          type: string
        actor_id:
          type: string
        added_by:
          type: string
        added_by_email:
          type: string
        added_by_note:
          type: string
        added_on:
          type: string
        assertion_id:
          type: string
        based_on:
          items:
            $ref: '#/components/schemas/MarketAppetiteEvidenceRef'
          type:
            - array
            - 'null'
        constraints:
          $ref: '#/components/schemas/MarketAppetiteConstraints'
        created_at:
          format: date-time
          type: string
        eligibility:
          type: string
        evidence_refs:
          items:
            $ref: '#/components/schemas/MarketAppetiteEvidenceRef'
          type:
            - array
            - 'null'
        market:
          $ref: '#/components/schemas/MarketAppetiteReference'
        operation:
          type: string
        reason:
          type: string
        revision:
          format: int64
          type: integer
        scope:
          $ref: '#/components/schemas/MarketAppetiteScope'
      required:
        - assertion_id
        - market
        - scope
        - revision
        - operation
        - reason
        - evidence_refs
        - based_on
        - actor_id
        - created_at
      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
    MarketAppetiteEvidenceRef:
      additionalProperties: false
      properties:
        id:
          type: string
        kind:
          type: string
        version:
          type: string
      required:
        - kind
      type: object
    MarketAppetiteConstraints:
      additionalProperties: false
      properties:
        conditions:
          items:
            $ref: '#/components/schemas/MarketAppetiteCondition'
          type:
            - array
            - 'null'
        construction:
          type: string
        factor_order:
          items:
            type: string
          type:
            - array
            - 'null'
        max_building_tiv:
          format: int64
          type: integer
        max_frame_tiv:
          format: int64
          type: integer
        max_location_tiv:
          format: int64
          type: integer
        min_year_built:
          format: int64
          type: integer
        rehab_exception_note:
          type: string
        tenant_classes:
          items:
            type: string
          type:
            - array
            - 'null'
      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
    MarketAppetiteScope:
      additionalProperties: false
      properties:
        business_class_key:
          type: string
        business_class_label:
          type: string
        line_code:
          type: string
        route_ref:
          type: string
        route_scope:
          type: string
        state_code:
          type: string
        state_scope:
          type: string
      required:
        - business_class_key
        - business_class_label
        - line_code
        - state_scope
        - route_scope
      type: object
    MarketAppetiteCondition:
      additionalProperties: false
      properties:
        applies_when:
          items:
            $ref: '#/components/schemas/MarketAppetiteConditionPredicate'
          type:
            - array
            - 'null'
        fact_key:
          type: string
        key:
          type: string
        label:
          type: string
        operator:
          type: string
        source:
          $ref: '#/components/schemas/MarketAppetiteConditionSource'
        value: {}
        verbatim:
          type: string
      required:
        - key
        - label
        - verbatim
        - fact_key
        - operator
        - source
      type: object
    MarketAppetiteConditionPredicate:
      additionalProperties: false
      properties:
        fact_key:
          type: string
        operator:
          type: string
        value: {}
      required:
        - fact_key
        - operator
      type: object
    MarketAppetiteConditionSource:
      additionalProperties: false
      properties:
        actor_email:
          type: string
        as_of:
          type: string
        id:
          type: string
        kind:
          type: string
        label:
          type: string
        row:
          format: int64
          type: integer
        sha256:
          type: string
        sheet:
          type: string
      required:
        - kind
        - label
      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.