edit_page
ChatGPTChange part of a page the account published, keeping its URL, without sending the whole page. Each edit replaces old_text, text exactly as it is in the published page with its whitespace and occurring once in it, with new_text. The edits apply in order, each to the page as the ones before it left it, and all together: if any doesn't match, nothing changes and the result says which. It works on a page of any size, including one of 150 KB or more published from a file, with under 150 KB of edits and up to 50 edits in one call. The title stays unless title is passed or an edit changes the page's <title> tag. To replace the whole page, update_page takes new HTML under 150 KB (about 150,000 characters), and upload_file takes a file.




