Set "__inputs" values when pushing a dashboard json config to Grafana via the API?

My dashboard config using “__inputs” does not work after being pushed via the API because “__inputs” variables are not set.

Is there any way to set “__inputs” values when pushing a dashboard json config to Grafana via the API?

Is there a way to set them in the UI after pushing?

the inputs are used by the import UI process not regularly used for saving/loading dashboards via API. The export UI feature creates inputs so another instance can import it in the UI and specify name of data source.

If your using dashboard API I suggest not using the import/export UI feature