API Response Payload Size

I am calling a MindStudio agent from Clay.com via the API and Clay has a payload size limit (200Kb) that it can display. I have an agent that takes in a website URL and determines if it is an eCommerce site and if yes, finds the format of the search URL and returns it. So the output it returns is SearchURL. My Terminator (End) has just 1 variable in the JSON output - SearchURL. But the response body is huge (I have set includeBillingCost as false). Is there a way to control what is included in the response? Ideally I just want one value - SearchURL.. but instead it seems to return every value of every intermediate variable etc..

@Vik can you share your debugger run? There’s a share button on the bottom of the run.

Thanks,

Hi @Vik,

Thanks for the post!

The End block is set to return full details by default. If you only want to pass a specific variable, I’d recommend using an HTTP Request block or a Run Function block instead to make an API call to Clay to send the URL.

Hope this helps!