config.toml
config.toml is the Codex settings file in the TOML text format: blocks named in square brackets with parameters beneath them. The [analytics], [otel] and [feedback] blocks control analytics, metrics and feedback submission. This file does not switch off requests to the model: the agent works on them.
Frequently asked questions
How do you turn off analytics in Codex?
Write [analytics] enabled = false in config.toml, and [otel] metrics_exporter = "none" for metrics; per the settings schema the first line alone is not enough for metrics.What does the [feedback] block do?
Turns feedback submission via /feedback on or off; submission is on by default.Source: OpenAI docs: config.toml reference
toml.io, the TOML format description
Read more: Codex CLI not available in your country: supported countries, VPN and bans
Where it appears · 2
- Codex CLI not available in your country · Harness
- MCP server and AI agent for 1C · Harness