Maintenance
JVM thread dump
Changed onReturns a full JVM thread dump as structured JSON, including state, priority, stack traces, locked monitors/synchronizers, and deadlock detection. Use hideSystem=true (default) to filter to dotCMS threads only.
get/api/v1/maintenance/_threads
Request
- Base URLhttps://docs.anzworldline-solutions.com.au
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
hideSystemboolean
When true (default), only return threads with com.dotmarketing or com.dotcms frames
Response
Thread dump captured
Example response
{
"entity": {
"serverId": "01HXX2J3K4M5N6P7Q8R9S0T1U2",
"serverName": "node-1",
"timestamp": "Thu Apr 03 10:30:00 UTC 2026",
"vmInfo": "OpenJDK 64-Bit Server VM 21.0.2+13-58",
"threadCount": 42,
"threads": [
{
"name": "http-nio-8080-exec-1",
"id": 142,
"daemon": true,
"priority": 5,
"state": "RUNNABLE",
"lockInfo": "java.util.concurrent.locks.ReentrantLock$NonfairSync@1a2b3c",
"lockOwnerName": "http-nio-8080-exec-7",
"lockOwnerId": 187
}
]
}
}Changes
- info
endpoint added
- info