Skip to content

swagger

Open API documentation (Swagger UI)

Terminal window
conhive-agent server swagger

Opens the Swagger UI interface in your default web browser, if available. This interface allows you to explore, understand, and interactively test the REST API endpoints provided by the Conhive agent’s web server. Requires the agent server to be running and accessible.

Terminal window
conhive-agent server swagger [flags]
Terminal window
-h, --help help for swagger
-f, --log-format string Specify the logging format (options: console,
json) (default "text")
-l, --log-level string Define the logging level (options: trace,
debug, info, warn, error, fatal, panic)
(default "info")
-o, --log-to-file Enable logging to a file (default true)
-p, --port int32 Port to run the server on (default 5050)
-w, --workdir string Set the working directory for agent operations
(default: $HOME/.conhive)