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

# Read the org's claimed wins

> Claimed wins and the closes after a Yes nobody claimed, with totals computed in SQL. Org scope only: leader, admin and operator seats.



## OpenAPI

````yaml /openapi.generated.json get /records/opportunity-signals/wins
openapi: 3.1.0
info:
  description: >-
    Public API reference. Generated from apps/engine/openapi.yaml by make
    docs-openapi-write. Do not edit.
  title: Nexio platform API
  version: '1'
servers:
  - url: https://api.usenexio.com
security: []
tags:
  - name: Access
  - name: Catalog
  - name: Conversations
  - name: Documents
  - name: Engines
  - name: Events
  - name: Feedback
  - name: Graph
  - name: Records
  - name: Roadmap
  - name: Runs
  - name: Webhooks
  - name: accounts
  - name: actions
  - name: activities
  - name: activity-feed
  - name: attachments
  - name: audit
  - name: benefit-plans
  - name: billing-transactions
  - name: carrier_documents
  - name: certificate-holders
  - name: certificate_drafts
  - name: certificates
  - name: change_feed
  - name: claims
  - name: classes
  - name: codes
  - name: commission_facts
  - name: connections
  - name: contacts
  - name: contingencies
  - name: conversations
  - name: customer
  - name: customer_contacts
  - name: deals
  - name: dependents
  - name: document_extractions
  - name: documents
  - name: drivers
  - name: eforms
  - name: employees
  - name: events
  - name: feature_requests
  - name: form-templates
  - name: invoices
  - name: leads
  - name: line_schedules_other
  - name: loss_history
  - name: machines
  - name: markets
  - name: motor-carriers
  - name: notes
  - name: opportunities
  - name: opportunity-signals
  - name: pages
  - name: personal_lines_detail
  - name: placement_choices
  - name: placement_feedback
  - name: placements
  - name: policies
  - name: policy_parties
  - name: policy_personnel
  - name: policy_transactions
  - name: premium_rows
  - name: procedures
  - name: proposals
  - name: quote_comparisons
  - name: quotes
  - name: records
  - name: register-views
  - name: renewal-entries
  - name: risk_review_choices
  - name: rollups
  - name: seats
  - name: sec-filings
  - name: service_agreements
  - name: submissions
  - name: suspenses
  - name: tasks
  - name: umbrella_underlying
  - name: underwriting_questions
  - name: uploaded_documents
  - name: vehicles
  - name: workflows
paths:
  /records/opportunity-signals/wins:
    get:
      tags:
        - opportunity-signals
      summary: Read the org's claimed wins
      description: >-
        Claimed wins and the closes after a Yes nobody claimed, with totals
        computed in SQL. Org scope only: leader, admin and operator seats.
      operationId: listOpportunitySignalWins
      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
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OpportunityWinsReport'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
          description: Not Found
        '409':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
          description: Conflict
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
          description: Internal Server Error
        '503':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
          description: Service Unavailable
      security:
        - bearer: []
components:
  schemas:
    OpportunityWinsReport:
      additionalProperties: false
      properties:
        totals:
          $ref: '#/components/schemas/OpportunityWinTotals'
        unclaimed:
          items:
            $ref: '#/components/schemas/OpportunityUnclaimedClose'
          type:
            - array
            - 'null'
        wins:
          items:
            $ref: '#/components/schemas/OpportunityOrgWin'
          type:
            - array
            - 'null'
      required:
        - wins
        - unclaimed
        - totals
      type: object
    ErrorEnvelope:
      additionalProperties: false
      properties:
        code:
          description: The stable machine-readable error code. One meaning forever.
          type: string
        details:
          description: Structured detail for the code.
        message:
          description: A human-readable sentence about this occurrence.
          type: string
      required:
        - code
        - message
      type: object
    OpportunityWinTotals:
      additionalProperties: false
      properties:
        linked_premium:
          type: string
        linked_wins:
          format: int64
          type: integer
        premium:
          type: string
        pursuing:
          format: int64
          type: integer
        unclaimed:
          format: int64
          type: integer
        wins:
          format: int64
          type: integer
      required:
        - wins
        - premium
        - linked_wins
        - linked_premium
        - unclaimed
        - pursuing
      type: object
    OpportunityUnclaimedClose:
      additionalProperties: false
      properties:
        account:
          $ref: '#/components/schemas/OpportunityWinAccount'
        arrived:
          $ref: '#/components/schemas/OpportunityArrivedPolicy'
        opportunity:
          $ref: '#/components/schemas/OpportunityWinSubject'
        opportunity_id:
          type: string
        producer:
          $ref: '#/components/schemas/OpportunityWinPerson'
        pursuing_since:
          format: date-time
          type: string
      required:
        - opportunity_id
        - producer
        - account
        - opportunity
        - pursuing_since
        - arrived
      type: object
    OpportunityOrgWin:
      additionalProperties: false
      properties:
        account:
          $ref: '#/components/schemas/OpportunityWinAccount'
        helped:
          type: string
        linked:
          type: boolean
        'on':
          format: date-time
          type: string
        opportunity:
          $ref: '#/components/schemas/OpportunityWinSubject'
        opportunity_id:
          type: string
        policy:
          $ref: '#/components/schemas/OpportunityWonPolicy'
        premium:
          type: string
        producer:
          $ref: '#/components/schemas/OpportunityWinPerson'
      required:
        - opportunity_id
        - 'on'
        - producer
        - account
        - opportunity
        - premium
        - policy
        - linked
        - helped
      type: object
    OpportunityWinAccount:
      additionalProperties: false
      properties:
        account_key:
          type: string
        name:
          type:
            - string
            - 'null'
      required:
        - account_key
        - name
      type: object
    OpportunityArrivedPolicy:
      additionalProperties: false
      properties:
        annual_premium:
          type:
            - string
            - 'null'
        carrier:
          type: string
        effective_date:
          type: string
        kind:
          type: string
        line:
          type: string
        observed_at:
          format: date-time
          type: string
        policy_key:
          type: string
        policy_number:
          type: string
      required:
        - policy_key
        - policy_number
        - carrier
        - kind
        - line
        - effective_date
        - annual_premium
        - observed_at
      type: object
    OpportunityWinSubject:
      additionalProperties: false
      properties:
        lever:
          type: string
        line:
          type:
            - string
            - 'null'
        line_label:
          type:
            - string
            - 'null'
        observation_type:
          type: string
      required:
        - lever
        - observation_type
        - line
        - line_label
      type: object
    OpportunityWinPerson:
      additionalProperties: false
      properties:
        name:
          type: string
        principal_id:
          type: string
      required:
        - principal_id
        - name
      type: object
    OpportunityWonPolicy:
      additionalProperties: false
      properties:
        annual_premium:
          type:
            - string
            - 'null'
        carrier:
          type: string
        effective_date:
          type:
            - string
            - 'null'
        kind:
          type: string
        line:
          type: string
        linked_by:
          type: string
        policy_key:
          type: string
        policy_number:
          type: string
      required:
        - policy_key
        - policy_number
        - carrier
        - kind
        - line
        - effective_date
        - annual_premium
        - linked_by
      type: object
  securitySchemes:
    bearer:
      description: The org's platform API key.
      scheme: bearer
      type: http

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.