Hi Aleksei, this can be achieved via the
Declarative API endpoints. As the article I just shared explains, these types of endpoints will allow you to back up an entire component via a GET call, which you can then restore by performing a PUT call with the backup.
Here is the article explaining the endpoints for
Workspace Declarative APIs. There’s also one for the entire organization, as per
Create and Restore Backups.