v1

latestOpenAPI 3.1.02026-07-17325265.6 KB
System

Get debug information

Get debug information about the daemon including database stats and runtime configuration

get/debug-info

Response

Debug information retrieved successfully

pathstring required

Path to the SQLite database file

sizeinteger required

Size of the database file in bytes

table_countinteger required

Number of tables in the database

statsobject required

Database statistics

cli_commandstring required

CLI command configured for MCP servers

last_modifiedstring date-time

Last modification time of the database file

Example response

{
  "path": "/home/user/.humanlayer/daemon.db",
  "size": 1048576,
  "table_count": 5,
  "stats": {
    "sessions": 42,
    "approvals": 15,
    "events": 237
  },
  "cli_command": "hlyr",
  "last_modified": "2024-01-15T10:30:00Z"
}