|
This version is still in development and is not considered stable yet. For the latest stable version, please use Spring Boot 4.0.1! |
Application Startup (startup)
The startup endpoint provides information about the application’s startup sequence.
Retrieving the Application Startup Steps
The application startup steps can either be retrieved as a snapshot (GET) or drained from the buffer (POST).
Retrieving a snapshot of the Application Startup Steps
To retrieve the steps recorded so far during the application startup phase, make a GET request to /actuator/startup, as shown in the following curl-based example:
$ curl 'http://localhost:8080/actuator/startup' -i -X GET
The resulting response is similar to the following:
HTTP/1.1 200 OK
Content-Type: application/vnd.spring-boot.actuator.v3+json
Content-Length: 898
{
"springBootVersion" : "4.1.0-SNAPSHOT",
"timeline" : {
"events" : [ {
"duration" : "PT0.000004686S",
"endTime" : "2025-12-19T15:51:40.690398634Z",
"startTime" : "2025-12-19T15:51:40.690393948Z",
"startupStep" : {
"id" : 3,
"name" : "spring.beans.instantiate",
"parentId" : 2,
"tags" : [ {
"key" : "beanName",
"value" : "homeController"
} ]
}
}, {
"duration" : "PT0.000017534S",
"endTime" : "2025-12-19T15:51:40.690403600Z",
"startTime" : "2025-12-19T15:51:40.690386066Z",
"startupStep" : {
"id" : 2,
"name" : "spring.boot.application.starting",
"tags" : [ {
"key" : "mainApplicationClass",
"value" : "com.example.startup.StartupApplication"
} ]
}
} ],
"startTime" : "2025-12-19T15:51:40.423844786Z"
}
}
Draining the Application Startup Steps
To drain and return the steps recorded so far during the application startup phase, make a POST request to /actuator/startup, as shown in the following curl-based example:
$ curl 'http://localhost:8080/actuator/startup' -i -X POST
The resulting response is similar to the following:
HTTP/1.1 200 OK
Content-Type: application/vnd.spring-boot.actuator.v3+json
Content-Length: 898
{
"springBootVersion" : "4.1.0-SNAPSHOT",
"timeline" : {
"events" : [ {
"duration" : "PT0.000192823S",
"endTime" : "2025-12-19T15:51:40.658309902Z",
"startTime" : "2025-12-19T15:51:40.658117079Z",
"startupStep" : {
"id" : 1,
"name" : "spring.beans.instantiate",
"parentId" : 0,
"tags" : [ {
"key" : "beanName",
"value" : "homeController"
} ]
}
}, {
"duration" : "PT0.001626567S",
"endTime" : "2025-12-19T15:51:40.658341112Z",
"startTime" : "2025-12-19T15:51:40.656714545Z",
"startupStep" : {
"id" : 0,
"name" : "spring.boot.application.starting",
"tags" : [ {
"key" : "mainApplicationClass",
"value" : "com.example.startup.StartupApplication"
} ]
}
} ],
"startTime" : "2025-12-19T15:51:40.423844786Z"
}
}
Response Structure
The response contains details of the application startup steps. The following table describes the structure of the response:
| Path | Type | Description |
|---|---|---|
|
|
Spring Boot version for this application. |
|
|
Start time of the application. |
|
|
An array of steps collected during application startup so far. |
|
|
The timestamp of the start of this event. |
|
|
The timestamp of the end of this event. |
|
|
The precise duration of this event. |
|
|
The name of the StartupStep. |
|
|
The id of this StartupStep. |
|
|
The parent id for this StartupStep. |
|
|
An array of key/value pairs with additional step info. |
|
|
The key of the StartupStep Tag. |
|
|
The value of the StartupStep Tag. |