How to change build settings while deploying via netlify api

I am able to upload my whole website successfully via file digest method , i am not able to specify build command and directory, i cross confirmed that my files exist by downloading the zip , also tried using toml file but nothing is working please help.

Hey @meet389151,

If you’re deploying via file digest, could you specify why you need build command and base directory settings? What exactly is the use case?