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



## OpenAPI

````yaml /api/openapi.json get /api/graph/v1/chart-sessions/{session_id}/delta
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}/delta:
    get:
      tags:
        - Chart Sessions
      summary: Get Delta
      operationId: getDelta
      parameters:
        - name: session_id
          in: path
          required: true
          schema:
            type: string
            title: Session Id
        - name: after_revision
          in: query
          required: true
          schema:
            type: integer
            minimum: 1
            title: After Revision
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ChartDelta'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    ChartDelta:
      properties:
        schema_version:
          $ref: '#/components/schemas/SchemaVersion'
        session_id:
          $ref: '#/components/schemas/NonEmptyString'
        from_revision:
          $ref: '#/components/schemas/Revision'
        to_revision:
          $ref: '#/components/schemas/Revision'
        events:
          items:
            $ref: '#/components/schemas/ChartEvent'
          type: array
          title: Events
      additionalProperties: true
      type: object
      required:
        - schema_version
        - session_id
        - from_revision
        - to_revision
        - events
      title: ChartDelta
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    SchemaVersion:
      type: string
      const: '1.0'
      title: SchemaVersion
      description: Sequency Charts semantic contract major/minor version.
    NonEmptyString:
      type: string
      minLength: 1
      title: NonEmptyString
    Revision:
      type: integer
      minimum: 1
      title: Revision
      description: A positive monotonic revision.
    ChartEvent:
      properties:
        id:
          $ref: '#/components/schemas/NonEmptyString'
        revision:
          $ref: '#/components/schemas/Revision'
        type:
          $ref: '#/components/schemas/NonEmptyString'
        object_id:
          anyOf:
            - $ref: '#/components/schemas/NonEmptyString'
            - type: 'null'
        object_revision:
          anyOf:
            - $ref: '#/components/schemas/Revision'
            - type: 'null'
        payload:
          additionalProperties: true
          type: object
          title: Payload
        occurred_at:
          $ref: '#/components/schemas/Timestamp'
        trace_id:
          $ref: '#/components/schemas/NonEmptyString'
        provenance:
          $ref: '#/components/schemas/Provenance'
      additionalProperties: true
      type: object
      required:
        - id
        - revision
        - type
        - payload
        - occurred_at
        - trace_id
        - provenance
      title: ChartEvent
    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
    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
    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

````