The text proclaims itself as the history of how the heavens and earth were created by God.
This is the history of the heavens and the earth when they were created, in the day that the LORD God made the earth and the heavens.
Genesis 2:4 NKJV
Genesis is written as Hebrew narrative prose. In other words, Genesis is a record of accurate, true history. Not mysticism. Not mystery. Not myth.
This is no minor issue, because Paul (the writer of the majority of the new testament of the bible) hung his theology of salvation upon the historicity of the Genesis record (Romans 5:12-21).
Source: http://www.icr.org/article/genesis-history-poetry-exposing-hidden/