One way to fetch a local copy after a run would be to run a command like this:
terraform state pull >example.tfstate
This retrieves the latest state snapshot in Terraform’s internal format, so anything reading this file should treat is as opaque data whose format is subject to change in future versions of Terraform.