Input and output via api libs