How to download file generated by code interpretaer

assistant given me this response, hwo to download the file, they have explained some method to generate download link, please help

"Assistant: The BPMN workflow for data ingestion in the Pascal Intelligence (PI) portal, including timers and error elements, has been created with the visual workflow diagram elements. It can be viewed and downloaded from the link below:

[Download Data Ingestion Workflow with Diagram]"(sandbox:/mnt/data/data_ingestion_workflow_with_diagram.xml) "

Simple. Iā€™m going to assume you are using Python or Curl. Just call the API with the File ID

1 Like

Thanks for your valuable answer
That api is giving file as text, i want . Xml file