Skip to content
Navigation

Forget memory content

Removes the matching files, or every file version that contains text, from all saved history. This cannot be undone.

POST
https://api.cloudraker.com/me/assistant/memory-repo/forget
Try it
Request body
Live API request

This request can change data or incur charges for the selected organization.

Authorization

  • bearerAuth
    HTTP
    required

Request body JSON required

  • paths
    optional
    array of
    string

    Exact paths or globs (** spans folders) to drop from every version.

    maxLength: 512 · minLength: 1
  • text
    optional
    string

    Drop every file version whose content contains this text.

    maxLength: 1000 · minLength: 3

Returns

200

Forget memory content

JSON
  • data
    object
    required
    • rewritten
      number
      required
    • refs
      number
      required

400

Validation Error
JSON
  • success
    false
    required
  • error
    array of
    unknown
    required
  • data
    unknown
    required

403

personal_account_required — only the owner may open this memory.
JSON
  • error
    string
    required

    The sentence a human reads.

  • error_code
    string
    required

    The stable snake_case branch key.

  • issues
    optional
    array of
    object

    Per-field detail, present only on a validation failure.

    • path
      string
      required
    • code
      string
      required
    • message
      string
      required

404

memory_not_available — this memory does not exist for you.
JSON
  • error
    string
    required

    The sentence a human reads.

  • error_code
    string
    required

    The stable snake_case branch key.

  • issues
    optional
    array of
    object

    Per-field detail, present only on a validation failure.

    • path
      string
      required
    • code
      string
      required
    • message
      string
      required

Type to search…

↑↓ navigate↵ selectEsc close