Combined API input + output.