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

# Update an automation



## OpenAPI

````yaml /openapi/overlay-web.openapi.json patch /api/v1/automations
openapi: 3.0.3
info:
  title: Overlay Web API
  version: 1.0.0
  description: >-
    Generated from the overlay-web route boundary registry. This first-pass
    reference documents stable route inventory and request shapes.
servers:
  - url: https://getoverlay.io
    description: Hosted Overlay web app
  - url: http://localhost:3000
    description: Local development web app
security: []
tags:
  - name: Administration
  - name: Automations
  - name: Billing
  - name: Bootstrap
  - name: Chat
  - name: Conversations
  - name: Files
  - name: Integrations
  - name: Knowledge
  - name: MCP Servers
  - name: Media
  - name: Memory
  - name: Models
  - name: Notes
  - name: Onboarding
  - name: Outputs
  - name: Projects
  - name: Settings
  - name: Skills
  - name: Tools
  - name: Webhooks
paths:
  /api/v1/automations:
    patch:
      tags:
        - Automations
      summary: Update an automation
      operationId: patchAutomations
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                accessToken:
                  type: string
                  minLength: 1
                userId:
                  type: string
                  minLength: 1
                name:
                  type: string
                  minLength: 1
                  maxLength: 200
                prompt:
                  type: string
                schedule: {}
                projectId:
                  type: string
                automationId:
                  type: string
                  minLength: 1
              required:
                - automationId
              additionalProperties: true
      responses:
        '200':
          description: >-
            Successful response. Stable response schemas are documented in
            workflow guides when available.
          content:
            application/json:
              schema:
                description: >-
                  Response shape is route-specific and may be backed by
                  @overlay/app-core contracts.
        '400':
          description: Invalid request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Missing or invalid authentication.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Unexpected server error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - browserSession: []
        - bearerAuth: []
components:
  schemas:
    ErrorResponse:
      type: object
      properties:
        error:
          type: string
        code:
          type: string
      additionalProperties: true
  securitySchemes:
    browserSession:
      type: apiKey
      in: cookie
      name: overlay_session
      description: Signed httpOnly browser session cookie.
    bearerAuth:
      type: http
      scheme: bearer
      description: WorkOS bearer access token for native or service clients.

````