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

# Create Proposal

> Open a DRAFT revision proposal.

The gate-key check is the friendly 422; migration 195's CHECK is the safety net that
holds for every other writer. A proposal that could carry ``gate_min_n`` or ``action``
would be a path by which the loop writes a §9.1 gate value — the one thing §12a.3 says
it may never do.



## OpenAPI

````yaml /api/openapi.json post /api/graph/v1/template-governance/proposals
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/template-governance/proposals:
    post:
      tags:
        - template-governance
      summary: Create Proposal
      description: >-
        Open a DRAFT revision proposal.


        The gate-key check is the friendly 422; migration 195's CHECK is the
        safety net that

        holds for every other writer. A proposal that could carry ``gate_min_n``
        or ``action``

        would be a path by which the loop writes a §9.1 gate value — the one
        thing §12a.3 says

        it may never do.
      operationId: create_proposal_api_graph_v1_template_governance_proposals_post
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProposalCreate'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: >-
                  Response Create Proposal Api Graph V1 Template Governance
                  Proposals Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    ProposalCreate:
      properties:
        template_id:
          type: string
          title: Template Id
        proposed_spec:
          additionalProperties: true
          type: object
          title: Proposed Spec
        diff_summary:
          type: string
          minLength: 1
          title: Diff Summary
        parent_playbook_version:
          type: string
          title: Parent Playbook Version
          default: scenario_playbook_v1
        parent_playbook_hash:
          type: string
          title: Parent Playbook Hash
          default: 9bc0b7aa353352daec05d666829fbd22cb962a8c6403d44d0a9a66d9777c5f9f
        proposed_playbook_version:
          type: string
          minLength: 1
          title: Proposed Playbook Version
        proposed_playbook_hash:
          type: string
          pattern: ^[0-9a-f]{64}$
          title: Proposed Playbook Hash
      type: object
      required:
        - template_id
        - proposed_spec
        - diff_summary
        - proposed_playbook_version
        - proposed_playbook_hash
      title: ProposalCreate
      description: >-
        A NEW VERSION proposal with lineage — never an edit to a live one
        (§12a.1).


        ``parent_playbook_version``/``parent_playbook_hash`` default to the
        RUNNING document,

        which is the only parent a proposal opened against this binary can
        honestly claim.

        They are settable so a proposal can be filed against an older parent
        explicitly, and

        the mismatch is then visible in the row rather than implied.


        ``created_by`` is absent on purpose: the handler stamps it from the
        authenticated

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

````