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

# Discard one unconfirmed working-order mutation preview

> Owner-scoped cleanup only; it cannot cancel an in-flight broker mutation.



## OpenAPI

````yaml /api/openapi.json post /api/graph/v1/execution/{execution_id}/mutation-discard
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/execution/{execution_id}/mutation-discard:
    post:
      tags:
        - Execution
      summary: Discard one unconfirmed working-order mutation preview
      description: >-
        Owner-scoped cleanup only; it cannot cancel an in-flight broker
        mutation.
      operationId: >-
        discard_execution_order_mutation_api_graph_v1_execution__execution_id__mutation_discard_post
      parameters:
        - name: execution_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Execution Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/OrderMutationDiscardRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: >-
                  Response Discard Execution Order Mutation Api Graph V1
                  Execution  Execution Id  Mutation Discard Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    OrderMutationDiscardRequest:
      properties:
        contract_version:
          type: string
          const: or04.v1
          title: Contract Version
          default: or04.v1
        mutation_id:
          type: string
          pattern: ^mutation_[a-f0-9]{24}$
          title: Mutation Id
        expected_revision:
          type: integer
          minimum: 0
          title: Expected Revision
        idempotency_key:
          type: string
          maxLength: 128
          minLength: 1
          title: Idempotency Key
      additionalProperties: false
      type: object
      required:
        - mutation_id
        - expected_revision
        - idempotency_key
      title: OrderMutationDiscardRequest
    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

````