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

# Start async debate (returns run_id immediately)

> Start a debate as a background task and return a run_id for SSE streaming.

Returns `{run_id, status: "accepted"}` in ~100ms. Use the `/stream` endpoint
with the returned `run_id` to receive real-time progress events via SSE.



## OpenAPI

````yaml /api/openapi.json post /api/graph/v1/debate/{symbol}/async
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/debate/{symbol}/async:
    post:
      tags:
        - Debate
      summary: Start async debate (returns run_id immediately)
      description: >-
        Start a debate as a background task and return a run_id for SSE
        streaming.


        Returns `{run_id, status: "accepted"}` in ~100ms. Use the `/stream`
        endpoint

        with the returned `run_id` to receive real-time progress events via SSE.
      operationId: start_async_debate_api_graph_v1_debate__symbol__async_post
      parameters:
        - name: symbol
          in: path
          required: true
          schema:
            type: string
            title: Symbol
        - name: timeframe
          in: query
          required: false
          schema:
            $ref: '#/components/schemas/app__models__debate__Timeframe'
            description: Trading timeframe for context
            default: swing
          description: Trading timeframe for context
        - name: risk_appetite
          in: query
          required: false
          schema:
            $ref: '#/components/schemas/RiskAppetite'
            description: Risk appetite for position sizing guidance
            default: moderate
          description: Risk appetite for position sizing guidance
        - name: include_historical
          in: query
          required: false
          schema:
            type: boolean
            description: Include historical analog search from Qdrant
            default: true
            title: Include Historical
          description: Include historical analog search from Qdrant
        - name: model
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: >-
              LLM model override (e.g. 'gpt-5.2', 'grok-4-1-fast-reasoning').
              None = default.
            title: Model
          description: >-
            LLM model override (e.g. 'gpt-5.2', 'grok-4-1-fast-reasoning'). None
            = default.
      responses:
        '200':
          description: Debate accepted, run_id returned
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
        '429':
          description: Rate limited
components:
  schemas:
    app__models__debate__Timeframe:
      type: string
      enum:
        - day
        - swing
        - position
        - investment
      title: Timeframe
      description: Trading timeframe for debate context.
    RiskAppetite:
      type: string
      enum:
        - conservative
        - moderate
        - aggressive
      title: RiskAppetite
      description: Risk appetite level for position sizing guidance.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    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

````