As you develop the model for your Cosmos DB SQL API database, with containers and document types, Hackolade dynamically generates the corresponding forward-engineering script.

The information can be viewed in the Cosmos DB script tab:

A button lets the user apply to a selected Azure instance the script to create containers, documents, indexes, UDFs, stored procedures, and triggers.

Or you may export these scripts to a Gremlin file with the menu option Tools > Forward-Engineering > Cosmos DB script: