> ## 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 Latest Evidence



## OpenAPI

````yaml /api/openapi.json get /api/internal/regime/v2/evidence/latest
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/internal/regime/v2/evidence/latest:
    get:
      tags:
        - regime-vnext-internal
      summary: Get Latest Evidence
      operationId: get_latest_evidence_api_internal_regime_v2_evidence_latest_get
      parameters:
        - name: horizon_profile
          in: query
          required: true
          schema:
            $ref: '#/components/schemas/HorizonProfile'
        - name: asset_scope
          in: query
          required: false
          schema:
            type: string
            default: SPY
            title: Asset Scope
        - name: logic_version
          in: query
          required: true
          schema:
            type: string
            title: Logic Version
        - name: variant
          in: query
          required: true
          schema:
            type: string
            title: Variant
        - name: policy_status
          in: query
          required: false
          schema:
            const: approved
            type: string
            default: approved
            title: Policy Status
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RegimeEvidenceTable'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    HorizonProfile:
      type: string
      enum:
        - macro
        - swing
        - intraday
      title: HorizonProfile
    RegimeEvidenceTable:
      properties:
        evidence_id:
          type: string
          title: Evidence Id
        generated_at:
          type: string
          format: date-time
          title: Generated At
        logic_version:
          type: string
          title: Logic Version
        feature_version:
          type: string
          title: Feature Version
        variant:
          type: string
          title: Variant
        horizon_profile:
          $ref: '#/components/schemas/HorizonProfile'
        asset_scope:
          $ref: '#/components/schemas/AssetScope'
        cost_model:
          $ref: '#/components/schemas/CostModel'
        approved:
          type: boolean
          title: Approved
          default: false
        approved_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Approved At
        source_query_windows:
          items:
            $ref: '#/components/schemas/SourceQueryWindow'
          type: array
          title: Source Query Windows
        as_of_floor:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: As Of Floor
        as_of_ceiling:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: As Of Ceiling
        stats:
          items:
            $ref: '#/components/schemas/ConditionalStrategyStats'
          type: array
          title: Stats
        manifest_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Manifest Id
        provenance:
          items:
            $ref: '#/components/schemas/ProvenanceRef'
          type: array
          title: Provenance
      additionalProperties: false
      type: object
      required:
        - evidence_id
        - generated_at
        - logic_version
        - feature_version
        - variant
        - horizon_profile
        - asset_scope
        - cost_model
      title: RegimeEvidenceTable
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    AssetScope:
      properties:
        kind:
          type: string
          enum:
            - market_index
            - symbol
            - universe
            - portfolio
          title: Kind
          default: market_index
        primary_asset:
          type: string
          title: Primary Asset
          default: SPY
        universe:
          items:
            type: string
          type: array
          maxItems: 500
          title: Universe
      additionalProperties: false
      type: object
      title: AssetScope
    CostModel:
      properties:
        model_id:
          type: string
          title: Model Id
          default: default
        commission_bps:
          type: number
          minimum: 0
          title: Commission Bps
          default: 0
        slippage_bps:
          type: number
          minimum: 0
          title: Slippage Bps
          default: 0
        spread_bps:
          type: number
          minimum: 0
          title: Spread Bps
          default: 0
      additionalProperties: false
      type: object
      title: CostModel
    SourceQueryWindow:
      properties:
        source:
          type: string
          title: Source
        start:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Start
        end:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: End
        horizon_binding:
          anyOf:
            - $ref: '#/components/schemas/FeatureBinding'
            - type: 'null'
        notes:
          anyOf:
            - type: string
            - type: 'null'
          title: Notes
      additionalProperties: false
      type: object
      required:
        - source
      title: SourceQueryWindow
    ConditionalStrategyStats:
      properties:
        strategy_family:
          $ref: '#/components/schemas/StrategyFamily'
        horizon_profile:
          $ref: '#/components/schemas/HorizonProfile'
        axis_filter:
          additionalProperties:
            type: string
          type: object
          title: Axis Filter
        probability_of_profit:
          type: number
          maximum: 1
          minimum: 0
          title: Probability Of Profit
        expected_return:
          type: number
          title: Expected Return
        expected_r:
          type: number
          title: Expected R
        median_return:
          type: number
          title: Median Return
        tail_loss:
          type: number
          title: Tail Loss
        max_drawdown:
          type: number
          title: Max Drawdown
        sharpe:
          type: number
          title: Sharpe
        trade_count:
          type: integer
          minimum: 0
          title: Trade Count
        regime_sample_count:
          type: integer
          minimum: 0
          title: Regime Sample Count
        cost_adjusted_expectancy:
          type: number
          title: Cost Adjusted Expectancy
        ci_lower:
          type: number
          title: Ci Lower
        ci_upper:
          type: number
          title: Ci Upper
        bootstrap_stability:
          type: number
          maximum: 1
          minimum: 0
          title: Bootstrap Stability
        walk_forward_degradation:
          type: number
          minimum: 0
          title: Walk Forward Degradation
        subperiod_degradation:
          type: number
          minimum: 0
          title: Subperiod Degradation
        evidence_status:
          $ref: '#/components/schemas/EvidenceStatus'
        cost_model:
          $ref: '#/components/schemas/CostModel'
        evidence_ref:
          $ref: '#/components/schemas/app__models__regime_vnext__EvidenceRef'
        notes:
          items:
            type: string
          type: array
          title: Notes
      additionalProperties: false
      type: object
      required:
        - strategy_family
        - horizon_profile
        - probability_of_profit
        - expected_return
        - expected_r
        - median_return
        - tail_loss
        - max_drawdown
        - sharpe
        - trade_count
        - regime_sample_count
        - cost_adjusted_expectancy
        - ci_lower
        - ci_upper
        - bootstrap_stability
        - walk_forward_degradation
        - subperiod_degradation
        - evidence_status
        - cost_model
        - evidence_ref
      title: ConditionalStrategyStats
    ProvenanceRef:
      properties:
        source:
          type: string
          title: Source
        source_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Source Id
        artifact_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Artifact Id
        as_of:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: As Of
        notes:
          anyOf:
            - type: string
            - type: 'null'
          title: Notes
      additionalProperties: false
      type: object
      required:
        - source
      title: ProvenanceRef
    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
    FeatureBinding:
      type: string
      enum:
        - prior_session
        - prior_bar
      title: FeatureBinding
    StrategyFamily:
      type: string
      enum:
        - mean_reversion
        - breakout
        - trend_following
        - volatility_selling
        - hedging
        - cross_sectional_relative_strength
      title: StrategyFamily
    EvidenceStatus:
      type: string
      enum:
        - insufficient
        - exploratory
        - validated
        - rejected
      title: EvidenceStatus
    app__models__regime_vnext__EvidenceRef:
      properties:
        evidence_id:
          type: string
          title: Evidence Id
        row_id:
          type: string
          title: Row Id
        artifact_uri:
          anyOf:
            - type: string
            - type: 'null'
          title: Artifact Uri
      additionalProperties: false
      type: object
      required:
        - evidence_id
        - row_id
      title: EvidenceRef

````