Project Editing

Update Knowledge Base Entry

Changed on

Update an existing knowledge base entry. Requires project:write permission.

put/v1/projects/{projectId}/knowledge-base/{entryId}

Request

  • Base URL
    https://api.migma.ai
  • URL
    https://api.migma.ai/v1/projects/{projectId}/knowledge-base/{entryId}
  • Auth
    API key in header Authorization

Path parameters

projectIdstring required

Project ID (MongoDB ObjectId)

entryIdstring required

Knowledge base entry ID

Request body

sourceFileNamestring

Original upload filename, including .html, .eml, or .mjml. An empty string clears a previous filename on update.

titlestring

Updated title

contentstring

Updated content, up to 512000 UTF-8 bytes. New email-source conversions must fit 250000 UTF-8 bytes after cleanup. Submit unchanged content to retry a failed reference; omit it for a title-only edit.

Response

Knowledge base entry updated

successboolean required
errorstring nullable

Changes

    • info

      added the new optional request property

    • info

      the request property's maxLength was increased from 50000 to 512000

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status