The netsim command-line tool and web ui use a REST API to communicate to the netsimd service.
netsim
netsimd
This following sections provide in-depth information on the API.