We had to do this with our youngest dog. He is what they call a "happy vomiter". He was digesting his food and not losing weight, but was vomiting clear fluid daily. It was very similar to acid reflux.
We ran tests for food allergies, came up with nothing, and a full blood panel and couldn't find anything there.
My vet suggested an endoscopy to look for any structural abnormalities, and stomach parasites.
They were looking for this stomach worm that can only be found through endoscopy.
Stomach Worm Infection (Physalopterosis) in Cats | petMD
Stomach Worm Infection (Physalopterosis) in Dogs | petMD
It can be one or more worms that embeds in the stomach lining. This cannot be found through fecal exams. In most cases, they have to pluck the worm(s) out of the stomach lining.
They can get this worm by ingesting an infected insect.
They didn't find anything through endoscopy. My vet suggested we switch from raw food to cooked diet, and that worked. The only reasoning we can come up with is that our boy's allergies were compromising his immune system and he couldn't handle the bacteria load in raw food.
If the dietary change didn't work, they were going to have to perform a barium swallow test to look for a hernia.
They can sometimes find a hernia through endoscopy, but they can miss it too. The swallow test is how they usually find a hernia.
Diagnostic testing for chronic vomiting can become costly, because it's a symptom of so many conditions. It's just a process of elimination.
Honestly IMO, the risks associated with chronic vomiting is greater than not performing the test to find the source. I would not put any of my pets on long term steroids unless it was the very last option.