Changes to POST AI Generate document

post/api/files/ai/generate-doc