This documentation may be out of date!
This documentation site is for the versions of Synapse maintained by the Matrix.org Foundation (github.com/matrix-org/synapse ), available under the Apache 2.0 licence.
Since version 1.99, Synapse is now maintained by Element under a new licence (github.com/element-hq/synapse ).
If you are interested in the documentation for a later version of Synapse, please click here to navigate to this same page on the latest Element Synapse documentation site , if it's available.
This blog post by Jackson Chen (Dec 2022) explains how to use many of the tools listed on this page. There is also an earlier blog by Victor Berger (June 2020), though this may be outdated in places.
The purge remote media API allows server admins to purge old cached remote media.
This API deletes the local media from the disk of your own server.
The purge history API allows server admins to purge historic events from their database, reclaiming disk space.
Tool for compressing (deduplicating) state_groups_state
table.
Some easy SQL that reports useful stats about your Synapse database.