Skip to content

Config

Overview

The v1/config endpoint returns the active Watchtower configuration settings. Sensitive values (notification URLs, tokens) are redacted.

Include config in http-api-endpoints to enable this endpoint.

Response Format

The /v1/config endpoint returns the current configuration:

{
    "config": {
        "monitor_only": false,
        "cleanup": true,
        "no_pull": false,
        "no_restart": false,
        "rolling_restart": false,
        "include_stopped": false,
        "include_restarting": false,
        "lifecycle_hooks": false,
        "label_enable": false,
        "filter_desc": "",
        "scope": ""
    },
    "timestamp": "2025-01-20T11:30:45Z",
    "api_version": "v1"
}
FieldTypeDescription
monitor_onlybooleanWhether Watchtower is in monitor-only mode
cleanupbooleanWhether old images are removed after updating
no_pullbooleanWhether image pulling is disabled
no_restartbooleanWhether container restarting is disabled
rolling_restartbooleanWhether containers are restarted one at a time
include_stoppedbooleanWhether stopped containers are included
include_restartingbooleanWhether restarting containers are included
lifecycle_hooksbooleanWhether lifecycle hooks are enabled
label_enablebooleanWhether label-based enabling is active
filter_descstringHuman-readable description of the applied filter
scopestringMonitoring scope

HTTP Status Codes

Status CodeDescription
200Configuration retrieved successfully
401Invalid or missing authentication token
500Internal server error during request processing
Last updated on