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

# Pin Template

> §12a.5 kill switch — one config write, no deploy.

Pinning to a version this binary does not serve moves the template's §9.1 ladder to
``log`` and records the move: the running engine cannot honor the pin, so the recorded
posture fails closed rather than describing a version nobody runs. Nothing dispatches
on ``scenario_action_policies`` yet (see ``service.pin_template``), so that half
changes the record and the ledger rather than stopping a live dispatch.



## OpenAPI

````yaml /api/openapi.json put /api/graph/v1/template-governance/pins/{template_id}
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/pins/{template_id}:
    put:
      tags:
        - template-governance
      summary: Pin Template
      description: >-
        §12a.5 kill switch — one config write, no deploy.


        Pinning to a version this binary does not serve moves the template's
        §9.1 ladder to

        ``log`` and records the move: the running engine cannot honor the pin,
        so the recorded

        posture fails closed rather than describing a version nobody runs.
        Nothing dispatches

        on ``scenario_action_policies`` yet (see ``service.pin_template``), so
        that half

        changes the record and the ledger rather than stopping a live dispatch.
      operationId: pin_template_api_graph_v1_template_governance_pins__template_id__put
      parameters:
        - name: template_id
          in: path
          required: true
          schema:
            type: string
            title: Template Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PinRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: >-
                  Response Pin Template Api Graph V1 Template Governance Pins 
                  Template Id  Put
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    PinRequest:
      properties:
        pinned_playbook_version:
          type: string
          title: Pinned Playbook Version
        reason:
          type: string
          minLength: 1
          title: Reason
      type: object
      required:
        - pinned_playbook_version
        - reason
      title: PinRequest
    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

````