Humancheck uses a YAML configuration file (Documentation Index
Fetch the complete documentation index at: https://docs.humancheck.dev/llms.txt
Use this file to discover all available pages before exploring further.
humancheck.yaml) to control its behavior. This guide explains all available configuration options.
Configuration File Location
The configuration file is located at:- Default:
./humancheck.yaml(in the current directory) - Custom: Specify with
--config PATHflag
Creating Configuration
Initialize a new configuration file:humancheck.yaml file with default settings.
Configuration Options
API Server Configuration
api_host: Host to bind the API server (default:0.0.0.0)api_port: Port for the API server (default:8000)
Dashboard Configuration
streamlit_host: Host to bind the dashboard (default:0.0.0.0)streamlit_port: Port for the dashboard (default:8501)
Database Configuration
SQLite (Development)
storage: Database type (sqliteorpostgresql)db_path: Path to SQLite database file
PostgreSQL (Production)
db_url: PostgreSQL connection URL
Review Configuration
confidence_threshold: Minimum confidence score for auto-approvalrequire_review_for: List of task types that always require review
Default Reviewers
default_reviewers: List of email addresses for default reviewers (used when no routing rules match)
Logging Configuration
log_level: Logging levellog_file: Path to log file (set tonullto disable file logging)
MCP Configuration
mcp_server_name: Name of the MCP servermcp_version: MCP server version
Security Configuration
enable_auth: Enable API key authenticationapi_key: API key for authentication (required ifenable_auth: true)
Multi-tenancy Configuration
default_organization_name: Name of the default organization
Environment Variables
You can override configuration values using environment variables with theHUMANCHECK_ prefix:
Complete Example
Production Configuration
For production deployments, consider:- Use PostgreSQL: Switch from SQLite to PostgreSQL
- Enable Authentication: Set
enable_auth: trueand provide an API key - Set Logging: Configure log file path
- Use Environment Variables: Store sensitive values in environment variables
- Configure Backup: Set up database backups
Next Steps
- Learn about Routing Rules
- Explore Multi-tenancy
- Check out Connectors for notifications