Backup Centralized Pipeline Management

Hi,

Is there any API / command that we can use to backup logstash pipelines that are created in centralized pipeline management ?

i have quite a lot of pipelines and copy paste from centralized pipeline management will be time consuming.

Thanks,