Skip to main content
warning

🚧 Cortex.cpp is currently under development. Our documentation outlines the intended behavior of Cortex, which may not yet be fully implemented in the codebase.

cortex serve

This command runs the API endpoint server for the Cortex back-end.

Usage​


# Start the API server
cortex serve [options]
# Stop the API server
cortex serve [options] stop

Options​

OptionDescriptionRequiredDefault ValueExample
-a, --address <address>Specify the address to use.Nolocalhost-a 192.168.1.1
-p, --port <port>Define the port to serve the application.No3928-p 8080
-d, --detachRun the server in detached mode.Nofalse-d
-h, --helpDisplay help information for the command.No--h