Programmatic RAG uploads?

Maybe you can figure it out with reverse engineering