Access spark job details

Is there a way to get terminal like access to the machine where spark jobs are running in Foundry?

There isn’t a terminal-like interface, but you can access the essential information via the Builds App aka Job Tracker. For each job that uses Spark, you can click on the Spark Details button to access the query plan, the stage details, etc. And you can capture stack traces and other metrics if you need to.