How to download opensearch dashboard

Hello @ThibaudF

Thank you for your response. Actually I am trying to import the exported dashboard using the following command to check whether it is working or not.

curl -X POST http://localhost:5601/api/saved_objects/_import -H “kbn-xsrf: true” --form file=@dashboard.ndjson

curl -X POST “http://localhost:5601/_plugin/kibana/api/saved_objects/_import” -H “kbn-xsrf:true” --form file=@dashboard.ndjson

Unfortunately I am getting an error message 404 page not found.
{“statusCode”:404,“error”:“Not Found”,“message”:“Not Found”}

Can you please suggest how to import it using curl command?

Thank you.