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

# Update future Strategy configuration

> Update future Strategy configuration

**CLI:**

```bash theme={null}
puffle strategy update --id <id>
puffle strategy update --id <id> --title <title> --description <description> --intent <intent> --source-plan <source-plan> --schedule-enabled
```

## Overview

Update future Strategy configuration

This page documents `patch /api/strategies/{id}`. Use the request and response sections on this page for accepted parameters, payload fields, response fields, and authentication behavior.

## AI agent notes

* Confirm the operation matches the user's intent before calling it.
* For write operations, confirm the user intends to change state.
* Surface validation, permission, and not-found errors instead of retrying unchanged.


## OpenAPI

````yaml patch /api/strategies/{id}
openapi: 3.0.3
info:
  title: Puffle API
  version: 1.0.0
  description: >-
    HTTP API for the Puffle GTM platform - strategy planning, campaign-backed
    Outbound execution, Puffle Agent runs, sender management, and Unibox reply
    workflows. Designed for operation by both humans and autonomous AI agents.
    Agents should start at the [Agent Playbook](/guides/agent-playbook) which
    prescribes a workspace-context check (`GET /api/context`) and core user
    journeys with exact call ordering.
  contact:
    name: Puffle Support
    url: https://puffle.ai
servers:
  - url: https://app.puffle.ai
    description: Production
security:
  - bearerAuth: []
tags:
  - name: Campaigns
    description: >-
      Campaign-backed Outbound execution. These endpoints manage draft,
      launching, active, paused, and completed Outbound runs with sequence
      nodes, contacts, and sender accounts.
  - name: Accounts
    description: Signed-in user account, settings, and workspace context endpoints.
  - name: Senders
    description: >-
      Connected sender accounts, email inboxes, sending domains, DNS
      verification, warmup, and sender capacity.
  - name: Socials
    description: >-
      Social post scheduling and inbox — schedule, publish, archive, and delete
      posts across LinkedIn, Twitter, Threads, Bluesky via the Late (late.ai)
      integration. Connect social accounts via OAuth, pull analytics, monitor
      mentions.
paths:
  /api/strategies/{id}:
    patch:
      tags:
        - Strategies
      summary: Update future Strategy configuration
      description: >-
        Update the title, intent, executable source seeds, or recurring schedule
        for future Runs. Existing Run snapshots and Results are never rewritten.
      operationId: strategies.update
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
            format: uuid
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                title:
                  type: string
                  minLength: 1
                  maxLength: 180
                description:
                  type: string
                  maxLength: 500
                intent:
                  type: string
                  minLength: 1
                sourcePlan:
                  type: object
                  properties:
                    sourceId:
                      type: string
                      enum:
                        - linkedin_posts
                        - linkedin_jobs
                        - linkedin_people
                        - news
                        - reddit
                        - hacker_news
                        - x_twitter
                        - hiring_cafe
                        - github
                    query:
                      minItems: 1
                      type: array
                      items:
                        type: string
                        minLength: 1
                        maxLength: 240
                    reason:
                      type: string
                      minLength: 1
                      maxLength: 240
                  required:
                    - sourceId
                    - query
                    - reason
                  additionalProperties: false
                scheduleEnabled:
                  type: boolean
              additionalProperties: false
      responses:
        '200':
          description: Updated Strategy.
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                    format: uuid
                  title:
                    type: string
                  description:
                    type: string
                  kind:
                    type: string
                    enum:
                      - recurring
                      - static
                  scheduleEnabled:
                    type: boolean
                  definitionHash:
                    type: string
                    minLength: 64
                    maxLength: 64
                    nullable: true
                  intent:
                    type: string
                  sellerContext:
                    type: string
                  sourcePlans:
                    type: array
                    items:
                      type: object
                      properties:
                        sourceId:
                          type: string
                          enum:
                            - linkedin_posts
                            - linkedin_jobs
                            - linkedin_people
                            - news
                            - reddit
                            - hacker_news
                            - x_twitter
                            - hiring_cafe
                            - github
                        query:
                          minItems: 1
                          type: array
                          items:
                            type: string
                            minLength: 1
                            maxLength: 240
                        reason:
                          type: string
                          minLength: 1
                          maxLength: 240
                      required:
                        - sourceId
                        - query
                        - reason
                      additionalProperties: false
                  details:
                    type: object
                    properties:
                      channel:
                        type: string
                      signal:
                        type: string
                      expectedLead:
                        type: string
                      whyThisShouldWork:
                        type: string
                    additionalProperties: {}
                  lastRunId:
                    type: string
                    format: uuid
                    nullable: true
                  outboundCampaignId:
                    type: string
                    format: uuid
                    nullable: true
                  leadCount:
                    type: integer
                    minimum: 0
                    maximum: 9007199254740991
                  contactedCount:
                    type: integer
                    minimum: 0
                    maximum: 9007199254740991
                  nextRunAt:
                    type: string
                    nullable: true
                  createdAt:
                    type: string
                  updatedAt:
                    type: string
                required:
                  - id
                  - title
                  - description
                  - kind
                  - scheduleEnabled
                  - definitionHash
                  - intent
                  - sellerContext
                  - sourcePlans
                  - details
                  - lastRunId
                  - outboundCampaignId
                  - leadCount
                  - contactedCount
                  - nextRunAt
                  - createdAt
                  - updatedAt
                additionalProperties: false
        '400':
          description: Invalid update.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
                additionalProperties: false
        '401':
          description: Unauthorized.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
                additionalProperties: false
        '404':
          description: Not found.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
                additionalProperties: false
        '409':
          description: Equivalent Strategy exists.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
                additionalProperties: false
        '500':
          description: Server error.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
                additionalProperties: false
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: pk_live_...

````