Actuator endpoints let you monitor and interact with a running Spring Boot application over HTTP or JMX. Spring Boot ships with a comprehensive set of built-in endpoints and a straightforward model for adding your own. An endpoint is considered available when its access is permitted and it is exposed; by default only theDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/spring-projects/spring-boot/llms.txt
Use this file to discover all available pages before exploring further.
health endpoint is exposed over HTTP.
Built-in endpoints
Application state: health, info, startup
Application state: health, info, startup
| Endpoint | Description |
|---|---|
/actuator/health | Shows application health information, including the status of dependent systems. |
/actuator/info | Displays arbitrary application information (build, git, environment, OS, Java). |
/actuator/startup | Shows startup step data collected by ApplicationStartup. Requires BufferingApplicationStartup. |
info endpoint surfaces properties from InfoContributor beans. Auto-configured contributors include build info, git commit details, Java runtime information, OS information, and process information.branch, commit.id, and commit.time:Metrics and diagnostics: metrics, threaddump, heapdump
Metrics and diagnostics: metrics, threaddump, heapdump
| Endpoint | Description |
|---|---|
/actuator/metrics | Shows metrics collected by Micrometer. Drill into individual meters by name, e.g. /actuator/metrics/jvm.memory.max. |
/actuator/threaddump | Performs a thread dump of the JVM. |
/actuator/heapdump | Returns a heap dump file (HPROF on HotSpot, PHD on OpenJ9). Web applications only. |
/actuator/scheduledtasks | Displays all scheduled tasks in your application. |
/actuator/httpexchanges | Displays the last 100 HTTP request-response exchanges. Requires an HttpExchangeRepository bean. |
tag=KEY:VALUE query parameters to filter metrics by dimension:Configuration and context: beans, env, configprops, conditions, mappings
Configuration and context: beans, env, configprops, conditions, mappings
| Endpoint | Description |
|---|---|
/actuator/beans | Lists all Spring beans in the application context. |
/actuator/env | Exposes properties from the Spring Environment. Values are sanitized by default. |
/actuator/configprops | Shows all @ConfigurationProperties beans and their values. |
/actuator/conditions | Shows auto-configuration condition evaluation results and why conditions matched or did not. |
/actuator/mappings | Lists all @RequestMapping paths. |
/env, /configprops, and /quartz endpoints sanitize sensitive values (replacing them with ******) by default. Control visibility with show-values:never (default), always, when-authorized.Runtime management: loggers, caches, shutdown
Runtime management: loggers, caches, shutdown
| Endpoint | Description |
|---|---|
/actuator/loggers | Views and modifies logger levels at runtime. |
/actuator/caches | Exposes available caches and allows cache eviction. |
/actuator/shutdown | Gracefully shuts down the application. Disabled by default; requires jar packaging. |
/actuator/sessions | Retrieves and deletes user sessions from a Spring Session store. |
shutdown endpoint:POST to /actuator/loggers/{logger.name}:null as configuredLevel to reset a logger to its default configuration.Database migrations: flyway, liquibase
Database migrations: flyway, liquibase
| Endpoint | Description |
|---|---|
/actuator/flyway | Shows Flyway database migrations that have been applied. Requires a Flyway bean. |
/actuator/liquibase | Shows Liquibase database migrations that have been applied. Requires a Liquibase bean. |
Other endpoints: auditevents, integrationgraph, prometheus, quartz, sbom
Other endpoints: auditevents, integrationgraph, prometheus, quartz, sbom
| Endpoint | Description |
|---|---|
/actuator/auditevents | Exposes audit event information. Requires an AuditEventRepository bean. |
/actuator/integrationgraph | Shows the Spring Integration graph. Requires spring-integration-core. |
/actuator/prometheus | Exposes Micrometer metrics in Prometheus scrape format. Requires micrometer-registry-prometheus. |
/actuator/quartz | Shows Quartz Scheduler job information. |
/actuator/sbom | Exposes a Software Bill of Materials. CycloneDX SBOMs are auto-detected. |
/actuator/logfile | Returns the log file contents if logging.file.name or logging.file.path is configured. |
Configuring endpoint caching
Endpoints automatically cache responses to read operations that take no parameters. Setcache.time-to-live per endpoint:
Controlling access
By default, access to all endpoints exceptshutdown and heapdump is unrestricted. Use the management.endpoint.<id>.access property:
management.endpoints.access.max-permitted. Set it to read-only to prevent any write operations across all endpoints.
CORS support
CORS is disabled by default. Enable it by settingmanagement.endpoints.web.cors.allowed-origins:
Implementing custom endpoints
Add a@Bean annotated with @Endpoint. Methods annotated with @ReadOperation, @WriteOperation, or @DeleteOperation are automatically exposed over JMX and HTTP (GET, POST, DELETE respectively).
Passing parameters to operations
When exposed over HTTP, parameters are taken from URL query parameters or the JSON request body. Parameters are required by default; annotate with@Nullable (from org.jspecify.annotations) to make them optional.
HTTP response status codes
| Operation | Returns value | HTTP status |
|---|---|---|
@ReadOperation | Yes | 200 OK |
@ReadOperation | No | 404 Not Found |
@WriteOperation / @DeleteOperation | Yes | 200 OK |
@WriteOperation / @DeleteOperation | No | 204 No Content |
| Any | Missing required param | 400 Bad Request |
Endpoint Java code must be compiled with
-parameters to allow input mapping to method parameters. This happens automatically when using Spring Boot’s Gradle plugin or spring-boot-starter-parent with Maven.