> ## Documentation Index
> Fetch the complete documentation index at: https://docs.truestate.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Update Strategy Artifact



## OpenAPI

````yaml https://api.truestate.io/openapi.json patch /strategy-memory/{artifact_key}/
openapi: 3.1.0
info:
  title: TrueState Backend API
  summary: >-
    TrueState is an AI platform for business users to create high-impact AI
    solutions.
  description: >

    This **[TrueState](https://www.truestate.io/)** backend API allows our
    clients to automate and more powerfully retrieve and modify data from the
    TrueState platform.


    Example use cases include:


    - Accessing embeddings for a dataset.

    - Automating the process of dataset creation and model retraining as your
    data changes.

    - Much more.


    Our backend is built using the [FastAPI](https://fastapi.tiangolo.com/)
    framework in python

    using [Auth0](https://auth0.com/) and [Client API
    Keys](https://www.truestate.io/dawn/docs) for internal an external
    authentication, respectively.

    Our backend is designed to be secure, scalable, easy to use and well
    documented _(each router with its own linked docs page)_.

    Clients can only access data from their own organisation, as setup in Auth0
    our the Client API Keys. See how
    **[here](https://www.truestate.io/dawn/docs)**.


    **PS**: You can view this API documentation in either
    **[Swagger](swagger/docs)** or **[Redoc](redoc/)**, but only the swagger
    lets you test calls.
  contact:
    name: True State Support
    url: https://www.truestate.io/dawn/docs
    email: support@truestate.io
  license:
    name: Private
    url: https://www.apache.org/licenses/LICENSE-2.0.html
  version: 0.13.95
servers: []
security: []
paths:
  /strategy-memory/{artifact_key}/:
    patch:
      tags:
        - strategy-memory
      summary: Update Strategy Artifact
      operationId: update_strategy_artifact_strategy_memory__artifact_key___patch
      parameters:
        - name: artifact_key
          in: path
          required: true
          schema:
            type: string
            title: Artifact Key
        - name: Api-key
          in: header
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Api-Key
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/StrategyArtifactUpdate'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StrategyMemoryMutationResult'
        '404':
          description: Not found
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    StrategyArtifactUpdate:
      properties:
        artifact_type:
          anyOf:
            - $ref: '#/components/schemas/StrategyArtifactType'
            - type: 'null'
        title:
          anyOf:
            - type: string
              maxLength: 255
            - type: 'null'
          title: Title
        content:
          anyOf:
            - type: string
              minLength: 1
            - type: 'null'
          title: Content
        owner:
          anyOf:
            - type: string
              maxLength: 255
            - type: 'null'
          title: Owner
        horizon:
          anyOf:
            - type: string
              maxLength: 50
            - type: 'null'
          title: Horizon
        priority:
          anyOf:
            - type: integer
              maximum: 5
              minimum: 1
            - type: 'null'
          title: Priority
        confidence:
          anyOf:
            - type: number
              maximum: 1
              minimum: 0
            - type: 'null'
          title: Confidence
        annotations:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Annotations
        status:
          anyOf:
            - $ref: '#/components/schemas/StrategyArtifactStatus'
            - type: 'null'
        review_status:
          anyOf:
            - $ref: '#/components/schemas/StrategyArtifactReviewStatus'
            - type: 'null'
        edit_reason:
          anyOf:
            - type: string
              maxLength: 1000
            - type: 'null'
          title: Edit Reason
        review_context:
          anyOf:
            - type: string
              maxLength: 1500
            - type: 'null'
          title: Review Context
          description: >-
            Optional reviewer-facing ticket context from the originating agent
            or workflow. This is used for governance notifications and is not
            stored on the strategy artifact itself.
      type: object
      title: StrategyArtifactUpdate
    StrategyMemoryMutationResult:
      properties:
        artifact:
          $ref: '#/components/schemas/StrategyArtifactRead'
        impact_warning:
          anyOf:
            - $ref: '#/components/schemas/StrategyImpactWarning'
            - type: 'null'
      type: object
      required:
        - artifact
      title: StrategyMemoryMutationResult
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    StrategyArtifactType:
      type: string
      enum:
        - analytics_strategy
        - flow_map
        - decision
        - use_case
        - roadmap
        - data_source
        - data_readiness
        - operating_model
        - impact
        - maturity
        - ingestion_gap
      title: StrategyArtifactType
    StrategyArtifactStatus:
      type: string
      enum:
        - active
        - deprecated
      title: StrategyArtifactStatus
    StrategyArtifactReviewStatus:
      type: string
      enum:
        - proposed
        - approved
        - rejected
      title: StrategyArtifactReviewStatus
    StrategyArtifactRead:
      properties:
        key:
          type: string
          maxLength: 255
          minLength: 1
          title: Key
          description: >-
            Stable strategy artifact key, for example
            decision.churn_intervention or roadmap.q3_retention.
        artifact_type:
          $ref: '#/components/schemas/StrategyArtifactType'
        title:
          type: string
          maxLength: 255
          minLength: 1
          title: Title
        content:
          type: string
          minLength: 1
          title: Content
          description: >-
            Freeform markdown describing the strategy artifact. Keep canonical
            meaning, rationale, assumptions, gaps, and review questions here.
        owner:
          anyOf:
            - type: string
              maxLength: 255
            - type: 'null'
          title: Owner
        horizon:
          anyOf:
            - type: string
              maxLength: 50
            - type: 'null'
          title: Horizon
          description: Optional strategic horizon, for example H1, H2, or H3.
        priority:
          anyOf:
            - type: integer
              maximum: 5
              minimum: 1
            - type: 'null'
          title: Priority
        confidence:
          anyOf:
            - type: number
              maximum: 1
              minimum: 0
            - type: 'null'
          title: Confidence
        annotations:
          additionalProperties: true
          type: object
          title: Annotations
        status:
          $ref: '#/components/schemas/StrategyArtifactStatus'
          default: active
        review_status:
          $ref: '#/components/schemas/StrategyArtifactReviewStatus'
          default: proposed
        source:
          $ref: '#/components/schemas/StrategyArtifactSource'
          default: agent
        id:
          type: string
          format: uuid
          title: Id
        organisation_id:
          type: string
          title: Organisation Id
        version:
          type: integer
          title: Version
        asset_links:
          items:
            $ref: '#/components/schemas/StrategyArtifactAssetLinkRead'
          type: array
          title: Asset Links
        created_by_member_id:
          anyOf:
            - type: string
              format: uuid
            - type: 'null'
          title: Created By Member Id
        updated_by_member_id:
          anyOf:
            - type: string
              format: uuid
            - type: 'null'
          title: Updated By Member Id
        reviewed_by_member_id:
          anyOf:
            - type: string
              format: uuid
            - type: 'null'
          title: Reviewed By Member Id
        created_at:
          type: string
          format: date-time
          title: Created At
        updated_at:
          type: string
          format: date-time
          title: Updated At
        reviewed_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Reviewed At
        last_edit_reason:
          anyOf:
            - type: string
            - type: 'null'
          title: Last Edit Reason
        review_notes:
          anyOf:
            - type: string
            - type: 'null'
          title: Review Notes
      type: object
      required:
        - key
        - artifact_type
        - title
        - content
        - id
        - organisation_id
        - version
        - created_at
        - updated_at
      title: StrategyArtifactRead
    StrategyImpactWarning:
      properties:
        message:
          type: string
          title: Message
        affected_asset_links:
          items:
            $ref: '#/components/schemas/StrategyArtifactAssetLinkRead'
          type: array
          title: Affected Asset Links
      type: object
      required:
        - message
      title: StrategyImpactWarning
    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
    StrategyArtifactSource:
      type: string
      enum:
        - agent
        - human
        - system
      title: StrategyArtifactSource
    StrategyArtifactAssetLinkRead:
      properties:
        asset_type:
          $ref: '#/components/schemas/StrategyAssetType'
        asset_id:
          type: string
          maxLength: 255
          minLength: 1
          title: Asset Id
          description: Stable id/key/name of the associated asset or memory item.
        asset_name:
          anyOf:
            - type: string
              maxLength: 255
            - type: 'null'
          title: Asset Name
        relationship_type:
          $ref: '#/components/schemas/StrategyArtifactAssetLinkType'
          default: related
        usage_notes:
          anyOf:
            - type: string
              maxLength: 4000
            - type: 'null'
          title: Usage Notes
        annotations:
          additionalProperties: true
          type: object
          title: Annotations
        id:
          type: string
          format: uuid
          title: Id
        artifact_id:
          type: string
          format: uuid
          title: Artifact Id
        organisation_id:
          type: string
          title: Organisation Id
        created_by_member_id:
          anyOf:
            - type: string
              format: uuid
            - type: 'null'
          title: Created By Member Id
        updated_by_member_id:
          anyOf:
            - type: string
              format: uuid
            - type: 'null'
          title: Updated By Member Id
        created_at:
          type: string
          format: date-time
          title: Created At
        updated_at:
          type: string
          format: date-time
          title: Updated At
      type: object
      required:
        - asset_type
        - asset_id
        - id
        - artifact_id
        - organisation_id
        - created_at
        - updated_at
      title: StrategyArtifactAssetLinkRead
    StrategyAssetType:
      type: string
      enum:
        - automation
        - connection
        - dashboard
        - dataset
        - deployment
        - document
        - feature
        - model
        - ontology
        - pipeline
        - report
      title: StrategyAssetType
    StrategyArtifactAssetLinkType:
      type: string
      enum:
        - supports
        - requires
        - depends_on
        - implements
        - measures
        - evidence
        - blocks
        - related
      title: StrategyArtifactAssetLinkType
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````