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

# Move a flow to another Agent Studio folder

> Puts the flow in a folder, as dragging it onto the folder does: name it by `folder`, exactly as GET /v1/automations/folders lists it, or by `folder_id`. Flows in the legacy and system workflow folders stay there, and none moves into them (409).



## OpenAPI

````yaml /api/statisfy-api.openapi.json post /v1/automations/flows/{flow_id}/move
openapi: 3.1.0
info:
  description: >-
    The agent-first Statisfy API. Authenticate with an API key (`Authorization:
    Bearer stfy_live_…`), then call `GET /v1/meta/capabilities` to discover
    every operation and its schemas.
  title: Statisfy API
  version: 1.0.0
servers:
  - url: https://api.statisfy.com
    description: Production
security: []
paths:
  /v1/automations/flows/{flow_id}/move:
    post:
      tags:
        - automations
      summary: Move a flow to another Agent Studio folder
      description: >-
        Puts the flow in a folder, as dragging it onto the folder does: name it
        by `folder`, exactly as GET /v1/automations/folders lists it, or by
        `folder_id`. Flows in the legacy and system workflow folders stay there,
        and none moves into them (409).
      operationId: automations_move_flow
      parameters:
        - in: path
          name: flow_id
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              additionalProperties: false
              properties:
                folder:
                  anyOf:
                    - maxLength: 255
                      minLength: 1
                      type: string
                    - type: 'null'
                  default: null
                  description: >-
                    The folder to put it in, by its name exactly as GET
                    /v1/automations/folders lists it
                  title: Folder
                folder_id:
                  anyOf:
                    - type: string
                    - type: 'null'
                  default: null
                  description: Or the folder's id (GET /v1/automations/folders)
                  title: Folder Id
              type: object
        required: false
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MovedFlow'
          description: Successful Response
      security:
        - HTTPBearer: []
components:
  schemas:
    MovedFlow:
      properties:
        flow_id:
          title: Flow Id
          type: string
        folder:
          description: The folder it is in now
          title: Folder
          type: string
        moved:
          description: False when it was already there
          title: Moved
          type: boolean
      required:
        - flow_id
        - folder
        - moved
      title: MovedFlow
      type: object
  securitySchemes:
    HTTPBearer:
      scheme: bearer
      type: http
      description: >-
        An API key, sent as `Authorization: Bearer stfy_live_…`. See
        [Authentication](/rest-api/authentication) for how to get one and which
        scopes it needs.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.