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

# Run Smoke Tests

> Run behavioral smoke tests against live API endpoints.



## OpenAPI

````yaml /api/openapi.json get /api/internal/smoke
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/internal/smoke:
    get:
      tags:
        - smoke-tests
      summary: Run Smoke Tests
      description: Run behavioral smoke tests against live API endpoints.
      operationId: run_smoke_tests_api_internal_smoke_get
      parameters:
        - name: symbol
          in: query
          required: false
          schema:
            anyOf:
              - type: string
                pattern: ^[A-Z]{1,5}$
              - type: 'null'
            description: Run checks for a single symbol (debug mode)
            title: Symbol
          description: Run checks for a single symbol (debug mode)
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SmokeRunResult'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    SmokeRunResult:
      properties:
        run_id:
          type: string
          title: Run Id
        started_at:
          type: string
          format: date-time
          title: Started At
        completed_at:
          type: string
          format: date-time
          title: Completed At
        duration_ms:
          type: integer
          title: Duration Ms
        total_checks:
          type: integer
          title: Total Checks
        passed:
          type: integer
          title: Passed
        failed:
          type: integer
          title: Failed
        skipped:
          type: boolean
          title: Skipped
          default: false
        skip_reason:
          anyOf:
            - type: string
            - type: 'null'
          title: Skip Reason
        results:
          items:
            $ref: '#/components/schemas/SmokeResult'
          type: array
          title: Results
        alerts_sent:
          type: integer
          title: Alerts Sent
          default: 0
      type: object
      required:
        - run_id
        - started_at
        - completed_at
        - duration_ms
        - total_checks
        - passed
        - failed
      title: SmokeRunResult
      description: Aggregate result of a full smoke test run.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    SmokeResult:
      properties:
        symbol:
          type: string
          title: Symbol
        check:
          type: string
          title: Check
        passed:
          type: boolean
          title: Passed
        expected:
          type: string
          title: Expected
        actual:
          type: string
          title: Actual
        latency_ms:
          type: integer
          title: Latency Ms
      type: object
      required:
        - symbol
        - check
        - passed
        - expected
        - actual
        - latency_ms
      title: SmokeResult
      description: Result of a single smoke check assertion.
    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

````