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

# Get Factor Health By Rung

> The same IC health, additionally sliced by Terrain rung (spec §5 / §7d).

Each label session binds to the rung known **strictly before** it — the
prior-session binder, look-ahead-free by construction. Sessions with no
``regime_archive`` row before them are excluded and counted in
``rung_coverage.unbound``, never defaulted into a rung.

There is deliberately **no** ``membership_mode`` parameter: see
:func:`_factor_health_membership_mode`.



## OpenAPI

````yaml /api/openapi.json get /api/graph/v1/discovery/factor-health/{factor_name}/by-rung
openapi: 3.1.0
info:
  title: Sequency Graph API
  description: >

    # Sequency Graph-Native Trading API


    Graph-native API for trading intelligence, built on FalkorDB.


    ## Features


    - **Screener**: Filter stocks using graph-native queries with relationship
    expansion

    - **Stock Detail**: Complete stock context with all relationships

    - **Confluence Scoring**: Setup quality assessment with weighted components

    - **Strategy Matching**: Find matching options strategies via graph
    traversal

    - **Market Context**: Current market-wide context for trading decisions


    ## Data Sources


    All data is sourced from the FalkorDB knowledge graph, populated by:

    - Pattern detector (Go) - Technical indicators, patterns

    - Graph sync service - Levels, volume profiles, news, day classification
  version: 1.0.0
servers: []
security: []
paths:
  /api/graph/v1/discovery/factor-health/{factor_name}/by-rung:
    get:
      tags:
        - discovery
      summary: Get Factor Health By Rung
      description: |-
        The same IC health, additionally sliced by Terrain rung (spec §5 / §7d).

        Each label session binds to the rung known **strictly before** it — the
        prior-session binder, look-ahead-free by construction. Sessions with no
        ``regime_archive`` row before them are excluded and counted in
        ``rung_coverage.unbound``, never defaulted into a rung.

        There is deliberately **no** ``membership_mode`` parameter: see
        :func:`_factor_health_membership_mode`.
      operationId: >-
        get_factor_health_by_rung_api_graph_v1_discovery_factor_health__factor_name__by_rung_get
      parameters:
        - name: factor_name
          in: path
          required: true
          schema:
            type: string
            title: Factor Name
        - name: symbols
          in: query
          required: true
          schema:
            type: string
            title: Symbols
        - name: date_from
          in: query
          required: true
          schema:
            type: string
            format: date
            title: Date From
        - name: date_to
          in: query
          required: true
          schema:
            type: string
            format: date
            title: Date To
        - name: rolling_window
          in: query
          required: false
          schema:
            type: integer
            default: 60
            title: Rolling Window
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````