What type of json I need to send?

I send to my chat a json, using POST https://api.openai.com/v1/files
But it have problems with reading it, what structure I need to send there? My chat can edit those files or delete them? How can I prevent him from doing that? My chat told me that a file was deleted