Hey @Steve_Warburton , it depends on the API you access. Does it provide any solution to request a partial data returned? See if you can locate their API docs and if their offer any parameters that could be sent together with your HTTP request to instruct the API to replies with the controlled size of the data.
Let me correct myself and see if I’m getting it right this time. You seem to be getting some information from the website (plain HTML) and then try to feed it into some other service (AI ?). Thus, you want to shorten the data sent to that other service?
Are you looking to strip off all the HTML tags? Could you share a link to the webpage you are trying to relay to the other service?