> ## Documentation Index
> Fetch the complete documentation index at: https://docs.datadash.xyz/llms.txt
> Use this file to discover all available pages before exploring further.

# Signal Score

> Per-wallet, per-position insider signal scores for currently-held legs in active markets.



## OpenAPI

````yaml /openapi.json post /api/v1/signals/scores
openapi: 3.0.3
info:
  title: DataDash Analytics API
  version: 1.0.0
servers: []
security:
  - ApiKeyAuth: []
  - BearerAuth: []
paths:
  /api/v1/signals/scores:
    post:
      tags:
        - Signals
      summary: Signal Score
      description: >-
        Per-wallet, per-position insider signal scores for currently-held legs
        in active markets.
      operationId: listSignalsScores
      requestBody:
        content:
          application/json:
            schema:
              properties:
                filter:
                  $ref: '#/components/schemas/SignalScoreFilter'
                orderBy:
                  description: >-
                    Sort keys in priority order; the first is the primary sort.
                    Defaults to the table's configured ranking when omitted.
                  items:
                    properties:
                      direction:
                        default: asc
                        enum:
                          - asc
                          - desc
                        type: string
                      field:
                        enum:
                          - userId
                          - positionId
                          - marketId
                          - eventId
                          - tagIds
                          - avgEntryPrice
                          - totalBoughtShares
                          - tradeSize
                          - relSize
                          - daysToResolution
                          - pNow
                          - slipAbs
                          - score
                        type: string
                    required:
                      - field
                    type: object
                  type: array
                page:
                  $ref: '#/components/schemas/PageInput'
                searchKey:
                  description: >-
                    Free-text search over: Market (embedding + full-text
                    relevance).
                  type: string
              required:
                - page
              type: object
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/SignalScoreRow'
                type: array
          description: List of Signal Score rows
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: >-
            invalid request (malformed body, unknown field, or failed
            validation)
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: missing or invalid credentials
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: credentials lack access to this resource
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: internal error
components:
  schemas:
    SignalScoreFilter:
      description: Filters to apply, combined with AND. Use a group for OR.
      items:
        $ref: '#/components/schemas/SignalScoreFilterNode'
      minItems: 1
      type: array
    PageInput:
      properties:
        limit:
          minimum: 1
          type: integer
        offset:
          minimum: 0
          type: integer
      required:
        - limit
      type: object
    SignalScoreRow:
      properties:
        avgEntryPrice:
          description: Average entry price of the shares still held (p_in)
          format: double
          title: Avg Entry Price
          type: number
        daysToResolution:
          description: Days from now to market end (<0 = overdue)
          format: int32
          title: Days Left
          type: integer
        eventId:
          description: Prediction event the market belongs to
          format: int32
          title: Event
          type: integer
        marketId:
          description: Prediction market the position belongs to
          format: int32
          title: Market
          type: integer
        pNow:
          description: Live token price for this position (p_now)
          format: double
          title: Current Price
          type: number
        positionId:
          description: The position (YES/NO leg) being scored
          format: int32
          title: Position
          type: integer
        relSize:
          description: This bet vs the wallet's usual size (>1 = bigger than usual)
          format: double
          title: Relative Size
          type: number
        score:
          description: Final 0-100 insider score for this position
          format: double
          title: Insider Score
          type: number
        slipAbs:
          description: Signed price move since entry (p_now - p_in)
          format: double
          title: Slippage (abs)
          type: number
        tagIds:
          description: Tags associated with the event
          items:
            format: int32
            type: integer
          title: Category
          type: array
        totalBoughtShares:
          description: All-time shares bought for this position
          format: double
          title: Total Bought Shares
          type: number
        tradeSize:
          description: This position's peak USD conviction (max_unrealized_buy_cost)
          format: double
          title: Trade Size
          type: number
        userId:
          description: User wallet address
          title: Wallet
          type: string
      type: object
    Error:
      properties:
        code:
          description: machine-readable error code
          type: string
        message:
          description: human-readable description
          type: string
      required:
        - code
        - message
      type: object
    SignalScoreFilterNode:
      description: A single condition, or a group combining conditions with AND/OR.
      oneOf:
        - $ref: '#/components/schemas/SignalScoreCondition'
        - $ref: '#/components/schemas/SignalScoreFilterGroup'
    SignalScoreCondition:
      description: >-
        A single field condition. in/notIn take an array of values;
        matches/notMatches take one search term.
      oneOf:
        - $ref: '#/components/schemas/SignalScoreNumericCondition'
        - $ref: '#/components/schemas/SignalScoreIdCondition'
        - $ref: '#/components/schemas/SignalScoreAddressCondition'
    SignalScoreFilterGroup:
      description: >-
        A group of conditions and nested groups, combined with the group's
        operator.
      properties:
        filters:
          items:
            oneOf:
              - $ref: '#/components/schemas/SignalScoreCondition'
              - $ref: '#/components/schemas/SignalScoreFilterInnerGroup'
          minItems: 1
          type: array
        operator:
          enum:
            - AND
            - OR
          type: string
      required:
        - operator
        - filters
      type: object
    SignalScoreNumericCondition:
      properties:
        field:
          enum:
            - avgEntryPrice
            - totalBoughtShares
            - tradeSize
            - relSize
            - daysToResolution
            - pNow
            - slipAbs
            - score
            - userRank
          type: string
        operator:
          enum:
            - eq
            - neq
            - lt
            - lte
            - gt
            - gte
          type: string
        value:
          oneOf:
            - format: double
              type: number
            - items:
                format: double
                type: number
              minItems: 1
              type: array
      required:
        - field
        - operator
        - value
      type: object
    SignalScoreIdCondition:
      properties:
        field:
          enum:
            - positionId
            - marketId
            - eventId
            - tagIds
          type: string
        operator:
          enum:
            - in
            - notIn
          type: string
        value:
          oneOf:
            - format: int32
              type: integer
            - items:
                format: int32
                type: integer
              minItems: 1
              type: array
      required:
        - field
        - operator
        - value
      type: object
    SignalScoreAddressCondition:
      description: inCohort/notInCohort take cohort ids instead of addresses.
      properties:
        field:
          enum:
            - userId
          type: string
        operator:
          enum:
            - in
            - notIn
            - matches
            - notMatches
            - inCohort
            - notInCohort
          type: string
        value:
          oneOf:
            - type: string
            - items:
                type: string
              minItems: 1
              type: array
      required:
        - field
        - operator
        - value
      type: object
    SignalScoreFilterInnerGroup:
      description: >-
        A nested group. Its members must be conditions, which bounds grouping at
        two levels.
      properties:
        filters:
          items:
            $ref: '#/components/schemas/SignalScoreCondition'
          minItems: 1
          type: array
        operator:
          enum:
            - AND
            - OR
          type: string
      required:
        - operator
        - filters
      type: object
  securitySchemes:
    ApiKeyAuth:
      description: API key issued for programmatic access.
      in: header
      name: X-Api-Key
      type: apiKey
    BearerAuth:
      bearerFormat: JWT
      description: User access token.
      scheme: bearer
      type: http

````