API support for .xlsx files

Is it possible to work with .xlsx files via the API?

They work pretty well in AI Studio but I haven’t figured out how to upload them effectively via the API. I’ve tried a few mime types, text/plain, text/csv, text/xml. None seem to work.

What is best practice for working with these file types?