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

# Update Prompt

> Update an existing prompt.



## OpenAPI

````yaml /api-reference/openapi-filtered.json put /prompts/{prompt_id}/
openapi: 3.1.0
info:
  title: Aseed Insight API
  version: 0.1.0
servers:
  - url: https://app.aseed.ai/custdev
security: []
tags:
  - name: insight
    description: 'Core insight endpoints: records, transcripts, generation, and chat.'
    x-displayName: Insight
  - name: insight_public
    description: Public insight endpoints for shared/public access.
    x-displayName: Insight Public
  - name: projects
    description: Project management endpoints.
    x-displayName: Projects
  - name: project_reports
    description: Project report generation and management endpoints.
    x-displayName: Project Reports
  - name: project_reports_public
    description: Public project report endpoints.
    x-displayName: Project Reports Public
  - name: prompts
    description: Custom prompts management endpoints.
    x-displayName: Prompts
  - name: presets
    description: Presets and templates endpoints.
    x-displayName: Presets
  - name: agent
    description: AI agent threads and chat endpoints.
    x-displayName: Agent
  - name: interviews
    description: AI interviewer room and session endpoints.
    x-displayName: Interviews
  - name: webhooks
    description: Incoming webhook endpoints.
    x-displayName: Webhooks
paths:
  /prompts/{prompt_id}/:
    put:
      tags:
        - prompts
      summary: Update Prompt
      description: Update an existing prompt.
      operationId: update_prompt_prompts__prompt_id___put
      parameters:
        - name: prompt_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Prompt Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdatePromptRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PromptResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    UpdatePromptRequest:
      properties:
        title:
          anyOf:
            - type: string
              maxLength: 200
              minLength: 1
            - type: 'null'
          title: Title
          description: Prompt title
        category_name:
          anyOf:
            - type: string
              maxLength: 100
            - type: 'null'
          title: Category Name
          description: Category name
        content:
          anyOf:
            - type: string
              maxLength: 50000
              minLength: 1
            - type: 'null'
          title: Content
          description: Prompt content
        tags:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Tags
          description: List of tags for display
      type: object
      title: UpdatePromptRequest
      description: Request model for updating an existing prompt.
    PromptResponse:
      properties:
        id:
          type: string
          title: Id
        email:
          type: string
          title: Email
        prompt_type:
          type: string
          title: Prompt Type
        category_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Category Name
        title:
          type: string
          title: Title
        icon:
          anyOf:
            - type: string
            - type: 'null'
          title: Icon
        tags:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Tags
        content:
          type: string
          title: Content
        created_at:
          type: string
          format: date-time
          title: Created At
        updated_at:
          type: string
          format: date-time
          title: Updated At
      type: object
      required:
        - id
        - email
        - prompt_type
        - title
        - content
        - created_at
        - updated_at
      title: PromptResponse
      description: Response model for a single prompt.
    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
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````