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

# Record Feedback



## OpenAPI

````yaml /api/openapi.json post /api/graph/v1/chart-sessions/{session_id}/feedback
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/chart-sessions/{session_id}/feedback:
    post:
      tags:
        - Chart Sessions
      summary: Record Feedback
      operationId: recordFeedback
      parameters:
        - name: session_id
          in: path
          required: true
          schema:
            type: string
            title: Session Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ChartFeedback'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    ChartFeedback:
      properties:
        id:
          $ref: '#/components/schemas/NonEmptyString'
        session_id:
          $ref: '#/components/schemas/NonEmptyString'
        target_id:
          $ref: '#/components/schemas/NonEmptyString'
        type:
          $ref: '#/components/schemas/Type3'
        body:
          anyOf:
            - $ref: '#/components/schemas/NonEmptyString'
            - type: 'null'
        rating:
          anyOf:
            - type: number
              maximum: 1
              minimum: 0
            - type: 'null'
          title: Rating
        created_at:
          $ref: '#/components/schemas/Timestamp'
        provenance:
          $ref: '#/components/schemas/Provenance'
      additionalProperties: true
      type: object
      required:
        - id
        - session_id
        - target_id
        - type
        - created_at
        - provenance
      title: ChartFeedback
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    NonEmptyString:
      type: string
      minLength: 1
      title: NonEmptyString
    Type3:
      type: string
      enum:
        - reject
        - correction
        - rating
        - explanation_request
      title: Type3
    Timestamp:
      type: string
      format: date-time
      title: Timestamp
    Provenance:
      properties:
        owner:
          $ref: '#/components/schemas/Owner'
        producer:
          $ref: '#/components/schemas/Producer'
        version:
          $ref: '#/components/schemas/NonEmptyString'
        created_at:
          $ref: '#/components/schemas/Timestamp'
        derivation:
          items:
            $ref: '#/components/schemas/NonEmptyString'
          type: array
          title: Derivation
      additionalProperties: true
      type: object
      required:
        - owner
        - producer
        - version
        - created_at
        - derivation
      title: Provenance
    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
    Owner:
      properties:
        type:
          $ref: '#/components/schemas/Type'
        id:
          $ref: '#/components/schemas/NonEmptyString'
      additionalProperties: true
      type: object
      required:
        - type
        - id
      title: Owner
    Producer:
      properties:
        id:
          $ref: '#/components/schemas/NonEmptyString'
        kind:
          $ref: '#/components/schemas/Kind'
      additionalProperties: true
      type: object
      required:
        - id
        - kind
      title: Producer
    Type:
      type: string
      enum:
        - user
        - agent
        - system
      title: Type
    Kind:
      type: string
      enum:
        - human
        - agent
        - deterministic
        - model
        - system
      title: Kind

````