API for the narwhal-processor