> ## 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 Current Terrain Rung

> Current live Terrain 1.0 risk-severity rung.

Reads the most recent `variant='emitted'` `regime_archive` row (never
`corrected` -- see `read_latest_emitted`'s replay guard) and renders it
through `terrain_state.label(surface="app")`. When no emitted row is
available (`EmittedUnavailable` -- e.g. before the daily job has run),
this degrades to `label`'s own `rung="unavailable"` de-risk path: a 200
with an honest "unavailable", never a 500 -- Terrain's own fail-safe
posture applied to its own read.

Desk-only favored/avoid strategy-family economics are NEVER included
here (design spec §9: sleeve/family economics are desk-only).



## OpenAPI

````yaml /api/openapi.json get /api/graph/v1/terrain/current
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/terrain/current:
    get:
      tags:
        - terrain
      summary: Get Current Terrain Rung
      description: |-
        Current live Terrain 1.0 risk-severity rung.

        Reads the most recent `variant='emitted'` `regime_archive` row (never
        `corrected` -- see `read_latest_emitted`'s replay guard) and renders it
        through `terrain_state.label(surface="app")`. When no emitted row is
        available (`EmittedUnavailable` -- e.g. before the daily job has run),
        this degrades to `label`'s own `rung="unavailable"` de-risk path: a 200
        with an honest "unavailable", never a 500 -- Terrain's own fail-safe
        posture applied to its own read.

        Desk-only favored/avoid strategy-family economics are NEVER included
        here (design spec §9: sleeve/family economics are desk-only).
      operationId: get_current_terrain_rung_api_graph_v1_terrain_current_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}

````