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

# Update Knowledge Engine

> Updates an existing knowledge engine



## OpenAPI

````yaml PUT /api/v1/knowledge-engines/{id}
openapi: 3.0.1
info:
  title: Knowledge Engine API
  description: Public API endpoints for managing knowledge engines
  version: 1.0.0
servers:
  - url: https://api.getdecisional.ai
security: []
paths:
  /api/v1/knowledge-engines/{id}:
    put:
      summary: Update a knowledge engine
      description: Updates an existing knowledge engine
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
          description: Knowledge engine ID
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateKnowledgeEngine'
      responses:
        '200':
          description: Knowledge engine updated successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KnowledgeEngineResponse'
        '404':
          description: Knowledge engine not found
components:
  schemas:
    CreateKnowledgeEngine:
      type: object
      required:
        - name
      properties:
        name:
          type: string
          maxLength: 50
          description: Name of the knowledge engine
          example: Fintech Companies
        description:
          type: string
          description: Short description of what the knowledge engine is comprised of
          example: Knowledge engine for processing and analyzing fintech companies
        notes:
          type: object
          description: Custom attributes and fields
          example:
            tags: fintech, startups, venture capital
    KnowledgeEngineResponse:
      type: object
      properties:
        id:
          type: string
          description: Alphanumeric 14 character string identifier
          example: kng_abc123xyz789
        name:
          type: string
          description: Name of the knowledge engine
          example: Fintech Companies
        description:
          type: string
          description: Description of the knowledge engine
          example: Knowledge engine for processing and analyzing fintech companies
        notes:
          type: object
          description: Custom attributes and fields
          example:
            category: fintech
        status:
          type: string
          enum:
            - processing
            - ready
          description: Current status of the knowledge engine
          example: ready
        created_at:
          type: integer
          format: int64
          description: Unix timestamp when this entity was created
          example: 1679644800

````