For the latest stable version, please use Spring Boot 3.5.0! |
Info (info
)
The info
endpoint provides general information about the application.
Retrieving the Info
To retrieve the information about the application, make a GET
request to /actuator/info
, as shown in the following curl-based example:
$ curl 'http://localhost:8080/actuator/info' -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: 759
{
"git" : {
"branch" : "main",
"commit" : {
"id" : "df027cf",
"time" : "2025-05-22T06:47:04Z"
}
},
"build" : {
"artifact" : "application",
"version" : "1.0.3",
"group" : "com.example"
},
"os" : {
"name" : "Linux",
"version" : "6.11.0-1014-azure",
"arch" : "amd64"
},
"process" : {
"pid" : 91681,
"parentPid" : 88648,
"owner" : "runner",
"cpus" : 4
},
"java" : {
"version" : "17.0.15",
"vendor" : {
"name" : "BellSoft"
},
"runtime" : {
"name" : "OpenJDK Runtime Environment",
"version" : "17.0.15+10-LTS"
},
"jvm" : {
"name" : "OpenJDK 64-Bit Server VM",
"vendor" : "BellSoft",
"version" : "17.0.15+10-LTS"
}
}
}
Response Structure
The response contains general information about the application.
Each section of the response is contributed by an InfoContributor
.
Spring Boot provides several contributors that are described below.
Build Response Structure
The following table describe the structure of the build
section of the response:
Path | Type | Description |
---|---|---|
|
|
Artifact ID of the application, if any. |
|
|
Group ID of the application, if any. |
|
|
Name of the application, if any. |
|
|
Version of the application, if any. |
|
|
Timestamp of when the application was built, if any. |
Git Response Structure
The following table describes the structure of the git
section of the response:
Path | Type | Description |
---|---|---|
|
|
Name of the Git branch, if any. |
|
|
Details of the Git commit, if any. |
|
|
Timestamp of the commit, if any. |
|
|
ID of the commit, if any. |
This is the "simple" output. The contributor can also be configured to output all available data. |
OS Response Structure
The following table describes the structure of the os
section of the response:
Path | Type | Description |
---|---|---|
|
|
Name of the operating system (as obtained from the 'os.name' system property). |
|
|
Version of the operating system (as obtained from the 'os.version' system property). |
|
|
Architecture of the operating system (as obtained from the 'os.arch' system property). |
Process Response Structure
The following table describes the structure of the process
section of the response:
Path | Type | Description |
---|---|---|
|
|
Process ID. |
|
|
Parent Process ID (or -1). |
|
|
Process owner. |
|
|
Number of CPUs available to the process. |
Java Response Structure
The following table describes the structure of the java
section of the response:
Path | Type | Description |
---|---|---|
|
|
Java version, if available. |
|
|
Vendor details. |
|
|
Vendor name, if available. |
|
|
Vendor version, if available. |
|
|
Runtime details. |
|
|
Runtime name, if available. |
|
|
Runtime version, if available. |
|
|
JVM details. |
|
|
JVM name, if available. |
|
|
JVM vendor, if available. |
|
|
JVM version, if available. |