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

> Retrieve the active intraday session for a symbol.



## OpenAPI

````yaml /api/openapi.json get /api/graph/v1/intraday/{symbol}/session
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/intraday/{symbol}/session:
    get:
      tags:
        - Intraday
      summary: Get current session
      description: Retrieve the active intraday session for a symbol.
      operationId: get_session_api_graph_v1_intraday__symbol__session_get
      parameters:
        - name: symbol
          in: path
          required: true
          schema:
            type: string
            title: Symbol
        - name: trading_mode
          in: query
          required: false
          schema:
            type: string
            pattern: ^(paper|live)$
            title: Trading Mode
            default: paper
      responses:
        '200':
          description: Session returned
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IntradaySessionResponse'
        '404':
          description: No active session
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    IntradaySessionResponse:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        user_id:
          type: string
          format: uuid
          title: User Id
        symbol:
          type: string
          title: Symbol
        session_date:
          type: string
          title: Session Date
        trading_mode:
          type: string
          title: Trading Mode
        mode:
          $ref: '#/components/schemas/IntradayMode'
        status:
          $ref: '#/components/schemas/SessionStatus'
        phase:
          $ref: '#/components/schemas/app__models__intraday__SessionPhase'
        signals_received:
          type: integer
          title: Signals Received
          default: 0
        signals_acted:
          type: integer
          title: Signals Acted
          default: 0
        trades_opened:
          type: integer
          title: Trades Opened
          default: 0
        trades_closed:
          type: integer
          title: Trades Closed
          default: 0
        session_pnl:
          type: number
          title: Session Pnl
          default: 0
        created_at:
          type: string
          format: date-time
          title: Created At
        updated_at:
          type: string
          format: date-time
          title: Updated At
        stopped_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Stopped At
      type: object
      required:
        - id
        - user_id
        - symbol
        - session_date
        - trading_mode
        - mode
        - status
        - phase
        - created_at
        - updated_at
      title: IntradaySessionResponse
      description: Session state response.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    IntradayMode:
      type: string
      enum:
        - monitor
        - supervised
        - autonomous
      title: IntradayMode
      description: Session operating mode.
    SessionStatus:
      type: string
      enum:
        - active
        - halted
        - stopped
        - error
      title: SessionStatus
      description: Session lifecycle status.
    app__models__intraday__SessionPhase:
      type: string
      enum:
        - pre_open
        - opening_range
        - ib_forming
        - ib_complete
        - afternoon
        - power_hour
        - close
        - done
        - closed
      title: SessionPhase
      description: Intraday market phase.
    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

````