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

# Event Linked Lens Summary



## OpenAPI

````yaml /api/openapi.json get /api/graph/v1/decision-support/events/{event_id}/revisions/{event_revision}/summary
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/decision-support/events/{event_id}/revisions/{event_revision}/summary:
    get:
      tags:
        - Decision Support
      summary: Event Linked Lens Summary
      operationId: >-
        event_linked_lens_summary_api_graph_v1_decision_support_events__event_id__revisions__event_revision__summary_get
      parameters:
        - name: event_id
          in: path
          required: true
          schema:
            type: string
            title: Event Id
        - name: event_revision
          in: path
          required: true
          schema:
            type: integer
            title: Event Revision
        - name: contract_version
          in: query
          required: false
          schema:
            type: string
            default: '1'
            title: Contract Version
        - name: horizon
          in: query
          required: false
          schema:
            type: string
            default: intraday
            title: Horizon
        - name: window
          in: query
          required: false
          schema:
            type: integer
            maximum: 120
            minimum: 5
            default: 20
            title: Window
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EventLinkedLensSummaryResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    EventLinkedLensSummaryResponse:
      properties:
        contract_version:
          type: string
          const: event-linked-decision-lens-v1
          title: Contract Version
        status:
          type: string
          enum:
            - available
            - not_available_yet
            - not_current
            - no_artifact
            - superseded
            - stale
          title: Status
        reason:
          anyOf:
            - type: string
            - type: 'null'
          title: Reason
        binding:
          $ref: '#/components/schemas/EventLensBinding'
        lifecycle:
          $ref: '#/components/schemas/EventLensLifecycle'
        currentness:
          $ref: '#/components/schemas/EventLensCurrentness'
        artifact:
          anyOf:
            - $ref: '#/components/schemas/EventLensArtifact'
            - type: 'null'
        review_eligible:
          type: boolean
          title: Review Eligible
      additionalProperties: false
      type: object
      required:
        - contract_version
        - status
        - reason
        - binding
        - lifecycle
        - currentness
        - artifact
        - review_eligible
      title: EventLinkedLensSummaryResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    EventLensBinding:
      properties:
        event_id:
          type: string
          title: Event Id
        event_revision:
          type: integer
          minimum: 1
          title: Event Revision
        pattern_version:
          type: integer
          minimum: 1
          title: Pattern Version
        symbol:
          type: string
          title: Symbol
        grain:
          type: string
          title: Grain
        pattern_id:
          type: string
          title: Pattern Id
        family:
          type: string
          title: Family
        direction:
          type: integer
          title: Direction
        producer_time:
          type: string
          format: date-time
          title: Producer Time
        registry:
          $ref: '#/components/schemas/EventRegistryRef'
      additionalProperties: false
      type: object
      required:
        - event_id
        - event_revision
        - pattern_version
        - symbol
        - grain
        - pattern_id
        - family
        - direction
        - producer_time
        - registry
      title: EventLensBinding
    EventLensLifecycle:
      properties:
        id:
          anyOf:
            - type: string
            - type: 'null'
          title: Id
        state:
          anyOf:
            - type: string
            - type: 'null'
          title: State
        reason:
          anyOf:
            - type: string
            - type: 'null'
          title: Reason
        state_time:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: State Time
        replacement_event_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Replacement Event Id
      additionalProperties: false
      type: object
      required:
        - id
        - state
        - reason
        - state_time
        - replacement_event_id
      title: EventLensLifecycle
    EventLensCurrentness:
      properties:
        status:
          type: string
          enum:
            - current
            - developing
            - terminal
            - superseded
            - stale
            - unknown
          title: Status
        as_of:
          type: string
          format: date-time
          title: As Of
      additionalProperties: false
      type: object
      required:
        - status
        - as_of
      title: EventLensCurrentness
    EventLensArtifact:
      properties:
        id:
          type: string
          title: Id
        revision:
          type: integer
          minimum: 1
          title: Revision
        event_ref:
          $ref: '#/components/schemas/EventArtifactRef'
        insight_ref:
          $ref: '#/components/schemas/EventArtifactRef'
        generated_at:
          type: string
          format: date-time
          title: Generated At
        as_of:
          type: string
          format: date-time
          title: As Of
        freshness:
          $ref: '#/components/schemas/EventLensFreshness'
        summary:
          $ref: '#/components/schemas/EventLensArtifactSummary'
        provenance:
          additionalProperties: true
          type: object
          title: Provenance
      additionalProperties: false
      type: object
      required:
        - id
        - revision
        - event_ref
        - insight_ref
        - generated_at
        - as_of
        - freshness
        - summary
        - provenance
      title: EventLensArtifact
    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
    EventRegistryRef:
      properties:
        version:
          type: string
          title: Version
        hash:
          type: string
          title: Hash
      additionalProperties: false
      type: object
      required:
        - version
        - hash
      title: EventRegistryRef
    EventArtifactRef:
      properties:
        id:
          type: string
          title: Id
        revision:
          type: integer
          minimum: 1
          title: Revision
      additionalProperties: false
      type: object
      required:
        - id
        - revision
      title: EventArtifactRef
    EventLensFreshness:
      properties:
        status:
          type: string
          enum:
            - current
            - stale
          title: Status
        observed_at:
          type: string
          format: date-time
          title: Observed At
        expires_at:
          type: string
          format: date-time
          title: Expires At
      additionalProperties: false
      type: object
      required:
        - status
        - observed_at
        - expires_at
      title: EventLensFreshness
    EventLensArtifactSummary:
      properties:
        title:
          type: string
          title: Title
        summary:
          type: string
          title: Summary
        direction:
          type: string
          title: Direction
        strength:
          type: number
          maximum: 1
          minimum: 0
          title: Strength
        contradiction_count:
          type: integer
          minimum: 0
          title: Contradiction Count
        veto_count:
          type: integer
          minimum: 0
          title: Veto Count
      additionalProperties: false
      type: object
      required:
        - title
        - summary
        - direction
        - strength
        - contradiction_count
        - veto_count
      title: EventLensArtifactSummary

````