Get database statistics

View as Markdown
Get statistics about the config store.

Authentication

AuthorizationBearer

Bearer JWT used by CLI and machine clients on svc-* endpoints. Authentication is required by default, but deployments may disable it with [auth] required = false. Browser OIDC sessions, mTLS, SPIFFE identities, and trusted gateway identity headers may also satisfy authentication outside this generated client flow.

Response

Successful Response
storage_bytesinteger

Total storage used in bytes (compressed)

storage_mbdouble

Total storage used in MB (compressed)

total_config_versionsinteger
Total number of config file versions
unique_devicesinteger
Number of unique devices with configs
unique_filesinteger

Number of unique config files (device + filename)