Class MemoryUpdateParams.Body

  • All Implemented Interfaces:

    
    public final class MemoryUpdateParams.Body
    
                        

    The request body for Update a Memory. Set content, path, or both.

    Changing path renames the memory and never replaces another one. The request fails with HTTP status 409 if another memory uses the new path, or if the new path is an ancestor or descendant of another memory's path. Delete or rename the other memory first. The request also fails if the memory store is archived.

    If every field you set already matches the memory, nothing changes. The response is the current memory, which doesn't get a new version.

    See the memory guide to learn more about updating memories.