# Inspect global and site configuration

Source: https://zotonic.com/docs/2933/inspect-global-and-site-configuration

URI: https://zotonic.com/id/2933

Language: en

Use the command suited to the question:

```sh
bin/zotonic configfiles
bin/zotonic configtest
bin/zotonic siteconfigfiles garden
bin/zotonic siteconfig garden
```

`configfiles` and `siteconfigfiles` locate configuration sources. `configtest` checks global configuration loading. `siteconfig` prints the site's file-based configuration; it is not a complete dump of every database-backed module setting.

For runtime values, use the relevant model or configuration API in the running context. `setconfig` changes global runtime Zotonic settings without writing configuration files.

Do not share unredacted configuration output: database passwords and other secrets may be present. See [Find the configuration layer to change](/id/2990) and [Change a runtime setting deliberately](/id/2991).

License: 

Attribution: 

Related resources: https://zotonic.com/api/agent/related/2933?language=en


## API access

- [API help](<https://zotonic.com/api-help>)
- [OpenAPI specification](<https://zotonic.com/openapi.json>)
- [This resource as JSON](<https://zotonic.com/api/agent/resource/2933?language=en>)
