Class DreamArchiveParams

  • All Implemented Interfaces:
    com.anthropic.core.Params

    
    public final class DreamArchiveParams
     implements Params
                        

    Hide a completed, failed, or canceled dream from the default list of dreams.

    Archiving a pending or running dream returns a 400 error, so cancel it first. Archiving an archived dream returns it unchanged. An archived dream can still be fetched by ID. Archiving can't be undone.

    See the Dreams guide to learn more about archiving dreams.