How to initialize lists in startup-config

I have some default configuration for my daemon; some of them are leafs and some are lists.
These leaves have default values defined yang. For the lists, I am initializing them to default values through maapi session.
I can see leaves in startup config with their default values but how to see list confugraion also in startup config file?

I’m not sure what you mean by “startup config file”, but for data stored in CDB, you can use an XML “init file” with initial values for lists - see the section “Loading initial data into CDB” in the CDB chapter of the User Guide.