Foundry API for - Spark debug information

Hello,
Is there any API available in Foundry to get “Spark debug information” available under build details.